[riot-notifications] [RIOT-OS/RIOT] net/coap: improve message code macros (#10703)

Ken Bannister notifications at github.com
Sat Jan 5 01:56:32 CET 2019


### Contribution description
Adds a more descriptive name for the 2.31 Continue message code. Also, always use base 10 for the definition of other code macros.

Also updated the nanocoap_server example to use the new Continue macro.

### Testing procedure
The `/sha256` resource for nanocoap_server should still work.

### Issues/PRs references
-none-
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/10703

-- Commit Summary --

  * net/coap: improve message code macros
  * examples/nanocoap: use descriptive macro name

-- File Changes --

    M examples/nanocoap_server/coap_handler.c (2)
    M sys/include/net/coap.h (7)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/10703.patch
https://github.com/RIOT-OS/RIOT/pull/10703.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10703
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190104/74d85452/attachment.html>


More information about the notifications mailing list