mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-05 20:02:19 +03:00
RFC7872: Add in media type application/dots+cbor
include/coap2/pdu.h: src/coap_debug.c: Include in coap_show_pdu() output if appropriate.
This commit is contained in:
1 parent
ffeeee1976
commit
9dd16a3260
3 files changed
+7
-1
No files matched your search
@@ -398,9 +398,11 @@ print_content_format(unsigned int format_type,
|
||||
{ COAP_MEDIATYPE_APPLICATION_LINK_FORMAT, "application/link-format" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_XML, "application/xml" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_OCTET_STREAM, "application/octet-stream" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_RDF_XML, "application/rdf+xml" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_EXI, "application/exi" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_JSON, "application/json" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_CBOR, "application/cbor" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_CWT, "application/cwt" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_COSE_SIGN, "application/cose; cose-type=\"cose-sign\"" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_COSE_SIGN1, "application/cose; cose-type=\"cose-sign1\"" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_COSE_ENCRYPT, "application/cose; cose-type=\"cose-encrypt\"" },
|
||||
@@ -417,6 +419,7 @@ print_content_format(unsigned int format_type,
|
||||
{ COAP_MEDIATYPE_APPLICATION_SENSML_EXI, "application/sensml-exi" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_SENML_XML, "application/senml+xml" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_SENSML_XML, "application/sensml+xml" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_DOTS_CBOR, "application/dots+cbor" },
|
||||
{ 75, "application/dcaf+cbor" }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user