Cinterion
®
ENS22-E AT Command Set
7.6 AT^SISO
ENS22-E_ATC_V01.000
19/02/11
Page 109 of 189
- the IP connection has been closed because of an error (see note below on
service or network errors).
If a service in this state be sure to close it with
before reopening it.
Socket state identifier.
1
Socket not assigned, i.e. no UDP connection active.
2
Socket assigned as CLIENT.
3
Socket assigned as UDP Endpoint.
Number of bytes received via
since last successful
write command.
or
write command.
Recently used local IPv4 address in dotted-four-byte format and TCP port separated by colon, e.g.
"192.60.10.10:80", or recently used local IPv6 address in colon format enclosed in square brackets, e.g.
"[FE80::2]" and TCP port separated by colon, e.g. "[FE80::2]:80".
Remote IPv4 address in dotted-four-byte format and TCP port, separated by colon, e.g. "192.60.10.10:80", or
remote IPv6 address in colon format enclosed in square brackets, e.g. "[FE80::2]") and TCP port separated by
colon, e.g. "[FE80::2]:80".
If the Socket service is configured as UDP Endpoint, a remote IP address cannot be assigned, and a default
value will be shown instead.
Notes
• If a service or network error occurs during an IP session and the "
" URC or the
command dis-
play an error message, the service enters
=6, i.e. the IP connection is closed. In this case, the
service still allows reading the data stored in the buffer, but writing data is denied. After reading, close the
service and open it again.
• As in polling mode no error URCs are available you are advised to integrate the commands
and
into the command sequences for upload and download jobs. So, the
command may be
to check that the service has entered the
,
. This helps you to detect errors even though the "
" URCs are disabled. A typical
example is that the service fails to be opened because the service profile contains a wrong destination
address. In such a case, after opening with
and OK response, the service quickly enters the states
=2, 4 and 6, with an error being returned no earlier than after sending the first
or
command. In URC mode, an error URC, such as "Host not found" would be received in this situa-
tion, but in polling mode the only way to detect the state is using
or, alternatively,
<socketState>
(num)
<rxCount>
(num)
<txCount>
(num)
<locAddr>
(str)
<remAddr>
(str)