I would like to add persistent storage to my mesh nodes. After
provisioning and configuration values would be stored to flash (to
keep it simple a task would be scheduled to see if there are any
changes to the provisioning/configuration data and store if required).
I would like to do this with only minimal changes to the bluetooth
For the model I can get all data in my main routine using calls like:
comp.elem.addr, comp.elem.models.pub->addr, ...
For the mesh data I cannot find a way like this, is there a
possibility to get the netkey, iv_index, sequence, ... ? I would like
to store these values so that bt_mesh_provision() can be used to do
the provisioning when stored provisioning data is found.