[][src]Function openthread_sys::otJoinerStart

pub unsafe extern "C" fn otJoinerStart(
    aInstance: *mut otInstance,
    aPskd: *const c_char,
    aProvisioningUrl: *const c_char,
    aVendorName: *const c_char,
    aVendorModel: *const c_char,
    aVendorSwVersion: *const c_char,
    aVendorData: *const c_char,
    aCallback: otJoinerCallback,
    aContext: *mut c_void
) -> otError

This function enables the Thread Joiner role.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aPskd A pointer to the PSKd. @param[in] aProvisioningUrl A pointer to the Provisioning URL (may be NULL). @param[in] aVendorName A pointer to the Vendor Name (may be NULL). @param[in] aVendorModel A pointer to the Vendor Model (may be NULL). @param[in] aVendorSwVersion A pointer to the Vendor SW Version (may be NULL). @param[in] aVendorData A pointer to the Vendor Data (may be NULL). @param[in] aCallback A pointer to a function that is called when the join operation completes. @param[in] aContext A pointer to application-specific context.

@retval OT_ERROR_NONE Successfully started the Commissioner role. @retval OT_ERROR_INVALID_ARGS @p aPskd or @p aProvisioningUrl is invalid.