Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP32 MQTT Client - Where is AsyncTCP.h Coming From? (Read 1454 times)
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2710
Joined: Feb 13th, 2019
ESP32 MQTT Client - Where is AsyncTCP.h Coming From?
Oct 31st, 2022 at 3:11pm
Print Post  
I am looking for memory and I see that, when I include this library

https://github.com/bertmelis/espMqttClient

I need to #include <AsyncTCP.h> when compiling. I looked everywhere and I can’t find where it is include starting form #include <espMqttClient.h>

I am using this example https://github.com/bertmelis/espMqttClient/blob/main/examples/tls-esp32/tls-esp3...

This is a sync example and it seems I need to include async too…
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2710
Joined: Feb 13th, 2019
Re: ESP32 MQTT Client - Where is AsyncTCP.h Coming From?
Reply #1 - Oct 31st, 2022 at 3:17pm
Print Post  
Reviewing the example and looking at the results from the Deep Search phase, the AsyncTCP.h is being included from the espMqttClient-main\src\Transport/ClientAsync.h file.

The ClientAsync.h file is being included from espMqttClient-main\src\espMqttClientAsync.h.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint