Francis Tsui
000e12da8e
Migrate platform to use MacAddress class.
...
PiperOrigin-RevId: 800631540
2025-08-28 15:14:16 -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
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
4d457d134b
Fixed one GATT crash
...
PiperOrigin-RevId: 657684638
2024-07-30 12:13:51 -07:00
Guogang Li
0f4f02c7f0
Internal crash fix
...
PiperOrigin-RevId: 651635619
2024-07-11 21:25:06 -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
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
b5938c0d17
Add G3 gatt server
...
PiperOrigin-RevId: 531287485
2023-05-11 13:15:40 -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
Janusz Sobczak
f4d85f9b90
Migrate to AnyInvocable in platform code
...
PiperOrigin-RevId: 504104740
2023-01-23 16:04:21 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Hai Shang
da54ba3422
Add async operations to ble_v2
...
PiperOrigin-RevId: 472611661
2022-09-06 19:08:22 -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
edwinwu
eddf53ec29
[BLE Refactor] Removes fast advertisement uuid in StartAdvertising and StartScanning.
...
PiperOrigin-RevId: 448426759
2022-05-13 00:19:16 -07:00
edwinwu
080e964a4c
[BLE Refactor] Implements GattClient for sender's device to fetch Gatt advertisement.
...
PiperOrigin-RevId: 448400837
2022-05-12 20:29:30 -07:00
edwinwu
12cef58420
[BLE Refactor] Refactor BlePeripheral class.
...
PiperOrigin-RevId: 447638179
2022-05-09 21:27:58 -07:00
aaronyujiaze
6b88d326df
Add BLE V2 windows platform implementation (Phase 1)
...
This CL implements the scanning and advertising of Nearby BLE Medium Fast Advertisement with hardcoded advertisement data
PiperOrigin-RevId: 446806137
2022-05-05 13:45:35 -07:00