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

◆ nrf_gzll_fetch_packet_from_rx_fifo()

bool nrf_gzll_fetch_packet_from_rx_fifo ( uint32_t pipe,
uint8_t * p_payload,
uint32_t * p_length )

#include <gzll/include/nrf_gzll.h>

Fetch a packet from the head of the RX FIFO.

Parameters
pipePipe from which to fetch the payload. This value must be < NRF_GZLL_CONST_PIPE_COUNT.
p_payloadPointer to copy the payload to.
p_lengthLength must be at least as large as the number of bytes in the received payload length.
Return values
trueIf the fetch was successful.
falseIf unsuccessful, check nrf_gzll_error_code_t for more information.