tinycbor
FreeIntel's implementation of [CBOR](http://cbor.io/) designed for their IOT-based applications and processors
FreeFree tier
About tinycbor
TinyCBOR is an open-source C/C++ library developed by Intel for encoding and decoding Concise Binary Object Representation (CBOR), a binary data serialization format designed for small code size and minimal message size. It is optimized for IoT and embedded systems, supporting efficient data exchange in resource-constrained environments. The library is licensed under the MIT license, includes examples and tests, and provides documentation. It can be built using make or CMake and is available on GitHub.
Key Features
Open-source CBOR library written in C and C++
Optimized for IoT and embedded systems
MIT licensed
Supports building with make and CMake
Includes examples, tests, and tools
Documentation available at intel.github.io/tinycbor
Cross-platform compatibility
Actively maintained with regular releases
Pros & Cons
Pros
- Lightweight and efficient for resource-constrained devices
- Open source with permissive MIT license
- Developed and maintained by Intel
- Well-documented with examples
- Supports both C and C++
Cons
- Primarily focused on C/C++ ecosystem
- Requires manual memory management in C
- Limited to CBOR format only
Best For
Data serialization in IoT devices and sensorsEfficient communication in embedded systemsImplementing CBOR protocol in constrained environmentsReplacing JSON with more compact binary format
FAQ
What is TinyCBOR?
TinyCBOR is an open-source C/C++ library developed by Intel for encoding and decoding Concise Binary Object Representation (CBOR), a compact binary data serialization format.
Is TinyCBOR free?
Yes, TinyCBOR is open-source and released under the MIT license, allowing free use and modification.
What platforms does TinyCBOR support?
TinyCBOR is cross-platform and can be built on various systems using make or CMake.