Siemens MC55 AT manual Atsisw Internet Service Write Data, Atsisw=?, Sisw srvProfileId, urcCauseId

Models: MC55 AT

1 475
Download 475 pages 54.64 Kb
Page 248
Image 248

10.8AT^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

Test Command

AT^SISW=?

Response(s)

OK

Write Command

AT^SISW=<srvProfileId>, <reqWriteLength>[, <eodFlag>[, <mode>]]

Response(s)

^SISW: <srvProfileId>, <cnfWriteLength>, <unackData> Number of data bytes as specified by <cnfWriteLength>.

OK ERROR

+CME ERROR: <err>

PIN ASC0 ASC1 MUX1 MUX2 MUX3 Charge  Last

§ % % % % % ! ! %

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>(num)

<srvProfileId> 0 ... 9 specified with AT^SISS.

<reqWriteLength>(num)

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.

MC55_ATC_V04.00

Page 248 of 475

3/17/06

Confidential / Released

 

 

Page 248
Image 248
Siemens MC55 AT manual Atsisw Internet Service Write Data, Atsisw=?, ATSISW=srvProfileId, reqWriteLength, eodFlag, mode