Astarte device API for Zephyr 0.7.2
Astarte device SDK for Zephyr RTOS
Loading...
Searching...
No Matches

Astarte interface mapping representation. More...

Data Structures

struct  astarte_mapping_t
 interface mapping definition More...
 

Enumerations

enum  astarte_mapping_type_t {
  ASTARTE_MAPPING_TYPE_BINARYBLOB = 1 , ASTARTE_MAPPING_TYPE_BOOLEAN = 2 , ASTARTE_MAPPING_TYPE_DATETIME = 3 , ASTARTE_MAPPING_TYPE_DOUBLE = 4 ,
  ASTARTE_MAPPING_TYPE_INTEGER = 5 , ASTARTE_MAPPING_TYPE_LONGINTEGER = 6 , ASTARTE_MAPPING_TYPE_STRING = 7 , ASTARTE_MAPPING_TYPE_BINARYBLOBARRAY = 8 ,
  ASTARTE_MAPPING_TYPE_BOOLEANARRAY = 9 , ASTARTE_MAPPING_TYPE_DATETIMEARRAY = 10 , ASTARTE_MAPPING_TYPE_DOUBLEARRAY = 11 , ASTARTE_MAPPING_TYPE_INTEGERARRAY = 12 ,
  ASTARTE_MAPPING_TYPE_LONGINTEGERARRAY = 13 , ASTARTE_MAPPING_TYPE_STRINGARRAY = 14
}
 Allowed types in a mapping on an Astarte interface. More...
 
enum  astarte_mapping_reliability_t { ASTARTE_MAPPING_RELIABILITY_UNRELIABLE = 0 , ASTARTE_MAPPING_RELIABILITY_GUARANTEED = 1 , ASTARTE_MAPPING_RELIABILITY_UNIQUE = 2 }
 mapping reliability definition More...
 

Detailed Description

Astarte interface mapping representation.

See: https://docs.astarte-platform.org/astarte/latest/040-interface_schema.html#mapping.

Enumeration Type Documentation

◆ astarte_mapping_reliability_t

mapping reliability definition

This enum represents the possible values of the reliability of an astarte mapping https://docs.astarte-platform.org/astarte/latest/040-interface_schema.html#astarte-mapping-schema-reliability

Enumerator
ASTARTE_MAPPING_RELIABILITY_UNRELIABLE 

Unreliable data transmission QoS: 0.

ASTARTE_MAPPING_RELIABILITY_GUARANTEED 

Guaranteed data transmission QoS: 1.

ASTARTE_MAPPING_RELIABILITY_UNIQUE 

Unique data transmission QoS: 2.

◆ astarte_mapping_type_t

Allowed types in a mapping on an Astarte interface.

See more about [Astarte interface mapping types](https://docs.astarte-platform.org/astarte/latest/040-interface_schema.html#astarte-mapping-schema-type).

Enumerator
ASTARTE_MAPPING_TYPE_BINARYBLOB 

Astarte binaryblob type.

ASTARTE_MAPPING_TYPE_BOOLEAN 

Astarte boolean type.

ASTARTE_MAPPING_TYPE_DATETIME 

Astarte datetime type.

ASTARTE_MAPPING_TYPE_DOUBLE 

Astarte double type.

ASTARTE_MAPPING_TYPE_INTEGER 

Astarte integer type.

ASTARTE_MAPPING_TYPE_LONGINTEGER 

Astarte longinteger type.

ASTARTE_MAPPING_TYPE_STRING 

Astarte string type.

ASTARTE_MAPPING_TYPE_BINARYBLOBARRAY 

Astarte binaryblobarray type.

ASTARTE_MAPPING_TYPE_BOOLEANARRAY 

Astarte booleanarray type.

ASTARTE_MAPPING_TYPE_DATETIMEARRAY 

Astarte datetimearray type.

ASTARTE_MAPPING_TYPE_DOUBLEARRAY 

Astarte doublearray type.

ASTARTE_MAPPING_TYPE_INTEGERARRAY 

Astarte integerarray type.

ASTARTE_MAPPING_TYPE_LONGINTEGERARRAY 

Astarte longintegerarray type.

ASTARTE_MAPPING_TYPE_STRINGARRAY 

Astarte stringarray type.