Re: [Zephyr-devel] about newly introduced #BluetoothMesh persistent storage feature #bluetoothmesh
vikrant8051 <vikrant8051@...>
Hi Johan, As per nrf52840_pca10056.dts file last 16KB is used for persistent data storage. To calculate FLASH life time, I have to understand what is going on at background (at #FCB layer). This is my understanding, There should be 2 parts in memory (which starts from 0xFC000) PART-A : to save variables id PART-B: to save combo of {variable's data, variable's data length, variable id} in this sequence If so then, editing any variable's data ==>> writing variable attributes in this sequence: {variable's data, variable's data length(1 byte), variable id(1 byte)} in Part-B & reading ==>> data retrieve from latest entry (Here in Part-B, Last byte is always variable id) Till this, am I right ? If so, then what is size of current PART-B ? Where I will find documentation which shows architectural implementation behind #Setting as well as #FCB layer? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ is $zephyr/tests/subsys/settings/src only option to getting started with #Setting layer ? ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Thank You !!
On Mon, May 14, 2018 at 1:24 PM, Johan Hedberg <johan.hedberg@...> wrote: Hi Vikrant,
|
|