Skip to content
Snippets Groups Projects
Commit 5e1d3fe0 authored by Ken Bannister's avatar Ken Bannister
Browse files

net/gcoap: Update doc for confirmable message

parent 4223de6b
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment