Commit Graph
526 Commits
Author SHA1 Message Date
Guogang Li a2bcb2db27 Fix asan/msan bug
PiperOrigin-RevId: 780237506
2025-07-07 13:30:50 -07:00
Guogang Li ca8e70f613 Apply real PSM value in DCT advertising
PiperOrigin-RevId: 778914950
2025-07-03 10:06:06 -07:00
Guogang Li 0614f439d9 Control Advertising/Scanning of instant on lost separately
PiperOrigin-RevId: 778356456
2025-07-01 23:30:17 -07:00
Guogang Li cf92356d02 Update BLE advertisement format
PiperOrigin-RevId: 778351891
2025-07-01 23:13:28 -07:00
hai007 3895575f51 Automated Code Change
PiperOrigin-RevId: 775072056
2025-06-23 22:37:57 -07:00
Guogang Li 357f494c84 Put error log when including invalid character.
PiperOrigin-RevId: 767324441
2025-06-04 16:12:20 -07:00
Guogang Li a45c18eb14 Turn off encryption over AWDL for upgrade transmissions
PiperOrigin-RevId: 766826551
2025-06-03 14:41:21 -07:00
Crisrael Lucero 7940128bf9 Assign empty string to bluetooth_mac_address instead of invalid argument
PiperOrigin-RevId: 763894090
2025-05-27 12:09:13 -07:00
Crisrael Lucero acaf963c40 Migrate usage of BluetoothUtils::ToString() to MacAddress
PiperOrigin-RevId: 762184790
2025-05-22 17:09:38 -07:00
Guogang Li 9853d62532 Enable password for AWDL upgrade
PiperOrigin-RevId: 759226149
2025-05-15 11:22:45 -07:00
Edwin Wu 540f4bac7a Add flag to control whether to disconnect the GATT client when exiting the BLE GATT service.
PiperOrigin-RevId: 758474539
2025-05-13 19:52:27 -07:00
Guogang Li ed73963b6b Add password field for AWDL Credential
PiperOrigin-RevId: 757944784
2025-05-12 15:54:46 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
Johnson Lu 8f71b8e8b0 Add last_endpoint_id to UpgradePathInfo.ClientIntroduction
PiperOrigin-RevId: 757536755
2025-05-11 18:18:20 -07:00
Guogang Li 09ac8d8c58 Apply DCT flag in Nearby Connections
PiperOrigin-RevId: 756487383
2025-05-08 15:41:04 -07:00
Guogang Li 5f3ce51cfd Add flag to control DCT
PiperOrigin-RevId: 756477155
2025-05-08 15:11:43 -07:00
Guogang Li f2ef072ac1 Avoid checking peer when getting streams from socket
PiperOrigin-RevId: 756403871
2025-05-08 12:00:57 -07:00
Guogang Li 7ea0e00333 Add AWDL upgrade logic
PiperOrigin-RevId: 756335927
2025-05-08 09:08:52 -07:00
hai007 236e17988c Replace uses of rtc:: and cricket:: namespaces
PiperOrigin-RevId: 756184076
2025-05-08 00:24:40 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Johnson Lu ee9266b175 Implement Dynamic Role Switch
Implement dynamic role switch in bwu manager. When NC receive BWU request, it will check if it should switch role based on the device's capability.

PiperOrigin-RevId: 755703443
2025-05-06 23:38:16 -07:00
Guogang Li 946e865db2 Implement method to build AWDL upgrade frame
PiperOrigin-RevId: 755607718
2025-05-06 18:30:30 -07:00
Guogang Li 62413e4de9 Internal change to AWDL APIs
PiperOrigin-RevId: 755602469
2025-05-06 18:12:01 -07:00
Guogang Li d61ed675b7 Add AWDL credential for AWDL upgrade
PiperOrigin-RevId: 754965804
2025-05-05 14:17:49 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -07:00
Guogang Li d0f014e0b4 Add more log information during decrypting frame
PiperOrigin-RevId: 748449749
2025-04-16 15:49:06 -07:00
hai007 3c77c0dfa0 Stop BLE_V2 scan before upgrading to Wifi HotSpot to avoid interference
PiperOrigin-RevId: 746541587
2025-04-11 11:59:18 -07:00
Edwin Wu b10957d712 Add OpenL2capServerSocket and skeleton BleL2capServerSocket/BleL2capSocket
PiperOrigin-RevId: 746334743
2025-04-11 00:01:50 -07:00
hai007 d999507674 update error code category
PiperOrigin-RevId: 746238861
2025-04-10 17:43:50 -07:00
Guogang Li bd187dc741 Update flag for AWDL
PiperOrigin-RevId: 746205866
2025-04-10 15:55:24 -07:00
Guogang Li 7fc2066be0 Handle discovered endpoint when using DCT format
PiperOrigin-RevId: 745276198
2025-04-08 13:46:57 -07:00
Guogang Li 035407ed04 Fix issue to build endpoint info
PiperOrigin-RevId: 744895491
2025-04-07 16:44:31 -07:00
hai007 cc2c6c527b Implement AWDL in connection layer (part 2)
PiperOrigin-RevId: 744206141
2025-04-05 01:49:16 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Johnson Lu 3e3733b10d Add fields for dynamic role switching
PiperOrigin-RevId: 742474968
2025-03-31 18:20:49 -07:00
Mingshiou Wu aefcc4a8b2 Add client-side connection APIs for ble l2cap
PiperOrigin-RevId: 741061740
2025-03-27 01:38:10 -07:00
Mingshiou Wu 04b2f9cfc6 Interface definition for Ble L2CAP Medium in Nearby Connections layer
PiperOrigin-RevId: 741054574
2025-03-27 01:04:16 -07:00
Guogang Li df2ddd0f20 Enable flag to disable instant on lost
PiperOrigin-RevId: 740501388
2025-03-25 15:15:37 -07:00
Guogang Li cee47d9f98 Optimize advertising on BLE device without extended support
PiperOrigin-RevId: 740159393
2025-03-24 19:43:48 -07:00
Guogang Li a3049fe436 Internal bug fix
PiperOrigin-RevId: 738897253
2025-03-20 12:23:51 -07:00
Guogang Li 3b0522c97a Add AWDL as a new Medium type in Nearby Connections
PiperOrigin-RevId: 738179116
2025-03-18 16:15:07 -07:00
Guogang Li fd2cba8f05 Update proto files to include AWDL medium
PiperOrigin-RevId: 738078567
2025-03-18 11:21:54 -07:00
Guogang Li f7e97d23fe Add scanning logic for DCT
PiperOrigin-RevId: 736888954
2025-03-14 09:33:05 -07:00
Mingshiou Wu 2ea692213d Add BleL2capPacket
PiperOrigin-RevId: 736771387
2025-03-14 00:34:14 -07:00
Guogang Li 5eab533260 Simplify the dependency in mediums
PiperOrigin-RevId: 736346209
2025-03-12 19:27:47 -07:00
hai007 ff64bb5314 Enable 1st party visibility to Nearby runtime flags build targets.
PiperOrigin-RevId: 734306439
2025-03-06 15:17:58 -08:00
Francis Tsui 7e758061ac Allow setting of alternate service UUID on StartDiscovery.
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Francis Tsui 5322b66b8e Add support for alternate BLE service uuid.
PiperOrigin-RevId: 733821780
2025-03-05 12:08:33 -08:00
Francis Tsui d911c194c8 Reorganize build targets.
PiperOrigin-RevId: 733814491
2025-03-05 11:48:08 -08:00
Guogang Li 553f5dbf01 Add advertising logic for DCT
PiperOrigin-RevId: 733752366
2025-03-05 08:54:56 -08:00