This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What does PSTORAGE_LOAD_OP_CODE mean?

What exactly does the PSTORAGE_LOAD_OP_CODE (0x03) mean? The documentation says (online) that it is an "Error when Load Operation was requested".

The code is pretty straightforward: storage.cpp

Is there something specific to the S130 device that it doesn't work perhaps? This is my pstorage_platform.h file.

If I can debug this somehow, that would be great!

Parents
  • This is a bit of a guess on my part, but I think the PSTORAGE_LOAD_OP_CODE is not an error. I suspect it is just telling you a load operation has completed. I think you have to look at the result passed back to see if it is NRF_SUCCESS or not to know if the operation succeeded or not. At least that is how my pstorage callback handler is structured. I stole it blatantly from a Nordic pstorage example.

Reply
  • This is a bit of a guess on my part, but I think the PSTORAGE_LOAD_OP_CODE is not an error. I suspect it is just telling you a load operation has completed. I think you have to look at the result passed back to see if it is NRF_SUCCESS or not to know if the operation succeeded or not. At least that is how my pstorage callback handler is structured. I stole it blatantly from a Nordic pstorage example.

Children
No Data
Related