Astarte device API for Zephyr 0.7.2
Astarte device SDK for Zephyr RTOS
Loading...
Searching...
No Matches
result.h File Reference

Astarte result types. More...

Go to the source code of this file.

Enumerations

enum  astarte_result_t {
  ASTARTE_RESULT_OK = 0 , ASTARTE_RESULT_INTERNAL_ERROR = 1 , ASTARTE_RESULT_OUT_OF_MEMORY = 2 , ASTARTE_RESULT_INVALID_CONFIGURATION = 3 ,
  ASTARTE_RESULT_INVALID_PARAM = 4 , ASTARTE_RESULT_SOCKET_ERROR = 5 , ASTARTE_RESULT_HTTP_REQUEST_ERROR = 6 , ASTARTE_RESULT_JSON_ERROR = 7 ,
  ASTARTE_RESULT_MBEDTLS_ERROR = 8 , ASTARTE_RESULT_NOT_FOUND = 9 , ASTARTE_RESULT_INTERFACE_ALREADY_PRESENT = 10 , ASTARTE_RESULT_INTERFACE_NOT_FOUND = 11 ,
  ASTARTE_RESULT_INTERFACE_INVALID_VERSION = 12 , ASTARTE_RESULT_INTERFACE_CONFLICTING = 13 , ASTARTE_RESULT_TLS_ERROR = 14 , ASTARTE_RESULT_MQTT_ERROR = 15 ,
  ASTARTE_RESULT_TIMEOUT = 16 , ASTARTE_RESULT_BSON_SERIALIZER_ERROR = 17 , ASTARTE_RESULT_BSON_DESERIALIZER_ERROR = 18 , ASTARTE_RESULT_BSON_DESERIALIZER_TYPES_ERROR = 19 ,
  ASTARTE_RESULT_BSON_EMPTY_ARRAY_ERROR = 20 , ASTARTE_RESULT_BSON_EMPTY_DOCUMENT_ERROR = 21 , ASTARTE_RESULT_CLIENT_CERT_INVALID = 22 , ASTARTE_RESULT_MAPPING_PATH_MISMATCH = 23 ,
  ASTARTE_RESULT_MAPPING_INDIVIDUAL_INCOMPATIBLE = 24 , ASTARTE_RESULT_MAPPING_NOT_IN_INTERFACE = 25 , ASTARTE_RESULT_MAPPING_UNSET_NOT_ALLOWED = 26 , ASTARTE_RESULT_MAPPING_EXPLICIT_TIMESTAMP_REQUIRED = 27 ,
  ASTARTE_RESULT_MAPPING_EXPLICIT_TIMESTAMP_NOT_SUPPORTED = 28 , ASTARTE_RESULT_MQTT_CLIENT_NOT_READY = 29 , ASTARTE_RESULT_MQTT_CLIENT_ALREADY_CONNECTED = 30 , ASTARTE_RESULT_MQTT_CLIENT_ALREADY_CONNECTING = 31 ,
  ASTARTE_RESULT_DEVICE_NOT_READY = 32 , ASTARTE_RESULT_INCOMPLETE_AGGREGATION_OBJECT = 33 , ASTARTE_RESULT_NVS_ERROR = 34 , ASTARTE_RESULT_KV_STORAGE_FULL = 35 ,
  ASTARTE_RESULT_DEVICE_CACHING_OUTDATED_INTROSPECTION = 36
}
 Astarte Device SDK return codes. More...
 

Functions

const char * astarte_result_to_name (astarte_result_t code)
 Returns string for result codes.
 

Detailed Description

Astarte result types.