mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-26 08:51:42 +03:00
added media type 60 for application/cbor
This commit is contained in:
1 parent
690a3a552d
commit
8e55284de1
1 file changed
+1
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user