Skip to content

Enable DHCP Server for ethernet also in Arduino core #6092

@smuellener

Description

@smuellener

Related area

Ethernet

Hardware specification

ESP32 generally

Is your feature request related to a problem?

According to espressif/esp-idf#4086 DHCP server support for the ethernet interface is possible and available in esp-idf.

The arduino core version >= 2.0.0 now uses esp-idf with an up to date version and the newer esp-netif component. Would it be possible to set up ethernet (e.g. using a LAN8720 phy) to be a DHCP server on the arduino core as well? As I understand, DHCP server functionality is already available for softAP and the Wifi interface also for the arduino core.

Describe the solution you'd like

ETHClass (libraries\WiFi\src\ETH.h) could offer a enableDhcpServer() method for instance

Describe alternatives you've considered

If ETHClass should be as much as possible Arduino compatible and therefore not offer additional functionality, how could DHCPServer on Ethernet be activated else when using the ESP with Arduino Core?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions