openthread_sys

Function otThreadSetThreadVersionCheckEnabled

Source
pub unsafe extern "C" fn otThreadSetThreadVersionCheckEnabled(
    aInstance: *mut otInstance,
    aEnabled: bool,
)
Expand description

Sets whether the Security Policy TLV version-threshold for routing (VR field) is enabled.

@note This API requires OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE, and is only used by Thread Test Harness to indicate that thread protocol version check VR should be skipped.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled TRUE to enable Security Policy TLV version-threshold for routing, FALSE otherwise.