Enumerator |
---|
ATCA_SUCCESS | Function succeeded.
|
ATCA_CONFIG_ZONE_LOCKED | |
ATCA_DATA_ZONE_LOCKED | |
ATCA_WAKE_FAILED | response status byte indicates CheckMac failure (status byte = 0x01)
|
ATCA_CHECKMAC_VERIFY_FAILED | response status byte indicates CheckMac failure (status byte = 0x01)
|
ATCA_PARSE_ERROR | response status byte indicates parsing error (status byte = 0x03)
|
ATCA_STATUS_CRC | response status byte indicates DEVICE did not receive data properly (status byte = 0xFF)
|
ATCA_STATUS_UNKNOWN | response status byte is unknown
|
ATCA_STATUS_ECC | response status byte is ECC fault (status byte = 0x05)
|
ATCA_STATUS_SELFTEST_ERROR | response status byte is Self Test Error, chip in failure mode (status byte = 0x07)
|
ATCA_FUNC_FAIL | Function could not execute due to incorrect condition / state.
|
ATCA_GEN_FAIL | unspecified error
|
ATCA_BAD_PARAM | bad argument (out of range, null pointer, etc.)
|
ATCA_INVALID_ID | invalid device id, id not set
|
ATCA_INVALID_SIZE | Count value is out of range or greater than buffer size.
|
ATCA_RX_CRC_ERROR | CRC error in data received from device.
|
ATCA_RX_FAIL | Timed out while waiting for response. Number of bytes received is > 0.
|
ATCA_RX_NO_RESPONSE | Not an error while the Command layer is polling for a command response.
|
ATCA_RESYNC_WITH_WAKEUP | Re-synchronization succeeded, but only after generating a Wake-up.
|
ATCA_PARITY_ERROR | for protocols needing parity
|
ATCA_TX_TIMEOUT | for Microchip PHY protocol, timeout on transmission waiting for master
|
ATCA_RX_TIMEOUT | for Microchip PHY protocol, timeout on receipt waiting for master
|
ATCA_TOO_MANY_COMM_RETRIES | Device did not respond too many times during a transmission. Could indicate no device present.
|
ATCA_SMALL_BUFFER | Supplied buffer is too small for data required.
|
ATCA_COMM_FAIL | Communication with device failed. Same as in hardware dependent modules.
|
ATCA_TIMEOUT | Timed out while waiting for response. Number of bytes received is 0.
|
ATCA_BAD_OPCODE | opcode is not supported by the device
|
ATCA_WAKE_SUCCESS | received proper wake token
|
ATCA_EXECUTION_ERROR | chip was in a state where it could not execute the command, response status byte indicates command execution error (status byte = 0x0F)
|
ATCA_UNIMPLEMENTED | Function or some element of it hasn't been implemented yet.
|
ATCA_ASSERT_FAILURE | Code failed run-time consistency check.
|
ATCA_TX_FAIL | Failed to write.
|
ATCA_NOT_LOCKED | required zone was not locked
|
ATCA_NO_DEVICES | For protocols that support device discovery (kit protocol), no devices were found.
|
ATCA_HEALTH_TEST_ERROR | random number generator health test error
|
ATCA_ALLOC_FAILURE | Couldn't allocate required memory.
|