Hello,
I am using nRF52832, SDK_15.3.0, S132 SoftDevice and Segger for flashing the image. I am using ‘ble_app_blinky’.
1) I am bit confused between fds_record_update() and fds_record_write(). In flash_fds example, for first time record is written using fds_record_write(). Once reset and if record is found, then record is written using fds_record_update(). So other than first time, do I need to use fds_record_update() or fds_record_write() to write record into flash.
a) To cross check, I updated the structure and I used fds_record_update() to write into flash and it worked. But when I call fds_record_write() again to write into flash, it did not work.
2) Assume I am calling a function to write a data into Flash. Though I call the function periodically, still sometimes data might not have changed. In that case whether FDS will take care not to update a record into flash ?
3) fds_record_open() is for reading the record from Flash and populating the data into our structure. This is to be done only first time (during reset).
Thanks & Regards
Vishnu Beema