Commit Graph
10 Commits
Author SHA1 Message Date
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