Skip to content
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

Current offset in CoAP blockwise transfer #15687

Open
Citrullin opened this issue Dec 20, 2020 · 3 comments
Open

Current offset in CoAP blockwise transfer #15687

Citrullin opened this issue Dec 20, 2020 · 3 comments
Assignees
Labels
Community: help wanted The contributors require help from other members of the community Type: new feature The issue requests / The PR implemements a new feature for RIOT

Comments

@Citrullin
Copy link
Contributor

Description

In order to not generate the WoT TD multiple times for #14095, I need a way to receive the current offset of blockwise transfer.

Useful links

  • Forum post
  • @bergzand mentioned it on Matrix

    Quickly skimming over it, it looks like the blockwise could use a function to retrieve the current offset, a generator could use that to skip certain parts

@fjmolinas fjmolinas added Community: help wanted The contributors require help from other members of the community Type: new feature The issue requests / The PR implemements a new feature for RIOT labels Jan 20, 2021
@MrKevinWeiss MrKevinWeiss added this to the Release 2021.07 milestone Jun 21, 2021
@MrKevinWeiss MrKevinWeiss removed this from the Release 2021.07 milestone Jul 15, 2021
@stale
Copy link

stale bot commented Mar 2, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Mar 2, 2022
@Citrullin
Copy link
Contributor Author

It probably is still an issue. @JKRhb Do you remember if that was still an issue?

@stale stale bot removed the State: stale State: The issue / PR has no activity for >185 days label Mar 16, 2022
@JKRhb
Copy link
Member

JKRhb commented Mar 18, 2022

Hmm, I think the blockwise serialization seems to work fine at the moment, right? If I am not mistaken, the offset should be calculated automatically from the block2 option when using coap_block2_init.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community: help wanted The contributors require help from other members of the community Type: new feature The issue requests / The PR implemements a new feature for RIOT
Projects
None yet
Development

No branches or pull requests

5 participants