nrfxlib API 0.1.0
|
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.
pipe | Pipe from which to fetch the payload. This value must be < NRF_GZLL_CONST_PIPE_COUNT. |
p_payload | Pointer to copy the payload to. |
p_length | Length must be at least as large as the number of bytes in the received payload length. |
true | If the fetch was successful. |
false | If unsuccessful, check nrf_gzll_error_code_t for more information. |