Astarte device API for Zephyr 0.7.2
Astarte device SDK for Zephyr RTOS
|
interface mapping definition More...
#include <mapping.h>
Data Fields | |
const char * | endpoint |
Mapping endpoint. | |
const char * | regex_endpoint |
Modified mapping endpoint for regex matching. | |
astarte_mapping_type_t | type |
Mapping type. | |
astarte_mapping_reliability_t | reliability |
Mapping reliability. | |
bool | explicit_timestamp |
Explicit timestamp flag. | |
bool | allow_unset |
Allow unset flag. | |
interface mapping definition
This structs represent a subset of the information contained in an Astarte interface mapping https://docs.astarte-platform.org/astarte/latest/040-interface_schema.html#mapping
bool astarte_mapping_t::allow_unset |
Allow unset flag.
const char* astarte_mapping_t::endpoint |
Mapping endpoint.
bool astarte_mapping_t::explicit_timestamp |
Explicit timestamp flag.
const char* astarte_mapping_t::regex_endpoint |
Modified mapping endpoint for regex matching.
The original mapping endpoint can contain parameters in the form %{([a-zA-Z_][a-zA-Z0-9_]*)}
. In this modified endpoint all the parameters have been substituted by the regex pattern: [a-zA-Z_]+[a-zA-Z0-9_]*
to ease pattern matching.
astarte_mapping_reliability_t astarte_mapping_t::reliability |
Mapping reliability.
astarte_mapping_type_t astarte_mapping_t::type |
Mapping type.