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

Implement block transfer for Static API #334

Open
datachi7d opened this issue Jan 25, 2017 · 1 comment
Open

Implement block transfer for Static API #334

datachi7d opened this issue Jan 25, 2017 · 1 comment
Assignees
Milestone

Comments

@datachi7d
Copy link
Collaborator

@DavidAntliff and I propose to implement block transfer support for the Static API. We consider this to be a special case of an opaque resource write operation.

  • What we are trying to solve
    • Write only transfer of a large opaque resource (example firmware object's package resource /5/0/0).
    • Large means bigger than a coap packet allows, therefore requires coap block transfer.
    • Avoid buffering entire resource (maybe too large for memory).
    • Could write blocks to file.
  • How we propose to solve it
    • Consider opaque block resource as special case:
      • Can't be transferred as part of a whole object (block transfer failures are hard to handle without buffering).
      • Can only write resource on its own and not as part of an object write.
  • Erbium support only and no libcoap.
  • Actions:
    • Investigate current status of block transfer and coap standard.
    • Investigate and test erbium support for block transfer
    • Extend Static API to support opaque block resource and offer for comments.
    • Implementation and tests.
@datachi7d
Copy link
Collaborator Author

Relates to #292

@cheekyhalf cheekyhalf modified the milestones: 0.2.6, 0.2.5 Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants