Expand description
Blocking, Tokio-free native BLE advertisement scanning for RadioChron.
Each supported operating system is implemented directly against its native
Bluetooth surface: WinRT on Windows, BlueZ over the system D-Bus on
Linux, and CoreBluetooth on macOS. The public API is synchronous so
callers do not inherit an async executor.
Structs§
- Adapter
Report - Status of one native Bluetooth adapter used by a scan.
- Advertisement
- One received BLE advertisement.
- Error
- Native BLE backend error.
- Manufacturer
Data - Noop
Observer - Observer for callers that do not need cancellation or progress.
- Scan
Report - Normalized result of one native BLE scan.
- Service
Data
Enums§
Traits§
- Scan
Observer - Cooperative controls observed while a scan is running.
Functions§
- scan
- Scans for BLE advertisements for at most
duration. - scan_
with_ observer - Scans for BLE advertisements with cooperative cancellation and progress.