5个带有api模式传输API包的xbee s2模块

时间:2015-12-11 00:51:20

标签: api xbee

这是我的问题: 我有5 xbee S2,我想互相沟通。 设置是

coordinator: pan id = 1234 , CH=C ,DH=0000, DL=FFFF ,AP =1, 
router-1: pan id = 1234 , CH=C ,DH=0000, DL=FFFF ,AP =1, JV=1
router-2: pan id = 1234 , CH=C ,DH=0000, DL=FFFF ,AP =1, JV=1
router-3: pan id = 1234 , CH=C ,DH=0000, DL=FFFF ,AP =1, JV=1
router-4: pan id = 1234 , CH=C ,DH=0000, DL=FFFF ,AP =1, JV=1

现在我使用router1发送的包到router2& 3或协调器,但它只能接收包"发送请求0x10"类似的东西:

 "7E 00 0E 10 01 00 00 00 00 00 00 FF FF FF FE 00 00 F3"

我无法收到其他类似的套餐:

0x00 = "7E 00 0B 00 01 00 00 00 00 00 00 FF FF 00 00" ;
0x01 ="7E 00 05 01 01 FF FF 00 FF"...

X-CTU设置1

1 个答案:

答案 0 :(得分:0)

使用Transmit Explicit帧类型(0x11)并包含目标节点的地址。

https://docs.digi.com/display/XBeeZigBeeMeshKit/Explicit+Addressing+frames