JN5169: issue on gateway(coordinator ) to remove its endevice

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

JN5169: issue on gateway(coordinator ) to remove its endevice

Jump to solution
1,644 Views
erictao
Contributor II

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

0 Kudos
1 Solution
1,211 Views
limcb
Contributor IV

ZPS_vNtSetUsedStatus ?

View solution in original post

7 Replies
1,211 Views
limcb
Contributor IV

Hi, have you tried ZPS_bAplZdoTrustCenterRemoveDevice ?

0 Kudos
1,211 Views
erictao
Contributor II

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()

0 Kudos
1,212 Views
limcb
Contributor IV

ZPS_vNtSetUsedStatus ?

1,211 Views
erictao
Contributor II

Great, it proved to be worked!

Finally I use the following two APIs to resolve this:

ZPS_vNtSetUsedStatus()

ZPS_vNwkSaveNt()

1,211 Views
vihang_jani
Contributor I

ZPS_vNtSetUsedStatus()

ZPS_vNwkSaveNt()


Have you applied only 2 APIs for leave the device when device is power off ?

0 Kudos
1,211 Views
limcb
Contributor IV

More undocumented functions... ~.~

Glad that's over with. 

0 Kudos
1,211 Views
erictao
Contributor II

Looks a really promising method, I will have a try and update the result.

Thank you Lim 

0 Kudos