Ejemplo n.º 1
0
def lookup_name(address, timeout=10):
    if not is_valid_address(address):
        raise ValueError("Invalid Bluetooth address")
    try:
        return bt.lookup_name(address)
    except OSError:
        return None
Ejemplo n.º 2
0
def lookup_name(address, timeout=10):
    if not is_valid_address(address):
        raise ValueError("Invalid Bluetooth address")
    return bt.lookup_name(address)
Ejemplo n.º 3
0
def lookup_name (address, timeout=10):
    if not is_valid_address (address): 
        raise ValueError ("Invalid Bluetooth address")
    return bt.lookup_name (address)