Re: Bluetooth: Mesh: Saving Server's State on SoC flash
toggle quoted message Show quoted text
But I need reference example or files from mesh stack which show how
to save & retrieve variable after reboot using setting layer ?
Thank You !!
On Wed, Jul 18, 2018 at 3:30 PM, Johan Hedberg <johan.hedberg@...> wrote:
On Wed, Jul 18, 2018, vikrant8051 wrote:
> Bluetooth Mesh stack is already utilizing setting layer (#FCB)
> to store mesh related data on SoC flash. Need examples so that
> its implementation along with Bluetooth Mesh sample code
> would not impact Mesh's persistent data ?
You should be able to use the same settings storage for your own data as
well. The Bluetooth stack (Mesh included) uses the prefix "bt/" for all
key names stored in settings, so as long as you use something else for
your own data there shouldn't be any risk of conflicts.