cbor: CBOR implementation for RIOT-OS (SWP)

Any comments on the implementation welcome!
Why is this macro needed?