openthread_sys

Function otThreadSetKeySwitchGuardTime

Source
pub unsafe extern "C" fn otThreadSetKeySwitchGuardTime(
    aInstance: *mut otInstance,
    aKeySwitchGuardTime: u16,
)
Expand description

Sets the thrKeySwitchGuardTime (in hours).

@note This API is reserved for testing and demo purposes only. Changing settings with this API will render a production application non-compliant with the Thread Specification.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aKeySwitchGuardTime The thrKeySwitchGuardTime value (in hours).

@sa otThreadGetKeySwitchGuardTime