Skip to content
Commit 6b936c03 authored by Efrain Calderon's avatar Efrain Calderon Committed by Carles Cufí
Browse files

net: coap: Update coap context using payload length



When a file is download, `ctc->current` is increaed by the block
size, which is correct for all the blocks except the last one.

 Once the download is compelted, ctx->current must match
`ctx->total_size`.

Signed-off-by: default avatarEfrain Calderon <efrain.calderon@aquarobur.com>
parent e87172f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment