Skip to content

Commit 3cdc437

Browse files
authored
Merge pull request #20565 from emmanuel-ferdman/wip
gcoap: update the example reference
2 parents e3c02f5 + 4394c36 commit 3cdc437

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sys/include/net/gcoap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* reading the request, the callback must use functions provided by gcoap to
6666
* format the response, as described below. The callback *must* read the request
6767
* thoroughly before calling the functions, because the response buffer likely
68-
* reuses the request buffer. See `examples/gcoap/gcoap_cli.c` for a simple
68+
* reuses the request buffer. See `examples/gcoap/client.c` for a simple
6969
* example of a callback.
7070
*
7171
* Here is the expected sequence for a callback function:
@@ -105,7 +105,7 @@
105105
*
106106
* Client operation includes two phases: creating and sending a request, and
107107
* handling the response asynchronously in a client supplied callback. See
108-
* `examples/gcoap/gcoap_cli.c` for a simple example of sending a request and
108+
* `examples/gcoap/client.c` for a simple example of sending a request and
109109
* reading the response.
110110
*
111111
* ### Creating a request ###
@@ -260,7 +260,7 @@
260260
*
261261
* The client requests a specific blockwise payload from the overall body by
262262
* writing a Block2 option in the request. See _resp_handler() in the
263-
* [gcoap](https://github.com/RIOT-OS/RIOT/blob/master/examples/gcoap/gcoap_cli.c)
263+
* [gcoap](https://github.com/RIOT-OS/RIOT/blob/master/examples/gcoap/client.c)
264264
* example in the RIOT distribution, which implements the sequence described
265265
* below.
266266
*

0 commit comments

Comments
 (0)