go-coap icon indicating copy to clipboard operation
go-coap copied to clipboard

Support block wise transfer options

Open besedad opened this issue 5 years ago • 0 comments

This PR adds helper methods to check/get/set Block1 and Block2 options as defined in RFC 7959[0].

[0] https://tools.ietf.org/html/rfc7959

This is the second PR. I have closed the previous one due to errors in IsBlock1 IsBlock2 methods. This PR contains the fixed code and adds a new test that tests for the error.

besedad avatar Oct 03 '19 08:10 besedad