SerialTransport failing
Oliver172 opened this issue · comments
I try to setup a serial communication between a Raspberry Pi and a Pebble-Watch. The Pi and the Pebble are connected, Serial port rfcomm0 is bound to the MAC-Adress of the Pebble but I get an Error when I try to connect them with LibPebble2:
pebble = PebbleConnection(SerialTransport("/dev/rfcomm0"))
Traceback (most recent call last):
File "<pyshell#34>", line 1, in
pebble = PebbleConnection(SerialTransport("/dev/rfcomm0"))
NameError: name 'SerialTransport' is not defined
Does anybody have an Idea what's wrong here (the code works with WebSocket and QEMU)?
Best regards
Oliver
Sorry, stupid mistake.