SenML numeric value. More...
SenML numeric value.
Various SenML attributes (see senml_attr_t) may contain any 'numeric' types. This struct is used to contain these.
#include <senml.h>
Data Fields | ||
| senml_value_type_t | type | |
| Type of the value. | ||
| union { | ||
| uint64_t u | ||
| int64_t i | ||
| float f | ||
| double d | ||
| struct { | ||
| int32_t e | ||
| int32_t m | ||
| } df | ||
| Decimal fraction. | ||
| } | value | |
| Value data. | ||
| senml_value_type_t senml_numeric_t::type |