Specifications
Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 140
10.6 AT^SISW Internet Service Write Data
Description: AT^SISW write command triggers writing data via the Internet service configured with AT^SISS.
Multi-Tech Wireless EDGE modem returns the amount of data which can be written:
• <cnfWriteLength> value equal 0 indicates that the Multi-Tech Wireless EDGE modem failed to
enter online data mode. Details about the cause of failure is available using AT+CEER.
• <cnfWriteLength> value greater than 0 indicates that the Multi-Tech Wireless EDGE modem
switches into online data mode to transfer the given number of bytes.
A URC “^SISW: <srvProfileId>, <urcCauseId>” will be issued if
• the Multi-Tech Wireless EDGE modem is capable to send data after opening the Internet
service or
• less transmission buffer space was confirmed (in <cnfWriteLength>) than requested (with
<reqWrite-Length>) or contained data has been sent via the Internet service.
• or all available data has been transferred.
This mechanism is designed to avoid polling for free transmission buffer space and, thus, free the
TA for other tasks.
Test Command Syntax: AT^SISW=?
Response: OK
Write Command Syntax: AT^SISW=<srvProfileId>, <reqWriteLength>
Response: ^SISW: <srvProfileId>, <cnfWriteLength> Number of data bytes are expected as
specified by <cnfWriteLength>
OK
ERROR
+CME ERROR: <err>
Unsolicited Result Code:
^SISW: <srvProfileId>, <urcCauseId>
Data availability status of the Internet service configured with AT^SISS has changed.
Parameter Descriptions:
<srvProfileId>
<srvProfileId> 0 ... 9 specified with AT^SISS.
<reqWriteLength>
Requested number of data bytes to be transmitted via the Internet service configured with AT^SISS.
1...1500
<cnfWriteLength>
Confirmed number of data bytes to be transmitted via the Internet service configured in <srvProfileId>. This
number may be less or equal to the value requested with <reqWriteLength>. 0 value indicates that no data can
be written.
<urcCauseId>
Indicates whether or not data are available for transfer with AT^SISW.
0 No data available for writing with AT^SISW.
1 New data can be written via AT^SISW.
2 In the case of Socket, FTP download, HTTP: Data transfer has been finished and Internet service can
be closed via AT^SISC.
In the case of FTP upload and SMTP: To indicate successful transmission, the URC “^SISW: x,2” is
sent after the service was gracefully closed. If the FTP upload or SMTP service is closed immediately
the URC will not be sent.
Note
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 command can
be interpreted as being part of the data stream to be transferred.