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

net/gcoap: fix doc for order of server resources

parent 6265da28
No related branches found
No related tags found
No related merge requests found
......@@ -45,9 +45,10 @@
*
* gcoap allows an application to specify a collection of request resource paths
* it wants to be notified about. Create an array of resources (coap_resource_t
* structs). Note that the elements must be ordered alphabetically with respect
* to the resource path. Use gcoap_register_listener() at application startup
* to pass in these resources, wrapped in a gcoap_listener_t.
* structs) ordered by the resource path, specifically the ASCII encoding of
* the path characters (digit and capital precede lower case). Use
* gcoap_register_listener() at application startup to pass in these resources,
* wrapped in a gcoap_listener_t.
*
* gcoap itself defines a resource for `/.well-known/core` discovery, which
* lists all of the registered paths.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment