An internal module of Peer Manager. This module defines the structure of the data that is managed by the Peer Manager. It also provides functions for parsing the data.
More...
An internal module of Peer Manager. This module defines the structure of the data that is managed by the Peer Manager. It also provides functions for parsing the data.
Function for converting pm_peer_data_flash_t into pm_peer_data_t.
- Parameters
-
[in] | p_in_data | The source data. |
[out] | p_out_data | The target data structure. |
- Return values
-
NRF_SUCCESS | Successful conversion. |
NRF_ERROR_NULL | A parameter was NULL. |
NRF_ERROR_NO_MEM | A buffer was not large enough. |
Function for enumerating the separate (non-contiguous) parts of the peer data.
- Parameters
-
[in] | p_peer_data | The peer data to enumerate. |
[out] | p_chunks | The resulting chunks. This must be an array of at least 2 elements. |
[out] | p_n_chunks | The number of chunks. If this is 0, something went wrong. |