Skip to main content

Crate radiochron_native_ble

Crate radiochron_native_ble 

Source
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§

AdapterReport
Status of one native Bluetooth adapter used by a scan.
Advertisement
One received BLE advertisement.
Error
Native BLE backend error.
ManufacturerData
NoopObserver
Observer for callers that do not need cancellation or progress.
ScanReport
Normalized result of one native BLE scan.
ServiceData

Enums§

AddressType

Traits§

ScanObserver
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.