Skip to content

PlatformIO cannot find Ethernet.h #3029

@GeorgeFlorian

Description

@GeorgeFlorian

OS: Linux Mint 19.1
Board: Olimex ESP32-EVB

Hello !

I am trying to implement an Ethernet connection instead of an WiFi connection.

The problem is that PlatformIO can't even find Ethernet.h.

This is how I start a WiFi connection in STA Mode right now:

       if(!WiFi.config(local_IP_STA, gateway_STA, subnet_STA, local_IP_STA, primaryDNS)) {
         logOutput((String)"Couldn't configure STATIC IP ! Starting DHCP IP !");
       }
       delay(50);
       WiFi.begin(x[0].c_str(),x[1].c_str());

What is the equivalent for the above code when using Ethernet ?

Also, can Ethernet be used in AP Mode ?

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions