openthread_sys

Function otThreadGetLeaderData

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

Get the Thread Leader Data.

@param[in] aInstance A pointer to an OpenThread instance. @param[out] aLeaderData A pointer to where the leader data is placed.

@retval OT_ERROR_NONE Successfully retrieved the leader data. @retval OT_ERROR_DETACHED Not currently attached.