Hello,
I am using NRF52832, nRF5_SDK_15.2.0 for product.
I am using FDS library to manage some files.
Here is situation I met.
I created 2 records( Record 1: CONFIG_FILE1 (0xF010), REC_KEY_1 (0x7010),
Record 2:CONFIG_FILE2 (0xF0A0),REC_KEY_2 (0x70A0))
It shows initial state after created 2 records in below image.
I updated content of second record. It looks Okay. It shows that new file is created and old 2nd one is invalidated in images below.
And, I updated contents of first file. Image below shows new file is created and old 1st one is invalidated.
But, After It is updated 1st file, It couldn't find 2nd file, even though it still exist as image below.
I use fds_record_find() to find record. In my code, If record is not exist, it creates new one. so another new one is created as below.
Do I miss something? Is there any special way to manage multiple record in FDS?
Please help me to resolve this issue.
Thanks,
Chongchun Moon