Commit Graph

9 Commits (ded39b461ef5c9f954b5a50b7a242889d75f0532)

Author SHA1 Message Date
Tobias Markmann f5418fa666 cbor: add API to encode non null-terminated byte strings 8 years ago
Cenk Gündoğan a6f04dd090 cbor: use doxygen todo 8 years ago
Oleg Hahm 45ea87f403 doc: cbor: complemented documentation 8 years ago
Oleg Hahm 1270edace6 cbor: fixe line length 8 years ago
Oleg Hahm 93c7627f07 doc: fix doxygen warnings for CBOR 8 years ago
Oleg Hahm d92e9af91c doc: fixed broken param descriptions 8 years ago
BytesGalore de3c3cebd0 c++: sys: add extern C to header files 8 years ago
Ludwig Ortmann b7992922ce fix license headers in non-.c files 9 years ago
Kevin Funk e8141ca5d8 cbor: CBOR implementation for RIOT-OS
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.

This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.

The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t

It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
9 years ago