-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework FW module on top of 'coap_req' module. This gives several advantages: * Packet retransmission both with desired firmware request and with firmware download. * Protocol agnostic application APIs, as there is no direct use of CoAP in the APIs. * Simplified application APIs, as there is no need for manual handling of 'coap_reply', but instead there is just a single callback type for both "desired firmware information" and "firmware content". * Significant code deduplication, as blockwise CoAP GET is handled mostly by 'coap_req' module. Update samples/dfu/, so that it uses updated APIs. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
- Loading branch information
Showing
4 changed files
with
75 additions
and
289 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.