• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32 DHT11/DHT22 Web Server – Temperature and Humidity using Arduino IDE

Q&A Forum › Category: ESP32 › ESP32 DHT11/DHT22 Web Server – Temperature and Humidity using Arduino IDE
0 Vote Up Vote Down
Janne asked 6 years ago

Hi.

Having trouble getting the program work.  The AsyncTCP.h file is not recognized by the compiler wherever I put it(Arduino libraries/Sketchbook libraries…)  Then  I also get these messages from compiler:

/Applications/arduino-1.8.5/Sketch/libraries/AsyncTCP/AsyncTCP.cpp:259:32: error: field 'call' has incomplete type 'tcpip_api_call_data'
struct tcpip_api_call_data call;

About 20 different errors. Is the file wrong version or corrupted or…?  Loaded it through the link on the project page.

Any ideas+  Thank You,

Janne

2 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello Janne, It looks like you’re using an outdated library and that’s why is not compiling. Can you ensure that you update all the libraries and the ESP32 board add-on?

  • Tools > Board > Boards Manager: ESP32 board add-on: core version 1.0.1
  • Sketch > Include Library > Manage libraries: AsyncTCP library version 1.0.3

Using the latest libraries will fix that error. More information here: https://github.com/espressif/arduino-esp32/issues/1887

Thanks for your patience!

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

According to Janne’s email:

“Hi Yes, that helped. Works now.
Thank You.
Janne”

So, I’ll mark this thread as “Resolved”.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.