Search found 9 matches

by Melbourne
Sat Apr 22, 2023 4:53 am
Forum: ESP-IDF
Topic: Change ethernet IP address?
Replies: 1
Views: 1295

Change ethernet IP address?

I am trying to change (not 'set') the IP address on the ethernet connection, like this: esp_err_t dnet_set_addr(char *str) { esp_netif_ip_info_t eth_info = {0}; if (dnet_str2ip4(ð_info.ip, str)) { return esp_netif_set_ip_info(eth_get_netif(), ð_info); } else { return -1; }; } because this: htt...
by Melbourne
Tue Jul 19, 2022 7:28 am
Forum: ESP-IDF
Topic: Developing with ESP-IDF under WSL2
Replies: 3
Views: 15834

Re: Developing with ESP-IDF under WSL2

Note: WSL2 also is unable to connect to PCI cards (pcie, pci-x and pci express). Including serial-port cards. The solution is the same: install a network serial port virtualization program on client and host.
by Melbourne
Sun Jul 17, 2022 11:00 am
Forum: ESP-IDF
Topic: "ESP_DHCP_DEBUG" is undeclared", problem building with docker container esp-idf 4.1.3
Replies: 0
Views: 950

"ESP_DHCP_DEBUG" is undeclared", problem building with docker container esp-idf 4.1.3

Using "docker pull espressif/idf:v4.1.3", when I try to build I get a series of errors "ESP_DHCP_DEBUG" is undeclared for example: /opt/esp/idf/components/lwip/lwip/src/core/ipv4/dhcp.c:292:15: error: 'ESP_DHCP_DEBUG' undeclared (first use in this function); did you mean 'DHCP_DEBUG'? Have I done so...
by Melbourne
Mon Jun 13, 2022 3:42 am
Forum: ESP-IDF
Topic: Is 'rollup' a part of the standard tools and build environment?
Replies: 1
Views: 1417

Is 'rollup' a part of the standard tools and build environment?

I'm trying to use expressif idf v4.1.2 to build a project I've inherited, like this: docker run --rm -v f:\projects\myproject\firmware :/firmware -w /firmware -it espressif/idf:v4.1.2 That command finds the espressif idf container tagged v4.1.2 and creates an image linked to my firmware folder. When...
by Melbourne
Fri May 27, 2022 4:49 am
Forum: ESP-IDF
Topic: Build with AutoIP not working as expected (at all)
Replies: 3
Views: 2860

Re: Build with AutoIP not working as expected (at all)

I've avoided the problem by changing the GARP interval from 60 seconds to 14 seconds, thus eliminating the requirement in my network to send ARP requests. Win10/Server 2016 uses the (IPv6) neighborhood table rather than an ARP cache. Network traffic suggests that Windows is setting the table entry t...
by Melbourne
Fri May 27, 2022 3:47 am
Forum: ESP-IDF
Topic: Build with AutoIP not working as expected (at all)
Replies: 3
Views: 2860

Re: Build with AutoIP not working as expected (at all)

https://github.com/espressif/arduino-esp32/issues/2396 https://github.com/esp8266/Arduino/issues/6886 https://www.esp32.com/viewtopic.php?t=15443 Note that it's not clear what kind of problem this is. Is it an ARP problem? An AutoIP problem? A problem with the multi-homed stack? Or has the stack cra...
by Melbourne
Wed May 25, 2022 1:08 am
Forum: ESP-IDF
Topic: Build with AutoIP not working as expected (at all)
Replies: 3
Views: 2860

Build with AutoIP not working as expected (at all)

I included AutoIP, (IPV4 link-local, Automatic Private IP Addressing) in the build I've inherited, and it's not working as expected. Wireshark shows ARP probe then Gratuitous ARP, as expected, and the GARP is repeated periodically, as expected, but the device does not respond to ARP for the advertis...
by Melbourne
Tue May 24, 2022 2:36 am
Forum: ESP-IDF
Topic: IPV4 link-local, Automatic Private IP Addressing (169.254.x.x)
Replies: 2
Views: 2419

IPV4 link-local, Automatic Private IP Addressing (169.254.x.x)

Does the Espressif network stack support IPV4 link-local addressing? If so, how do you configure/enable it?

I've just inherited a IDF project. I see that lwip has autoip.h, but I've no idea how to include that in the IDF project, or if it is necessary or possible.