Skip to content

Support specifying a preferred block size for server responses #24

Description

@AlCalzone

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions