artik_error.h File Reference
Error codes. More...
Go to the source code of this file.
Data Structures | |
| struct | artik_error_msg_string |
| Error message definition. More... | |
Macros | |
| #define | MAX_ERRR_MSG_LEN 64 |
| #define | INVALID_MODULE (void *)(-1) |
| #define | S_OK (0) |
| No error occurred while processing the function. | |
| #define | E_BAD_ARGS (-1) |
| Wrong arguments passed to the function. | |
| #define | E_BUSY (-2) |
| The device is currently in use by another caller. | |
| #define | E_NOT_INITIALIZED (-3) |
| The called module has not been initialized yet. | |
| #define | E_NO_MEM (-4) |
| A memory allocation could not be performed. | |
| #define | E_NOT_SUPPORTED (-5) |
| The called function is not supported by the device. | |
| #define | E_OVERFLOW (-6) |
| An overflow occurred while receiving data. | |
| #define | E_ACCESS_DENIED (-7) |
| The function could not access one resource due to missing permissions. | |
| #define | E_INTERRUPTED (-8) |
| The blocking function was interrupted by an error or a manual operation. | |
| #define | E_TRY_AGAIN (-9) |
| Requested data is not yet available, try again. | |
| #define | E_TIMEOUT (-10) |
| The function exited because it reached its timeout period. | |
| #define | E_INVALID_VALUE (-11) |
| An invalid value was returned. | |
| #define | E_WEBSOCKET_QUEUE (-12) |
| No received data in the requested message queue. | |
| #define | E_NOT_CONNECTED (-13) |
| The network connection is invalid. | |
| #define | E_HTTP_ERROR (-1000) |
| An error happened on a HTTP request. | |
| #define | E_BT_ERROR (-2000) |
| An error occurred with the Bluetooth adapter. | |
| #define | E_ZIGBEE_ERROR (-3000) |
| An error occurred with the ZigBee service. | |
| #define | E_ZIGBEE_INVALID_DAEMON (-3001) |
| The version of Zigbee daemon is wrong. | |
| #define | E_ZIGBEE_NO_DAEMON (-3002) |
| Zigbee daemon wasn't started. | |
| #define | E_ZIGBEE_NO_MESSAGE (-3003) |
| Fail to read message from Zigbee socket. | |
| #define | E_ZIGBEE_NO_DEVICE (-3004) |
| No Zigbee device has been discovered. | |
| #define | E_ZIGBEE_ERR_SOCK (-3005) |
| Zigbee Socket error. | |
| #define | E_ZIGBEE_MSG_SEND_ERROR (-3006) |
| Zigbee Message send error. | |
| #define | E_ZIGBEE_NETWORK_EXIST (-3007) |
| Current network already exists. It is used for network_join_manually and network_form_manually. | |
| #define | E_WEBSOCKET_ERROR (-4000) |
| An error occurred in a websocket process. | |
| #define | E_WIFI_ERROR (-5000) |
| An error occurred with the Wi-Fi service. | |
| #define | E_WIFI_ERROR_AUTHENTICATION (-5001) |
| #define | E_WIFI_ERROR_ASSOCIATION (-5002) |
| #define | E_WIFI_ERROR_BAD_PARAMS (-5003) |
| #define | E_LWM2M_ERROR (-6000) |
| An error occurred with the LWM2M service. | |
| #define | E_MQTT_ERROR (-18) |
| An error occurred with the MQTT. | |
| #define | E_NETWORK_ERROR (-7000) |
| An error happened on Network service. | |
| #define | E_SECURITY_ERROR (-7000) |
| Errors specific to the security module. | |
| #define | E_SECURITY_INVALID_X509 (-7001) |
| #define | E_SECURITY_INVALID_PKCS7 (-7002) |
| #define | E_SECURITY_CA_VERIF_FAILED (-7003) |
| #define | E_SECURITY_DIGEST_MISMATCH (-7004) |
| #define | E_SECURITY_SIGNATURE_MISMATCH (-7005) |
| #define | E_SECURITY_SIGNING_TIME_ROLLBACK (-7006) |
| #define | E_IN_PROGRESS (-16) |
| The API'action is in progress. | |
Typedefs | |
| typedef int | artik_error |
| Error type. | |
Detailed Description
Error codes returned by most of the functions of the API
Definition in file artik_error.h.
Last updated on: