4.2.4. lookup_name¶
-
bluetooth.
lookup_name
(address, timeout=10)¶ Look up the friendly name of a Bluetooth device.
This function tries to determine the friendly name (human readable) of the device with the specified Bluetooth address.
Parameters: address (str) – The Bluetooth address of the device. Returns: The friendly name of the device on success, and None on failure. Return type: str or None Raises: BluetoothError
– When the provided address is not a valid Bluetooth address.