Skip to content

Commit

Permalink
net/gcoap: fix doc for order of server resources
Browse files Browse the repository at this point in the history
  • Loading branch information
kb2ma committed Sep 11, 2018
1 parent 6265da2 commit 949eb21
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions sys/include/net/gcoap.h
Expand Up @@ -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.
Expand Down

0 comments on commit 949eb21

Please sign in to comment.