User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
18Internet protocol transport layer
Page 203 of 308
Parameter Type Description
2: the socket is in SYN_SENT status
3: the socket is in SYN_RCVD status
4: the socket is in ESTABILISHED status
5: the socket is in FIN_WAIT_1 status
6: the socket is in FIN_WAIT_2 status
7: the sokcet is in CLOSE_WAIT status
8: the socket is in CLOSING status
9: the socket is in LAST_ACK status
10: the socket is in TIME_WAIT status
If <param_id>= 11, <param_val> can assume these values:
N: the total amount of outgoing unacknowledged data
<param_val2> Number This value is present only when <param_id> is 4. It represents the remote peer IP port.
For IP address format reference see the IP addressing.
18.23.4Notes
SARA-R4 / SARA-N4
<param_id>=4 and 11 are not supported.
SARA-R404M / SARA-R410M-01B / SARA-R410M-02B
<param_id>=2 and 3 are not supported.
18.24Configure Dormant Close Socket Behavior +USOCLCFG
+USOCLCFG
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes NVM No - +CME Error
18.24.1Description
Enables or disables the TCP socket Graceful Dormant Close feature. When enabled, if the RRC connection is
released and a TCP socket is closed with the +USOCL, the module will re-establish the RRC connection to close
the socket both locally and remotely. When this feature is disabled, the module will close the socket locally
without re-establishing the RRC connection. In this case the socket will remain open on the remote side until
it is closed.
18.24.2Syntax
Type Syntax Response Example
Set AT+USOCLCFG=<GDC_enable> OK AT+USOCLCFG=0
OK
Read AT+USOCLCFG? +USOCLCFG: <GDC_enable>
OK
+USOCLCFG: 0
OK
Test AT+USOCLCFG=? +USOCLCFG: (list of supported
<GDC_enable>s)
OK
+USOCLCFG: (0,1)
OK
18.24.3Defined values
Parameter Type Description
<GDC_enable> Number Status of TCP socket Graceful Dormant Close. Allowed values:
0: disabled
1 (factory-programmed value): enabled