Hi Team,
SDK - 17.1.0
chip -nrf52810
I want to store sensor data (12 bytes) every 30 seconds in flash memory. Once the flash is full, I want to replace the old data and continue writing.
I am trying to use FDS library and it's bit confusing.
- I am thinking of assigning a sequential number for each sensor data entry and assign that number as RECORD KEY (CONFIG_REC_KEY). CONFIG_FILE will be same for all entries. Is there any problem in doing so ?
- I have configured FDS_VIRTUAL_PAGES as 10 and FDS_VIRTUAL_PAGE_SIZE as 1024. Does it mean that I will have 10 KB of space to write my sensor data ?
- Does the FDS driver writes into flash in block sizes (512 byte) or in 4-byte size ?