![Ublox SARA-R4 Series Command Manual Download Page 183](http://html2.mh-extra.com/html/ublox/sara-r4-series/sara-r4-series_command-manual_3309881183.webp)
SARA-R4/N4 series - AT Commands Manual
UBX-17003787 - R09
18 Internet protocol transport layer
Page 183 of 307
Type
Syntax
Response
Example
OK
18.4.3 Defined values
Parameter
Type
Description
<socket>
Number
Socket identifier defined by the
command. The range goes from 0 to 6.
<ssl_tls_status>
Number
•
0 (default value): disable the SSL/TLS on the socket.
•
1: enable the SSL/TLS on the socket; a USECMNG profile can be specified with the
<usecmng_profile_id> parameter.
<usecmng_profile_
id>
Number
Defines the USECMNG profile which specifies the SSL/TLS properties to be used
for the SSL/TLS connection. The range goes from 0 to 4. If no profile is set a default
USECMNG profile is used (see
18.5 Set socket USOSO
+USOSO
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
full
No
No
No
-
18.5.1 Description
Sets the specified standard option (type of service, local address re-use, linger time, time-to-live, etc.) for the
specified socket, like the BSD setsockopt routine.
Issue a set command to set each parameter.
18.5.2 Syntax
Type
Syntax
Response
Example
Set
AT+USOSO=<socket>,<level>,<opt_
name>,<opt_val>[,<opt_val2>]
OK
AT+USOSO=2,6,1,1
OK
Test
AT+USOSO=?
+USOSO: (list of supported
<socket>s),(list of supported
<level>s)
OK
+USOSO: (0-6),(0,6,65535)
OK
18.5.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 (TOS)
<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 [
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