Esp8266 LWIP Version 2

This Component implements the current Version 2 LWIP stack.

Note

Prior to :pull_request:`2793`, espconn_* functions were unsupported, but their current status is unclear. Please raise an issue if you require these and encounter problems.

TCP_MSS

Maximum TCP segment size. Default 1460.

LWIP_IPV6

default: 0 (disabled)

Set to enable IPv6 support.

LWIP_FEATURES

If anyone knows of an actual reference for this setting, link here please!

Looking at glue-lwip/arduino/lwipopts.h, setting LWIP_FEATURES=1 enables these LWIP flags:

  • IP_FORWARD

  • IP_REASSEMBLY

  • IP_FRAG

  • IP_NAPT (IPV4 only)

  • LWIP_AUTOIP

  • LWIP_DHCP_AUTOIP_COOP

  • LWIP_TCP_SACK_OUT

  • TCP_LISTEN_BACKLOG

  • SNTP_MAX_SERVERS = 3

Also DHCP discovery gets hooked.

References

Environment Variables

SoC support

  • esp8266

Submodule: lwip2