[riot-notifications] [RIOT-OS/RIOT] gcoap: Process CON responses (#14178)

chrysn notifications at github.com
Sat May 30 15:59:26 CEST 2020


This generalizes the existing code for answering CoAP pings into general
message-layer responses. Such responses are now also sent as a reaction
to CON responses, which can otherwise follow the same code path as
existing other responses.

As a side effect, issues that would crop up when responding to odd empty
requests that have token length set are resolved.

### Testing procedure

TBD

### Issues/PRs references

Fixes https://github.com/RIOT-OS/RIOT/issues/14169 (eventually; currently it only addresses the first parts).
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * gcoap: Process CON responses

-- File Changes --

    M sys/net/application_layer/gcoap/gcoap.c (36)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/14178.patch
https://github.com/RIOT-OS/RIOT/pull/14178.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/14178
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200530/c3f70121/attachment.htm>


More information about the notifications mailing list