微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > 如何判断终端是否已经入网

如何判断终端是否已经入网

时间:10-02 整理:3721RD 点击:

如何判断终端是否在ZIGBEE网络中?

因该是如何判断终端已经离网了,我使用了NLME_LeaveReq( &leaveReq );函数。

我使用NLME_LeaveReq( &leaveReq );函数函数退网以后就不能加入网络了。硬件复位一下就可以了加入了。是怎么回事

Use the NLME_LeaveReq() function.

For making a remote node to leave the network, the extAddr pointer of the NLME_LeaveReq_t parameter shall be assigned to the remote node 64 bit IEEE address. The address of a remote node can be retrieved during association process by processing the Device_annce message as shown in "#How to get the address of new devices joining the network".

For making the local node to leave the network, the extAddr pointer of the NLME_LeaveReq_t parameter shall be assigned as NULL.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top