blatann.examples.example_utils module¶
- blatann.examples.example_utils.find_target_device(ble_device, name)¶
Starts the scanner and searches the advertising report for the desired name. If found, returns the peer’s address that can be connected to
- Parameters
ble_device (blatann.BleDevice) – The ble device to operate on
name – The device’s local name that is advertised
- Returns
The peer’s address if found, or None if not found