IPV6 on ESP8266

Hi, I’m trying to get IPV6 working on ESP8266 - but unfortunately it seems that documentation is rather scarse. Has anyone gotten it working? I can get only IPv4 addressess - not even link-local IPv6 address works.

  • I have -DLWIP -D PIO_FRAMEWORK_ARDUINO_LWIP2_IPv6_LOW_MEMORY in platformio.ini
  • in main.cpp, I’m trying to find address like this:
    WiFi.begin(WIFI_SSID, WIFI_PASS);
     for (bool configured = false; !configured; ) {
                  for (auto iface: addrList) {
                      if ((configured = (   !iface.addr().isV4()
                                         && !iface.addr().isLocal())))

Any pointers? Maybe I’m missing something in the config?

Where deos this variable come from? What’s the complete code for reproduction?