Closed dwmw2 closed 4 days ago
After defining a messy set of IPV6 (and IPV4) options in https://github.com/dwmw2/esphome/commit/1b7f655603f975bc2ec4c29dd9dc9ebc1d52dc4b I can almost get it to build.
In ~.platformio/platforms/libretiny/cores/beken-72xx/arduino/libraries/WiFi/WiFiGeneric.cpp
I had to fix WiFiClass::hostByName()
to return ip.u_addr.ip4.addr
to make it build, although that's clearly not correct if it isn't a Legacy IP address.
Now I'm down to struct ipv6_config
not existing, and I can't see an example of one of those anywhere else.
/home/dwmw/.platformio/packages/library-lwip/port/lwip_netif_address.h:41:21: error: field 'ipv6' has incomplete type 'ipv6_config [4]'
41 | struct ipv6_config ipv6[MAX_IPV6_ADDRESSES];
Describe the problem you have/What new integration you would like IPv6 support on BK72xx platform
Please describe your use case for this integration and alternatives you've tried: BK72xx only has Legacy IP support.
Additional context It was disabled in https://github.com/esphome/esphome/pull/6387 without any comment about why it didn't work, or links to upstream libretiny bugs to track.