用函数ZDP_IEEEAddrReq获取远端设备的IEEE地址,没有数据发出,不知道怎么原因?
在初始化里面加了ZDO_RegisterForZDOMsg( sampleApp_TaskID, IEEE_addr_rsp );
周期性的调用ZDP_IEEEAddrReq,抓包看不到数据
ZDP_IEEEAddrReq( simpleDec_DstAddr.addr.shortAddr, ZDP_ADDR_REQTYPE_SINGLE, 0, false );
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
用函数ZDP_IEEEAddrReq获取远端设备的IEEE地址,没有数据发出,不知道怎么原因?
在初始化里面加了ZDO_RegisterForZDOMsg( sampleApp_TaskID, IEEE_addr_rsp );
周期性的调用ZDP_IEEEAddrReq,抓包看不到数据
ZDP_IEEEAddrReq( simpleDec_DstAddr.addr.shortAddr, ZDP_ADDR_REQTYPE_SINGLE, 0, false );
您可以参考一下ZStack-CC2530的SimpleApp工程,目录为:ZStack-CC2530-2.5.1a\Projects\zstack\Samples\SimpleApp
该工程的sapi.c文件的第919行有调用 ZDP_IEEEAddrReq( pRsp->nwkAddr, ZDP_ADDR_REQTYPE_SINGLE, 0, 0 );
可以参考一下这个工程里面是怎么调用的。