Define ANJAY_HOLDOFF_JITTER_RANDOM_FACTOR

Define Documentation

ANJAY_HOLDOFF_JITTER_RANDOM_FACTOR

Random factor applied to the Hold Off Time when scheduling a client initiated Bootstrap request.

Before each bootstrap attempt, the Hold Off Time is multiplied by a random value distributed in the range [1.0, this parameter] (the random value is generated only on the first attempt and is then used to compute subsequent Hold Off Times). This introduces jitter to prevent multiple clients from bootstrapping simultaneously.

The resulting delay is still capped at ANJAY_MAX_HOLDOFF_TIME.

If editing this file manually, 1.5 shall be replaced with a floating-point literal greater than or equal to 1.0. The default value defined in CMake build scripts is 1.5.