commit | d3081e2f30fd17a1e737db378d1b1e3cecf53fb2 | [log] [tgz] |
---|---|---|
author | Seppo Takalo <seppo.takalo@nordicsemi.no> | Mon Jun 03 13:22:13 2024 +0300 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Jun 05 14:43:14 2024 +0100 |
tree | 69b169a790749640dcd5a26d4a674762f82acdc9 | |
parent | 68096cedaec816f7bfa46604a59a419bf21d4880 [diff] |
net: lwm2m: On write, use server selected block size When we receive CoAP packets, it is in input buffer that is size of NET_IPV6_MTU. So in reality, we can handle bigger Block-Wise writes than CONFIG_LWM2M_COAP_BLOCK_SIZE. So if parsing of CoAP packet has passed, continue with the same block-size instead of going to default. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>