Amazing, saved me a heap of testing.
i get an error with your code
python puck_serial.py D8:19:E7:5B:3A:57
> Traceback (most recent call last): File "puck_serial.py", line 13,
> in <module>
> p = Peripheral(sys.argv, "random") File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 391, in
> self._connect(deviceAddr, addrType, iface) File "/usr/local/lib/python2.7/dist-packages/bluepy/btle.py", line 439, in
> raise BTLEDisconnectError("Failed to connect to peripheral %s, addr type: %s" % (addr, addrType), rsp)
> bluepy.btle.BTLEDisconnectError: Failed to connect to peripheral
> D8:19:E7:5B:3A:57, addr type: random
© Espruino, powered by microcosm.
Report a problem