Configuring TCP Options - 2023.1 English

Standalone Library Documentation: BSP and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2023-05-16
Version
2023.1 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.