[][src]Function libcoap_sys::coap_session_set_ack_random_factor

pub unsafe extern "C" fn coap_session_set_ack_random_factor(
    session: *mut coap_session_t,
    value: coap_fixed_point_t
)

Set the CoAP ack randomize factor

A factor that is used to randomize the wait time before a message is retransmitted to prevent synchronization effects.

@param session The CoAP session. @param value The value to set to. The default is 1.5 and should not normally get changed.