diff --git a/pdu.h b/pdu.h index 691bde89..52ed0a99 100644 --- a/pdu.h +++ b/pdu.h @@ -145,6 +145,7 @@ char *coap_response_phrase(unsigned char code); #define COAP_MEDIATYPE_APPLICATION_RDF_XML 43 /* application/rdf+xml */ #define COAP_MEDIATYPE_APPLICATION_EXI 47 /* application/exi */ #define COAP_MEDIATYPE_APPLICATION_JSON 50 /* application/json */ +#define COAP_MEDIATYPE_APPLICATION_CBOR 60 /* application/cbor */ /* Note that identifiers for registered media types are in the range 0-65535. We * use an unallocated type here and hope for the best. */