User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
19Internet protocol transport layer
Page 210 of 401
Parameter Type Description
<opt_val>: 8 bitmask that represents the flags of IP TOS. The range is 0-255
(the default value is 0). For more information, see the RFC 791 [24]
o 2: time-to-live (TTL)
<opt_val>: unsigned 8 bit value representing the TTL. The range is 0-255 (the
default value is 255)
6: TCP protocol
<opt_name> for TCP protocol level may be:
o 1: no delay option; do not delay send to coalesce packets;
<opt_val>: numeric parameter, it enables/disables the "no delay" option:
- 0 (default value): disabled
- 1: enabled
o 2: keepidle option: send keepidle probes when it is idle for <opt_val> milliseconds
<opt_val>: signed 32 bit numeric parameter representing the milliseconds for
"keepidle" option. The range is 0-2147483647. The default value is 7200000 (2
hours)
65535: socket
<opt_name> for socket level options may be:
o 4: local address re-use.
<opt_val>: numeric parameter, it configures the "local address re-use" option.
- 0 (default value): disabled
- 1: enabled
o 8: keep connections alive.
<opt_val>: numeric parameter, it configures "keep connections alive" option.
- 0 (default value): disabled
- 1: enabled
o 32: sending of broadcast messages.
<opt_val>: numeric parameter, it configures "sending of broadcast
messages".
- 0 (default value): disabled
- 1: enabled
o 128: linger on close if data present.
<opt_val>: numeric parameter, it configures the "linger" option.
- 0 (default value): disabled
- 1: enabled
<opt_val2>: signed 16 bit numeric parameter, it sets the linger time, the range
goes from 0 to 32767 in milliseconds. The default value is 0.
o 512: local address and port re-use.
<opt_val>: numeric parameter, it configures the "local address and port re-
use".
- 0 (default value): disabled
- 1: enabled
<opt_name> Number Type and supported content depend on the related <level> parameter value (details
are given above).
<opt_val> Number Type and supported content depend on the related <level> parameter value (details
are given above).
<opt_val2> Number Type and supported content depend on the related <level> parameter value (details
are given above).
19.5.4Notes
SARA-R4 / SARA-N4
<level>=6 (TCP protocol), <opt_name>=2 (keepidle option) is not supported.
<level>=65535 (socket), <opt_name>=32 (sending of broadcast messages) is not supported.
<level>=65535 (socket), <opt_name>=512 (local address and port re-use) is not supported.