-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for ESP32 3.x NetworkClient, Client interface #180
base: master
Are you sure you want to change the base?
Conversation
Memory usage change @ 770bc04
Click for full report table
Click for full report CSV
|
Thankx per1234! That was quick. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pull request @brentru!
I thought I should add a note that a proposal has now been submitted to revert the breaking change in the esp32 platform's Client
API: espressif/arduino-esp32#10776
If accepted, that would render this pull request superfluous, with the exception of providing compatibility with esp32 platform version 3.1.0 specifically.
Yup, let's close this in favor of the platform |
@facchinm @andreagilardoni Hi - this pull request allows this library to be used with the ESP32 board support package 3.x (Arduino ESP32 v3.0 based on ESP-IDF v5.1)by adding two extra
connect()
definitions into this library'sHTTPClient.h
to match the updatedClient
-type interfaces within ESP32,NetworkClient
andNetworkSecureClient
.Since the bug only impacts devices running ESP32 on ESP-IDF 5.x or greater, I've provided a macro to detect the ESP-IDF version and a conditional inclusion guard around these two
virtual
connect()
header-only interfaces.The PR fixes the following compiler error (compiled with ESP Arduino 3.1.0 RC1):