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

Support specifying a preferred block size for server responses #24

Open
1 of 2 tasks
AlCalzone opened this issue Dec 18, 2017 · 1 comment
Open
1 of 2 tasks

Support specifying a preferred block size for server responses #24

AlCalzone opened this issue Dec 18, 2017 · 1 comment

Comments

@AlCalzone
Copy link
Owner

AlCalzone commented Dec 18, 2017

As defined in https://tools.ietf.org/html/rfc7959#section-2.4, clients can specify a preferred block size for the responses from the CoAP server by using the Block2 option on a request.

This size should be configurable in the library.
When used with block-wise requests, the Block2 option should only appear in the last fragment, as defined in https://tools.ietf.org/html/rfc7959#section-2.7

  • Specify blocksize
  • Support combination with block-wise requests
@AlCalzone
Copy link
Owner Author

1st bullet point implemented in 2cf786d

@AlCalzone AlCalzone self-assigned this Mar 9, 2018
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

1 participant