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

pm_peer_rank_highest return values

Hi, Developer Zone!

Can pm_peer_rank_highest function return NRF_ERROR_STORAGE_FULL code? There is no this error code in description for function, but in the code I see that pds_peer_data_store function called inside pm_peer_rank_highest can return this error.

nRF5 SDK version 12.3.0

How should I handle this code?

Parents
  • Hi Konstantin,

    You are right, there could be a chance that fds_record_update() return FDS_ERR_NO_SPACE_IN_FLASH when updating a peer data.

    I will report this to our developers.

    I would assume what you need to do when receiving NRF_ERROR_STORAGE_FULL is to run garbage collection.

Reply
  • Hi Konstantin,

    You are right, there could be a chance that fds_record_update() return FDS_ERR_NO_SPACE_IN_FLASH when updating a peer data.

    I will report this to our developers.

    I would assume what you need to do when receiving NRF_ERROR_STORAGE_FULL is to run garbage collection.

Children
No Data
Related