import bluetooth

##This is to look for the bluetooth device. 
print("Performing inquiry...")
nearby_devices = bluetooth.discover_devices(lookup_names=True)
print(f"Found {len(nearby_devices)} devices.")
for addr, name in nearby_devices:
    print(f"Address: {addr}, Name: {name}")
