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

Peer Manager SDK15.2 Maximum number of bonded devices

The content, format, and size of a device's Peer Data is determined by the application. I understand that when pm_peer_data_store() and there is not enough available flash to store the peer data, the return will be PM_EVT_STORAGE _FULL. I believe that the maximum number of peers is available flash/size of peer record. I further believe that the amount of available flash is set by #define FDS_VITURAL_PAGES in sdk_config.h. Is this all correct?

However, I have also been informed that the nrf52 can have a maximum of 8 peers. This seems contrary to the understanding that the maximum number of peers is a function of FDS_VIRTUAL_PAGE/peer data size.

Please let me know if I appear to misunderstand anything. In addition to the flash reserved for FDS. size of peer data, and the available number of indexs, Are there any other details  that I need to be concerned with when adding peers? 

Thanks,

Jeff

Related