Astarte device API for Zephyr 0.9.0
Astarte device SDK for Zephyr RTOS
Loading...
Searching...
No Matches
astarte_data_t Struct Reference

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.
 
bool is_owned
 Flag indicating if the memory backing the data is owned and dynamically allocated.
 

Detailed Description

Base Astarte data type.

Warning
Do not inspect its content directly. Use the provided functions to modify it.

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.

Field Documentation

◆ data

astarte_data_param_t astarte_data_t::data

Data portion of the tagged enum.

◆ is_owned

bool astarte_data_t::is_owned

Flag indicating if the memory backing the data is owned and dynamically allocated.

◆ tag

astarte_mapping_type_t astarte_data_t::tag

Tag of the tagged enum.


The documentation for this struct was generated from the following file: