1. 环境:
JN-AN-1217-Zigbee-3-0-Base-Device工程; JN-SW-4170 的SDK;jn 5169芯片
2.问题复现步骤:
A协调器上电,设置PANID为0x1234, 设置信道为11,打开入网,加入三个路由设备,一个终端设备;
B协调器上电,设置PANID为0x1234,设置信道为11
等待大概10分钟,路由设备会有network report消息上报到协调器,告诉协调器PANID冲突。
之后协调器A会重新选择PANID(假设是0x1212),并把新的PANID 0x1212广播出去,路由设备使用0x1212和协调器A通信,通信正常。但是终端设备收不到network update的广播,还是使用panid 0x1234和A通信,导致通信异常。
3.我的问题:
1)请问更新PANID是在协调器哪个函数里实现的?
2)如何避免终端设备收不到panid update?
3)如果问题2)不能实现,如何禁止PANID的更新?
注:在附件的抓包文件里,16:36:20:712706时刻,PANID开始变化, 由0x0898变为了0xD76C
Hi vicente,
sorry reply so late.
I met a panid conflic problem:there is a coordinator and sixty routers plus 5 end device in a same network,.
The coordinator formed network, and then all the routers and end device joined, a few days later, I can see there is a router send a "network report" message to coordinator, then the coordinator broadcast a "network update" message, this is ok for router,but end device will miss the "network update" message and use the old panid,thus end device communicate with coordinator will fail.
In the snniffer file, line 41448, shows the "network report" message, and the problem start here. My old panid is 0x0898, after upate, new panid is 0xD76C.
I use JN-AN-1217-Zigbee-3-0-Base-Device projet, JN-SW-4170 SDK , jn 5169 chip.
What I want to know is:
1) Why the router send "network report" message?
2). In JN5169 coordinator, which API handle the "network report " message? which API send the "network update"?
3) Is there is a way to make sure end device receive "network update" message success?
4) How to disable coordinator to broadcast "network update"?
thanks!
我的应该是没有保存的原因导致的,你知道如何去存储这些,然后设备重启如何调用吗?
-原始邮件-
发件人: "weisheng"<admin@community.nxp.com>
发送时间: 2019年8月27日(星期二) 上午8:10
收件人: "心有余悸 周"<377086561@qq.com>;
主题: Re: - Re: jn5169 PANID冲突
NXP Community
Re: jn5169 PANID冲突
reply from wei ss in Wireless Connectivity - View the full discussion
我的PANID也是随机生成的,重启后你其他的数据有没有丢失,有没有可能调用了擦除永久化的接口
发自我的iPhone
Reply to this message by replying to this email, or go to the message on NXP Community
Start a new discussion in Wireless Connectivity by email or at NXP Community
Following Re: jn5169 PANID冲突 in these streams: Inbox
This email was sent by NXP Community because you are a registered user.
You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences
那我路由器,想要掉电还连接原先的网络的话,怎么做呢,和协调器一样吗
-原始邮件-
发件人: "weisheng"<admin@community.nxp.com>
发送时间: 2019年8月27日(星期二) 上午9:26
收件人: "心有余悸 周"<377086561@qq.com>;
主题: Re: - Re: jn5169 PANID冲突
NXP Community
Re: jn5169 PANID冲突
reply from wei ss in Wireless Connectivity - View the full discussion
Panic 存贮和重新启动后恢复是协议栈做好了,我们当然也可以手动去做,我没记错的话,3113的文档里有接口文档的
发自我的iPhone
Reply to this message by replying to this email, or go to the message on NXP Community
Start a new discussion in Wireless Connectivity by email or at NXP Community
Following Re: jn5169 PANID冲突 in these streams: Inbox
This email was sent by NXP Community because you are a registered user.
You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences
这个里面有没有子设备的一下信息,比如每个路由设备下面挂载几个子节点?
-原始邮件-
发件人: "weisheng"<admin@community.nxp.com>
发送时间: 2019年8月28日(星期三) 晚上9:59
收件人: "心有余悸 周"<377086561@qq.com>;
主题: Re: - Re: jn5169 PANID冲突
NXP Community
Re: jn5169 PANID冲突
reply from wei ss in Wireless Connectivity - View the full discussion
路由设备的link status 就是做这个事情的,如果三次没有收到邻居节点的link status ,则认为这个邻居节点已经不在线。如果要实时知道上下线信息,可以自己在应用层做
发自我的iPhone
Reply to this message by replying to this email, or go to the message on NXP Community
Start a new discussion in Wireless Connectivity by email or at NXP Community
Following Re: jn5169 PANID冲突 in these streams: Inbox
This email was sent by NXP Community because you are a registered user.
You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences
那你还记得是哪个结构体吗?
-原始邮件-
发件人: "weisheng"<admin@community.nxp.com>
发送时间: 2019年8月28日(星期三) 晚上9:59
收件人: "心有余悸 周"<377086561@qq.com>;
主题: Re: - Re: jn5169 PANID冲突
NXP Community
Re: jn5169 PANID冲突
reply from wei ss in Wireless Connectivity - View the full discussion
路由设备的link status 就是做这个事情的,如果三次没有收到邻居节点的link status ,则认为这个邻居节点已经不在线。如果要实时知道上下线信息,可以自己在应用层做
发自我的iPhone
Reply to this message by replying to this email, or go to the message on NXP Community
Start a new discussion in Wireless Connectivity by email or at NXP Community
Following Re: jn5169 PANID冲突 in these streams: Inbox
This email was sent by NXP Community because you are a registered user.
You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences