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

◆ nrf_802154_peer_rec_get()

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

Retrieve a peer record for given peer address from 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
falsePeer record for given peer address not found in the peer table. The content point of p_peer_rec is undefined.
truePeer record found and stored at the p_peer_rec pointer.