Function esp_idf_hal::sys::esp_mqtt_client_init

source ยท
pub unsafe extern "C" fn esp_mqtt_client_init(
    config: *const esp_mqtt_client_config_t,
) -> *mut esp_mqtt_client
Expand description

@brief Creates MQTT client handle based on the configuration

@param config MQTT configuration structure

@return mqtt_client_handle if successfully created, NULL on error