Commit Graph
3159 Commits
Author SHA1 Message Date
Edwin Wu fc0768f2c4 Add completion handler to opened L2CAP channel for iOS client.
PiperOrigin-RevId: 753363177
2025-04-30 16:49:59 -07:00
Francis Tsui 541bffc858 Cleanup BLEv2Medium
PiperOrigin-RevId: 753288576
2025-04-30 13:24:55 -07:00
Francis Tsui 467e64c812 Deprecate mac address manipulation functions in favor or MacAddress class.
PiperOrigin-RevId: 752952529
2025-04-29 17:59:57 -07:00
hai007 011993b4d3 Increase Hotspot Connection timeout from 10s to 18s.
PiperOrigin-RevId: 752904366
2025-04-29 15:27:17 -07:00
Guogang Li c089d12393 Fix iOS connection issue as receiver
PiperOrigin-RevId: 752889278
2025-04-29 14:43:28 -07:00
Francis Tsui 83ec6bcece Create MacAddress class for MAC address manipulation.
PiperOrigin-RevId: 752503841
2025-04-28 17:22:45 -07:00
Edwin Wu 422030f826 Fix: BLE L2CAP packet processing can't handle fragmentation.
PiperOrigin-RevId: 752482441
2025-04-28 16:10:48 -07:00
hai007 0e79a06bd8 Automated Code Change
PiperOrigin-RevId: 752263247
2025-04-28 05:09:29 -07:00
Francis Tsui 183d21efe5 Move log statement to VLOG to reduce log spam.
PiperOrigin-RevId: 751177356
2025-04-24 16:16:14 -07:00
hai007 b3442bacd3 Add session success disconnection reason
PiperOrigin-RevId: 751156087
2025-04-24 15:15:44 -07:00
Anay Wadhera 1a48397cda Merge pull request #3363 from johnsonlu072/compile-protos
Compile protos
2025-04-23 20:43:54 -07:00
Francis Tsui 4c0f9c913d Rewrite url parsing without use of regex.
PiperOrigin-RevId: 750731428
2025-04-23 14:46:21 -07:00
Francis Tsui ce58d19c1a Update swift build to cxx20.
PiperOrigin-RevId: 750724378
2025-04-23 14:26:09 -07:00
johnsonlu072 7796da1c64 Compile protos 2025-04-23 11:40:12 +08: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 adb38095d8 Remove unnecessary redefinition of enums.
PiperOrigin-RevId: 750006705
2025-04-21 19:36:52 -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
Francis Tsui a429cfd03a internal changes
PiperOrigin-RevId: 748788743
2025-04-17 13:22:13 -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 d0f014e0b4 Add more log information during decrypting frame
PiperOrigin-RevId: 748449749
2025-04-16 15:49:06 -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
hai007 d999507674 update error code category
PiperOrigin-RevId: 746238861
2025-04-10 17:43:50 -07:00
hai007 9b38899ca0 changes disconnection error code comments
PiperOrigin-RevId: 746222441
2025-04-10 16:44:32 -07:00
Guogang Li bd187dc741 Update flag for AWDL
PiperOrigin-RevId: 746205866
2025-04-10 15:55:24 -07:00
Guogang Li 17bda8cc94 Enable AWDL for iOS SDK
PiperOrigin-RevId: 746183163
2025-04-10 14:51:26 -07:00
Crisrael Lucero 531dd28400 Updated preprocessors to include correct LDT stub impl
PiperOrigin-RevId: 746121206
2025-04-10 12:04:28 -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
Guogang Li 7fc2066be0 Handle discovered endpoint when using DCT format
PiperOrigin-RevId: 745276198
2025-04-08 13:46:57 -07:00
hai007 0ba9201113 Add AWDL in HelloConnection
PiperOrigin-RevId: 745025636
2025-04-08 01:10:26 -07:00
hai007 a937710422 adds disconnection error code
PiperOrigin-RevId: 744896066
2025-04-07 16:48:25 -07:00
Guogang Li 035407ed04 Fix issue to build endpoint info
PiperOrigin-RevId: 744895491
2025-04-07 16:44:31 -07:00
Francis Tsui 516c0c6e53 Improve logging of skipped share targets due to vendorID.
PiperOrigin-RevId: 744814331
2025-04-07 12:36:03 -07:00