Function esp_idf_sys::esp_mqtt_client_set_uri
source ยท pub unsafe extern "C" fn esp_mqtt_client_set_uri(
client: esp_mqtt_client_handle_t,
uri: *const c_char,
) -> esp_err_t
Expand description
@brief Sets MQTT connection URI. This API is usually used to overrides the URI configured in esp_mqtt_client_init
@param client MQTT client handle @param uri
@return ESP_FAIL if URI parse error, ESP_OK on success