Open
Conversation
c28df13 to
d0424ea
Compare
6be3903 to
74f71e4
Compare
74f71e4 to
3b93554
Compare
3b93554 to
280ee9a
Compare
benpicco
reviewed
Apr 3, 2025
| * @returns -ENOSPC if @p rbuf too small | ||
| */ | ||
| ssize_t coap_build_separate_reply(coap_pkt_t *pkt, unsigned type, unsigned code, | ||
| uint8_t *rbuf, unsigned rlen, unsigned payload_len); |
Contributor
There was a problem hiding this comment.
Would it make sense to use this in nanocoap_server_build_separate()?
Contributor
Author
There was a problem hiding this comment.
I think I am going to call coap_build_separate_reply from nanocoap_server_build_separate
Contributor
|
You should probably update the title and the description a bit to reflect the current state of this PR 🤔😅 |
280ee9a to
a574b7b
Compare
Member
|
@chrysn can you maybe have a look? |
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
Testing procedure
/separateresource in gcoap examplesudo ./dist/tools/tapsetup/tapsetupServer and Client
make BOARD=native64 -C examples/networking/coap/gcoap flash term PORT=tap0Client
coap_sep.pcapng.zip
Issues/PRs references