Closed
Description
Related area
Networking
Hardware specification
Proper H2 and P4 support
Is your feature request related to a problem?
Currently almost nothing about networking can operate without WiFi, so for chips like the ESP32-H2 and ESP32-P4 that do not have WiFi radios, almost nothing will compile, even if Ethernet is added.
Describe the solution you'd like
- Create a central
Network
class, that will keep track of interfaces, handle events and resolve domains (replacement for WiFiGeneric) - WiFiClient, WiFiServer and WiFiUdp to be moved to the above networking library, renamed and added defines to the old names for compatibility
- Update all other libraries to not reference
WiFi
anymore - Rewrite AP and STA interfaces by the Ethernet model (Create abstract class, based on
esp_netif
for common functionality) - Provide interface to the old WiFi API for compatibility
- Discuss possible deprecation of the old APIs/names
Describe alternatives you've considered
We could probably get around without rewriting, with just a bunch #ifdef
, but that will be ugly and still require WiFi
code on a chip without WiFi.
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
- I confirm I have checked existing list of Feature requests and Contribution Guide.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done