Commit Graph
198 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
Guogang Li 9853d62532 Enable password for AWDL upgrade
PiperOrigin-RevId: 759226149
2025-05-15 11:22:45 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -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
Guogang Li 62413e4de9 Internal change to AWDL APIs
PiperOrigin-RevId: 755602469
2025-05-06 18:12:01 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -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
Guogang Li 035407ed04 Fix issue to build endpoint info
PiperOrigin-RevId: 744895491
2025-04-07 16:44:31 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -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 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
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
Guogang Li 6ff9da2d90 refactor on DCT advertisement
PiperOrigin-RevId: 731443070
2025-02-26 13:52:29 -08:00
hai007 fb8bfe05b2 [NearbyConnections] Fix IOS incorrect endpoint info from GATT server
1. Put the entire regular advertisement onto the gatt server
2. Provide the gatt read characterestics with offset.

PiperOrigin-RevId: 731102862
2025-02-25 18:17:05 -08:00
hai007 9cd75f8e27 [NearbyConnections] Update ios BLE discovery related logs
PiperOrigin-RevId: 730693835
2025-02-24 19:54:06 -08:00
Guogang Li 202915c310 Add DCT advertising UUID
PiperOrigin-RevId: 730673334
2025-02-24 18:17:37 -08:00
Guogang Li eb914ecc59 A small refactor to start BLE V2 advertisement
PiperOrigin-RevId: 730619310
2025-02-24 15:32:04 -08:00
Guogang Li a7bb6673a6 internal update
PiperOrigin-RevId: 729773934
2025-02-21 22:24:57 -08:00
Guogang Li fdb0f0f351 read endpoint info
PiperOrigin-RevId: 729312008
2025-02-20 17:31:45 -08:00
Guogang Li c3467c0c2a handle new advertisement format
PiperOrigin-RevId: 729140392
2025-02-20 09:24:37 -08:00
Juliet Levesque e7f45020bb [BLE V2] Mark ChromeOS fast advertisements as non-connectable
PiperOrigin-RevId: 728862084
2025-02-19 16:33:41 -08:00
Guogang Li 46c0f153fe handle data element
PiperOrigin-RevId: 728727545
2025-02-19 10:38:28 -08:00
Guogang Li eea3441da9 Internal refactor
PiperOrigin-RevId: 727057179
2025-02-14 14:07:18 -08:00
Guogang Li 0ce08ab931 internal fix
PiperOrigin-RevId: 723992593
2025-02-06 10:43:23 -08:00
hai007 97690c6996 [cpp23] Remove usage of std::aligned_storage in nearby
Deprecated in C++23. Details in https://crbug.com/388068052.

PiperOrigin-RevId: 722745132
2025-02-03 12:02:21 -08:00
Guogang Li 0575cbd155 Make sure got IP from hotspot
PiperOrigin-RevId: 721907499
2025-01-31 14:39:59 -08:00
hai007 f976f7e05a Add Bluetooth Multiplex and WiFiLan Multiplex flags for better control.
PiperOrigin-RevId: 720337637
2025-01-27 15:57:52 -08:00
Edwin Wu fb2e7e687b analytics: Modify OperationResultCode in C++ implementation
PiperOrigin-RevId: 704951400
2024-12-10 20:57:25 -08:00
Edwin Wu d9b2f1aaa9 analytics: Add exact OperationResultCode for WebRtc - BwuHandler
PiperOrigin-RevId: 704943200
2024-12-10 20:20:39 -08:00
Edwin Wu 1cdef6c391 analytics: Add exact OperationResultCode for Wifi_Direct/Wifi_Hotspot - BwuHandler
PiperOrigin-RevId: 704937416
2024-12-10 19:58:46 -08:00
Edwin Wu 9ebf66aef3 analytics: Add exact OperationResultCode for Wifi_Lan - Connect/AttemptConnect
PiperOrigin-RevId: 704931772
2024-12-10 19:28:40 -08:00
Edwin Wu 65c2298f27 analytics: Add exact OperationResultCode for BLE/BLEV2 - Connect/AttemptConnect
PiperOrigin-RevId: 704926745
2024-12-10 18:58:35 -08:00
Edwin Wu 5ac9bb14f6 analytics: Add exact OperationResultCode for Bluetooth - Connect/AttemptConnect
PiperOrigin-RevId: 704918371
2024-12-10 18:29:24 -08:00
Edwin Wu 6f63efa8db analytics: Modify the returned code with a new OperationResultCodeWithMediums for Ble - advertising/discovery/acceptConnections
PiperOrigin-RevId: 704911325
2024-12-10 18:08:28 -08:00
Edwin Wu 1a35a5c890 analytics: Modify the returned code with a new OperationResultCodeWithMediums for Wifi_Lan - advertising/discovery/acceptConnections
PiperOrigin-RevId: 704905003
2024-12-10 17:40:03 -08:00
Edwin Wu d38bd381f0 analytics: Modify the returned code with a new OperationResultCodeWithMediums for Bluetooth - StartDiscovery/UpdateDiscovery, III
PiperOrigin-RevId: 704899575
2024-12-10 17:18:59 -08:00