Francis Tsui
3f93c0ee87
Remove more unnecessary INFO logs.
...
PiperOrigin-RevId: 797859361
2025-08-21 12:04:13 -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
16839afa18
Switch Connect() to use BlePeripheral::UniqueId.
...
PiperOrigin-RevId: 756821680
2025-05-09 10:36:24 -07:00
Francis Tsui
99458be820
Change ConnectToGattServer to take BlePeripheral::UniqueId.
...
PiperOrigin-RevId: 756498100
2025-05-08 16:10:04 -07:00
Francis Tsui
59e527dbe3
Remove unused methods.
...
PiperOrigin-RevId: 756053350
2025-05-07 16:36:04 -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
Francis Tsui
541bffc858
Cleanup BLEv2Medium
...
PiperOrigin-RevId: 753288576
2025-04-30 13:24:55 -07:00
Guogang Li
eeedf9f9c4
Cleanup platform flag
...
PiperOrigin-RevId: 748062326
2025-04-15 16:18:43 -07:00
Guogang Li
8270e0548c
Cleanup platform flag
...
PiperOrigin-RevId: 748043641
2025-04-15 15:22:10 -07:00
Guogang Li
addb71ddfa
Fix medium enable/disable issue during advertising
...
PiperOrigin-RevId: 747593380
2025-04-14 15:35:23 -07:00
Guogang Li
cc4a13ac26
Fix the bug to stop scanning when adapter is disabled
...
PiperOrigin-RevId: 738949740
2025-03-20 14:54:48 -07:00
Francis Tsui
b62b56c75e
Move Bluetooth UUID16 conversion into Uuid class.
...
PiperOrigin-RevId: 735496175
2025-03-10 13:41:37 -07:00
Francis Tsui
7e758061ac
Allow setting of alternate service UUID on StartDiscovery.
...
PiperOrigin-RevId: 733850300
2025-03-05 13:34:29 -08:00
Francis Tsui
5322b66b8e
Add support for alternate BLE service uuid.
...
PiperOrigin-RevId: 733821780
2025-03-05 12:08:33 -08:00
Francis Tsui
8d9d310a07
Refactor BleAdvertisementWatcher.
...
PiperOrigin-RevId: 732976572
2025-03-03 10:39:48 -08:00
Guogang Li
47f2dfec28
Removed platform types dependency from windows platform codes
...
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
Guogang Li
d5b5d92f87
Internal logging update
...
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
hai007
f0115df88b
Internal change
...
PiperOrigin-RevId: 663333107
2024-08-15 09:40:28 -07:00
Guogang Li
cad1ef6bf3
Fixed a bug in GATT client
...
PiperOrigin-RevId: 662666561
2024-08-13 15:05:47 -07:00
Guogang Li
4d457d134b
Fixed one GATT crash
...
PiperOrigin-RevId: 657684638
2024-07-30 12:13:51 -07:00
Guogang Li
52c80303e3
Enhance on advertising
...
PiperOrigin-RevId: 655044204
2024-07-22 23:57:16 -07:00
Guogang Li
304a0e2851
Add more logs for GATT advertising
...
PiperOrigin-RevId: 653282565
2024-07-17 10:35:57 -07:00
Guogang Li
0f4f02c7f0
Internal crash fix
...
PiperOrigin-RevId: 651635619
2024-07-11 21:25:06 -07:00
Hai Shang
30c9c55d3b
Initial Async version of StartAdvertising for windows.
...
PiperOrigin-RevId: 616915567
2024-03-18 12:43:12 -07:00
Guogang Li
7dea977b74
Try to fix Bluetooth issue to get service
...
PiperOrigin-RevId: 570475245
2023-10-03 13:12:31 -07:00
Guogang Li
5b155f9a4a
Added data section filter in BLE scanning
...
PiperOrigin-RevId: 553660098
2023-08-09 19:11:48 -07:00
Guogang Li
bd30b11401
Fixed crash when stopping advertising
...
PiperOrigin-RevId: 542580849
2023-06-22 09:23:00 -07:00
Aaron Yu
7eca4d74c6
Fix __FrameHandler3::CxxCallCatchBlock crashes at Nearby Connections layer
...
PiperOrigin-RevId: 542085514
2023-06-20 16:43:14 -07:00
Guogang Li
ae900f0baf
Added flag to enable GATT on non-extended device
...
PiperOrigin-RevId: 538851144
2023-06-08 11:56:24 -07:00
Guogang Li
df31f7810c
Added flag to control GATT enable/disable
...
PiperOrigin-RevId: 538631107
2023-06-07 17:05:16 -07:00
Janusz Sobczak
903071e001
Improve BLE peripheral lifecycle
...
Keep all discovered and explicitly created BLE peripherals in the same
collection.
The peripherals are removed when they haven't been used for a while.
PiperOrigin-RevId: 538349622
2023-06-06 18:44:44 -07:00
Guogang Li
5740dcccbb
Fixed internal issues found in test
...
PiperOrigin-RevId: 537340986
2023-06-02 10:07:33 -07:00
Guogang Li
72f74f3698
Fixed discovery issue in BLE V2
...
PiperOrigin-RevId: 536557212
2023-05-30 17:48:00 -07:00
Hai Shang
ecca9c1d19
Add windows impl for StartScanning
...
PiperOrigin-RevId: 534901836
2023-05-24 10:47:06 -07:00
Crisrael Lucero
01c8e1ed05
Convert absl::string_view to const std::string&
...
PiperOrigin-RevId: 531634295
2023-05-12 16:40:50 -07:00
Janusz Sobczak
0901aec6e2
Add BleMedium::GetRemotePeripheral
...
Added:
nearby::api::ble_v2::BlePeripheral::GetUniqueId()
nearby::api::ble_v2::BleMedium::GetRemotePeripheral(...)
Moved BlePeripheral implementation from bluetooth_adapter_* to ble_v2.*
Added G3 (test) implementation for the new methods.
PiperOrigin-RevId: 531023568
2023-05-10 15:40:38 -07:00
Guogang Li
5d4cf93aed
Added thread protection to BLE V2 APIs
...
PiperOrigin-RevId: 522462123
2023-04-06 16:07:20 -07:00
Guogang Li
3d752bc256
Added thread protection to BLE V2 APIs
...
PiperOrigin-RevId: 521774807
2023-04-04 08:49:44 -07:00
Guogang Li
5b94880740
Fixed some logic issues to handle BLE v2 advertisement
...
PiperOrigin-RevId: 520406643
2023-03-29 12:15:37 -07:00
Guogang Li
b25314c34c
Checked whether support BLE extended advertisement
...
PiperOrigin-RevId: 519848480
2023-03-27 15:41:38 -07:00
Guogang Li
21e8a0200c
Added advertising and scanning for BLE v2
...
PiperOrigin-RevId: 513652877
2023-03-02 15:17:25 -08:00
Guogang Li
d41c26dd24
Added BLE v2 peripheral
...
PiperOrigin-RevId: 509962831
2023-02-15 16:29:11 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Janusz Sobczak
e64f9859e1
Replace BleOperationStatus with absl::Status
...
PiperOrigin-RevId: 497191477
2022-12-22 10:20:15 -08:00
Hai Shang
da54ba3422
Add async operations to ble_v2
...
PiperOrigin-RevId: 472611661
2022-09-06 19:08:22 -07:00
hai007
2d4cc75dfa
Fix miscellaneous typos in the comments or logging.
...
PiperOrigin-RevId: 454649199
2022-06-13 10:55:57 -07:00
edwinwu
8e048f7be0
[BLE Refactor] Uses Uuid class for those used in Uuid string-form in /medium layer.
...
PiperOrigin-RevId: 450910238
2022-05-25 06:36:55 -07:00
edwinwu
a1e84f0597
[BLE Refactor] Implements BleV2Socket and BleV2ServerSocket.
...
PiperOrigin-RevId: 450586535
2022-05-23 20:22:10 -07:00
edwinwu
01f439b9ad
[BLE Refactor] Add Extended advertisement support.
...
PiperOrigin-RevId: 449619994
2022-05-18 17:45:04 -07:00