Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How do I use pm_peer_data_app_store()?

I'd like to add some application-specific data for each peer that the Peer Manager handles. I've looked at pm_peer_data_app_store(), which uses pm_peer_data_store(). However, the documentation says "The data written using this function might later be overwritten as a result of internal operations in the Peer Manager."

Obviously, I don't want to try to store data in such a way that it may be overwritten. That seems to contradict the purpose of writing something to non-volatile memory. Can someone please clarify the purpose of the function?

Parents Reply Children
No Data
Related