EasyManuals Logo

Telit Wireless Solutions ML865G1 At Commands Reference Guide

Telit Wireless Solutions ML865G1
545 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #392 background imageLoading...
Page #392 background image
ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 392 of 545 2020-04-15
3.13.20. AT#SLASTCLOSURE - Detect the Cause of a Socket Disconnection
The command detects the cause of a socket disconnection.
SIM Presence
Setting saved
Can be aborted
MAX timeout
SELINT
Required
No
No
-
2
AT#SLASTCLOSURE=<connId>
Execution command reports the socket disconnection cause.
Parameter:
Name
Type
Default
Description
<connId>
integer
N/A
socket connection identifier
Value:
1÷conMax
:
socket connection identifier. conMax value is returned by test
command
Additional info:
The execution command reports the disconnection cause of the selected socket. The
format of the returned message is:
#SLASTCLOSURE: <connId>,<cause>
Name
Type
Default
Description
<cause>
hex
0
socket
disconnection
cause.
Values:
0
:
not available (socket has not yet been closed)
1
:
remote host TCP connection close due to FIN/END: normal
remote disconnection decided by the remote application
2
:
remote host TCP connection close due to RST, all other cases in
which the socket is aborted without indication from peer (for
instance because peer doesn't send ack after maximum number
of retransmissions/peer is no more alive). All these cases include
all the "FATAL" errors after recv or send on the TCP socket
(named as different from EWOULDBLOCK)
3
:
socket inactivity timeout
4
:
network deactivation (PDP context deactivation from network)
Any time socket is re-opened, last disconnection cause is reset. Command report 0 (not
available).
User closure cause (#SH) is not considered and if a user closure is performed after
remote disconnection, remote disconnection cause remains saved and is not overwritten.

Table of Contents

Other manuals for Telit Wireless Solutions ML865G1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions ML865G1 and is the answer not in the manual?

Telit Wireless Solutions ML865G1 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelML865G1
CategoryWireless modules
LanguageEnglish

Related product manuals