Skip to content
Commit 3902a990 authored by Robert Lubos's avatar Robert Lubos Committed by David Leach
Browse files

net: coap: Fix underlying type for block number



The block number in block1/2 options can be encoded on up to 20 bits
according to RFC 7959, therefore the underlying type used in helper
functions to retrieve the block number should be large enough to hold
the result. Therefore, replace the container for block number with
uint32_t instead of uint8_t.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 1fe1c961
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment