Function esp_idf_sys::esp_mqtt_client_disconnect

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

@brief This api is typically used to force disconnection from the broker

@param client MQTT client handle

@return ESP_OK on success ESP_ERR_INVALID_ARG on wrong initialization