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.

How can End Device leave when get Leave Request from Coordi?

Hi,

I make ZC send Leave Request to ZD which I want to leave the network.

Then, ZD sends Leave Response but it deosn't leave the network.

My Leave sequence is below.

1. ZC calls ZDP_MgmtLeaveReq(&DestAddr, IEEEAddr, 1, 1, 0) to send Leave Request to ZD.

2. ZD sends Leave Response but Status is "Not Supported".

3. So, ZD doesn't leave the network. It still exist in the network.

 

My Question is below.

1. How can ZD send Leave Response with Status "Supported"?

2. Where ZD get "Leave Request" event in the ZStack source file?