Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[beken-72xx] Add IPv6 and lwIP 2.2.0 support #292

Merged
merged 7 commits into from
Sep 5, 2024

Conversation

dwmw2
Copy link
Contributor

@dwmw2 dwmw2 commented Sep 2, 2024

Once libretiny-eu/lwip#2 is merged to a new 2.2.0-bdk branch, that should be added to platform.json too.

dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 2, 2024
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 4, 2024
The only reason we had to do this is because we forgot to define LWIP_IPV4,
which is fixed in our LwIP port now, but keep it around for !CONFIG_IPV6
for now for builds against older LwIP.
@dwmw2 dwmw2 force-pushed the ipv6 branch 2 times, most recently from d103da2 to 2870331 Compare September 4, 2024 18:46
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292 which will have a version of at least 1.6.1.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.6.1 in order to enable IPv6.

It also bumps the required AsyncTCP version to 2.1.4, which will include
esphome/AsyncTCP#14

Closes esphome/feature-requests#2853
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292 which will have a version of at least 1.6.1.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.6.1 in order to enable IPv6.

Closes esphome/feature-requests#2853
Add an allLocalIPv6() method to return a *vector* of addresses, rather
than just one. It's not clear where the enableIpV6() and localIPv6()
methods came from; they don't seem to be part of the standard Arduino
class.

Eventually at least for ESPHome, I'd like to stop using these classes
and just let the ESPHome wifi component talk directly to LwIP. Or maybe
LibreTiny should offer an API compatible with the esp-idf one which is
a light wrapper around LwIP.

But short of a major refactor, this seems like a reasonable option.
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 5, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.7.0 in order to enable IPv6.

Closes esphome/feature-requests#2853
@kuba2k2 kuba2k2 changed the title Add IPv6 and LwIP 2.2.0 support [beken-72xx] Add IPv6 and lwIP 2.2.0 support Sep 5, 2024
external-libs.json Show resolved Hide resolved
cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp Outdated Show resolved Hide resolved
cores/beken-72xx/arduino/libraries/WiFi/WiFiSTA.cpp Outdated Show resolved Hide resolved
@kuba2k2 kuba2k2 merged commit 17043f6 into libretiny-eu:master Sep 5, 2024
2 checks passed
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 6, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.7.0 in order to enable IPv6.

Closes esphome/feature-requests#2853
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 6, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.7.0 in order to enable IPv6.

Closes esphome/feature-requests#2853
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 9, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.7.0 in order to enable IPv6.

Closes esphome/feature-requests#2853
dwmw2 added a commit to dwmw2/esphome that referenced this pull request Sep 10, 2024
This depends on a soon-to-be-released version of LibreTiny containing
libretiny-eu/libretiny#292.

Previous ESPHome PRs (esphome#7408, esphome#7409, esphome#7410) make it possible to require
at least LibreTiny version 1.7.0 in order to enable IPv6.

Closes esphome/feature-requests#2853
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants