Home
last modified time | relevance | path

Searched refs:attempt_max_backoff (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c282 uint32_t attempt_max_backoff; /* ms */ member
295 bo->attempt_max_backoff = BACKOFF_EXP_BASE_MS; in backoff_context_init()
308 *next_backoff_ms = sys_rand32_get() % (bo->attempt_max_backoff + 1u); in backoff_get_next()
311 bo->attempt_max_backoff = MIN(bo->attempt_max_backoff * 2u, bo->max_backoff); in backoff_get_next()