Module ble
Available on crate feature
ble only.Expand description
Provides control over the system BLE (Bluetooth Low Energy) stack.
All interactions happen through the trouble_host::Stack struct that can be obtained using
ble_stack().
The address of the device is randomly generated at boot and may be rotated during execution.
§Current implementation
The address is not currently rotated during execution; however this behavior may not be relied upon.
Functions§
- ble_
stack - Returns the system BLE stack,
BleStack. - current_
address - Returns the BLE address currently in use.
Type Aliases§
- BleStack
- The BLE Stack, representing access to this device’s BLE controller.
This type is returned by
ble_stack().