C-Implementation of CoAP (with patches for RIOT)