-
CONFIG_COAP_RANDOMIZE_ACK_TIMEOUT
¶
Randomize initial ACK timeout, as specified in RFC 7252
Type: bool
Help¶
If enabled, the initial ACK timeout will be randomized, as specified in RFC 7252, i.e. will be a random number between ACK_TIMEOUT and ACK_TIMEOUT * ACK_RANDOM_FACTOR (where ACK_TIMEOUT is specified by COAP_INIT_ACK_TIMEOUT_MS option). Otherwise, the initial ACK timeout will be fixed to the value of COAP_INIT_ACK_TIMEOUT_MS option.
Default¶
y
Kconfig definition¶
At <Zephyr>/subsys/net/lib/coap/Kconfig:62
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:37
→ <Zephyr>/subsys/net/Kconfig:89
→ <Zephyr>/subsys/net/lib/Kconfig:6
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → CoAP Support
config COAP_RANDOMIZE_ACK_TIMEOUT bool "Randomize initial ACK timeout, as specified in RFC 7252" default y depends onCOAP
&&NETWORKING
help If enabled, the initial ACK timeout will be randomized, as specified in RFC 7252, i.e. will be a random number between ACK_TIMEOUT and ACK_TIMEOUT * ACK_RANDOM_FACTOR (where ACK_TIMEOUT is specified by COAP_INIT_ACK_TIMEOUT_MS option). Otherwise, the initial ACK timeout will be fixed to the value of COAP_INIT_ACK_TIMEOUT_MS option.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)