mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 18:32:53 +03:00
Merge pull request #856 from mrdeep1/rfc7390
RFC7390: Update support for RFC7390
This commit is contained in:
5 files changed
+11
-1
No files matched your search
@@ -5,7 +5,7 @@
|
||||
[](https://scan.coverity.com/projects/obgm-libcoap)
|
||||
[](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:libcoap)
|
||||
|
||||
Copyright (C) 2010—2021 by Olaf Bergmann <bergmann@tzi.org> and others
|
||||
Copyright (C) 2010—2022 by Olaf Bergmann <bergmann@tzi.org> and others
|
||||
|
||||
ABOUT LIBCOAP
|
||||
=============
|
||||
@@ -38,6 +38,8 @@ The following RFCs are supported
|
||||
|
||||
* RFC7252: The Constrained Application Protocol (CoAP)
|
||||
|
||||
* RFC7390: Group Communication for the Constrained Application Protocol (CoAP)
|
||||
|
||||
* RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)
|
||||
|
||||
* RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)
|
||||
|
||||
@@ -23,6 +23,8 @@ The following RFCs are supported
|
||||
|
||||
* RFC7252: The Constrained Application Protocol (CoAP)
|
||||
|
||||
* RFC7390: Group Communication for the Constrained Application Protocol (CoAP)
|
||||
|
||||
* RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)
|
||||
|
||||
* RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)
|
||||
|
||||
@@ -197,6 +197,9 @@ typedef enum coap_pdu_signaling_proto_t {
|
||||
#define COAP_MEDIATYPE_APPLICATION_CBOR 60 /* application/cbor */
|
||||
#define COAP_MEDIATYPE_APPLICATION_CWT 61 /* application/cwt, RFC 8392 */
|
||||
|
||||
/* Content formats from RFC 7390 */
|
||||
#define COAP_MEDIATYPE_APPLICATION_COAP_GROUP_JSON 256 /* application/coap-group+json */
|
||||
|
||||
/* Content formats from RFC 8152 */
|
||||
#define COAP_MEDIATYPE_APPLICATION_COSE_SIGN 98 /* application/cose; cose-type="cose-sign" */
|
||||
#define COAP_MEDIATYPE_APPLICATION_COSE_SIGN1 18 /* application/cose; cose-type="cose-sign1" */
|
||||
|
||||
@@ -54,6 +54,8 @@ See
|
||||
|
||||
"RFC7252: The Constrained Application Protocol (CoAP)"
|
||||
|
||||
"RFC7390: Group Communication for the Constrained Application Protocol (CoAP)"
|
||||
|
||||
"RFC7641: Observing Resources in the Constrained Application Protocol (CoAP)"
|
||||
|
||||
"RFC7959: Block-Wise Transfers in the Constrained Application Protocol (CoAP)"
|
||||
|
||||
@@ -459,6 +459,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_COAP_GROUP_JSON, "application/coap-group+json" },
|
||||
{ COAP_MEDIATYPE_APPLICATION_DOTS_CBOR, "application/dots+cbor" },
|
||||
{ 75, "application/dcaf+cbor" }
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user