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
Expand description

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 Joiner role. @retval OT_ERROR_BUSY The previous attempt is still on-going. @retval OT_ERROR_INVALID_ARGS @p aPskd or @p aProvisioningUrl is invalid. @retval OT_ERROR_INVALID_STATE The IPv6 stack is not enabled or Thread stack is fully enabled.