Network restore after reset on 802.15.4

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

Network restore after reset on 802.15.4

跳至解决方案
1,626 次查看
odd_bikes
Contributor III

Hi,

I'm using SDK2.2.0 on MKW41Z. With the 802.15.4 examples in the SDK, a new network is created by the coordinator after every reset. Similarly, an end device always scans for all the networks in range after power-up. 

Is it possible to ensure that the coordinator keeps the same network details following a reset (PAN ID, channel etc)? That would allow me to store the network details in each end device and resume the connection to the same coordinator following a reset.

Thanks!

标签 (2)
0 项奖励
回复
1 解答
1,503 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Alexandru, I hope you're doing well!

If you're using the MWA 802.15.4 examples, you can change the definitions in the mwa_coordinator.h header file inside the source folder.

To change the selectable channel for the network, you can change the mDefaultValueOfChannel_c definition to select between the available channels, mDefaultValueOfShortAddress_c can be used to change the coordinator's short address, and mDefaultValueOfPanId_c can be used to change the default panId.

Best regards,

Sebastian

在原帖中查看解决方案

1 回复
1,504 次查看
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Alexandru, I hope you're doing well!

If you're using the MWA 802.15.4 examples, you can change the definitions in the mwa_coordinator.h header file inside the source folder.

To change the selectable channel for the network, you can change the mDefaultValueOfChannel_c definition to select between the available channels, mDefaultValueOfShortAddress_c can be used to change the coordinator's short address, and mDefaultValueOfPanId_c can be used to change the default panId.

Best regards,

Sebastian