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.

CC2538: Unable to remove device using ZDO_MGMT_LEAVE_REQ on ZNP-HOST-FRAMEWORK Application.

Part Number: CC2538
Other Parts Discussed in Thread: Z-STACK

Hello community,

I am working on the CC2538 ZNP device. using the Zigbee linux gateway application & the znp host framework application too.

I have added a power socket application device in a network & then If I remove it using the Zigbee linux gateway application. 
Logs over the zboss sniffer will be as follows. 

ie. First it sends the remove comamnds to the respective device & then the device will broad cast the leave indication.


But If I have try the same functionalty on the znp host framework application by using ZDO_MGMT_LEAVE_REQ  command.

Device leave request will be sent to the device & successfull response will also received at the ZNP host framework application (ZNP device).
Device will also removed from the NV RAM. (If we check the ZB_GET_DEVICE_INFO command using param 1 to get devices that device will not listed)

But the device will not getting reaseted of getting the beacon mode, it stays as it is in its last state (On / Off).
the snifeer logs will be as follows.

will you please help me to understand...
1. Why both application has differnt commands & functionality to remove the device.
2. How we remove the device from network using the znp host framework application.

Regard's 
Shiv Patil.