Tanganelli / CoAPthon3

CoAPthon3 is a porting to python3 of my CoAPthon library. CoAPthon3 is a python3 library to the CoAP protocol compliant with the RFC. Branch is available for the Twisted framework.
MIT License
59 stars 50 forks source link

Fix payload transmitted in Block2 transfer #38

Closed hubertmis closed 3 years ago

hubertmis commented 3 years ago

Previosly the CoAP server transmitted the first block of data for Block2 transfer, even when a client requested in a Block2 request any other block. This patch changes server operation to transmit the payload block requested by the client.

Signed-off-by: Hubert Miś hubert.mis@gmail.com