-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(server): Don't send a copy of the PDU instead of applying the res…
…ponse to the original response PDU This will require application-side modifications to server-side request handlers. Namely, the resource handler must no longer call coap_send for the response PDU. This change was made to conform to libcoap's API contract and to enable CoAP Observe support. Additionally, a small workaround for proper CoAP Observe support was added that prevents duplicate addition of the Observe option in server-side resource handlers. This workaround should be removed once #21 has been tackled and the API for message handling was reworked.
- Loading branch information
1 parent
5530bf3
commit cbb2771
Showing
10 changed files
with
287 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.