Commit Graph
67 Commits
Author SHA1 Message Date
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
Edwin Wu 19dc77a78f Fix threading issues in GNCTimerTest.
PiperOrigin-RevId: 810693891
2025-09-23 20:57:23 -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 5865ae7496 [NC Apple coverage] Add unit tests for nearby::apple::BlePeripheral.
PiperOrigin-RevId: 807925024
2025-09-16 18:14:24 -07:00
Edwin Wu 21f7e51635 [NC Apple coverage] add initial unit tests for BluetoothAdapterV2.
PiperOrigin-RevId: 807650119
2025-09-16 05:06:44 -07:00
Edwin Wu 9e050cc73a [NC Apple coverage] Add tests for timer.mm.
PiperOrigin-RevId: 807639173
2025-09-16 04:26:11 -07:00
Edwin Wu 9f678bc441 [NC Apple coverage] Add unit tests for Nearby's Apple PreferencesManager.
PiperOrigin-RevId: 807633546
2025-09-16 04:06:00 -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
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 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 09a7dc8eb3 [NC Apple coverage] Add GNCDeviceInfoTest unit test to cover the device info APIs for Nearby.
PiperOrigin-RevId: 794643095
2025-08-13 10:41:05 -07:00
Edwin Wu eed03c7158 [NC Apple coverage] Add more tests for GNCPlatformTest.
PiperOrigin-RevId: 794624452
2025-08-13 09:59:19 -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 ddd4f922b9 Fixed deadlock during stop scanning on iOS
PiperOrigin-RevId: 791998760
2025-08-06 22:47:41 -07:00
Edwin Wu cbf3e429b5 [NC Apple coverage] Create GNCUtilsTest.m.
PiperOrigin-RevId: 791173846
2025-08-05 05:46:31 -07:00
hai007 7480977c58 Automated Code Change
PiperOrigin-RevId: 786349659
2025-07-23 11:07:56 -07:00
Guogang Li 2df88546be Fixed MD5 and SHA256 bug in apple platform implementation
PiperOrigin-RevId: 776303688
2025-06-26 15:26:17 -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
Guogang Li 2f07f1ceee Remove dependents on GTMLogger
PiperOrigin-RevId: 766849674
2025-06-03 15:42:07 -07:00
Guogang Li 20fcca4e95 Add a basic test for the logger writer
PiperOrigin-RevId: 764774015
2025-05-29 10:01:21 -07:00
Edwin Wu be830a5fef [NC] Fix L2CAP Client.
PiperOrigin-RevId: 764691433
2025-05-29 05:46:04 -07:00
Edwin Wu ec7dbcbf30 Fix L2CAP stream connection problem.
PiperOrigin-RevId: 761848851
2025-05-22 01:10:12 -07:00
Guogang Li 5181686431 Add help class to create nw_parameters_t
PiperOrigin-RevId: 758036909
2025-05-12 21:26:37 -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
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
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
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
Edwin Wu ea78dcf616 Implement L2CAP stream wrapper.
PiperOrigin-RevId: 741161066
2025-03-27 08:22:27 -07:00
Edwin Wu 18f52de400 Implement L2CAPServer
PiperOrigin-RevId: 733593766
2025-03-04 22:50:09 -08:00
Guogang Li 528c71490c fix a base85 bug on iOS
PiperOrigin-RevId: 731849590
2025-02-27 13:44:15 -08:00
Anay Wadhera 29792c8938 Swap rules to OSS
PiperOrigin-RevId: 731795253
2025-02-27 11:16:31 -08:00
Guogang Li 5c3cc4eb71 Add base85 extension to NSData
PiperOrigin-RevId: 731381576
2025-02-26 11:02:30 -08:00
Edwin Wu 0c1b0ae1d9 Rename NWFramwork folder name to a more proper name WiFiCommon
PiperOrigin-RevId: 728865577
2025-02-19 16:43:32 -08:00
Edwin Wu 74146df90a Rename WifiLan to NWFramework(Network.Framework) and put them as common codes.
PiperOrigin-RevId: 725486114
2025-02-10 22:47:21 -08:00
Nick Bourdakos 1a87241ffd Implement GattClient#Disconnect for Apple implementation of BLEv2
PiperOrigin-RevId: 679218551
2024-09-26 11:09:30 -07:00
Guogang Li 387a51b260 internal update
PiperOrigin-RevId: 619595164
2024-03-27 11:25:55 -07:00
Nick Bourdakos 16c6ef924b Fix iOS BLE bugs and crashes
PiperOrigin-RevId: 561695661
2023-08-31 10:37:46 -07:00
Nick Bourdakos 965cc0ecbc Add implementation for async BLE start scan/advertise
PiperOrigin-RevId: 559863656
2023-08-24 14:07:46 -07:00
Nick Bourdakos 91fb4a9a3e Add stop advertising and stop scanning BLE implementation for Apple platforms
PiperOrigin-RevId: 559838443
2023-08-24 12:45:23 -07:00
Nick Bourdakos 387393f1d6 Delete old BLE code for Apple platforms
PiperOrigin-RevId: 559515626
2023-08-23 12:54:15 -07:00
Nick Bourdakos 034865481a Sanitize incoming file names
PiperOrigin-RevId: 559175545
2023-08-22 11:37:02 -07:00
Nick Bourdakos 7933842c29 Add BLE Medium
PiperOrigin-RevId: 557933813
2023-08-17 14:17:28 -07:00