diff --git a/sys/include/net/coap.h b/sys/include/net/coap.h index 403dddbabf..23a4db50bd 100644 --- a/sys/include/net/coap.h +++ b/sys/include/net/coap.h @@ -123,6 +123,8 @@ extern "C" { /** * @name Content types + * @deprecated Deprecated in favour of [COAP_FORMAT_](@ref net_coap_format) + * style defines * @{ */ #define COAP_CT_LINK_FORMAT (40) @@ -134,11 +136,14 @@ extern "C" { /** * @name Content-Format option codes + * @anchor net_coap_format * @{ */ #define COAP_FORMAT_TEXT (0) #define COAP_FORMAT_LINK (40) +#define COAP_FORMAT_XML (41) #define COAP_FORMAT_OCTET (42) +#define COAP_FORMAT_EXI (47) #define COAP_FORMAT_JSON (50) #define COAP_FORMAT_CBOR (60) /** @} */