Skip to content

IPv6 readiness and support "by default" #6242

Closed
@nuclearcat

Description

@nuclearcat

Related area

tcp/ip stack

Hardware specification

any

Is your feature request related to a problem?

IPv6 support for IoT

Describe the solution you'd like

I want to create issue where i can track esp32 ipv6 readiness, ask questions regarding code and propose patches.
First question i have:
libraries/WiFi/src/WiFiGeneric.cpp
function
esp_err_t WiFiGenericClass::_eventCallback(arduino_event_t *event)
event ARDUINO_EVENT_WIFI_STA_CONNECTED
any particular reason why this line commented?
esp_netif_create_ip6_linklocal(esp_netifs[ESP_IF_WIFI_STA]);
Having it uncommented brings at least local IPv6 support.

I think if it might bring compatibility issues, i can send PR that will add some flag in wifi struct, which user can set to enable ipv6.
For user it will look something like:

  Serial.begin(115200);
+ WiFi.IPV6(true);
  WiFi.mode(WIFI_STA);
  WiFi.begin(ssid, password);

Describe alternatives you've considered

No response

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: BT&WifiBT & Wifi related issuesStatus: SolvedThe issue has been resolved and requires no further action.Type: Feature requestFeature request for Arduino ESP32

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions