Getting very strange information in the packets when using this library

5 views
Skip to first unread message

Jeffrey Parker

unread,
Aug 30, 2015, 1:17:38 PM8/30/15
to Python XBee Dev
I am using this library for sending and receiving data on XBee ZigBee modules and when looking at the information that gets loaded into the dictionary for the packets I am seeing some things in hex, and some being converted to ASCII in the same string, also in some cases the ASCII is not from consecutive characters, but instead is converted from one hex digit at the beginning of one byte and the hex digit at the beginning of the next byte.

All I really know is XCTU shows a different ordering than this library seems to output and when I use the information in XCTU for sending data it seems to work, but in this library unless I use the object directly it does not seem to work so maybe it is just a printing error but still very annoying.

Alistair Adams

unread,
Aug 31, 2015, 1:11:46 AM8/31/15
to python-...@googlegroups.com

A code segment and a dump of what you are seeing would help.

 

If you are just printing the data from the callback then any bytes that are printable ascii will print as ascii characters, the rest as hex but without seeing what you are describing I can’t help.

--
You received this message because you are subscribed to the Google Groups "Python XBee Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-xbee-d...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages