Astarte Device SDK ESP32
ESP32 device SDK for the Astarte platform
astarte_interface.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 2021, Ispirata Srl, info@ispirata.com.
3  *
4  * SPDX-License-Identifier: LGPL-2.1+ OR Apache-2.0
5  */
6 
12 #ifndef _ASTARTE_INTERFACE_H_
13 #define _ASTARTE_INTERFACE_H_
14 
20 typedef enum
21 {
25 
26 typedef enum
27 {
31 
39 typedef struct
40 {
41  const char *name;
47 
48 #endif
astarte_interface_type_t
Definition: astarte_interface.h:27
@ TYPE_DATASTREAM
Definition: astarte_interface.h:28
@ TYPE_PROPERTIES
Definition: astarte_interface.h:29
astarte_interface_ownership_t
interface ownership
Definition: astarte_interface.h:21
@ OWNERSHIP_DEVICE
Definition: astarte_interface.h:22
@ OWNERSHIP_SERVER
Definition: astarte_interface.h:23
Astarte interface definition.
Definition: astarte_interface.h:40
int major_version
Definition: astarte_interface.h:42
astarte_interface_ownership_t ownership
Definition: astarte_interface.h:44
astarte_interface_type_t type
Definition: astarte_interface.h:45
int minor_version
Definition: astarte_interface.h:43
const char * name
Definition: astarte_interface.h:41