
SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
18 Internet protocol transport layer
Page 185 of 307
Type
Syntax
Response
Example
OK
Test
AT+USOGO=?
+USOGO: (list of supported
<socket>s),(list of supported
<level>s)
OK
+USOGO: (0-6),(0,6,65535)
OK
18.6.3 Defined values
Parameter
Type
Description
<socket>
Number
Socket identifier. The range goes from 0 to 6.
<level>
Number
•
0: IP Protocol
<opt_name> for IP protocol level may be:
o
1: type of service
<opt_val>: 8 bit mask that represents the flags of IP TOS. For more
information see the RFC 791 [
]. The range is 0-255. The default value is 0
o
2: time-to-live
<opt_val>: unsigned 8 bit value representing the TTL. The range is 0-255. The
default value is 0.
•
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 idle for <opt_val> milliseconds
<opt_val>: signed 32 bit number value representing the milliseconds for
"keepidle" option. The range 0-2147483647. The default value is 7200000 (2
hours)
•
65535: socket
<opt_name> for the 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 the "keep connections alive"
option:
-
0 (default value): disabled
-
1: enabled
o
32: sending of broadcast messages
<opt_val>: numeric parameter, it configures the "sending of broadcast
messages":
-
1: enabled
-
0 (default value): disabled
o
128: linger on close if data present
<opt_val>: numeric parameter, it sets on/off the "linger" option.
-
0 (default value): disabled
-
1: enabled
<opt_val2>: signed 16 bit numeric value, 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 enables/disables "local address and port re-
use":
-
0 (default value): disabled
-
1: enabled
18.6.4 Notes
SARA-R4 / SARA-N4
• The setting <level>= 6 (TCP protocol) and <opt_name>= 2 (keepidle option) is not supported.