• 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 Client-Server Wi-Fi Communication Between Two Boards

Q&A Forum › Category: ESP32 › ESP32 Client-Server Wi-Fi Communication Between Two Boards
0 Vote Up Vote Down
David Barker asked 10 months ago

i have downloaded the code for
Arduino Sketch for #1 ESP32 Server  and it gave this error
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp: In function ‘bool getMD5(uint8_t*, uint16_t, char*)’:
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:74:3: error: ‘mbedtls_md5_starts_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_starts’?
74 | mbedtls_md5_starts_ret(&_ctx);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_starts
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:75:3: error: ‘mbedtls_md5_update_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_update’?
75 | mbedtls_md5_update_ret(&_ctx, data, len);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_update
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\WebAuthentication.cpp:76:3: error: ‘mbedtls_md5_finish_ret’ was not declared in this scope; did you mean ‘mbedtls_md5_finish’?
76 | mbedtls_md5_finish_ret(&_ctx, _buf);
| ^~~~~~~~~~~~~~~~~~~~~~
| mbedtls_md5_finish
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp: In member function ‘void AsyncEventSourceClient::_queueMessage(AsyncEventSourceMessage*)’:
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncEventSource.cpp:189:7: error: ‘ets_printf’ was not declared in this scope; did you mean ‘vswprintf’?
189 | ets_printf(“ERROR: Too many messages queued\n”);
| ^~~~~~~~~~
| vswprintf
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp: In member function ‘void AsyncWebSocketClient::_queueMessage(AsyncWebSocketMessage*)’:
c:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer\src\AsyncWebSocket.cpp:549:7: error: ‘ets_printf’ was not declared in this scope; did you mean ‘vswprintf’?
549 | ets_printf(“ERROR: Too many messages queued\n”);
| ^~~~~~~~~~
| vswprintf
Multiple libraries were found for “ESPAsyncWebServer.h”
Used: C:\Users\davan\Documents\Arduino\libraries\ESPAsyncWebServer
Not used: C:\Users\davan\Documents\Arduino\libraries\ESP_Async_WebServer
Multiple libraries were found for “AsyncTCP.h”
Used: C:\Users\davan\Documents\Arduino\libraries\AsyncTCP
Not used: C:\Users\davan\Documents\Arduino\libraries\Async_TCP
exit status 1
Compilation error: exit status 1

Question Tags: ESP32 Client-Server
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 10 months ago

Hi.
Please install the libraries as mentioned in the tutorial.
Make sure you have the Arduino IDE and the ESP32 boards installations updated to the latest version.
Regards,
Sara

0 Vote Up Vote Down
David Barker answered 10 months ago

hi Sara
thanks for your reply
i am using
arduino IDE 2.3.2 , ESPAsyncWebServer by lacamera and ESPAsyncTCP by dvarrel
the library me-no-dev/ESPAsyncWebServer suggested in your tutorial is not available on the arduino IDE
i Have shut the compuer down and restarted still with the same error. .is the nnew library not compatable ?
..regards David

0 Vote Up Vote Down
Sara Santos Staff answered 10 months ago

Install the ESPAsyncWebSer library as mentioned in the tutorial via download the zip file.
but first, uninstall any libraries you may have installed with the same name.
The libraries available on the Library Manager are not the same as the one on the link.
Regards.

0 Vote Up Vote Down
David Barker answered 10 months ago

hi Sara
yep that solved it
thanks again
regards david

0 Vote Up Vote Down
Sara Santos Staff answered 10 months ago

Great.
I’ll mark this issue as resolved now.
Regards,
Sara

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.