This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC1310: nv-simulation.bin in sensor/collector example

Part Number: CC1310

Tool/software: TI-RTOS

Hi,

What is actually stored in the nv-simulation.bin file? After deleting that file, previously associated sensors will no longer connect unless they are power cycled. Our sensors are not storing persistent network data - I call Ssf_clearAllNVItems() in main. It seems like the nv-simulation.bin file is storing some sort of key pair?

Basically, we want to draw a new network map from scratch every time the collector is started, but since deleting that file will cause sensors to not be able to reconnect without a power-cycle, that is a problem. The reason is that there might be some sensors that will never come back because they have been physically removed. Maybe there is a way to selectively remove sensors from the nv-simulation.bin file?

Thanks.

  • nv-simulation.bin stores network information including device addresses, device capibilities, as well as security information such as device key. Deleting this files does the same thing as calling Ssf_clearAllNVItems(). If you want your sensors to leave a network and join an new one, then you need to disassociate from the old network then start scanning for a new one. Both the collector and a sensor can initiate the disassociation process. See the TI 15.4-stack overview section of the TI 15.4-Stack software developers guide.