[][src]Function openthread_sys::otCommissionerGetState

pub unsafe extern "C" fn otCommissionerGetState(
    aInstance: *mut otInstance
) -> otCommissionerState

This function returns the Commissioner State.

@param[in] aInstance A pointer to an OpenThread instance.

@retval OT_COMMISSIONER_STATE_DISABLED Commissioner disabled. @retval OT_COMMISSIONER_STATE_PETITION Becoming the commissioner. @retval OT_COMMISSIONER_STATE_ACTIVE Commissioner enabled.