How do I restore model publication state for sensor server model in Bluetooth mesh?

Hi,

I am using the sensor_server example to develop our application on top of it. The problem I am facing is that, the model publication state (publish address and publish period) is not stored in the flash and hence, when the board is rebooted, already set model publication parameters is lost and am not able to restore it. The SDK should be able to take care of storing and restoring these parameters right? Is this a bug? If yes, it would be great to know the workaround to it. And also I am using one sensor server model to accomodate three different data as shown in the screenshot attached. Hope, this is not relevant to the bug discussed!

Thanks.

Related