From 77cfb9c99eaca73bcef0a050660de5c5601ee2f4 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Mon, 24 Apr 2023 16:15:35 +0200 Subject: [PATCH] pdu.h: Remove COAP_MEDIATYPE_ANY Closes #757 [1] [1] https://github.com/obgm/libcoap/issues/757 --- include/coap3/pdu.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/coap3/pdu.h b/include/coap3/pdu.h index 828b8ae3..a1d72860 100644 --- a/include/coap3/pdu.h +++ b/include/coap3/pdu.h @@ -242,10 +242,6 @@ typedef enum coap_pdu_signaling_proto_t { /* Content formats from RFC 8613 */ #define COAP_MEDIATYPE_APPLICATION_OSCORE 10001 /* application/oscore */ -/* 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 */ - /** * coap_mid_t is used to store the CoAP Message ID of a CoAP PDU. * Valid message ids are 0 to 2^16. Negative values are error codes.