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.
Hello everyone.
I have 3 device, 1 ZC, 1ZR and 1 ZED.
ZR's parent is ZC and ZED's parent is ZR. ( ZC <-- ZR <-- ZED).
Devices use NLME_LeaveReq( &req ) to leave the the network.
req.extAddr = NULL;
req.removeChildren = TRUE;
req.rejoin = FALSE;
req.silent = FALSE;
ZC can get ZDO_LEAVE_IND when ZR leave the network.
But ZC can't get ZDO_LEAVE_IND when ZED leave the net work.
How does coordinator know ZED leave the network?
Can I get the message like ZDO_LEAVE_IND?
The parameter req.extAddr = NULL means the device removes itself from the network.
If I set req.extAddr=0x0000 , it means to let ZC leave the network. That's strange.