nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_trx_receive_buffer_set()

bool nrf_802154_trx_receive_buffer_set ( void * p_receive_buffer)

Sets pointer to a receive buffer.

Parameters
p_receive_bufferIf NULL the next call to nrf_802154_trx_receive_frame or nrf_802154_trx_receive_ack will not be able to receive. If not NULL it must point to MAX_PACKET_SIZE + 1 (see nrf_802154_const.h) buffer where received frame will be stored.
Return values
trueIf operation solved missing buffer condition (see nrf_802154_trx_receive_is_buffer_missing) and provided buffer will be used in current receive operation.
falseIf operation didn't solve missing buffer condition (either no missing buffer or currently not in receive mode). Provided buffer will be used in next receive operation.