Skip to content
Commit 51d80a98 authored by Seppo Takalo's avatar Seppo Takalo Committed by Anas Nashif
Browse files

net: lwm2m: Allow CoAP block size to be changed



Allow changing the CoAP Block-wise transfers block-size
for subsequent GET requests.

It looks like Leshan switches block size back to its
configured value, if it is smaller.
So even when we send block N=0 with size of 512, Leshan
seem to handle that properly but still asks N=2 with
block size 256(if that is configured).

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