I can use IS
(Input Sample) command to get the DIO (digital I/O) sample data from local XBee correctly. As the document says sample data is a dictionary. But when I use the same command for a remote XBee, what I get is just a hex number.
For example, sending IS
command from local XBee, I get the dictionary {'dio-1':False,'dio-2':False}
. But when I send IS
command to a remote XBee, it returns {'parameter':'\x01\x00\x06\x00\x00'}
The XBee manual on Page 46 explains the 'IS'
command. But I'm a little confused about it. Can we use this command to get remote sample data?