openthread_sys

Function otThreadSearchForBetterParent

Source
pub unsafe extern "C" fn otThreadSearchForBetterParent(
    aInstance: *mut otInstance,
) -> otError
Expand description

Starts the process for child to search for a better parent while staying attached to its current parent.

Must be used when device is attached as a child.

@retval OT_ERROR_NONE Successfully started the process to search for a better parent. @retval OT_ERROR_INVALID_STATE Device role is not child.