Functionality for reading [S]ensor [A]ctuator [U]ber [L]ayer sensors as SenML. More...
Functionality for reading [S]ensor [A]ctuator [U]ber [L]ayer sensors as SenML.
Definition in file saul.h.
Go to the source code of this file.
Macros | |
#define | CONFIG_SENML_SAUL_USE_FLOATS 0 |
Use floats instead of decimal types when encoding SAUL measurements. | |
Functions | |
int | senml_saul_reg_encode_cbor (nanocbor_encoder_t *enc, saul_reg_t *dev) |
Encode a single [S]ensor [A]ctuator [U]ber [L]ayer sensor as senml+cbor. | |
size_t | senml_saul_encode_cbor (uint8_t *buf, size_t len, saul_reg_t *reg) |
Encode all sensors from a [S]ensor [A]ctuator [U]ber [L]ayer registry as senml+cbor. | |