Commit Graph
3216 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
Guogang Li 4fcd7a312f Enable dynamic role switching by default
PiperOrigin-RevId: 761631538
2025-05-21 12:48:01 -07:00
Francis Tsui 1accd129e7 Remove use of std::filesystem from sharing/internal.
PiperOrigin-RevId: 761618789
2025-05-21 12:12:28 -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
shwetathecodewarrior 502bb5d9c8 Remove Embedded SDK related code 2025-05-19 19:59:42 +00: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 9853d62532 Enable password for AWDL upgrade
PiperOrigin-RevId: 759226149
2025-05-15 11:22:45 -07:00
Guogang Li 0a64440528 Internal update
PiperOrigin-RevId: 759222893
2025-05-15 11:14:24 -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
Francis Tsui 16c3d9bc45 Fix package visibility.
PiperOrigin-RevId: 758903729
2025-05-14 17:52:19 -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 3c718941b1 Update default flags for iOS SDK
PiperOrigin-RevId: 758724235
2025-05-14 09:53:41 -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 30b32e52f2 internal change
PiperOrigin-RevId: 758393007
2025-05-13 15:12:11 -07:00
Anay Wadhera fe2577fba9 Merge pull request #3420 from ggli-google/compile-protos
Compile protos due to AWDL credential change
2025-05-13 12:25:00 -04:00
Guogang Li 9743fe9678 Compile protos 2025-05-13 09:09:12 -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
hai007 2add27671b Support XR devices for QuickShare DeviceType
PiperOrigin-RevId: 758009685
2025-05-12 19:41:03 -07:00
Guogang Li ed73963b6b Add password field for AWDL Credential
PiperOrigin-RevId: 757944784
2025-05-12 15:54:46 -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
Johnson Lu 8f71b8e8b0 Add last_endpoint_id to UpgradePathInfo.ClientIntroduction
PiperOrigin-RevId: 757536755
2025-05-11 18:18:20 -07:00
Guogang Li 0ef9e3b7ca Enable BLE V2 for iOS SDK
PiperOrigin-RevId: 756898030
2025-05-09 14:03:26 -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
Guogang Li 09ac8d8c58 Apply DCT flag in Nearby Connections
PiperOrigin-RevId: 756487383
2025-05-08 15:41:04 -07:00
Guogang Li 5f3ce51cfd Add flag to control DCT
PiperOrigin-RevId: 756477155
2025-05-08 15:11:43 -07:00
Guogang Li f2ef072ac1 Avoid checking peer when getting streams from socket
PiperOrigin-RevId: 756403871
2025-05-08 12:00:57 -07:00
Francis Tsui 605f96a2d2 Remove members shadowing the base class.
PiperOrigin-RevId: 756337436
2025-05-08 09:13:46 -07:00
Guogang Li 7ea0e00333 Add AWDL upgrade logic
PiperOrigin-RevId: 756335927
2025-05-08 09:08:52 -07:00
hai007 236e17988c Replace uses of rtc:: and cricket:: namespaces
PiperOrigin-RevId: 756184076
2025-05-08 00:24:40 -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
Johnson Lu ee9266b175 Implement Dynamic Role Switch
Implement dynamic role switch in bwu manager. When NC receive BWU request, it will check if it should switch role based on the device's capability.

PiperOrigin-RevId: 755703443
2025-05-06 23:38:16 -07:00
Guogang Li 946e865db2 Implement method to build AWDL upgrade frame
PiperOrigin-RevId: 755607718
2025-05-06 18:30:30 -07:00
Guogang Li 62413e4de9 Internal change to AWDL APIs
PiperOrigin-RevId: 755602469
2025-05-06 18:12:01 -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