Commit Graph
1025 Commits
Author SHA1 Message Date
hai007 b3442bacd3 Add session success disconnection reason
PiperOrigin-RevId: 751156087
2025-04-24 15:15:44 -07:00
Francis Tsui 4c0f9c913d Rewrite url parsing without use of regex.
PiperOrigin-RevId: 750731428
2025-04-23 14:46:21 -07:00
Edwin Wu e71de0e0c3 Fixes the peripheral null issue as a L2CAP server.
PiperOrigin-RevId: 750094718
2025-04-22 01:36:54 -07:00
Edwin Wu 03eb56883e Nearby Connection iOS L2CAP Socket Implementation
PiperOrigin-RevId: 750068733
2025-04-21 23:57:29 -07:00
Edwin Wu d2144cac1b Refactor start listening channel to provide PSM and channel opened callback separately.
PiperOrigin-RevId: 750065027
2025-04-21 23:43:07 -07:00
Edwin Wu 15a59a7969 Add L2CAP packet validation logic.
PiperOrigin-RevId: 750026582
2025-04-21 20:58:25 -07:00
Edwin Wu af148603b6 Add GNCBLEL2CAPConnection
PiperOrigin-RevId: 750016094
2025-04-21 20:08:48 -07:00
Francis Tsui 1c27910064 Cleanup
PiperOrigin-RevId: 749148733
2025-04-18 14:30:46 -07:00
hai007 de344e0925 Pulls x20 QuickShareFfi artifacts and creates blaze targets for building the XCFramework.
PiperOrigin-RevId: 749147304
2025-04-18 14:25:25 -07:00
Edwin Wu 4911d49f82 Implementation of BLE L2CAP connecting flow.
PiperOrigin-RevId: 749092197
2025-04-18 11:26:54 -07:00
Edwin Wu 24b8cff1a7 feat: add GNCBLEL2CAPClient
PiperOrigin-RevId: 749085219
2025-04-18 11:04:50 -07:00
Mingshiou Wu dba354f5b1 Extend BLE advertisement header data size from 20 to 23 on BLE_V2.
PiperOrigin-RevId: 748903662
2025-04-17 20:34:34 -07:00
Guogang Li e047aeb341 Handle failure to stop mDNS
PiperOrigin-RevId: 748865989
2025-04-17 17:36:13 -07:00
Francis Tsui ce71a47291 internal changes
PiperOrigin-RevId: 748852719
2025-04-17 16:42:12 -07:00
hai007 5fc75e3363 Add AWDL as a new Medium type in Nearby platform
PiperOrigin-RevId: 748492229
2025-04-16 18:35:21 -07:00
Guogang Li eeedf9f9c4 Cleanup platform flag
PiperOrigin-RevId: 748062326
2025-04-15 16:18:43 -07:00
Guogang Li 8270e0548c Cleanup platform flag
PiperOrigin-RevId: 748043641
2025-04-15 15:22:10 -07:00
hai007 a17a5934f8 Remove the prefix for the generalization.
PiperOrigin-RevId: 747613818
2025-04-14 16:33:46 -07:00
Guogang Li addb71ddfa Fix medium enable/disable issue during advertising
PiperOrigin-RevId: 747593380
2025-04-14 15:35:23 -07:00
Guogang Li 681284c576 Cleanup enable_wifi_hotspot_native flag
PiperOrigin-RevId: 747546014
2025-04-14 13:30:38 -07:00
Guogang Li 380154d0ba Properly release objects when stopping BTC advertising.
PiperOrigin-RevId: 746593323
2025-04-11 14:35:04 -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
Edwin Wu 7f488271f1 Implement openL2CAPServerWithCompletionHandler in GNCBLEMedium class.
PiperOrigin-RevId: 745877478
2025-04-09 22:58:34 -07:00
Edwin Wu 675e4f738f Refactor the GNCBLEL2CAPServer.
PiperOrigin-RevId: 745855701
2025-04-09 21:48:02 -07:00
hai007 a937710422 adds disconnection error code
PiperOrigin-RevId: 744896066
2025-04-07 16:48:25 -07:00
hai007 190bb141cc Implement AWDL in connection layer (part 1)
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Guogang Li a36f3dd52e Refactor thread pool
PiperOrigin-RevId: 742919232
2025-04-01 18:53:13 -07:00
hai007 8acf924934 Add AWDL as a new Medium type in Nearby platform
PiperOrigin-RevId: 741515012
2025-03-28 07:14:40 -07:00
Crisrael Lucero 62f9891e45 Remove extra semi-colons to pass -Wextra-semi option in Chromium builds
PiperOrigin-RevId: 741283141
2025-03-27 14:32:12 -07:00
Edwin Wu ea78dcf616 Implement L2CAP stream wrapper.
PiperOrigin-RevId: 741161066
2025-03-27 08:22:27 -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
Francis Tsui 979d6e5bc4 Fix timer cannot be restarted after firing.
PiperOrigin-RevId: 740450323
2025-03-25 12:45:42 -07:00
Guogang Li 9e23624fba Run scheduled executor callback on executor thread
PiperOrigin-RevId: 738998896
2025-03-20 17:51:16 -07:00
Francis Tsui 12675ff9fa Add more logging to scheduled tasks.
PiperOrigin-RevId: 738969815
2025-03-20 15:59:50 -07:00
Guogang Li cc4a13ac26 Fix the bug to stop scanning when adapter is disabled
PiperOrigin-RevId: 738949740
2025-03-20 14:54:48 -07:00
Francis Tsui 1750168761 Cleanup enable_task_scheduler flag.
PiperOrigin-RevId: 738938572
2025-03-20 14:21:05 -07:00
Francis Tsui 528ae4c4e2 Fix infinite loop if GATT server fails to start initially.
PiperOrigin-RevId: 736972233
2025-03-14 13:43:45 -07:00
Guogang Li f168d0c91b Call deferal complete when characteristic_data
PiperOrigin-RevId: 736669127
2025-03-13 16:03:18 -07:00
hai007 ba24d92ca1 Add Hotspot Connector(STA) feature for IOS NC
PiperOrigin-RevId: 736593880
2025-03-13 12:11:37 -07:00
Guogang Li c20cb39f60 Implement API to scan multiple services in iOS
PiperOrigin-RevId: 736557350
2025-03-13 10:34:30 -07:00
Guogang Li e59e94655a Fixed a crash in blocking socket
PiperOrigin-RevId: 736274234
2025-03-12 14:49:44 -07:00
Francis Tsui 5da86f5a72 Fix UB when HttpStatus code is not one in the enum.
PiperOrigin-RevId: 736244405
2025-03-12 13:24:18 -07:00
Francis Tsui b62b56c75e Move Bluetooth UUID16 conversion into Uuid class.
PiperOrigin-RevId: 735496175
2025-03-10 13:41:37 -07:00
Francis Tsui e3302b720b Improve Gatt advertising reliability.
PiperOrigin-RevId: 734925395
2025-03-08 11:03:31 -08:00
hai007 ff64bb5314 Enable 1st party visibility to Nearby runtime flags build targets.
PiperOrigin-RevId: 734306439
2025-03-06 15:17:58 -08:00
Crisrael Lucero c619a2b921 Remove extra semi-colon to pass -Wextra-semi option in Chromium builds
PiperOrigin-RevId: 734203138
2025-03-06 10:43:46 -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