Skip to content
Commit d69d4013 authored by Seppo Takalo's avatar Seppo Takalo Committed by Fabio Baltieri
Browse files

net: lwm2m: Fix blockwise response code



In CoAP blockwise the client is supposed to
respond with 2.31 Continue code on Ack. This was recently
broken when Block1 parsing was moved after the initialization
of reponse packet. We need separate CoAP API to modify the code
of existing CoAP packet.

Also Ack packet should contain the Block1 options, even the
last one.

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 614df97a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment