Skip to content

Instantly share code, notes, and snippets.

@DieterKoblenz
Created September 26, 2016 11:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DieterKoblenz/9efca3c9b90bd851c4130fe4c4b22677 to your computer and use it in GitHub Desktop.
Save DieterKoblenz/9efca3c9b90bd851c4130fe4c4b22677 to your computer and use it in GitHub Desktop.
Find your MAC
# simple inquiry example
import bluetooth
nearby_devices = bluetooth.discover_devices(lookup_names=True)
print("found %d devices" % len(nearby_devices))
for addr, name in nearby_devices:
print(" %s - %s" % (addr, name))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment