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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
3,847 次查看
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 项奖励
回复
1 解答
3,414 次查看
limcb
Contributor IV

ZPS_vNtSetUsedStatus ?

在原帖中查看解决方案

7 回复数
3,414 次查看
limcb
Contributor IV

Hi, have you tried ZPS_bAplZdoTrustCenterRemoveDevice ?

0 项奖励
回复
3,414 次查看
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 项奖励
回复
3,415 次查看
limcb
Contributor IV

ZPS_vNtSetUsedStatus ?

3,414 次查看
erictao
Contributor II

Great, it proved to be worked!

Finally I use the following two APIs to resolve this:

ZPS_vNtSetUsedStatus()

ZPS_vNwkSaveNt()

3,414 次查看
vihang_jani
Contributor I

ZPS_vNtSetUsedStatus()

ZPS_vNwkSaveNt()


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

0 项奖励
回复
3,414 次查看
limcb
Contributor IV

More undocumented functions... ~.~

Glad that's over with. 

0 项奖励
回复
3,414 次查看
erictao
Contributor II

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

Thank you Lim 

0 项奖励
回复