From 5e1d3fe0ae9cbba4b45f6098a29d3fc2088639a1 Mon Sep 17 00:00:00 2001 From: Ken Bannister <kb2ma@runbox.com> Date: Tue, 15 Aug 2017 12:51:04 -0400 Subject: [PATCH] net/gcoap: Update doc for confirmable message --- sys/include/net/gcoap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/include/net/gcoap.h b/sys/include/net/gcoap.h index 0b6b43d727..c15e46d465 100644 --- a/sys/include/net/gcoap.h +++ b/sys/include/net/gcoap.h @@ -92,9 +92,11 @@ * * Allocate a buffer and a coap_pkt_t for the request. * - * If there is a payload, follow the three steps below. + * If there is a payload, follow the steps below. * * -# Call gcoap_req_init() to initialize the request. + * -# Optionally, mark the request confirmable by calling + * coap_hdr_set_type() with COAP_TYPE_CON. * -# Write the request payload, starting at the updated _payload_ pointer * in the coap_pkt_t. * -# Call gcoap_finish(), which updates the packet for the payload. -- GitLab