openthread_sys

Function otRandomNonCryptoAddJitter

Source
pub unsafe extern "C" fn otRandomNonCryptoAddJitter(
    aValue: u32,
    aJitter: u16,
) -> u32
Expand description

Adds a random jitter within a given range to a given value.

@param[in] aValue A value to which the random jitter is added. @param[in] aJitter Maximum jitter. Random jitter is selected from the range [-aJitter, aJitter].

@returns The given value with an added random jitter.