pdu.h: Add Content-Format for application/ace+cbor

RFC 9200 defines the new media type application/ace+cbor for
Authentication and Authorization in Constrained Environments.  The
CoAP Content-Format value for this media type is registered as value
19.
This commit is contained in:
Olaf Bergmann committed 2022-03-15 13:01:04 +01:00
1 parent fe0f4ba236
commit eb7656850f
1 file changed
+3
+3
View File
@@ -221,6 +221,9 @@ typedef enum coap_pdu_signaling_proto_t {
/* Content formats from RFC 8782 */
#define COAP_MEDIATYPE_APPLICATION_DOTS_CBOR 271 /* application/dots+cbor */
/* Content formats from RFC 9200 */
#define COAP_MEDIATYPE_APPLICATION_ACE_CBOR 19 /* application/ace+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. */
#define COAP_MEDIATYPE_ANY 0xff /* any media type */