Other Parts Discussed in Thread: Z-STACK
Issue:
The coordinator actively deletes the information of the terminal or routing node that has been brought into the network, and the function returns true, and returns false again after 1 second. After a second or two, the coordinator is automatically reset, and all nodes are out-of-net, but do not remove a single terminal or route.
The customer would like to know if there are other ways to do this function.
Below are two options that the customer has tried before:
| Option 1 | Option 2 | |
| Processing | The coordinator addresses the mac address based on the 16-bit short address and then calls ZDP_MgmtLeaveReq() to delete the node information. | The coordinator addresses the mac address based on the 16-bit short address and then calls AssocRemove() to delete the node information. |
| Result |
After the node is successfully netted, the coordinator receives the Delete Node action message and performs the following functions. The first ret returns true (1), the second ret returns false (0), and after one or two seconds the coordinator automatically restarts. The nodes that were previously connected to the network are also off the net. zAddrType_t addr_delet; |
Same as the Option 1. The functions are as follows: NLME_LeaveReq_t req;
|
Best Regards,
Cherry Zhou