![Siemens Brodersen MC55 Скачать руководство пользователя страница 248](http://html.mh-extra.com/html/siemens/brodersen-mc55/brodersen-mc55_command-manual_374181248.webp)
MC55_ATC_V04.00
Page 248 of 475
3/17/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>
]]
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
§
%
%
%
%
%
!
!
%
<srvProfileId>
(num)
<reqWriteLength>
(num)