网络地址请求函数ZDP_NwkAddrReq( byte *IEEEAddress, byte ReqType, byte StartIndex, byte SecuritySuite );中的第一个参数是发送这个消息的节点地址还是远端节点的IEEE地址?这个是广播发送,那应该不需要远端节点地址吧。
还有:ZDP_NWKADDR_REQTYPE_SINGLE这个在哪里定义的,协议栈也没说,又没搜到。
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_NwkAddrReq( byte *IEEEAddress, byte ReqType, byte StartIndex, byte SecuritySuite );中的第一个参数是发送这个消息的节点地址还是远端节点的IEEE地址?这个是广播发送,那应该不需要远端节点地址吧。
还有:ZDP_NWKADDR_REQTYPE_SINGLE这个在哪里定义的,协议栈也没说,又没搜到。
/*********************************************************************
* @fn ZDP_NwkAddrReq
*
* @brief This builds and send a NWK_addr_req message. This
* function sends a broadcast message looking for a 16
* bit address with a 64 bit address as bait.
*
* @param IEEEAddress - looking for this device
* @param SecurityEnable - Security Options
*
* @return afStatus_t
*/
ZDP_NWKADDR_REQTYPE_SINGLE这个在哪里定义的呢
还有如果要获取所有节点的地址,用哪个函数呢