Status values used by EZSP.

Enumeration Members

ASH_ACK_RECEIVED ASH_ACK_SENT ASH_ACK_TIMEOUT ASH_BAD_ACKNUM ASH_BAD_CONTROL ASH_BAD_CRC ASH_BAD_LENGTH ASH_CANCELLED ASH_COMM_ERROR ASH_CONNECTED ASH_DISCONNECTED ASH_ERROR_NCP_RESET ASH_ERROR_NCP_TYPE ASH_ERROR_RESET_FAIL ASH_ERROR_RESET_METHOD ASH_ERROR_TIMEOUTS ASH_ERROR_VERSION ASH_ERROR_XON_XOFF ASH_IN_PROGRESS ASH_NAK_RECEIVED ASH_NAK_SENT ASH_NCP_FATAL_ERROR ASH_OUT_OF_SEQUENCE ASH_RST_RECEIVED ASH_RST_SENT ASH_RX ASH_STARTED ASH_STATUS ASH_TOO_LONG ASH_TOO_SHORT ASH_TX CPC_ERROR_INIT DATA_FRAME_TOO_LONG DATA_FRAME_TOO_SHORT ERROR_COMMAND_FILTERED ERROR_COMMAND_TOO_LONG ERROR_INVALID_CALL ERROR_INVALID_FRAME_ID ERROR_INVALID_ID ERROR_INVALID_VALUE ERROR_NO_RESPONSE ERROR_OUT_OF_MEMORY ERROR_OVERFLOW ERROR_QUEUE_FULL ERROR_SECURITY_KEY_ALREADY_SET ERROR_SECURITY_KEY_NOT_SET ERROR_SECURITY_PARAMETERS_ALREADY_SET ERROR_SECURITY_PARAMETERS_INVALID ERROR_SECURITY_PARAMETERS_NOT_SET ERROR_SECURITY_TYPE_INVALID ERROR_SERIAL_INIT ERROR_TRUNCATED ERROR_UNSECURE_FRAME ERROR_UNSUPPORTED_CONTROL ERROR_VERSION_NOT_SET ERROR_WRONG_DIRECTION HOST_FATAL_ERROR NO_ERROR NO_RX_DATA NO_RX_SPACE NO_TX_SPACE NOT_CONNECTED SPI_ERR_ABORTED_TRANSACTION SPI_ERR_EZSP_COMMAND_OVERSIZED SPI_ERR_EZSP_RESPONSE_OVERSIZED SPI_ERR_FATAL SPI_ERR_HANDSHAKE_TIMEOUT SPI_ERR_MISSING_FRAME_TERMINATOR SPI_ERR_NCP_RESET SPI_ERR_NO_FRAME_TERMINATOR SPI_ERR_OVERSIZED_EZSP_FRAME SPI_ERR_STARTUP_FAIL SPI_ERR_STARTUP_TIMEOUT SPI_ERR_UNSUPPORTED_SPI_COMMAND SPI_ERR_WAIT_SECTION_TIMEOUT SPI_WAITING_FOR_RESPONSE SUCCESS

Enumeration Members

ASH_ACK_RECEIVED

Received ASH Ack

ASH_ACK_SENT

Sent ASH Ack

ASH_ACK_TIMEOUT

Timer expired waiting for ack

ASH_BAD_ACKNUM

Received frame with bad ackNum

ASH_BAD_CONTROL

Received frame with illegal control byte

ASH_BAD_CRC

Received frame with CRC error

ASH_BAD_LENGTH

Received frame with illegal length for its type

ASH_CANCELLED

Frame in progress cancelled

ASH_COMM_ERROR

Received frame with comm error

ASH_CONNECTED

ASH protocol connected

ASH_DISCONNECTED

ASH protocol disconnected

ASH_ERROR_NCP_RESET

Unexpected ncp reset

ASH_ERROR_NCP_TYPE

Invalid ncp processor type

ASH_ERROR_RESET_FAIL

Timed out waiting for RSTACK

ASH_ERROR_RESET_METHOD

Invalid ncp reset method

ASH_ERROR_TIMEOUTS

Exceeded max ACK timeouts

ASH_ERROR_VERSION

Incompatible ASH version

ASH_ERROR_XON_XOFF

XON/XOFF not supported by host driver

ASH_IN_PROGRESS

Operation not yet complete.

ASH_NAK_RECEIVED

Received ASH Nak

ASH_NAK_SENT

Sent ASH Nak

ASH_NCP_FATAL_ERROR

Fatal error detected by NCP.

ASH_OUT_OF_SEQUENCE

Received frame out of sequence

ASH_RST_RECEIVED

Received ASH RST

ASH_RST_SENT

Sent ASH RST

ASH_RX

ASH RX

ASH_STARTED

ASH protocol started

ASH_STATUS

ASH Status

ASH_TOO_LONG

Received frame longer than maximum

ASH_TOO_SHORT

Received frame shorter than minimum

ASH_TX

ASH TX

CPC_ERROR_INIT

Failed to connect to CPC daemon or failed to open CPC endpoint

DATA_FRAME_TOO_LONG

Tried to send DATA frame too long.

DATA_FRAME_TOO_SHORT

Tried to send DATA frame too short.

ERROR_COMMAND_FILTERED

The command has been filtered out by NCP.

ERROR_COMMAND_TOO_LONG

The length of the command exceeded the maximum EZSP frame length.

ERROR_INVALID_CALL

Configuration values can no longer be modified.

ERROR_INVALID_FRAME_ID

The NCP received a command containing an unsupported frame ID.

ERROR_INVALID_ID

The configuration id was not recognized.

ERROR_INVALID_VALUE

The value was out of bounds.

ERROR_NO_RESPONSE

The NCP failed to respond to a command.

ERROR_OUT_OF_MEMORY

Insufficient memory was available.

ERROR_OVERFLOW

The overflow flag in the frame control field was set, indicating one or more callbacks occurred since the previous response and there was not enough memory available to report them to the Host.

ERROR_QUEUE_FULL

The UART receive queue was full causing a callback response to be dropped.

ERROR_SECURITY_KEY_ALREADY_SET

EZSP Security Key is already set

ERROR_SECURITY_KEY_NOT_SET

EZSP Security Key is not set

ERROR_SECURITY_PARAMETERS_ALREADY_SET

EZSP Security Parameters are already set

ERROR_SECURITY_PARAMETERS_INVALID

EZSP Security Parameters are invalid

ERROR_SECURITY_PARAMETERS_NOT_SET

EZSP Security Parameters are not set

ERROR_SECURITY_TYPE_INVALID

EZSP Security Type is invalid

ERROR_SERIAL_INIT

Serial port initialization failed

ERROR_TRUNCATED

The truncated flag in the frame control field was set, indicating there was not enough memory available to complete the response or that the response would have exceeded the maximum EZSP frame length.

ERROR_UNSECURE_FRAME

Received frame is unsecure, when security is established

ERROR_UNSUPPORTED_CONTROL

Received frame with unsupported control byte

ERROR_VERSION_NOT_SET

The NCP received a command before the EZSP version had been set.

ERROR_WRONG_DIRECTION

The direction flag in the frame control field was incorrect.

HOST_FATAL_ERROR

Fatal error detected by host.

NO_ERROR

No reset or error

NO_RX_DATA

No receive data available.

NO_RX_SPACE

No space for rec'd DATA frame.

NO_TX_SPACE

No space for tx'ed DATA frame.

NOT_CONNECTED

Not in Connected state.

SPI_ERR_ABORTED_TRANSACTION

The Response frame of the current transaction indicates the previous transaction was aborted (nSSEL deasserted too soon).

SPI_ERR_EZSP_COMMAND_OVERSIZED

The Host attempted to send an oversized Command (the length byte is too large) and the AVR's spi-protocol.c blocked the transmission.

SPI_ERR_EZSP_RESPONSE_OVERSIZED

The NCP attempted to send an oversized Response (the length byte is too large) and the AVR's spi-protocol.c blocked the reception.

SPI_ERR_FATAL

Fatal error.

SPI_ERR_HANDSHAKE_TIMEOUT

The NCP has not asserted nHOST_INT within the time limit defined by WAKE_HANDSHAKE_TIMEOUT.

SPI_ERR_MISSING_FRAME_TERMINATOR

The Response frame of the current transaction indicates the frame terminator is missing from the Command frame.

SPI_ERR_NCP_RESET

The Response frame of the current transaction indicates the NCP has reset.

SPI_ERR_NO_FRAME_TERMINATOR

The Response frame from the NCP is missing the frame terminator.

SPI_ERR_OVERSIZED_EZSP_FRAME

The NCP is reporting that the Command frame of the current transaction is oversized (the length byte is too large).

SPI_ERR_STARTUP_FAIL

The Host attempted to verify the SPI Protocol activity and version number, and the verification failed.

SPI_ERR_STARTUP_TIMEOUT

The NCP has not asserted nHOST_INT after an NCP reset within the time limit defined by STARTUP_TIMEOUT.

SPI_ERR_UNSUPPORTED_SPI_COMMAND

The Host has sent a command with a SPI Byte that is unsupported by the current mode the NCP is operating in.

SPI_ERR_WAIT_SECTION_TIMEOUT

The NCP has not provided a Response within the time limit defined by WAIT_SECTION_TIMEOUT.

SPI_WAITING_FOR_RESPONSE

The Host has sent the Command and is still waiting for the NCP to send a Response.

SUCCESS

Success.