1

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?

4

1 回答 1

0

这听起来像 python-xbee 库只需要更新以解析远程 AT 响应到ID命令,就像它目前对本地 AT 响应所做的那样。

我还没有查看代码,但是您可以联系项目团队以查看他们是否可以修复它。

于 2013-01-08T18:14:53.510 回答