nrfxlib API 0.1.0
|
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.
pipe | Pipe to which to add the payload. This value must be < NRF_GZLL_CONST_PIPE_COUNT. |
p_payload | Pointer to the payload. |
length | Number of bytes of the payload to transmit (0 to NRF_GZLL_CONST_MAX_PAYLOAD_LENGTH). |
true | if the packet was successfully added to the TX FIFO. |
false | if unsuccessful, check nrf_gzll_error_code_t for more information. |