Function esp_idf_sys::esp_mqtt_client_reconnect

source ยท
pub unsafe extern "C" fn esp_mqtt_client_reconnect(
    client: esp_mqtt_client_handle_t,
) -> esp_err_t
Expand description

@brief This api is typically used to force reconnection upon a specific event

@param client MQTT client handle

@return ESP_OK on success ESP_ERR_INVALID_ARG on wrong initialization ESP_FAIL if client is in invalid state