Skip to content
Snippets Groups Projects
Unverified Commit 50d6cfd2 authored by Koen Zandberg's avatar Koen Zandberg Committed by GitHub
Browse files

Merge pull request #9918 from kb2ma/gcoap/fix-resource-order-doc

net/gcoap: fix doc for order of server resources
parents 742b6ac4 949eb211
No related branches found
No related tags found
No related merge requests found
...@@ -45,9 +45,10 @@ ...@@ -45,9 +45,10 @@
* *
* gcoap allows an application to specify a collection of request resource paths * 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 * 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 * structs) ordered by the resource path, specifically the ASCII encoding of
* to the resource path. Use gcoap_register_listener() at application startup * the path characters (digit and capital precede lower case). Use
* to pass in these resources, wrapped in a gcoap_listener_t. * 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 * gcoap itself defines a resource for `/.well-known/core` discovery, which
* lists all of the registered paths. * lists all of the registered paths.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment