this is a wrapper around
- bleak for low-energy support
- beacontools for beacon support
- bluez for classic support
pip3 install git+https://github.com/nbdy/btpy
from btpy import LEDevice, Beacon, ClassicDevice
le_results = LEDevice.scan(4)
beacon_results = Beacon.scan(5)
classic_results = ClassicDevice.scan(6)
- Tests