|
Astarte device API for Zephyr 0.8.0
Astarte device SDK for Zephyr RTOS
|
Base Astarte data type. More...
#include <data.h>
Data Fields | |
| astarte_data_param_t | data |
| Data portion of the tagged enum. | |
| astarte_mapping_type_t | tag |
| Tag of the tagged enum. | |
Base Astarte data type.
This struct is a tagged enum and represents every possible type that can be sent to Astarte individually. This struct should be initialized only by using one of the defined astarte_data_from_* methods.
See the following initialization methods:
And the following getter methods:
| astarte_data_param_t astarte_data_t::data |
Data portion of the tagged enum.
| astarte_mapping_type_t astarte_data_t::tag |
Tag of the tagged enum.