From 8e55284de1e5db8daee21057956c358dea57d8c6 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Thu, 24 Jul 2014 21:00:38 +0200 Subject: [PATCH] added media type 60 for application/cbor --- pdu.h | 1 + 1 file changed, 1 insertion(+) 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. */