Commit Graph
102 Commits
Author SHA1 Message Date
Edwin Wu d429a8e42d [NC Apple coverage] Add unit tests for GNCMBleConnection.
PiperOrigin-RevId: 810761287
2025-09-24 00:53:29 -07:00
Edwin Wu 56148e3b86 [NC Apple coverage] Add tests for GNCMConnectionHandlers.
PiperOrigin-RevId: 810655020
2025-09-23 18:24:47 -07:00
Edwin Wu 8ded7ccfca [NC Apple coverage] Add unit tests for GNCMBleUtils.
PiperOrigin-RevId: 808614106
2025-09-18 09:26:32 -07:00
Edwin Wu 961e73d7c9 [NC Apple coverage] Add unit tests for BleSocket on Apple.
PiperOrigin-RevId: 808378919
2025-09-17 20:51:46 -07:00
Ivo Ristovski List ebdcfbdf3c Automated Code Change
PiperOrigin-RevId: 807654392
2025-09-16 05:23:02 -07:00
Guogang Li 3c9f6ecdd3 Improve BLE Peripheral Management and Socket Closure on Apple.
PiperOrigin-RevId: 805438865
2025-09-10 11:14:14 -07:00
Edwin Wu 6cd1575a64 [NC Apple coverage] Added unit tests for GNCNWFrameworkServerSocket in WiFiCommon
PiperOrigin-RevId: 803705843
2025-09-05 20:36:01 -07:00
Guogang Li 4e684adac9 Add macOS support to GNCHotspotMedium.
PiperOrigin-RevId: 803641968
2025-09-05 16:22:16 -07:00
Edwin Wu dca5a4b6ec [NC Apple coverage] Added unit tests for GNCNWFrameworkSocket in WiFiCommon
PiperOrigin-RevId: 803485731
2025-09-05 09:10:16 -07:00
Guogang Li 6c80cc39e9 Adjust BLE advertisement length check for macOS.
PiperOrigin-RevId: 803170812
2025-09-04 14:15:55 -07:00
Edwin Wu b90f1d3719 [NC Apple coverage] Add unit tests for nearby::apple::AwdlMedium.
PiperOrigin-RevId: 802840092
2025-09-03 21:18:51 -07:00
Edwin Wu f0d164fc40 [NC Apple coverage] Test implementation for Wifi LAN medium.
PiperOrigin-RevId: 802829901
2025-09-03 20:39:01 -07:00
Edwin Wu 6e1fd931b7 [NC Apple coverage] Refactor CBManagerStateString and add tests for BLE
Sockets utilities and Weave packets.

PiperOrigin-RevId: 802825276
2025-09-03 20:23:01 -07:00
Edwin Wu 1b169516cb [NC Apple coverage]add unit tests for Hotspot Medium.
PiperOrigin-RevId: 802798810
2025-09-03 18:55:15 -07:00
Edwin Wu eff9d2d50b [NC Apple coverage] Reorganize BLE medium and test files
PiperOrigin-RevId: 800719731
2025-08-28 20:26:08 -07:00
Edwin Wu da266c0025 [NC Apple coverage] Enable WiFiCommon tests.
PiperOrigin-RevId: 799130702
2025-08-25 08:24:11 -07:00
Guogang Li 9087989a42 [iOS]Serialize API calls and improve error handling in GATT client
PiperOrigin-RevId: 797433462
2025-08-20 13:12:26 -07:00
Edwin Wu e95b44cf61 Fixes a potential crash when shutting down a BleMedium.
PiperOrigin-RevId: 792365629
2025-08-07 17:08:04 -07:00
Guogang Li fc37f9b9f0 Internal bug fix
PiperOrigin-RevId: 792253206
2025-08-07 12:01:37 -07:00
Guogang Li ddd4f922b9 Fixed deadlock during stop scanning on iOS
PiperOrigin-RevId: 791998760
2025-08-06 22:47:41 -07:00
Guogang Li 0640a9c13c Add cancel support for hotspot connection
PiperOrigin-RevId: 791394599
2025-08-05 15:33:33 -07:00
Edwin Wu 76a9af2441 Enabled unit tests in GNSCentralManager.m
PiperOrigin-RevId: 787352883
2025-07-25 21:36:23 -07:00
Edwin Wu cbbdb85df2 Update Unit Test for GNSSocket and GNSWeavePacket in Shared folder.
PiperOrigin-RevId: 787348545
2025-07-25 21:19:59 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li 771904b707 Make Wi-Fi LAN and AWDL could coexist
PiperOrigin-RevId: 784242267
2025-07-17 10:59:17 -07:00
hai007 2426f3e174 Check the Location Permission Status before Get Current SSID
PiperOrigin-RevId: 775385875
2025-06-24 14:35:44 -07:00
Guogang Li 0c0a59d8a1 Add API to retrieve BLE peripheral ID from native BLE ID
PiperOrigin-RevId: 773373972
2025-06-19 09:54:00 -07:00
Edwin Wu 6a5daffb87 [iOS] Fix the l2cap transfer cache issue by adpoting l2cap packet_acknowledgement proto message.
PiperOrigin-RevId: 770251990
2025-06-11 11:50:24 -07:00
Mingshiou Wu 75c94db1f8 Refactor the logic of L2CAP packet handling.
- Refactor the logic of L2CAP packet handling.
- Add a way to response empty advertisement to fail the L2CAP request immediately.
- Reduce unnessary logs.

PiperOrigin-RevId: 769506649
2025-06-10 01:24:50 -07:00
Edwin Wu 18637b63fa Fix missing getter for cbManagerState.
PiperOrigin-RevId: 767898848
2025-06-05 21:34:25 -07:00
Edwin Wu 6892dc3495 Update CBCentralManagerState to CBManagerState.
PiperOrigin-RevId: 767405761
2025-06-04 20:46:48 -07:00
Guogang Li 46d7270fdc Replace GTMLogger with GNCLogger
PiperOrigin-RevId: 766419599
2025-06-02 18:11:23 -07:00
Edwin Wu be830a5fef [NC] Fix L2CAP Client.
PiperOrigin-RevId: 764691433
2025-05-29 05:46:04 -07:00
Edwin Wu 023c4b9b4b [NC] BLE V2 improvements.
PiperOrigin-RevId: 764685820
2025-05-29 05:26:50 -07:00
Guogang Li 3d9371afe1 Remove NSLog from apple platform implementation
PiperOrigin-RevId: 762444541
2025-05-23 09:02:30 -07:00
Edwin Wu ec7dbcbf30 Fix L2CAP stream connection problem.
PiperOrigin-RevId: 761848851
2025-05-22 01:10:12 -07:00
Mingshiou Wu e6ccd38828 Remove debug logs
PiperOrigin-RevId: 761386791
2025-05-20 23:39:32 -07:00
hai007 8c8bd35b6c internal update
PiperOrigin-RevId: 760658885
2025-05-19 09:42:38 -07:00
Guogang Li cc1239789f Add PSK support in Wifi common implementation
PiperOrigin-RevId: 758744875
2025-05-14 10:41:07 -07:00
Guogang Li 5181686431 Add help class to create nw_parameters_t
PiperOrigin-RevId: 758036909
2025-05-12 21:26:37 -07:00
Guogang Li 1748d7aa1c Increase GATT connection timeout
PiperOrigin-RevId: 756883805
2025-05-09 13:23:10 -07:00
hai007 5869bbbf6e Add logic to check if the right network is connected
PiperOrigin-RevId: 756516729
2025-05-08 17:05:51 -07:00
Guogang Li f7e96e518c Use DCT flag to control BLE encoding
PiperOrigin-RevId: 756496067
2025-05-08 16:04:44 -07:00
Guogang Li b57c23bcc1 Add more logs
PiperOrigin-RevId: 755592022
2025-05-06 17:36:46 -07:00
Edwin Wu e9aef7153a Add request data connection before data transmission for L2CAP.
PiperOrigin-RevId: 753434675
2025-04-30 21:55:40 -07:00
Edwin Wu fc0768f2c4 Add completion handler to opened L2CAP channel for iOS client.
PiperOrigin-RevId: 753363177
2025-04-30 16:49:59 -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
Edwin Wu 422030f826 Fix: BLE L2CAP packet processing can't handle fragmentation.
PiperOrigin-RevId: 752482441
2025-04-28 16:10:48 -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