29#include "nanocbor/nanocbor.h"
43#ifndef CONFIG_SENML_SAUL_USE_FLOATS
44#define CONFIG_SENML_SAUL_USE_FLOATS 0
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.
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.
SAUL registry interface definition.