wps_error.h

Wireless Protocol Stack 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.

Typedefs

typedef enum wps_err wps_error_t

WPS error enum definition.

Enums

enum wps_err

WPS error enum definition.

Values:

enumerator WPS_NO_ERROR = 0
enumerator WPS_RX_OVERRUN_ERROR

The WPS have received a frame, but the RX queue was full. Packet is discard and overrun is returned.

enumerator WPS_PHY_CRITICAL_ERROR

L1 state machine has received a signal that is not handled.

enumerator WPS_QUEUE_EMPTY_ERROR

There is no new frame to dequeue from the WPS connection.

enumerator WPS_QUEUE_FULL_ERROR

The WPS connection queue is full, new frame have not been enqueued.

enumerator WPS_WRONG_TX_SIZE_ERROR

The size of the frame is wrong.

enumerator WPS_CONN_THROTTLE_NOT_INITIALIZED_ERROR

Connection throttle is not initialized.

enumerator WPS_ALREADY_CONNECTED_ERROR

The WPS is already connected.

enumerator WPS_ALREADY_DISCONNECTED_ERROR

The WPS is already disconnected.

enumerator WPS_CHANNEL_SEQUENCE_NOT_INITIALIZED_ERROR

Channel sequence is not initialized.

enumerator WPS_RADIO_NOT_INITIALIZED_ERROR

Radio is not initialized. Call wps_radio_init function.

enumerator WPS_ACK_DISABLED_ERROR

Acknowledge has to be enabled to use the Stop and Wait module.

enumerator WPS_WRITE_REQUEST_QUEUE_FULL

WPS write request queue is full

enumerator WPS_READ_REQUEST_QUEUE_FULL

WPS read request queue is full

enumerator WPS_REQUEST_QUEUE_FULL

WPS request queue is full

enumerator WPS_WRITE_REQUEST_XFER_TOO_LARGE

Write request request issued transfer to large