-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Description
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
Labels
No labels