Astarte Device SDK ESP32
ESP32 device SDK for the Astarte platform
Loading...
Searching...
No Matches
astarte.h
Go to the documentation of this file.
1/*
2 * (C) Copyright 2018-2023, SECO Mind Srl
3 *
4 * SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
5 */
12#ifndef _ASTARTE_H_
13#define _ASTARTE_H_
15// Version information
16#define ASTARTE_DEVICE_SDK_MAJOR 1
17#define ASTARTE_DEVICE_SDK_MINOR 3
18#define ASTARTE_DEVICE_SDK_PATCH 3
20// clang-format off
53
54// clang-format on
55
56#pragma GCC diagnostic push
57#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
58typedef enum astarte_err_t astarte_err_t;
59#pragma GCC diagnostic pop
60
71
72#endif
ASTARTE_ERR_NOT_FOUND
Definition astarte.h:2
ASTARTE_ERR_NO_JWT
Definition astarte.h:3
ASTARTE_ERR_INVALID_INTROSPECTION
Definition astarte.h:19
ASTARTE_ERR_CONFLICTING_INTERFACE
Definition astarte.h:21
ASTARTE_ERR_DEVICE_NOT_READY
Definition astarte.h:17
ASTARTE_ERR_NVS_NOT_INITIALIZED
Definition astarte.h:11
ASTARTE_ERR_ALREADY_EXISTS
Definition astarte.h:7
ASTARTE_ERR_INVALID_INTERFACE_PATH
Definition astarte.h:15
ASTARTE_ERR_API
Definition astarte.h:8
ASTARTE_ERR
Definition astarte.h:1
ASTARTE_ERR_MBED_TLS
Definition astarte.h:13
ASTARTE_ERR_PUBLISH
Definition astarte.h:18
ASTARTE_ERR_IO
Definition astarte.h:14
astarte_err_t
Astarte return codes.
Definition astarte.h:28
ASTARTE_OK
Definition astarte.h:0
ASTARTE_ERR_INVALID_QOS
Definition astarte.h:16
ASTARTE_ERR_INVALID_SIZE
Definition astarte.h:22
ASTARTE_ERR_PARTITION_SCHEME
Definition astarte.h:12
ASTARTE_ERR_OUT_OF_MEMORY
Definition astarte.h:4
ASTARTE_ERR_ESP_SDK
Definition astarte.h:5
ASTARTE_ERR_INVALID_INTERFACE_VERSION
Definition astarte.h:20
ASTARTE_ERR_NVS
Definition astarte.h:10
ASTARTE_ERR_HTTP
Definition astarte.h:9
ASTARTE_ERR_AUTH
Definition astarte.h:6
const char * astarte_err_to_name(astarte_err_t code)
Returns string for astarte_err_t error codes.