PelionIoT / mbed-coap

CoAP C library - Builder and Parser for CoAP messages
Apache License 2.0
29 stars 16 forks source link

when sending next block request copy uri query options #143

Open noomio opened 1 year ago

noomio commented 1 year ago

[] I confirm this contribution is my own and I agree to license it with Apache 2.0. [] I confirm the moderators may change the PR before merging it in.

Summary of changes

Fixes missing uri query when doing a block transfer.

For example

coap://192.168.0.1/firmware?binary=mybinary.bin

will not work and the server will respond with resource not found.

After adding this blockwise transfer can continue working after block number 0.

iot-pdmc commented 1 year ago

Thanks for your changes. @ARMmbed/pdmc-integrators please review.

iot-pdmc commented 1 year ago

Thanks for your changes. @ARMmbed/pdmc-integrators please review.

iot-pdmc commented 1 year ago

Thanks for your changes. @ARMmbed/pdmc-integrators please review.