beautypg.com

1 usage of parameter

Page 250

background image

MC55_ATC_V04.00

Page 250 of 475

3/17/06

Confidential / Released

Number of data bytes already sent but not yet acknowledged at the TCP layer.

The value is constantly changing until the entire upload job has completed. If the value equals 0 all data sent so

far is acknowledged.

In binary mode,

includes the

value of the pending write operation. There-

fore, the very first write operation of an upload job returns identical values for

and

.

This mechanism allows the host application to easily verify whether or not the remote host has successfully

received the data.

Parameter is not applicable to HTTP, POP3, SMTP and Socket UDP client. For these services the counter is

always set to 0.

1

The service is ready to accept new user data.

2

Data transfer has been finished successfully and Internet service may be

closed without loss of data.

Notes

• The

AT^SISW

write command must be terminated only with the ASCII character set with

ATS3

. The factory

default for S3 is #13 (Carriage Return). Do not send any further characters after the S3 end-of-line identifier,

until the response "

^SISW

" is received. This is necessary to avoid that any characters related to the AT com-

mand can be interpreted as being part of the data stream to be transferred. Also refer Section

1.4

,

AT Com-

mand Syntax

.

• If the Socket service is configured for UDP and fixed size and the interactive text mode is active, the PDU

length always equals the specified fixed length. If the input characters exceed the specified fixed length, then

all surplus characters will be ignored. If the input characters are less than the specified fixed length, then the

remaining range will be filled with "\0" bytes.

10.8.1

Usage of parameter

(num)

(num)

Service type
Socket

After the service accepts the end-of-data flag the service state changes to "Closing". No fur-

ther user data is accepted.

After releasing the TCP link the service remains in state "Down".

FTP

Parameter only applicable for FTP upload session.

After accepting the end-of-data flag the service state changes to "Closing" and starts to end

the running FTP session.

No further user data is accepted.

After the FTP session is completed on FTP protocol level the service state switches to "Down".

In case of successful completion the URC "^SISW: x,2" is generated.

SMTP

SMTP service sends some "closing" commands to the SMTP server which are necessary to

mark the email as successfully sent on the server. The service enters "Closing" state and

remains in it until the final protocol exchange with the SMTP server has been completed.

The "OK" response following

AT^SISW

indicates that the SMTP service has accepted the last

data - IT DOES NOT indicate the successful completion of the SMTP service.

Successful completion will be indicated either by the appropriate URC "^SISW:x,2" or due to

the fact that the SMTP service state changes to "Down" state without any error.

HTTP / POP3 Parameter not applicable, i.e. value is ignored.