@@ -388,6 +388,9 @@ extern "C" {
388388 *
389389 * Accommodates writing Content-Format option in gcoap_finish(). May set to
390390 * zero if function not used.
391+ *
392+ * @deprecated Will not be available after the 2020.07 release. Used only by
393+ * gcoap_finish(), which also is deprecated.
391394 */
392395#ifndef GCOAP_REQ_OPTIONS_BUF
393396#define GCOAP_REQ_OPTIONS_BUF (4)
@@ -398,6 +401,9 @@ extern "C" {
398401 *
399402 * Accommodates writing Content-Format option in gcoap_finish(). May set to
400403 * zero if function not used.
404+ *
405+ * @deprecated Will not be available after the 2020.07 release. Used only by
406+ * gcoap_finish(), which also is deprecated.
401407 */
402408#ifndef GCOAP_RESP_OPTIONS_BUF
403409#define GCOAP_RESP_OPTIONS_BUF (4)
@@ -408,6 +414,9 @@ extern "C" {
408414 *
409415 * Accommodates writing Content-Format option in gcoap_finish(). May set to
410416 * zero if function not used.
417+ *
418+ * @deprecated Will not be available after the 2020.07 release. Used only by
419+ * gcoap_finish(), which also is deprecated.
411420 */
412421#ifndef GCOAP_OBS_OPTIONS_BUF
413422#define GCOAP_OBS_OPTIONS_BUF (4)
@@ -739,6 +748,9 @@ int gcoap_req_init(coap_pkt_t *pdu, uint8_t *buf, size_t len,
739748 * Assumes the PDU has been initialized with a gcoap_xxx_init() function, like
740749 * gcoap_req_init().
741750 *
751+ * @deprecated Will not be available after the 2020.07 release. Use
752+ * coap_opt_finish() instead.
753+ *
742754 * @warning To use this function, you only may have added an Option with
743755 * option number less than COAP_OPT_CONTENT_FORMAT. Otherwise, use the
744756 * struct-based API described with @link net_nanocoap nanocoap. @endlink With
0 commit comments