feat(mqtt): add dual-stack IPv4/IPv6 support to MQTT bridge#25
Merged
Conversation
agessaman
added a commit
that referenced
this pull request
Jul 11, 2026
Reverts merge ae04539 (feat/flex-ipv6, PR #25). Enabling IPv6 joins the device into IPv6 multicast/ND processing; on multicast-heavy LANs (e.g. with a Thread/Matter border router advertising a ULA prefix) inbound bursts land in dynamic WiFi RX buffers in internal heap. Measured on a Station G2 with 4 WSS brokers: min-free floor dropped 36 KB -> 18 KB, largest free block pinned below the 16 KB publish threshold for minutes at a time, 523 dropped publishes in 15 minutes. With IPv6 disabled the floor and max-alloc recovered and publish skips stopped. The feature only fed the wifi.status display line — no transport uses IPv6 (all brokers connect over IPv4), so the fleet risk (network- dependent degradation on unknown home LANs) buys nothing. Revisit after the Arduino core 3.x / IDF 5.x move if IPv6 transport is ever needed; the branch remains at feat/flex-ipv6. Kept from the merge: the wifi.status uptime append now computes the actual remaining space in the 160-byte reply buffer instead of assuming a hardcoded 128, fixing a latent overflow of the snprintf bound.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.