Test adapter for BLE transport.
Uses an Agent to track all calls. Tests inject events via simulate_*
functions and inspect sent data via sent_packets/1.
Summary
Functions
Check if the adapter is currently advertising.
Get current advertising data (nil if not advertising).
Get all packets sent via the TX characteristic.
Simulate a BLE connection from a commissioner.
Simulate incoming BLE data (written to RX characteristic).
Simulate a BLE disconnection.
Get the opts passed to start/1.
Check if the adapter has been stopped.
Functions
Check if the adapter is currently advertising.
Get current advertising data (nil if not advertising).
Get all packets sent via the TX characteristic.
Simulate a BLE connection from a commissioner.
Simulate incoming BLE data (written to RX characteristic).
Simulate a BLE disconnection.
Get the opts passed to start/1.
Check if the adapter has been stopped.