Loading...
Searching...
No Matches
phydat.h File Reference

Functionality for converting from Phydat to SenML. More...

Detailed Description

Functionality for converting from Phydat to SenML.

Author
Silke Hofstra silke.nosp@m.@slx.nosp@m.h.eu

Definition in file phydat.h.

#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include "senml.h"
#include <phydat.h>
+ Include dependency graph for phydat.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

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_float (senml_value_t *senml, const phydat_t *phydat, const uint8_t dim)
 Create a SenML float value.
 
void phydat_to_senml_decimal (senml_value_t *senml, const phydat_t *phydat, const uint8_t dim)
 Create a SenML decimal fraction value.