7#ifndef ASTARTE_DEVICE_SDK_INTERFACE_H
8#define ASTARTE_DEVICE_SDK_INTERFACE_H
70#define ASTARTE_INTERFACE_NAME_MAX_SIZE 128
Astarte types and defines.
astarte_interface_type_t
interface type
Definition interface.h:47
astarte_interface_ownership_t
interface ownership
Definition interface.h:35
astarte_interface_aggregation_t
interface aggregation
Definition interface.h:59
@ ASTARTE_INTERFACE_TYPE_DATASTREAM
Datastream interface.
Definition interface.h:48
@ ASTARTE_INTERFACE_TYPE_PROPERTIES
Properties interface.
Definition interface.h:49
@ ASTARTE_INTERFACE_OWNERSHIP_SERVER
Server owned interface.
Definition interface.h:37
@ ASTARTE_INTERFACE_OWNERSHIP_DEVICE
Device owned interface.
Definition interface.h:36
@ ASTARTE_INTERFACE_AGGREGATION_OBJECT
Aggregation object.
Definition interface.h:61
@ ASTARTE_INTERFACE_AGGREGATION_INDIVIDUAL
Aggregation individual.
Definition interface.h:60
Astarte interface mapping representation.
Astarte interface definition.
Definition interface.h:79
size_t mappings_length
Lenght of the array of mappings.
Definition interface.h:95
const astarte_mapping_t * mappings
Array of mappings.
Definition interface.h:93
uint32_t major_version
Major version.
Definition interface.h:83
astarte_interface_ownership_t ownership
Ownership, see astarte_interface_ownership_t.
Definition interface.h:87
astarte_interface_type_t type
Type, see astarte_interface_type_t.
Definition interface.h:89
astarte_interface_aggregation_t aggregation
Aggregation, see astarte_interface_aggregation_t.
Definition interface.h:91
uint32_t minor_version
Minor version.
Definition interface.h:85
const char * name
Interface name.
Definition interface.h:81
interface mapping definition
Definition mapping.h:89