8 at^sisw internet service write data, Sisw, At^sisw – Siemens AC75 User Manual

Page 283: Comma, Last, Comm, Ontlen" > 0 then the, Command will be us, Command. if, Reqwritelength

Advertising
background image

AC75 AT Command Set

10.8 AT^SISW

s

AC75_ATC_V01.002

Page 283 of 569

10/30/06

Confidential / Released

10.8

AT^SISW Internet Service Write Data

The

AT^SISW

command triggers a write operation (upload) and queries the amount of data already sent, but not

acknowledged at the TCP layer. The write operation may be run in binary mode, or in interactive text mode.

The

AT^SISW

write command may return the following errors:

"+CME ERROR: operation failed"

if there is a problem on application, socket, PPP or GPRS/GSM level. The

AT^SISE

command and the "

^SIS

" URC offer additional error information.

"+CME ERROR: operation temporary not allowed"

e.g. if the service has not network resources allocated.

"+CME ERROR: operation not allowed"

e.g. if the service is not configured.

Syntax

Unsolicited Result Code

^SISW:

<srvProfileId>

,

<urcCauseId>

Data availability status of the Internet service configured with

AT^SISS

has changed. The URC is issued when

the service is ready to accept new user data.

The URC is disabled in polling mode. See

AT^SCFG

, parameter "Tcp/WithURCs",

<tcpWithUrc>

.

Parameter Description

<srvProfileId>

0 ... 9 specified with

AT^SISS

.

0...1500
Specifies the number of bytes to be sent with

AT^SISW

or, if set to 0, requests the amount of data already sent

with

AT^SISW

but not yet acknowledged:

• Parameter

<reqWriteLength>

may be 1...1500 bytes to specify the amount of data to be sent with

AT^SISW

.

• If parameter

<reqWriteLength>

equals 0,

AT^SISW

does not expect any data, but a normal query is per-

fomed. This allows the application to explictly request, in particular at the end of an upload job, the amount of

unacknowledged data at the TCP layer indicated by

<unackData>

.

• In interactive text mode,

<reqWriteLength>

must be set to any value greater than 0 (but not necessarily

the precise number of bytes). If set to 0 in interactive text mode,

<reqWriteLength>

would be interpreted

as query for unacknowledged data and, thus, prevent data transfer.

Test Command

AT^SISW=?

Response(s)

OK

Write Command

AT^SISW=

<srvProfileId>

,

<reqWriteLength>

[,

<eodFlag>

[,

<mode>

[,

<optServParam>

]]]

Response(s)

^SISW:

<srvProfileId>

,

<cnfWriteLength>

,

<unackData>

Number of data bytes as specified by

<cnfWriteLength>

.

OK

ERROR

+CME ERROR:

<err>

PIN

ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge

4

Last

±

+

+

+

+

+

+

-

-

+

<srvProfileId>

(num)

<reqWriteLength>

(num)

Advertising