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: 125

Received ASH Ack

ASH_ACK_SENT: 126

Sent ASH Ack

ASH_ACK_TIMEOUT: 115

Timer expired waiting for ack

ASH_BAD_ACKNUM: 120

Received frame with bad ackNum

ASH_BAD_CONTROL: 123

Received frame with illegal control byte

ASH_BAD_CRC: 118

Received frame with CRC error

ASH_BAD_LENGTH: 124

Received frame with illegal length for its type

ASH_CANCELLED: 116

Frame in progress cancelled

ASH_COMM_ERROR: 119

Received frame with comm error

ASH_CONNECTED: 113

ASH protocol connected

ASH_DISCONNECTED: 114

ASH protocol disconnected

ASH_ERROR_NCP_RESET: 83

Unexpected ncp reset

ASH_ERROR_NCP_TYPE: 85

Invalid ncp processor type

ASH_ERROR_RESET_FAIL: 82

Timed out waiting for RSTACK

ASH_ERROR_RESET_METHOD: 86

Invalid ncp reset method

ASH_ERROR_TIMEOUTS: 81

Exceeded max ACK timeouts

ASH_ERROR_VERSION: 80

Incompatible ASH version

ASH_ERROR_XON_XOFF: 87

XON/XOFF not supported by host driver

ASH_IN_PROGRESS: 32

Operation not yet complete.

ASH_NAK_RECEIVED: 127

Received ASH Nak

ASH_NAK_SENT: 128

Sent ASH Nak

ASH_NCP_FATAL_ERROR: 34

Fatal error detected by NCP.

ASH_OUT_OF_SEQUENCE: 117

Received frame out of sequence

ASH_RST_RECEIVED: 129

Received ASH RST

ASH_RST_SENT: 130

Sent ASH RST

ASH_RX: 133

ASH RX

ASH_STARTED: 112

ASH protocol started

ASH_STATUS: 131

ASH Status

ASH_TOO_LONG: 122

Received frame longer than maximum

ASH_TOO_SHORT: 121

Received frame shorter than minimum

ASH_TX: 132

ASH TX

CPC_ERROR_INIT: 134

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

DATA_FRAME_TOO_LONG: 35

Tried to send DATA frame too long.

DATA_FRAME_TOO_SHORT: 36

Tried to send DATA frame too short.

ERROR_COMMAND_FILTERED: 66

The command has been filtered out by NCP.

ERROR_COMMAND_TOO_LONG: 64

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

ERROR_INVALID_CALL: 56

Configuration values can no longer be modified.

ERROR_INVALID_FRAME_ID: 49

The NCP received a command containing an unsupported frame ID.

ERROR_INVALID_ID: 55

The configuration id was not recognized.

ERROR_INVALID_VALUE: 54

The value was out of bounds.

ERROR_NO_RESPONSE: 57

The NCP failed to respond to a command.

ERROR_OUT_OF_MEMORY: 53

Insufficient memory was available.

ERROR_OVERFLOW: 52

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: 65

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

ERROR_SECURITY_KEY_ALREADY_SET: 67

EZSP Security Key is already set

ERROR_SECURITY_KEY_NOT_SET: 71

EZSP Security Key is not set

ERROR_SECURITY_PARAMETERS_ALREADY_SET: 70

EZSP Security Parameters are already set

ERROR_SECURITY_PARAMETERS_INVALID: 69

EZSP Security Parameters are invalid

ERROR_SECURITY_PARAMETERS_NOT_SET: 72

EZSP Security Parameters are not set

ERROR_SECURITY_TYPE_INVALID: 68

EZSP Security Type is invalid

ERROR_SERIAL_INIT: 84

Serial port initialization failed

ERROR_TRUNCATED: 51

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: 74

Received frame is unsecure, when security is established

ERROR_UNSUPPORTED_CONTROL: 73

Received frame with unsupported control byte

ERROR_VERSION_NOT_SET: 48

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

ERROR_WRONG_DIRECTION: 50

The direction flag in the frame control field was incorrect.

HOST_FATAL_ERROR: 33

Fatal error detected by host.

NO_ERROR: 255

No reset or error

NO_RX_DATA: 39

No receive data available.

NO_RX_SPACE: 38

No space for rec'd DATA frame.

NO_TX_SPACE: 37

No space for tx'ed DATA frame.

NOT_CONNECTED: 40

Not in Connected state.

SPI_ERR_ABORTED_TRANSACTION: 19

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

SPI_ERR_EZSP_COMMAND_OVERSIZED: 23

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: 24

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: 16

Fatal error.

SPI_ERR_HANDSHAKE_TIMEOUT: 26

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

SPI_ERR_MISSING_FRAME_TERMINATOR: 20

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

SPI_ERR_NCP_RESET: 17

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

SPI_ERR_NO_FRAME_TERMINATOR: 22

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

SPI_ERR_OVERSIZED_EZSP_FRAME: 18

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

SPI_ERR_STARTUP_FAIL: 28

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

SPI_ERR_STARTUP_TIMEOUT: 27

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

SPI_ERR_UNSUPPORTED_SPI_COMMAND: 29

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: 21

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

SPI_WAITING_FOR_RESPONSE: 25

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

SUCCESS: 0

Success.