MySensors Library & Examples
2.3.2-62-ge298769
|
SHA204 Library Return Code Definitions.
Definition in file sha204_lib_return_codes.h.
#include <stddef.h>
Go to the source code of this file.
Macros | |
#define | SHA204_SUCCESS ((uint8_t) 0x00) |
Function succeeded. | |
#define | SHA204_PARSE_ERROR ((uint8_t) 0xD2) |
response status byte indicates parsing error | |
#define | SHA204_CMD_FAIL ((uint8_t) 0xD3) |
response status byte indicates command execution error | |
#define | SHA204_STATUS_CRC ((uint8_t) 0xD4) |
response status byte indicates CRC error | |
#define | SHA204_STATUS_UNKNOWN ((uint8_t) 0xD5) |
response status byte is unknown | |
#define | SHA204_FUNC_FAIL ((uint8_t) 0xE0) |
Function could not execute due to incorrect condition / state. | |
#define | SHA204_GEN_FAIL ((uint8_t) 0xE1) |
unspecified error | |
#define | SHA204_BAD_PARAM ((uint8_t) 0xE2) |
bad argument (out of range, null pointer, etc.) | |
#define | SHA204_INVALID_ID ((uint8_t) 0xE3) |
invalid device id, id not set | |
#define | SHA204_INVALID_SIZE ((uint8_t) 0xE4) |
Count value is out of range or greater than buffer size. | |
#define | SHA204_BAD_CRC ((uint8_t) 0xE5) |
incorrect CRC received | |
#define | SHA204_RX_FAIL ((uint8_t) 0xE6) |
Timed out while waiting for response. Number of bytes received is > 0. | |
#define | SHA204_RX_NO_RESPONSE ((uint8_t) 0xE7) |
Not an error while the Command layer is polling for a command response. | |
#define | SHA204_RESYNC_WITH_WAKEUP ((uint8_t) 0xE8) |
re-synchronization succeeded, but only after generating a Wake-up | |
#define | SHA204_COMM_FAIL ((uint8_t) 0xF0) |
Communication with device failed. Same as in hardware dependent modules. | |
#define | SHA204_TIMEOUT ((uint8_t) 0xF1) |
Timed out while waiting for response. Number of bytes received is 0. | |