连接好以后,想读取IEEE地址,然后单击ZDO_IEEE_ADDR_REQ,但是接收到的数据是Status是success。
点击这条命令的help提示如下:
This command will request a device's ieee 64-bit address. You must subscribe to 'ZDO IEEE Address Response' to receive the data response to this message.
The response message listed below only dedicates whether or not the message was received properly.
第二句话没读懂,我应该怎么设置,以读出IEEE地址。
Viki Shi:
ztool的MT功能打开没?
Yue TANG:
你需要订阅这个事件的回调函数。
在预编译里增加 MT_ZDO_CB_FUNC就可以收到了。