nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_gzll_add_packet_to_tx_fifo()

bool nrf_gzll_add_packet_to_tx_fifo ( uint32_t  pipe,
uint8_t const *  p_payload,
uint32_t  length 
)

#include <gzll/include/nrf_gzll.h>

Add a packet to the tail of the TX FIFO.

In Device mode, the packet will be added. In Host mode, the payload will be piggybacked onto an ACK.

Parameters
pipePipe to which to add the payload. This value must be < NRF_GZLL_CONST_PIPE_COUNT.
p_payloadPointer to the payload.
lengthNumber of bytes of the payload to transmit (0 to NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH).
Return values
trueif the packet was successfully added to the TX FIFO.
falseif unsuccessful, check nrf_gzll_error_code_t for more information.