[riot-notifications] [RIOT-OS/RIOT] gcoap: Add 'obs' attribute in example and extend documentation (#12193)

Leandro Lanzieri notifications at github.com
Tue Sep 10 16:42:43 CEST 2019

### Contribution description
As discussed in #11587, this adds the 'obs' attribute to the link description of the `/cli/stats` resource in the gcoap example application. This improves the description of the resource by giving a client a [hint](https://tools.ietf.org/html/rfc7641#section-6) that this resource is useful for observation.

Also a small paragraph regarding this is added to the gcoap documentation.

### Testing procedure
- Build documentation
- Run gcoap example application, you should get the 'obs' attribute when listing the resources (i.e. GET to `/.well-known/core`).

### Issues/PRs references
Related to #11587
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * examples/gcoap: Add 'obs' attribute to resource
  * sys/net/gcoap: Add clarification on observing in doc

-- File Changes --

    M examples/gcoap/gcoap_cli.c (2)
    M sys/include/net/gcoap.h (9)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190910/9a4bf42b/attachment.htm>

More information about the notifications mailing list