Commit Graph
731 Commits
Author SHA1 Message Date
Guogang Li 2df88546be Fixed MD5 and SHA256 bug in apple platform implementation
PiperOrigin-RevId: 776303688
2025-06-26 15:26: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 b8246abbe4 Fixed the potential advertising issue in Wi-Fi LAN
PiperOrigin-RevId: 774961389
2025-06-23 16:05:39 -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
hai007 3f8e7774c2 Automated Code Change
PiperOrigin-RevId: 770709504
2025-06-12 10:23:57 -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
Francis Tsui bd4ac34c38 Rotate log file by file size.
PiperOrigin-RevId: 768267049
2025-06-06 16:41:43 -07:00
Francis Tsui 56d7ca1c2e Remove unnecessary conversion from FilePath to string.
PiperOrigin-RevId: 768137824
2025-06-06 10:53:33 -07:00
Edwin Wu 18637b63fa Fix missing getter for cbManagerState.
PiperOrigin-RevId: 767898848
2025-06-05 21:34:25 -07:00
Guogang Li 18bfd5dffa Update illegal characters in file name for Windows
PiperOrigin-RevId: 767794731
2025-06-05 15:43:27 -07:00
Edwin Wu 6892dc3495 Update CBCentralManagerState to CBManagerState.
PiperOrigin-RevId: 767405761
2025-06-04 20:46:48 -07:00
Guogang Li 2f07f1ceee Remove dependents on GTMLogger
PiperOrigin-RevId: 766849674
2025-06-03 15:42:07 -07:00
Guogang Li 46d7270fdc Replace GTMLogger with GNCLogger
PiperOrigin-RevId: 766419599
2025-06-02 18:11:23 -07:00
Guogang Li d7a688f415 Create GNCLogger for apple platform
PiperOrigin-RevId: 766393388
2025-06-02 16:45:00 -07:00
Guogang Li 67beb46d45 don't log message as private
PiperOrigin-RevId: 765410309
2025-05-30 18:26:50 -07:00
Edwin Wu bbc56c10ec [iOS] Fix L2CAP crash issue.
PiperOrigin-RevId: 765077236
2025-05-30 01:11:20 -07:00
Guogang Li 7ac30b7624 Add OS Log sink for iOS
PiperOrigin-RevId: 764981349
2025-05-29 19:29:59 -07:00
Francis Tsui 703c0fd2b5 Remove std::filesystem from third_party/nearby.
PiperOrigin-RevId: 764953786
2025-05-29 17:42:05 -07:00
Francis Tsui 09cdc14fb6 Fix files.cc.
PiperOrigin-RevId: 764926334
2025-05-29 16:17:09 -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 023c4b9b4b [NC] BLE V2 improvements.
PiperOrigin-RevId: 764685820
2025-05-29 05:26:50 -07:00
Guogang Li 132d04348d Convert iOS platform logging to ABSL logging
PiperOrigin-RevId: 764413778
2025-05-28 14:21:57 -07:00
Guogang Li a36d21dd9d internal build fix
PiperOrigin-RevId: 762452943
2025-05-23 09:24:57 -07:00
Guogang Li 3d9371afe1 Remove NSLog from apple platform implementation
PiperOrigin-RevId: 762444541
2025-05-23 09:02:30 -07:00
Francis Tsui 96a274a58f Ban use of std::filesystem from nearby/sharing.
PiperOrigin-RevId: 762119139
2025-05-22 14:09:49 -07:00
Edwin Wu ec7dbcbf30 Fix L2CAP stream connection problem.
PiperOrigin-RevId: 761848851
2025-05-22 01:10:12 -07:00
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