Guogang Li
3432c829e1
Fixed crash during devices scanning
...
PiperOrigin-RevId: 522457603
2023-04-06 15:47:45 -07:00
Guogang Li
78145f4433
Fixed crash during devices scanning
...
PiperOrigin-RevId: 518127975
2023-03-20 18:03:49 -07:00
Guogang Li
5c9166c02d
Check BLE extended feature before use it
...
PiperOrigin-RevId: 513637981
2023-03-02 14:20:03 -08:00
Guogang Li
d7d6646b5b
Report device lost when advertising data changed in BLE
...
PiperOrigin-RevId: 505768728
2023-01-30 12:36:56 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Guogang Li
59d172fe64
Recovered the codes of BLE medium
...
PiperOrigin-RevId: 486803584
2022-11-07 17:11:17 -08:00
Guogang Li
2fff61b312
Separated BLE permission API into mediums manager
...
PiperOrigin-RevId: 478640491
2022-10-03 16:57:24 -07:00
Guogang Li
2ca7d43f1a
Fixed the BLE start/stop issues
...
PiperOrigin-RevId: 475915082
2022-09-21 13:53:37 -07:00
Guogang Li
9f9b3d26d1
Fixed the log issue for advertisement data
...
PiperOrigin-RevId: 474897767
2022-09-16 14:09:45 -07:00
guogang
5df9ef5eca
Removed API mutex from platform implementation.
...
PiperOrigin-RevId: 465635705
2022-08-05 13:31:05 -07:00
guogang
591ef0922e
Caught all exceptions in BLE scanning and advertising
...
PiperOrigin-RevId: 460760683
2022-07-13 11:16:03 -07:00
aaronyujiaze
abc0ae34df
Ensure bluetooth adapter is enabled before BLE operations
...
PiperOrigin-RevId: 458011940
2022-06-29 10:47:25 -07:00
guogang
698b04184a
Fixed a few issues found during test
...
PiperOrigin-RevId: 457604581
2022-06-27 17:30:37 -07:00
aaronyujiaze
cf85146096
Add the comprehensive set of BluetoothError Enums
...
PiperOrigin-RevId: 455239120
2022-06-15 15:54:27 -07:00
aaronyujiaze
ccca7bef6f
Mute logging of BLE advertisement discovery for release builds
...
PiperOrigin-RevId: 453493406
2022-06-07 12:06:31 -07:00
aaronyujiaze
71974b2c0b
Fix BlePeripheral pointer protection bug
...
PiperOrigin-RevId: 452884820
2022-06-03 19:08:15 -07:00
aaronyujiaze
4045af569f
Add Extended Advertising support for BlePeripheral discovery
...
PiperOrigin-RevId: 452801874
2022-06-03 11:06:43 -07:00
aaronyujiaze
c94981c880
Convert logging of advertisement bytes to hex string format
...
PiperOrigin-RevId: 452610643
2022-06-02 13:35:52 -07:00
aaronyujiaze
926dcc28d4
Add BlePeripheral discovery logic implementation
...
PiperOrigin-RevId: 452609641
2022-06-02 13:31:25 -07:00
aaronyujiaze
b4b74ca5b4
Add Extended Advertising support in Nearby Connections layer
...
PiperOrigin-RevId: 452112156
2022-05-31 12:29:18 -07:00
aaronyujiaze
8867721271
Add reset for std::promise
...
std::promise needs to be reinitialized for each async operation after std::future is returned
PiperOrigin-RevId: 451236518
2022-05-26 13:55:18 -07:00
aaronyujiaze
0be161e3bb
Add Copresence Service UUID to BLE Advertisement 0x16 Service Data
...
The medium abstraction layer does not prepopulate the advertisement_bytes ByteArray with Copresence Service UUID. This adds it at the platform impl layer.
PiperOrigin-RevId: 450054877
2022-05-20 13:47:29 -07:00
aaronyujiaze
48a91eec73
Add BLE V1 windows platform implementation
...
This CL implements the BLE V1 Medium and its corresponding unit tests:
- Start/Stop Advertising
- Start/Stop Scanning
- Receive BLE Advertisement callbacks handler
- BLE Advertisement Publisher/Watcher status callbacks handler
PiperOrigin-RevId: 449824666
2022-05-19 13:48:56 -07:00