Function esp_idf_hal::sys::esp_mqtt_client_set_uri
source ยท pub unsafe extern "C" fn esp_mqtt_client_set_uri(
client: *mut esp_mqtt_client,
uri: *const i8,
) -> i32
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