19 Commits
Author SHA1 Message Date
Edwin Wu 73323692b9 Fix potential crash in BLE connection when receiving short data packets.
PiperOrigin-RevId: 946827334
2026-07-13 00:01:51 -07:00
Edwin Wu 2f3e7beb78 Limit maximum L2CAP frame size and move read buffer to instance variable.
PiperOrigin-RevId: 946782423
2026-07-12 21:46:20 -07:00
Edwin Wu 8eedf05f2c Fix NSRangeException crash in GNCBLEGATTServer
PiperOrigin-RevId: 943785961
2026-07-07 03:21:54 -07:00
Edwin Wu cae29fe15a The GNCMWaitForConnection utility is updated to allow specifying a target dispatch queue.
PiperOrigin-RevId: 895632592
2026-04-06 20:34:41 -07:00
Edwin Wu 54ef43eb83 Refactor GNCBLEMedium to support shared PeripheralManager injection.
PiperOrigin-RevId: 882032712
2026-03-11 08:43:30 -07:00
Edwin Wu dcb6918889 Refactor GATT/L2CAP servers to support shared peripheral manager
PiperOrigin-RevId: 882024313
2026-03-11 08:23:16 -07:00
Edwin Wu c00d7ae485 Implement GNCPeripheralManagerMultiplexer.
PiperOrigin-RevId: 881707256
2026-03-10 18:01:39 -07:00
Guogang Li 919d279695 Update the logic to retrieve BLE peripheral.
PiperOrigin-RevId: 834816089
2025-11-20 10:27:57 -08:00
Edwin Wu 8375b82a86 Make delegateDelay property atomic and access it via self.
PiperOrigin-RevId: 832080864
2025-11-13 18:00:52 -08:00
Edwin Wu f353079f6f [NC Apple coverage] Add more comprehensive tests for BLE medium connections.
PiperOrigin-RevId: 826582061
2025-10-31 12:15:56 -07:00
Edwin Wu 3878ce99c8 [NC Apple coverage]Add more comprehensive tests for BLE L2CAP components.
PiperOrigin-RevId: 821886071
2025-10-20 18:22:03 -07:00
Edwin Wu d08ca79b89 [NC Apple coverage] Add unit tests for Nearby Apple's BleMedium.
PiperOrigin-RevId: 820484319
2025-10-16 19:18:27 -07:00
Edwin Wu a211c5b527 [NC Apple coverage] Add tests for CBPeripheralManager category methods.
PiperOrigin-RevId: 814030295
2025-10-01 19:53:53 -07:00
Edwin Wu bbd6bbb9b9 [NC Apple coverage] Add tests for CBPeripheral category methods and update GNCFakePeripheral.
PiperOrigin-RevId: 814026340
2025-10-01 19:37:12 -07:00
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
Edwin Wu eff9d2d50b [NC Apple coverage] Reorganize BLE medium and test files
PiperOrigin-RevId: 800719731
2025-08-28 20:26:08 -07:00