examples/gcoap_block_server: add gcoap block server example#17843
examples/gcoap_block_server: add gcoap block server example#17843benpicco merged 1 commit intoRIOT-OS:masterfrom
Conversation
25efef5 to
b27ba66
Compare
|
Mhhh, instead of adding examples how to make a very complicated process usable, I would prefer to have API support to send large |
|
Some context: in #17544 I want to refactor the nanocoap API and was happy to have found a solution that allowed me not to also to the same changes to GCoap. Then @kfessel pointed out that this would break gcoap blockwise response. I was confused as I tested all gcoap applications and they worked fine - in particular, gcoap would not do blockwise responses to begin with. Then @kfessel pointed me to this example that is linked in the documentation. It does not compile anymore with upstream RIOT, but was made to work easily enough. So the idea is to have this in tree to have something to test against when doing refactoring. |
|
Ok, yeah, then better have a working example than no example at all ^^ |
2de51bb to
4702ac0
Compare
4702ac0 to
f04cf57
Compare
Contribution description
This adds the gcoap block server example to mainline RIOT.
It existed as an external application that is hard to discover and failed to compile with the latest upstream RIOT.
Testing procedure
Issues/PRs references
#17544 (comment)