espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.26k stars 7.34k forks source link

implementing arduino client interface #7917

Open narangmayank opened 1 year ago

narangmayank commented 1 year ago

Board

ESP32

Device Description

Development Board

Hardware Configuration

None

Version

latest development Release Candidate (RC-X)

IDE Name

Arduino IDE

Operating System

Windows

Flash frequency

40 MHz

PSRAM enabled

yes

Upload speed

115200

Description

can we make the arduino-esp32 core based on arduino client interface so that the core functionality can work on any standard arduino client interface.

for eg,

In HTTPUpdate Library we can do something like this,

t_httpUpdate_return update(Client& client, const String& url, const String& currentVersion = "");

Basically, I was doing HTTP OTA via GSM and then I get to know that it works only on WiFiClient interface, that does make sense because ESP32 inside is a WiFi Soc but what if we can make it out to generic so that any network interface will work.

any thoughts?

Sketch

nothing here

Debug Message

nothing here

Other Steps to Reproduce

nothing here

I have checked existing issues, online documentation and the Troubleshooting Guide

me-no-dev commented 1 year ago

This would be doable, if Client has all necessary methods. It is a good proposal and worth looking into.

narangmayank commented 1 year ago

I’m glad you liked it.

Seems like you added this to Arduino ESP32 Core Project Roadmap, but I couldn't find it.

me-no-dev commented 1 year ago

In the project roadmap you need to select 3.0.0 Release and it would be at the bottom of the ToDo column

VojtechBartoska commented 6 months ago

Postponing this to 3.1.0 Milestone.