Closed GoogleCodeExporter closed 9 years ago
python-xbee throws this error when you provide the incorrect number of bytes to
a parameter. In your case, you need to provide 8 bytes for the parameter
dest_addr_long.
Too see how many bytes you are providing, you can use len() like so:
Python 3.2.1 (default, Jul 10 2011, 20:02:51) [MSC v.1500 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> len(b'\x00\x01')
2
Original comment by pmalms...@gmail.com
on 15 Aug 2014 at 12:51
Original issue reported on code.google.com by
richardy...@gmail.com
on 14 May 2014 at 6:43