Commit Graph
222 Commits
Author SHA1 Message Date
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56:51 -07:00
Francis Tsui 6d9122c4eb Reuse the same wifi lan listening port number if endpoint ID stays the same.
PiperOrigin-RevId: 810534040
2025-09-23 12:16:23 -07:00
Francis Tsui 6f92e238b0 Refactor P2pCLusterPcpHandler and WifiLan.
PiperOrigin-RevId: 810525937
2025-09-23 11:56:05 -07:00
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -07:00
Edwin Wu a43b20008a Return an error when failing to start accepting BLE GATT connections.
PiperOrigin-RevId: 803041881
2025-09-04 08:42:59 -07:00
Francis Tsui 000e12da8e Migrate platform to use MacAddress class.
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -07:00
hai007 bb1fe70700 Fix go/msan, go/msan_arm and go/hwasan_arm error
PiperOrigin-RevId: 800066348
2025-08-27 09:36:11 -07:00
hai007 5f27145da5 Update WebRTC IceCandidate type usage.
Replaces `webrtc::IceCandidateInterface` with `webrtc::IceCandidate` due to a change in the WebRTC API.

PiperOrigin-RevId: 798263016
2025-08-22 10:39:19 -07:00
Francis Tsui 3f93c0ee87 Remove more unnecessary INFO logs.
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -07:00
Guogang Li adf211a891 [NC]Read GATT data on device with BLE extended support
PiperOrigin-RevId: 797846587
2025-08-21 11:32:49 -07:00
hai007 094dcf30b5 Refactor MultiplexSocketTest to improve test coverage.
PiperOrigin-RevId: 796459727
2025-08-18 09:36:16 -07:00
Guogang Li 981d46c589 [NC] Close GATT connection when failure happen
PiperOrigin-RevId: 795586959
2025-08-15 13:19:06 -07:00
Guogang Li 9e401d7b3f Log GATT connection failure
PiperOrigin-RevId: 794601832
2025-08-13 08:57:08 -07:00
Guogang Li f67618f8ff Update the GATT reading logic in thread
PiperOrigin-RevId: 793840801
2025-08-11 16:34:13 -07:00
hai007 ff6e506c0e Fix tsan error for multiplex_test
PiperOrigin-RevId: 792809910
2025-08-08 16:57:33 -07:00
hai007 7472c810d3 Correct AWDL related error codes
PiperOrigin-RevId: 791303156
2025-08-05 11:38:20 -07:00
Edwin Wu 05e997dc52 [Nearby Connections] Fix a bug that could cause BLE scan keeps fetching the un-interseted advertisement.
PiperOrigin-RevId: 790972086
2025-08-04 18:22:19 -07:00
Mingshiou Wu 164065e0b0 This CL includes additional tests for Ble, LostEntityTracker, BluetoothRadio, WebRtcPeerId, and WifiLan.
PiperOrigin-RevId: 788272883
2025-07-28 20:31:22 -07:00
Mingshiou Wu d28ce4d36b Add unit tests cases for implementation/mediums/ble_v2.cc
PiperOrigin-RevId: 787826632
2025-07-27 20:09:02 -07:00
hai007 00a2999269 Format all the files in CL786733783
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -07:00
Guogang Li b3d9a930ca Change time function to elapsed time from SystemClock
PiperOrigin-RevId: 786819481
2025-07-24 13:39:57 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
hai007 a78e9e4138 Automated Code Change
PiperOrigin-RevId: 786383170
2025-07-23 12:34:42 -07:00
Guogang Li 771904b707 Make Wi-Fi LAN and AWDL could coexist
PiperOrigin-RevId: 784242267
2025-07-17 10:59:17 -07:00
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