module documentation

BLE Scanner - Scan for nearby Bluetooth devices (Central mode)

Function bluetooth_callback Handle Bluetooth scan result events.
Function run Run the app and handle scan results.
Function start Start the app and begin scanning for devices.
Function stop Stop the app and clean up.
Variable _addresses Undocumented
Variable _bluetooth Undocumented
Variable _loading Undocumented
Variable _menu Undocumented
Variable _scanned_devices Undocumented
def bluetooth_callback(event, data):

Handle Bluetooth scan result events.

Parameters
event:intBluetooth event code.
data:tupleEvent payload with address and RSSI.
def run(view_manager):

Run the app and handle scan results.

Parameters
view_manager:ViewManagerThe view manager instance for display and storage access.
def start(view_manager) -> bool:

Start the app and begin scanning for devices.

Parameters
view_manager:ViewManagerThe view manager instance for display and storage access.
Returns
boolTrue if the app started, False on failure.
def stop(view_manager):

Stop the app and clean up.

Parameters
view_manager:ViewManagerThe view manager instance for display and storage access.
_addresses: list =

Undocumented

_bluetooth =

Undocumented

_loading =

Undocumented

_menu =

Undocumented

_scanned_devices: list =

Undocumented