OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
hardware_io.bluetooth.ble_scanner.BleScanner Class Reference

Scans for nearby Bluetooth Low Energy devices. More...

Public Member Functions

float timeout_seconds (self)
 Return the configured discovery timeout.
list[BleDeviceInfo] scan (self)
 Scan for nearby BLE devices.

Detailed Description

Scans for nearby Bluetooth Low Energy devices.

Member Function Documentation

◆ scan()

list[BleDeviceInfo] hardware_io.bluetooth.ble_scanner.BleScanner.scan ( self)

Scan for nearby BLE devices.

Returns: Discovered devices ordered from strongest to weakest signal.

◆ timeout_seconds()

float hardware_io.bluetooth.ble_scanner.BleScanner.timeout_seconds ( self)

Return the configured discovery timeout.

Returns
Discovery timeout in seconds.

The documentation for this class was generated from the following file:
  • hardware_io/bluetooth/ble_scanner.py