where to save NON-volatile device parameters?

Dear Nordic,

we need to save few bites (product serial number, few settings). we use BLE with bonding on a FreeRTOS based FW. PM is already using FDS, at it is not clear how to use the FDS without conflict while BLE is running.

What is the best method to store these data?

Thanks!

Parents Reply
  • Please could you give me some hint? the documentation is not so clear and I cannot understand how to make this check

    Here is a link to the FDS usage documentation. (FDS usage) Notice that the event handler gets a pointer to an fds_evt_t as an argument. That FDS event structure tells you which file id was written. So use that to tell if the file id is one you defined yourself, or if it is within the range used by the peer manager.

    I cant figure out how to register a new FDS user

    If you have a callback that is getting called when FDS events occur then you must have registered it. Anyhow, it is simply fds_register(name_of_callback).

Children
No Data
Related