examples/gcoap: take full URI as input#20554
Merged
benpicco merged 3 commits intoRIOT-OS:masterfrom May 14, 2024
Merged
Conversation
281e7ca to
0d4caf9
Compare
benpicco
reviewed
Apr 29, 2024
Contributor
|
Not the authors fault here but RIOT really should change the way it interacts with URIs. That's awful... Change looks good to me, didn't test it. |
209aa7b to
ac9032e
Compare
Teufelchen1
requested changes
May 8, 2024
Contributor
Teufelchen1
left a comment
There was a problem hiding this comment.
LGTM! 🚀
See the minor change request.
Did not test it.
Teufelchen1
approved these changes
May 13, 2024
e5b13ba to
7e97ee8
Compare
Contributor
Author
|
I dropped the static IP configuration in the Makefiles I used for testing and adjusted the README. |
Teufelchen1
approved these changes
May 14, 2024
Contributor
Author
|
Thank you |
Member
|
Note to self: #18107 needs rebase and major rework. |
mguetschow
added a commit
to RIOT-OS/Release-Specs
that referenced
this pull request
Jun 17, 2024
adapts the release spec to the changes from RIOT-OS/RIOT#20554
mguetschow
added a commit
to RIOT-OS/Release-Specs
that referenced
this pull request
Jun 18, 2024
adapts the release spec to the changes from RIOT-OS/RIOT#20554
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
The gcoap example should better accept an URI as input instead of a host and path.
This avoids some module dependent port selection and prepares the example to deal with different kinds of coap proxies.
The client should be able to specify any scheme independent of modules as dealing with
coapsor maybe evenhttporquicis the job of the proxy.Testing procedure
As described in #20454.
To get the
/.well-known/corepayload from the libcoap server you still nedd to increaseCONFIG_GCOAP_PDU_BUF_SIZE.Client:
examples/gcoapProxy:
examples/gcoapServer:
coap-server-openssl -A fd01::1Issues/PRs references
#20454