void phydat_to_senml_float(senml_value_t *senml, const phydat_t *phydat, const uint8_t dim)
Create a SenML float value.
void phydat_to_senml_bool(senml_bool_value_t *senml, const phydat_t *phydat, const uint8_t dim)
Create a SenML boolean value.
void phydat_to_senml_decimal(senml_value_t *senml, const phydat_t *phydat, const uint8_t dim)
Create a SenML decimal fraction value.
Functionality for converting from Phydat to SenML.
Generic data structure for expressing physical values.