[riot-commits] [RIOT-OS/RIOT] e8141c: cbor: CBOR implementation for RIOT-OS
Oleg Hahm
oleg at hobbykeller.org
Tue Aug 5 21:32:31 CEST 2014
Branch: refs/heads/master
Home: https://github.com/RIOT-OS/RIOT
Commit: e8141ca5d850920f0bf5dabed0f6950bd5668528
https://github.com/RIOT-OS/RIOT/commit/e8141ca5d850920f0bf5dabed0f6950bd5668528
Author: Kevin Funk <kfunk at kde.org>
Date: 2014-08-05 (Tue, 05 Aug 2014)
Changed paths:
M Makefile.dep
M sys/Makefile
A sys/cbor/Makefile
A sys/cbor/cbor.c
A sys/include/cbor.h
M tests/unittests/Makefile
A tests/unittests/tests-cbor/Makefile
A tests/unittests/tests-cbor/Makefile.include
A tests/unittests/tests-cbor/tests-cbor.c
Log Message:
-----------
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
Commit: 6c2b2cea61968f6ca5eab9cdb0a2f70678faf94e
https://github.com/RIOT-OS/RIOT/commit/6c2b2cea61968f6ca5eab9cdb0a2f70678faf94e
Author: Oleg Hahm <oleg at hobbykeller.org>
Date: 2014-08-05 (Tue, 05 Aug 2014)
Changed paths:
M Makefile.dep
M sys/Makefile
A sys/cbor/Makefile
A sys/cbor/cbor.c
A sys/include/cbor.h
M tests/unittests/Makefile
A tests/unittests/tests-cbor/Makefile
A tests/unittests/tests-cbor/Makefile.include
A tests/unittests/tests-cbor/tests-cbor.c
Log Message:
-----------
Merge pull request #1415 from krf/cbor
cbor: CBOR implementation for RIOT-OS (SWP)
Compare: https://github.com/RIOT-OS/RIOT/compare/a48ec4d051ac...6c2b2cea6196
More information about the commits
mailing list