Configuring TCP Options - 2020.2 English

OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2020-11-24
Version
2020.2 English

The following table describes the TCP protocol options. Default values work well unless application tuning is required.

Attribute Default Type Description
lwip_tcp true Boolean Require TCP.
tcp_ttl 255 Integer TCP TTL value.
tcp_wnd 2048 Integer TCP Window size in bytes.
tcp_maxrtx 12 Integer TCP Maximum retransmission value.
tcp_synmaxrtx 4 Integer TCP Maximum SYN retransmission value.
tcp_queue_ooseq 1 Integer Accept TCP queue segments out of order. Set to 0 if your device is low on memory.
tcp_mss 1460 Integer TCP Maximum segment size.
tcp_snd_buf 8192 Integer TCP sender buffer space in bytes.