协调器已经加满了,运行一段时间后,某个终端坏了,
直接更换成新的终端,此时加不进去,
现在协调器里需要踢出原来坏的终端,请问用什么指令?
用leave request吗?但是此时坏的终端已经不在线了,
leave request发出去终端是不会有应答的,这样可以踢出该终端吗?
如果可以,请告知leave request具体是用什么指令去控制?只知道终端的MAC地址是否可以踢出他?
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.
协调器已经加满了,运行一段时间后,某个终端坏了,
直接更换成新的终端,此时加不进去,
现在协调器里需要踢出原来坏的终端,请问用什么指令?
用leave request吗?但是此时坏的终端已经不在线了,
leave request发出去终端是不会有应答的,这样可以踢出该终端吗?
如果可以,请告知leave request具体是用什么指令去控制?只知道终端的MAC地址是否可以踢出他?
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.
看下协议栈9.4节关于离开网络的说明