Configuring UDP 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 UDP protocol options. Default values work well unless application tuning is required.

Attribute Default Type Description
lwip_udp true Boolean Specify whether UDP is required.
udp_ttl 255 Integer UDP TTL value.
udp_tx_blocking FALSE Boolean When enabled, the application sends UDP packet blocks till the packet is transmitted.Useful for zero-copy UDP transmission use cases where the application might be using the same buffer to send information out for consecutive UDP packets. This option, when turned on, ensures that the application gets to use the TX buffer only after the buffer is used by the adapter and MAC.