mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 11:40:39 +03:00
added COAP_MEDIATYPE_ANY for internal use
(goal is to hae more flexibility with resource encoding)
This commit is contained in:
1 parent
7b313387ab
commit
eda3d5c696
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user