Skip to content

Commit

Permalink
net/gcoap: Add module documentation to mark a message confirmable
Browse files Browse the repository at this point in the history
  • Loading branch information
kb2ma committed Aug 15, 2017
1 parent 691ba07 commit fc8cd9f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sys/include/net/gcoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fc8cd9f

Please sign in to comment.