Skip to content
Commit c563736b authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: coap: Randomize initial ACK timeout



Add Kconfig option to randomize the initial ACK timeout, as specified in
RFC 7252. The option is enabled by default.

Additionally, finetune the default value of COAP_INIT_ACK_TIMEOUT_MS
option, to match the default ACK_TIMEOUT value specified by the RFC
7252. The RFC does not specify the minimum/maximum value of the
ACK_TIMEOUT parameter, but only suggests it should be no lower than 1
second, so adjust the option range to reflect this.

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