Let's encode Sensor Data with CBOR on Apache #NuttX OS
https://github.com/lupyuen2/tinycbor-nuttx
#CBOR encodes Sensor Data more efficiently than JSON ... Perfect for #NuttX, LoRaWAN and The Things Network!
Porting TinyCBOR to #NuttX is easy ... Thanks to POSIX Support on NuttX!
https://github.com/lupyuen2/tinycbor-nuttx/blob/main/src/open_memstream.c#L35-L49
@lupyuen MessagePack is also another interesting one (yet another binary and compact alternative to JSON)
CleverLibre Social is an inclusive social instance for open discussion, learning, and community. All cultures welcome. Hate speech and harassment strictly forbidden.
Porting TinyCBOR to #NuttX is easy ... Thanks to POSIX Support on NuttX!
https://github.com/lupyuen2/tinycbor-nuttx/blob/main/src/open_memstream.c#L35-L49