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!
Solved! Go to Solution.
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
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