Hello:
We are using JN5169(JN-SW-4168) as ZigBee-IoT-Gateway-Control-Bridge and find that it could not remove an enddevice from its neighbor table if the enddevice is offline, which cause the coordinator could not accept any new endevice as the table would get full.
Any help would be greatly appreciated to resolve this issue^_^~
The Host sends "Management Leave Request" to JN5169(ZCB)[1] to remove an endevice.
- If the enddevice is online, it would response Leave Response, so the endevice could be removed from its neighbor table.
- If the enddevice is offline, no matter how many times the leave request is sent, the endevice info is always present in the table...
[1]JN-AN-1194-ZigBee-IoT-Gateway-Control-Bridge.pdf
Solved! Go to Solution.
Hi, have you tried ZPS_bAplZdoTrustCenterRemoveDevice ?
Unluckily, "ZPS_bAplZdoTrustCenterRemoveDevice ()" does not help...-_-
In summary, the following functions have been tried, none of them can remove the endevice if it is offline:
- ZPS_bAplZdoTrustCenterRemoveDevice()
- ZPS_eAplZdoLeaveNetwork()
- ZPS_eAplZdpMgmtLeaveRequest()
ZPS_vNtSetUsedStatus ?
Great, it proved to be worked!
Finally I use the following two APIs to resolve this:
ZPS_vNtSetUsedStatus()
ZPS_vNwkSaveNt()
ZPS_vNtSetUsedStatus()
ZPS_vNwkSaveNt()
Have you applied only 2 APIs for leave the device when device is power off ?
More undocumented functions... ~.~
Glad that's over with.
Looks a really promising method, I will have a try and update the result.
Thank you Lim