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

◆ nrf_gzll_error_code_t

#include <gzll/include/nrf_gzll.h>

Enumerator used for error codes for Gazell API functions.

Enumerator
NRF_GZLL_ERROR_CODE_NO_ERROR 

No error has been detected.

NRF_GZLL_ERROR_CODE_FAILED_TO_INITIALIZE 

The function NRF_GZLL_init failed.

NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_CONFIGURE_WHEN_ENABLED 

A call to a configuration 'set' function was made while Gazell was enabled.

NRF_GZLL_ERROR_CODE_POINTER_IS_NULL 

A null pointer was given as an input to a function.

NRF_GZLL_ERROR_CODE_INVALID_PIPE 

An invalid pipe number was given as an input to a function.

NRF_GZLL_ERROR_CODE_INVALID_MODE 

An invalid value for the nrf_gzll_mode_t enumerator was given as input to a function.

NRF_GZLL_ERROR_CODE_INVALID_PAYLOAD_LENGTH 

An invalid payload length was given as an input to a function.

NRF_GZLL_ERROR_CODE_INVALID_CHANNEL_TABLE_SIZE 

An invalid channel table size was given as an input to a function.

NRF_GZLL_ERROR_CODE_INSUFFICIENT_PACKETS_AVAILABLE 

There are insufficient packets in the Gazell memory pool to successfully execute the operation.

NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_ADD_TO_FULL_FIFO 

There is insufficient space in the TX FIFO for the data packet.

NRF_GZLL_ERROR_CODE_NO_SPACE_IN_RX_FIFO_FOR_ACK 

There is insufficient space in the RX FIFO for the ACK.

NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FETCH_FROM_EMPTY_FIFO 

Attempted to fetch a packet from an empty FIFO. Use the functions nrf_gzll_get_tx_fifo_packet_count() or nrf_gzll_get_rx_fifo_packet_count()

NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FLUSH_WHEN_ENABLED 

Attempted to fetch a packet from an empty FIFO. Use the functions nrf_gzll_get_tx_fifo_packet_count() or nrf_gzll_get_rx_fifo_packet_count()

NRF_GZLL_ERROR_CODE_INVALID_PARAMETER 

Attempted to set a variable which was not valid.

NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED 

An internal assert occurred.

NRF_GZLL_ERROR_CODE_CALLBACK_NOT_IMPLEMENTED 

A callback was called but not implemented by the application.

NRF_GZLL_ERROR_CODE_INVALID_ADDRESS 

Invalid pipe 0 address detected, see Anomaly 107 at nRF52832 errata document.

NRF_GZLL_ERROR_CODE_NUMBER_OF_ERROR_CODES 

Number of possible error codes.