idf mqtt ssl

This commit is contained in:
2025-03-24 00:35:01 -04:00
parent a1fdd074f8
commit 8067762ab0

View File

@@ -121,7 +121,7 @@ static void mqtt_app_start(void)
ESP_LOGI(TAG, "[APP] Free memory: %" PRIu32 " bytes", esp_get_free_heap_size());
esp_mqtt_client_handle_t client = esp_mqtt_client_init(&mqtt_cfg);
/* The last argument may be used to pass data to the event handler, in this example mqtt_event_handler */
/* The last argument may be used to pass data to the event handler mqtt_event_handler */
esp_mqtt_client_register_event(client, ESP_EVENT_ANY_ID, mqtt_event_handler, NULL);
esp_mqtt_client_start(client);
}