AC75 AT Command Set

10.5 AT^SISO

s

6

Down

 

This state is entered if

 

- the service has successfully finished its session (see note on Socket),

 

- the remote peer has reset the connection or

 

- the IP connection has been closed because of an error.

 

If a service in this state be sure to close it with AT^SISC before reopening it.

 

 

<socketState>(num)

 

Socket state identifier.

 

1

Socket not assigned, i.e. no TCP/UDP connection active.

2

Socket assigned as CLIENT.

3

Socket assigned as LISTENER.

4

Socket assigned as SERVER.

<rxCount>(num)

Number of bytes received via AT^SISR since last successful AT^SISO write command.

<txCount>(num)

Number of bytes sent via AT^SISW since last successful AT^SISO write command.

<locAddr>(str)

Recently used local IP address in dotted-four-byte format and TCP port, separated by colon, e.g. "192.60.10.10:80".

<remAddr>(str)

Remote IP address in dotted-four-byte format and TCP port, separated by colon, e.g. "192.60.10.10:80".

Notes

If the bearer cannot be established and AT^SISO returns an error there might be a general GSM/GPRS prob- lem. To identify the reason you can take advantage of the AT+CEER command. Using AT+CEER is especially recommended when the <infoID> parameter of the AT^SISE command equals 0.

As in polling mode no error URCs are available you are advised to integrate the commands AT^SISI and AT^SISE into the command sequences for upload and download jobs. So, the AT^SISO command may be followed by AT^SISI to check that the service has entered the <srvState>=4 before sending AT^SISR or AT^SISW. This helps you to detect errors even though the "^SIS" 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 AT^SISO and OK response, the service quickly enters the states <srvState>=2, 4 and 6, with an error being returned no earlier than after sending the first AT^SISR or AT^SISW command. In URC mode, an error URC, such as "Host not found" would be received in this situation, but in polling mode the only way to detect the state is using AT^SISI or, alternatively, AT^SISO.

If the user rapidly closes and opens TCP/IP connections based on the embedded TCP/IP stack the service may display the error "No buffer space available", meaning that all TCP/IP socket resources are exhausted. In the worst case, opening further TCP/IP connections is locked for up to 60 seconds.

The Socket Listener may not work properly if the service is re-opened shortly after having closed the Socket Listener. To ensure that the service works correctly the host is required to wait at least two minutes before re- opening a Listener.

AC75_ATC_V01.002

Page 276 of 569

10/30/06

Confidential / Released

 

 

Page 276
Image 276
Siemens AC75 manual SocketStatenum, LocAddrstr, RemAddrstr