#!/usr/bin/env python3
# coding: utf8
from time import sleep
import bluetooth
try:
nearby_devices = bluetooth.discover_devices(lookup_names=True)
print("Found {} devices.".format(len(nearby_devices)))
for addr, name in nearby_devices:
print("address = {}, name = {}".format(addr, name))
except KeyboardInterrupt:
print("Ctrl + C ✅")
finally:
sleep(1)
print("clear ✅")
install error on Raspberry Pi
System
Issue
long logs.
https://gist.github.com/xgqfrms/af407d86c1630af75046d19c0b785451