Commit Graph
510 Commits
Author SHA1 Message Date
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
Johnson Lu 45ee0d0df3 Add version to AutoResumeFrame
PiperOrigin-RevId: 733181295
2025-03-03 22:05:51 -08:00
Guogang Li 6ff9da2d90 refactor on DCT advertisement
PiperOrigin-RevId: 731443070
2025-02-26 13:52:29 -08:00
Guogang Li 45d6317a64 Don't report upgrade failure for same medium upgrade
PiperOrigin-RevId: 731153168
2025-02-25 21:41:34 -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
Edwin Wu 90d687e120 Removing Serial Executor
PiperOrigin-RevId: 731094355
2025-02-25 17:44:02 -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
Edwin Wu 0057b219d2 In windows, discovery phase and outgoing attempt won't be recorded due to pointer is reset to null.
PiperOrigin-RevId: 728907296
2025-02-19 19:15:40 -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
Anay Wadhera f94c4837d7 add date last modified to payload header
PiperOrigin-RevId: 725738383
2025-02-11 12:54:28 -08:00