Commit Graph
703 Commits
Author SHA1 Message Date
Guogang Li e822493662 Fixed file issue when user name includes unicode
PiperOrigin-RevId: 761710897
2025-05-21 16:22:02 -07:00
Francis Tsui eec16048f4 Fix handling of unicode paths in preferences_repository.
PiperOrigin-RevId: 761661104
2025-05-21 14:05:21 -07:00
Mingshiou Wu e6ccd38828 Remove debug logs
PiperOrigin-RevId: 761386791
2025-05-20 23:39:32 -07:00
Guogang Li eaa0d99c3e Internal BLE change
PiperOrigin-RevId: 761313937
2025-05-20 18:55:36 -07:00
Francis Tsui 151ba03d0f Create nearby::FilePath class to replace use of std::filesystem::path.
- Replace filesystem::path in DeviceInfo.

PiperOrigin-RevId: 761224912
2025-05-20 14:12:07 -07:00
hai007 8c8bd35b6c internal update
PiperOrigin-RevId: 760658885
2025-05-19 09:42:38 -07:00
hai007 4b20e8a541 Added timestamp checker and skip adv data deliver for a short time interval.
PiperOrigin-RevId: 759782377
2025-05-16 15:45:08 -07:00
Francis Tsui 959322177f Remove BlePeripheral usage from framework.
PiperOrigin-RevId: 759337592
2025-05-15 15:59:33 -07:00
Guogang Li 1ed2423717 Expose AWDL platform APIs to support PSK based TLS
PiperOrigin-RevId: 759165452
2025-05-15 08:47:50 -07:00
Guogang Li cc1239789f Add PSK support in Wifi common implementation
PiperOrigin-RevId: 758744875
2025-05-14 10:41:07 -07:00
Edwin Wu 540f4bac7a Add flag to control whether to disconnect the GATT client when exiting the BLE GATT service.
PiperOrigin-RevId: 758474539
2025-05-13 19:52:27 -07:00
Francis Tsui 5f6d79db91 Clean up peripheral maintenance code.
PiperOrigin-RevId: 758236488
2025-05-13 08:45:06 -07:00
Guogang Li 5181686431 Add help class to create nw_parameters_t
PiperOrigin-RevId: 758036909
2025-05-12 21:26:37 -07:00
Francis Tsui 1f46e33a7a Stop maintaining a peripheral map in Windows BLE medium.
PiperOrigin-RevId: 757925397
2025-05-12 15:01:18 -07:00
Francis Tsui b48b943275 Remove reference to BlePeripheral.
PiperOrigin-RevId: 757830081
2025-05-12 10:55:38 -07:00
Francis Tsui acc5f1b0d8 Remove BlePeripheral reference from BleSocket.
PiperOrigin-RevId: 757797557
2025-05-12 09:38:22 -07:00
Guogang Li 1748d7aa1c Increase GATT connection timeout
PiperOrigin-RevId: 756883805
2025-05-09 13:23:10 -07:00
Francis Tsui 16839afa18 Switch Connect() to use BlePeripheral::UniqueId.
PiperOrigin-RevId: 756821680
2025-05-09 10:36:24 -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
Francis Tsui 99458be820 Change ConnectToGattServer to take BlePeripheral::UniqueId.
PiperOrigin-RevId: 756498100
2025-05-08 16:10:04 -07:00
Guogang Li f7e96e518c Use DCT flag to control BLE encoding
PiperOrigin-RevId: 756496067
2025-05-08 16:04:44 -07:00
Francis Tsui e1c072e797 Switch ConnectOverL2cap methods to use BlePeripheral::UniqueId instead of BlePeripheral object.
PiperOrigin-RevId: 756491579
2025-05-08 15:52:01 -07:00
Francis Tsui 605f96a2d2 Remove members shadowing the base class.
PiperOrigin-RevId: 756337436
2025-05-08 09:13:46 -07:00
Francis Tsui 59e527dbe3 Remove unused methods.
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -07:00
Francis Tsui 4beed5b72a Remove unused method.
PiperOrigin-RevId: 756045245
2025-05-07 16:11:41 -07:00
Guogang Li 94ddb09a7f internal fix
PiperOrigin-RevId: 755993569
2025-05-07 13:55:38 -07:00
Guogang Li b57c23bcc1 Add more logs
PiperOrigin-RevId: 755592022
2025-05-06 17:36:46 -07:00
Crisrael Lucero 067450c9ef Remove extra semi-colon to pass -Wextra-semi option in Chromium builds
PiperOrigin-RevId: 755455902
2025-05-06 11:42:17 -07:00
Francis Tsui bda5444fcd Remove g3 BlePeripheral subclass.
PiperOrigin-RevId: 754087426
2025-05-02 12:06:07 -07:00
Francis Tsui 866b3fa9e1 Make api::ble_v2::BlePeripheral into a concrete class.
PiperOrigin-RevId: 753745108
2025-05-01 15:11:08 -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
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
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