feat(protocol): add bounded Block1 POST uploads - #50
Open
Jason-Morcos wants to merge 4 commits into
Open
Conversation
Jason-Morcos
force-pushed
the
codex/coap-block1-post
branch
from
August 18, 2026 21:27
79de898 to
b7a8f81
Compare
This was referenced Aug 18, 2026
This was referenced Aug 21, 2026
Owner
|
Not reviewed yet, same as #48. #56 holds the order. The claim I want to confirm on hardware before this lands is the motivating one: that Samsung's IoTivity server will not reconstruct an oversized CoAP message split across DTLS application-data records, so a body over one 1024-byte block needs Block1 framing with a stable token. If you have a capture of the failure without Block1, link it. I have a dryer and an oven I can try it against. Like #49 this stays on the transport side of #28. Block1 framing is a primitive; the credential and ownership payloads that motivate it are a separate question. |
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.
Summary
Why
Samsung's IoTivity server does not reconstruct an oversized CoAP message split across DTLS application-data records. Credential and ownership payloads larger than one 1024-byte OCF block therefore need atomic Block1 framing, with the same token across the complete upload.
This carries the behavior used by my working local-appliance Home Assistant integration into the shared transport while preserving the package's error taxonomy and fixed error messages.
Stack / merge order
Please review this after #49. The Block1-only commit is
b7a8f81.Validation