Search found 1 match

by ParnikaGupta
Mon Dec 28, 2020 10:02 am
Forum: General Discussion
Topic: Assign a static IP address to the the ethernet Port
Replies: 4
Views: 12760

Re: Assign a static IP address to the the ethernet Port

This is working.

Put the code below: eth_netif = esp_netif_new(&cfg); in the cmd_ethernet.c file register_ethernet() function.

ESP_ERROR_CHECK(esp_netif_dhcpc_stop(eth_netif));

char* ip= "*.*.*.*";
char* gateway = "*.*.*.1";
char* netmask = "255.255.255.0";
esp_netif_ip_info_t info_t ...

Go to advanced search