Hi, I was wondering if there was an updated example for using the Flash Manager correctly with SDK for Mesh v3.1.0?
Some info about my setup:
Up until now I have been using code based off of the code provided here:
https://devzone.nordicsemi.com/f/nordic-q-a/31170/storing-values-using-flash-manager
(see Kristen's post near the bottom).
My code works more or less okay after being upgraded to SDK for Mesh v3.1.0, however one of the function calls are deprecated as of this version, see my thread:
Namely, the function call flash_manager_entry_read() should be used instead of flash_manager_entry_get() (which is now deprecated).
I tried replacing the call to flash_manager_entry_get() with one to flash_manager_entry_read() as well as passing an empty buffer for the returned data - but the data I am getting back does not look correct. I see that there are some notes about alignment in the header file.
Could you please provide an example on how to correctly use flash_manager_entry_read() in place of flash_manager_entry_get()? I dug through the SDK but could not find any.
Regards,