Merge pull request #9918 from kb2ma/gcoap/fix-resource-order-doc
net/gcoap: fix doc for order of server resources
This commit is contained in:
commit
50d6cfd22c
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user