Skip to content

Instantly share code, notes, and snippets.

@pellekrogholt
Created February 27, 2014 21:08
Show Gist options
  • Save pellekrogholt/9259610 to your computer and use it in GitHub Desktop.
Save pellekrogholt/9259610 to your computer and use it in GitHub Desktop.
26,27c26,30
< if hasattr(socket, "AF_BLUETOOTH"):
<
---
> # note: open-wrt doesn't play well with python socket and bluetooth
> # on socket.connect((mac, port)) it keept raising errors like:
> # http://pastebin.com/61dWyUZF
> # solution: force to use py-bluez that wrap bluez.
> if False:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment