Rxcount, Txcount, Socketstate – Siemens Brodersen MC55 AT User Manual

Page 241: Locaddr, Remaddr

Advertising
background image

MC55_ATC_V04.00

Page 241 of 475

3/17/06

Confidential / Released

4

Up

The service performs its purpose. The data transfer process is the major func-

tion at this state.

FTP: Data channel is up.

SMTP: The SMTP service will not enter

<srvState>

=4 until the host has writ-

ten the first data packet with

AT^SISW

.

5

Closing

Internet Service is closing the network connection.

FTP: Command channel is released.

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.

Additional note for Socket: The Socket service enters

<srvState>

=6 after

<unackData>

counter has reached 0.

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.

Number of bytes received via

AT^SISR

since last successful

AT^SISO

write command.

Number of bytes sent via

AT^SISW

since last successful

AT^SISO

write command.

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

"192.60.10.10:80".

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

Note

• 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

.

<socketState>

(num)

<rxCount>

(num)

<txCount>

(num)

<locAddr>

(str)

<remAddr>

(str)

Advertising