Function esp_idf_svc::sys::esp_mqtt_client_stop
source ยท pub unsafe extern "C" fn esp_mqtt_client_stop(
client: *mut esp_mqtt_client,
) -> i32
Expand description
@brief Stops MQTT client tasks
- Notes:
- Cannot be called from the MQTT event handler
@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