Skip to content
Snippets Groups Projects
Commit 35220a3d authored by SiccoColijn's avatar SiccoColijn
Browse files

Periodically prints RSSI of connected device (MAC address should be specified)

parent 0f6b3b92
No related branches found
No related tags found
No related merge requests found
from bluepy.btle import Scanner
scanner = Scanner()
while True:
devices = scanner.scan(1.0)
for device in devices:
if device.addr == "30:4b:07:ff:e0:3e":
print("DEV = {} RSSI = {}".format(device.addr, device.rssi))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment