Initialize variables from FLASH memory

I’m using the RAK3172.
I have some control variables written to the user’s FLASH partition.
I use the functions to access the control variables:

api.system.flash.set(offset, buf, len)
api.system.flash.get(offset, buf, len)

I want to know if it is possible to pre-define these variables when I record my application on the RAK3172.

Best Regards.

No it is not possible. You have to write them once. However on a firmware update, the values will not be overwritten.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.