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

Implement CoAP Blockwise Transfers

Open gavinsunde opened this issue 9 years ago • 4 comments

As specified in the IETF draft: https://tools.ietf.org/html/draft-ietf-core-block-17, sending a single large file split into multiple blocks that fit into UDP packets.

gavinsunde avatar Aug 26 '15 06:08 gavinsunde

@dubek

oh, do you hava plan to do this job? we are waiting in joyful hope. thanks!!!

mitiger avatar Mar 02 '16 03:03 mitiger

Currently I don't have any plans to implement this feature. We welcome pull requests!

dubek avatar Mar 02 '16 19:03 dubek

Hi,

I have a question on SZX in the Block2 Option.

Does the payload bytes of the response packet MUST be exactly same as the SZX chosen in Block2 Option or Can it differ with that of SZX?

For example, I send a Block which is NOT the last block and I choose SZX = 2 (i.e., Block size is 64 bytes). But the actual payload in the response is 75 bytes or 57 bytes not 64 bytes. Is this valid?

Thanks!

janaki2 avatar Jan 19 '17 17:01 janaki2

I would like know if somebody implemented this feature?

chtavares avatar Jul 31 '18 17:07 chtavares