openthread_sys

Function otCommissionerSetProvisioningUrl

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

Sets the Provisioning URL.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aProvisioningUrl A pointer to the Provisioning URL (may be NULL to set as empty string).

@retval OT_ERROR_NONE Successfully set the Provisioning URL. @retval OT_ERROR_INVALID_ARGS @p aProvisioningUrl is invalid (too long).