-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LwM2M: any retransmitted block #0 is forwarded to upper layer with no warning #71351
Labels
area: LWM2M
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Comments
This issue lacks required information such as what zephyr version you are using, can you fill in the required information from https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/main/.github/ISSUE_TEMPLATE/001_bug_report.md by updating the post? |
SeppoTakalo
added a commit
to SeppoTakalo/zephyr
that referenced
this issue
May 10, 2024
When Block-Wise transfer restarts, the post-write callback should receive some indication that the block is actually a beginning of new, instead of part of previous transfer. Fixes zephyrproject-rtos#71351 Signed-off-by: Seppo Takalo <[email protected]>
SeppoTakalo
added a commit
to SeppoTakalo/zephyr
that referenced
this issue
May 13, 2024
When Block-Wise transfer restarts, the post-write callback should receive some indication that the block is actually a beginning of new, instead of part of previous transfer. Fixes zephyrproject-rtos#71351 Signed-off-by: Seppo Takalo <[email protected]>
SeppoTakalo
added a commit
to SeppoTakalo/zephyr
that referenced
this issue
May 14, 2024
When Block-Wise transfer restarts, the post-write callback should receive some indication that the block is actually a beginning of new, instead of part of previous transfer. Fixes zephyrproject-rtos#71351 Signed-off-by: Seppo Takalo <[email protected]>
aescolar
pushed a commit
that referenced
this issue
May 15, 2024
When Block-Wise transfer restarts, the post-write callback should receive some indication that the block is actually a beginning of new, instead of part of previous transfer. Fixes #71351 Signed-off-by: Seppo Takalo <[email protected]>
ycsin
pushed a commit
to ycsin/zephyr
that referenced
this issue
May 17, 2024
When Block-Wise transfer restarts, the post-write callback should receive some indication that the block is actually a beginning of new, instead of part of previous transfer. Fixes zephyrproject-rtos#71351 Signed-off-by: Seppo Takalo <[email protected]>
mariopaja
pushed a commit
to mariopaja/zephyr
that referenced
this issue
May 26, 2024
When Block-Wise transfer restarts, the post-write callback should receive some indication that the block is actually a beginning of new, instead of part of previous transfer. Fixes zephyrproject-rtos#71351 Signed-off-by: Seppo Takalo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: LWM2M
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Describe the bug
Two issues:
when the post-write callback receives the payload of block #0, it often differs from the actual block size. This might not be a bug since block transfers can complete successfully, however, RCF 7959, section 2.3 specifies that:Update: as expected, this is not an issue; the first 5B of the block 0's payload are actually a TLV data struct providing information about the actual size of the data being transferred (feels a bit redundant, but it must have its reasons).
Logs printed from the post-write callback:
Expected behavior
Since Tokens cannot be used to trace a block-wise transfer (#57165), it is not possible to detect if a Block #0 has already been processed, for this reason, I believe the only option is to pass the block-number to the post-write callback.
However, tokens could still be useful for detecting duplicates of block 0.
The text was updated successfully, but these errors were encountered: