nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_802154_peer_rec_write()

bool nrf_802154_peer_rec_write ( const uint8_t * p_addr,
bool extended,
const nrf_802154_peer_rec_t * p_peer_rec )

Write a peer record for given peer addres to the peer table.

Parameters
[in]p_addrPointer to a peer address.
[in]extendedSelects peer table and format of p_addr. false the p_addr points to short address. true the p_addr points to extended address.
[out]p_peer_recPointer to peer record to be filled in based on the content of peer table.
Return values
falseThe peer record did not exist and could not be added because the peer table is full.
truePeer record for given peer address stored in the peer table.