golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
68 stars 19 forks source link

Add CBOR to samples (or determine how to best document it) #142

Open beriberikix opened 2 years ago

beriberikix commented 2 years ago

Currently, only one sample shows how to use CBOR, despite CBOR support from 3 Device Services. This came up today when someone asked about implementing CBOR with LightDB Stream. We should decide if we want to add JSON AND CBOR examples, add CBOR as an alternative in each sample (if/else, )reference a snippet from the samples or something else. I don't have a recommendation at this time but multiple samples feel the least maintainable.

This also relates to #141.