Hi,
In the example code the CONFIG_PAN_ID and KEY_TABLE_DEFAULT_KEY are written to ti_154stack_config.h, and used by cllc.c to configure the network.
We need to change the collector/sensor board PAN ID and network key using our own PC GUI (via UART interface) after production.
As we can see it, the values should be read from NV memory and loaded in the Collector_init function call, and then passed to Cllc_init function.
Is there another way to set PAN ID and Network Key after system reset?
How can we change the default Network Key and PAN ID of collector and sensor and store them in the NV memory?
Can we use the Csf_networkUpdate to change the PAN ID to be stored in NV?
Can we use the Cllc_setDefaultKey to change Network Key? Where does the Network Key stored in NV?
Thanks,
Dani