It seems to be the case that pstorage_write
errors (for example forgetting that it needs to be word-alignment, so 4 bytes at minimum), do not end up in the pstorage_callback_handler
.
Did I forget to set something to make this happen?
It seems to be the case that pstorage_write
errors (for example forgetting that it needs to be word-alignment, so 4 bytes at minimum), do not end up in the pstorage_callback_handler
.
Did I forget to set something to make this happen?
Thanks. I don't know why I forgot to check on NRF_SUCCESS
this time. The error code is 9, so NRF_ERROR_INVALID_LENGTH
from the sdk. When there is such an error that can be captured at such an early phase (wrong alignment), the callback handler will not be evoked of course. My fault!