Astarte Device SDK ESP32
ESP32 device SDK for the Astarte platform
astarte.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2018-2021, Ispirata Srl, info@ispirata.com.
3  *
4  * SPDX-License-Identifier: LGPL-2.1+ OR Apache-2.0
5  */
6 
12 #ifndef _ASTARTE_H_
13 #define _ASTARTE_H_
14 
15 // Version information
16 #define ASTARTE_DEVICE_SDK_MAJOR 1
17 #define ASTARTE_DEVICE_SDK_MINOR 0
18 #define ASTARTE_DEVICE_SDK_PATCH 5
19 
20 // clang-format off
21 
28 {
29  ASTARTE_OK = 0,
50 };
51 
52 // clang-format on
53 
54 typedef enum astarte_err_t astarte_err_t;
55 
56 #endif
astarte_err_t
Astarte return codes.
Definition: astarte.h:28
@ ASTARTE_ERR_NVS
Definition: astarte.h:39
@ ASTARTE_ERR_NOT_FOUND
Definition: astarte.h:31
@ ASTARTE_ERR_NVS_NOT_INITIALIZED
Definition: astarte.h:40
@ ASTARTE_ERR_PUBLISH
Definition: astarte.h:47
@ ASTARTE_ERR
Definition: astarte.h:30
@ ASTARTE_ERR_INVALID_INTERFACE_VERSION
Definition: astarte.h:49
@ ASTARTE_ERR_HTTP
Definition: astarte.h:38
@ ASTARTE_ERR_NO_JWT
Definition: astarte.h:32
@ ASTARTE_ERR_AUTH
Definition: astarte.h:35
@ ASTARTE_ERR_ALREADY_EXISTS
Definition: astarte.h:36
@ ASTARTE_ERR_INVALID_INTERFACE_PATH
Definition: astarte.h:44
@ ASTARTE_ERR_IO
Definition: astarte.h:43
@ ASTARTE_ERR_INVALID_INTROSPECTION
Definition: astarte.h:48
@ ASTARTE_ERR_PARTITION_SCHEME
Definition: astarte.h:41
@ ASTARTE_ERR_MBED_TLS
Definition: astarte.h:42
@ ASTARTE_ERR_ESP_SDK
Definition: astarte.h:34
@ ASTARTE_OK
Definition: astarte.h:29
@ ASTARTE_ERR_OUT_OF_MEMORY
Definition: astarte.h:33
@ ASTARTE_ERR_API
Definition: astarte.h:37
@ ASTARTE_ERR_DEVICE_NOT_READY
Definition: astarte.h:46
@ ASTARTE_ERR_INVALID_QOS
Definition: astarte.h:45