mirror of
https://github.com/DanielPollithy/bluetooth_drone.git
synced 2025-10-16 11:45:38 +00:00
rssi
This commit is contained in:
parent
46b4a3e8e5
commit
d3610985be
@ -149,11 +149,9 @@ def run():
|
||||
while connecting:
|
||||
nearby_devices = bluetooth.discover_devices(duration=1, flush_cache=False)
|
||||
print("found %d devices" % len(nearby_devices))
|
||||
print(nearby_devices)
|
||||
print(nearby_devices.items())
|
||||
|
||||
for address, name in nearby_devices:
|
||||
print(" %s - %s" % (address, name))
|
||||
for address in nearby_devices:
|
||||
print(" %s " % (address))
|
||||
if address.lower() == settings.PEER_BT_ADDRESS:
|
||||
print("PEERING PARTNER FOUND")
|
||||
try:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user