nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_gzll_ok_to_add_packet_to_tx_fifo()

bool nrf_gzll_ok_to_add_packet_to_tx_fifo ( uint32_t  pipe)

#include <gzll/include/nrf_gzll.h>

Check if adding a packet to a pipe's TX FIFO should be successful.

Checks if there is another space in the pipe's TX and RX FIFOs as well as enough overall space in the packet pool.

Parameters
pipeThe pip for which to check. This value must be < NRF_GZLL_CONST_PIPE_COUNT.
Return values
trueIf there is another space.
falseIf there is not enough space, or the pipe is invalid.