Search found 1 match
- Tue Dec 01, 2020 5:07 am
- Forum: ESP-IDF
- Topic: How to assign Ethernet Static IP address
- Replies: 6
- Views: 15776
How to assign Ethernet Static IP address
Hello, I am now using a board named ESP32-EVB and tried to build an Ethernet connection. I want to disable the DHCP and want to assign a static IP. I used the below program but I couldn't get an IP address. #include <string.h> #include "sdkconfig.h" #include "esp_event.h" #include "esp_wifi.h" #incl...