Add OCF ver numbers, header options, media type
@@ -153,6 +153,8 @@ typedef enum {
COAP_OPTION_PROXY_URI = 35, /* 1-1034 B */
COAP_OPTION_PROXY_SCHEME = 39, /* 1-255 B */
COAP_OPTION_SIZE1 = 60, /* 0-4 B */
+ OCF_OPTION_ACCEPT_CONTENT_FORMAT_VER = 2049, /* 2 B */
+ OCF_OPTION_CONTENT_FORMAT_VER = 2053 /* 2 B */
} coap_option_t;
/* CoAP Content-Formats */
@@ -179,7 +181,10 @@ typedef enum {
APPLICATION_SOAP_FASTINFOSET = 49,
APPLICATION_JSON = 50,
APPLICATION_X_OBIX_BINARY = 51,
- APPLICATION_CBOR = 60
+ APPLICATION_CBOR = 60,
+ APPLICATION_VND_OCF_CBOR = 10000
} coap_content_format_t;
+typedef enum { OCF_VER_1_0_0 = 2048, OIC_VER_1_1_0 = 2112 } ocf_version_t;
+
#endif /* CONSTANTS_H */
