cisco / senml

Tool to convert senml between formats and act as gateway server to other services
BSD 2-Clause "Simplified" License
39 stars 15 forks source link

Add CBOR support #16

Closed drasko closed 7 years ago

drasko commented 7 years ago

This is feature request for CBOR support. Binary format is important for battery-constrained devices.

fluffy commented 7 years ago

I'd love it fi someone sent a patch to add CBOR. On some projects they have found that compressed JSON used less power and network bandwidth than CBOR but totally agree with you it would be great to have CBOR.

drasko commented 7 years ago

Maybe compressed JSON can be more economic, but SenML spec specifies only CBOR as a binary solution, AFAIK. So per my understanding we can not use compressed JSON and we must have CBOR implementation.

fluffy commented 7 years ago

It now supports CBOR