Chapter 2. API Reference
Speed up the TCP retransmission interval. If disabled, it is recommended to change the number of SYN
retransmissions to 6, and TCP initial rto time to 3000.
Default value:
• Yes (enabled)
CONFIG_LWIP_TCP_MAXRTX
Maximum number of retransmissions of data segments
Found in:
Component config
Set maximum number of retransmissions of data segments.
Range:
• from 3 to 12
Default value:
• 12
CONFIG_LWIP_TCP_SYNMAXRTX
Maximum number of retransmissions of SYN segments
Found in:
Component config
Set maximum number of retransmissions of SYN segments.
Range:
• from 3 to 12
Default value:
• 6
• 12
CONFIG_LWIP_TCP_MSS
Maximum Segment Size (MSS)
Found in:
Component config
Set maximum segment size for TCP transmission.
Can be set lower to save RAM, the default value 1460(ipv4)/1440(ipv6) will give best throughput. IPv4
TCP_MSS Range: 576 <= TCP_MSS <= 1460 IPv6 TCP_MSS Range: 1220<= TCP_mSS <= 1440
Range:
• from 536 to 1460
Default value:
• 1440
CONFIG_LWIP_TCP_TMR_INTERVAL
TCP timer interval(ms)
Found in:
Component config
Set TCP timer interval in milliseconds.
Can be used to speed connections on bad networks. A lower value will redeliver unacked packets faster.
Default value:
• 250
Espressif Systems
>
LWIP
>
TCP
>
LWIP
>
TCP
>
LWIP
>
TCP
>
LWIP
>
TCP
1170
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?