Commit graph

3 commits

Author SHA1 Message Date
Hubert Miś
3dc7e5c8d6 Fix payload transmitted in Block2 transfer.
Previosly the CoAP server transmitted the first block of data for Block2
transfer, even when a client requested in Block2 request following
block. This patch changes server operation to transmit the payload
block requested by the client.

Signed-off-by: Hubert Miś <hubert.mis@gmail.com>
2020-12-22 13:21:19 +01:00
Matthieu BRIEDA
264167e3d1
Update Blocklayer to deal with Block1 option
On the last block answer, the Client still sent another empty message, it didn't take into account the fact that the previous block was sent with m=0. This commit fixed that for me.
2018-03-14 17:24:57 +01:00
giacomo.tanganelli@for.unipi.it
4db21cd7e7 Porting to Python3 2018-01-23 11:31:46 +01:00