swc_error.h¶
SPARK Wireless Core error codes.
- Copyright
Copyright (C) 2021 SPARK Microsystems International Inc. All rights reserved.
- License
This source code is proprietary and subject to the SPARK Microsystems Software EULA found in this package in file EULA.txt.
- Author
SPARK FW Team.
Enums
-
enum swc_error¶
Wireless API error structure.
Values:
-
enumerator SWC_ERR_NONE = 0¶
No error occurred
-
enumerator SWC_ERR_NOT_ENOUGH_MEMORY¶
Not enough memory is allocated by the application for a full Wireless Core initialization
-
enumerator SWC_ERR_NULL_PTR¶
A NULL pointer is passed as argument
-
enumerator SWC_ERR_FAST_SYNC_WITH_DUAL_RADIO¶
Fast sync and dual radio are enabled but are incompatible
-
enumerator SWC_ERR_PAN_ID¶
The configured PAN ID is invalid
-
enumerator SWC_ERR_NETWORK_ROLE¶
The configured network role is invalid
-
enumerator SWC_ERR_SLEEP_LEVEL¶
The configured sleep level is invalid
-
enumerator SWC_ERR_IRQ_POLARITY¶
The configured IRQ polarity is invalid
-
enumerator SWC_ERR_SPI_MODE¶
The configured SPI mode is invalid
-
enumerator SWC_ERR_MODULATION¶
The configured modulation is invalid
-
enumerator SWC_ERR_FEC_LEVEL¶
The configured FEC level is invalid
-
enumerator SWC_ERR_CCA_FAIL_ACTION¶
The configured CCA fail action is invalid
-
enumerator SWC_ERR_CCA_THRESHOLD¶
The configured CCA threshold is invalid
-
enumerator SWC_ERR_LOCAL_ADDRESS¶
The configured local address is invalid
-
enumerator SWC_ERR_SOURCE_ADDRESS¶
The configured source address is invalid
-
enumerator SWC_ERR_DESTINATION_ADDRESS¶
The configured destination address is invalid
-
enumerator SWC_ERR_ARQ_WITH_ACK_DISABLED¶
ARQ is enabled while ACK is not
-
enumerator SWC_ERR_THROTTLING_ON_RX_CONNECTION¶
Link throttling is enabled on an RX connection
-
enumerator SWC_ERR_NO_PAYLOAD_MEM_ALLOC_ON_RX_CONNECTION¶
Payload memory allocation is not enabled on a RX connection
-
enumerator SWC_ERR_TX_PULSE_COUNT¶
The configured TX pulse count is invalid
-
enumerator SWC_ERR_TX_PULSE_COUNT_OFFSET¶
The configured TX pulse count offset is invalid
-
enumerator SWC_ERR_TX_PULSE_WIDTH¶
The configured TX pulse width is invalid
-
enumerator SWC_ERR_TX_PULSE_WIDTH_OFFSET¶
The configured TX pulse width offset is invalid
-
enumerator SWC_ERR_TX_PULSE_GAIN¶
The configured TX pulse gain is invalid
-
enumerator SWC_ERR_TX_GAIN_OFFSET¶
The configured TX pulse gain offset is invalid
-
enumerator SWC_ERR_RX_PULSE_COUNT¶
The configured RX pulse count is invalid
-
enumerator SWC_ERR_NO_BUFFER_AVAILABLE¶
There is no more payload buffer available from the queue
-
enumerator SWC_ERR_ADD_CHANNEL_ON_INVALID_CONNECTION¶
-
enumerator SWC_ERR_INTERNAL¶
A channel is added on a connection using only auto-reply timeslots There is an internal Wireless Core error
-
enumerator SWC_ERR_PAYLOAD_TOO_BIG¶
The configured payload size exceeds the maximum value for the current connection configuration
-
enumerator SWC_ERR_SECOND_RADIO_NOT_INIT¶
Dual radio is used but swc_node_radio_add() is not called twice
-
enumerator SWC_ERR_FRAGMENTATION_NOT_SUPPORTED¶
The function call is not supported when the frame fragmentation is enable on the connection
-
enumerator SWC_ERR_NONE = 0¶