This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

migration guide for pstorage?

I have some non-volatile storage routines that I have written before, but the new SDK V5.0.0 has this pstorage module that is supposed to replace it, right? How do I migrate safely from using ble_flash to pstorage?

It seems like ble_flash is using blocking routines but the pstorage is using some sort of command queue with a callback. Should I set a flag from within the callback and have a wait loop in my main thread checking that flag?

Is migration even neccessary?

Related