jn5169 PANID冲突

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

jn5169 PANID冲突

4,703 Views
weisheng
Contributor III

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

Tags (1)
14 Replies

4,168 Views
vicentegomez
NXP TechSupport
NXP TechSupport

Can you please put your question in English?

Regards

0 Kudos

4,168 Views
weisheng
Contributor III

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!

0 Kudos

4,168 Views
377086561
Contributor II

哥们,

我想问一下,你是怎么设置PAN ID的,我现在是随机的PAN ID,断电重启PANID就变了,然后终端一直重连不上去。

然后你现在的问题解决了吗?可以告诉我吗?

0 Kudos

4,168 Views
weisheng
Contributor III

我的PANID也是随机生成的,重启后你其他的数据有没有丢失,有没有可能调用了擦除永久化的接口

发自我的iPhone

0 Kudos

4,168 Views
377086561
Contributor II

我的应该是没有保存的原因导致的,你知道如何去存储这些,然后设备重启如何调用吗?

-原始邮件-

发件人: "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

0 Kudos

4,168 Views
weisheng
Contributor III

Panic 存贮和重新启动后恢复是协议栈做好了,我们当然也可以手动去做,我没记错的话,3113的文档里有接口文档的

发自我的iPhone

0 Kudos

4,168 Views
377086561
Contributor II

那我路由器,想要掉电还连接原先的网络的话,怎么做呢,和协调器一样吗

-原始邮件-

发件人: "weisheng"<admin@community.nxp.com&gt;

发送时间: 2019年8月27日(星期二) 上午9:26

收件人: "心有余悸 周"<377086561@qq.com&gt;;

主题: 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

0 Kudos

4,168 Views
weisheng
Contributor III

嗯,和协调器一样的,没有擦除这个信息,重启后还是在原来的网络

发自我的iPhone

0 Kudos

4,168 Views
377086561
Contributor II

谢谢你的帮助,我现在有个问题子节点(路由设备还有终端设备)他们保存过网络了哈,上电上线和掉电离线。好像父节点或者协调器都不知道。我们有么有底层堆栈做过这些事情呢?感谢感谢大牛

0 Kudos

4,168 Views
weisheng
Contributor III

路由设备的link status 就是做这个事情的,如果三次没有收到邻居节点的link status ,则认为这个邻居节点已经不在线。如果要实时知道上下线信息,可以自己在应用层做

发自我的iPhone

0 Kudos

4,168 Views
377086561
Contributor II

这个里面有没有子设备的一下信息,比如每个路由设备下面挂载几个子节点?

-原始邮件-

发件人: "weisheng"<admin@community.nxp.com&gt;

发送时间: 2019年8月28日(星期三) 晚上9:59

收件人: "心有余悸 周"<377086561@qq.com&gt;;

主题: 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

0 Kudos

4,168 Views
377086561
Contributor II

那你还记得是哪个结构体吗?

-原始邮件-

发件人: "weisheng"<admin@community.nxp.com&gt;

发送时间: 2019年8月28日(星期三) 晚上9:59

收件人: "心有余悸 周"<377086561@qq.com&gt;;

主题: 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

0 Kudos

4,168 Views
weisheng
Contributor III

里面有个打印所有表的函数,具体看appZpsExtendedDebug.c,在子节点表里有下挂设备的信息

发自我的iPhone

0 Kudos

4,166 Views
377086561
Contributor II

谢了,我目前遇到一个问题,我测试的过程发现,他自己会10s发送一次然后判断三次,证明离线。我想让这个时间变得更快?该怎么去做呢?你知道吗?

0 Kudos