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

how to handle PM_EVT_PEER_DATA_UPDATE_FAILED

Hi,

We use SDK14.0 with S132 v5.0.0 on a custom board with nRF52832. In our application using a lot of flash operation, and we found the error PM_EVT_PEER_DATA_UPDATE_FAILED usually happened when having flash operation. Further, we find the error happened on the case PDB_EVT_RAW_STORE_FAILED in the pm_pdb_evt_handler() function. Thanks

I'll appreciate the help. image description ble_app_hrs.zip

Parents
  • Ok. I have been able to reproduce, but I'm not sure what is going on. It seems this is happening even though Peer Manager isn't actually used (not bonding and so on), so it is a bit strange. Could it be that you are using records keys and File IDs that are reserved by Peer Manager? For more information, see the bottom of this page.

    You could also try to remove Peer Manager completely, I'm not sure you need it in your application? Are you bonding?

Reply
  • Ok. I have been able to reproduce, but I'm not sure what is going on. It seems this is happening even though Peer Manager isn't actually used (not bonding and so on), so it is a bit strange. Could it be that you are using records keys and File IDs that are reserved by Peer Manager? For more information, see the bottom of this page.

    You could also try to remove Peer Manager completely, I'm not sure you need it in your application? Are you bonding?

Children
No Data
Related