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

Set the vendor app URL string.

Requires OPENTHREAD_CONFIG_NET_DIAG_VENDOR_INFO_SET_API_ENABLE.

@p aVendorAppUrl should be UTF8 with max length of 64 chars (MAX_VENDOR_APPL_URL_TLV_LENGTH). Maximum length does not include the null \0 character.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aVendorAppUrl The vendor app URL string.

@retval OT_ERROR_NONE Successfully set the vendor app URL string. @retval OT_ERROR_INVALID_ARGS @p aVendorAppUrl is not valid (too long or not UTF8).