From eda3d5c696d385c63a7f7dd305d933b9fd55541d Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Sun, 18 Jul 2010 15:53:01 +0200 Subject: [PATCH] added COAP_MEDIATYPE_ANY for internal use (goal is to hae more flexibility with resource encoding) --- pdu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdu.h b/pdu.h index c870906f..79b6eac3 100644 --- a/pdu.h +++ b/pdu.h @@ -87,6 +87,8 @@ #define COAP_MEDIATYPE_APPLICATION_SOAP_FASTINFOSET 50 /* application/soap+fastinfoset */ #define COAP_MEDIATYPE_APPLICATION_JSON 51 /* application/json */ +#define COAP_MEDIATYPE_ANY 0xff /* any media type */ + /* CoAP transaction id */ typedef unsigned short coap_tid_t; #define COAP_INVALID_TID 0