Cinterion
®
EHS6 AT Command Set
10.6 AT^SISO
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 245 of 513
10.6
AT^SISO Internet Service Open
The
write command starts the Internet session configured by the service profile. All further steps
needed to control the session depend on whether you are using URC mode or polling mode. The
read
command returns the current status of all Internet services.
URC mode (not for the Transparent TCP Listener service):
If the service opens successfully, the URCs "
" and "
" will trigger the action to follow, either writing
data with
or reading data with
. To terminate an upload data stream set the
within the last
command. If the URCs notify that a data transfer has been successful ("
: x, 2"), the service can be closed with
. If a special event occurs, e.g. an error or a warning,
after opening or while using a service then the URC type "
" will be delivered.
Polling mode:
After opening the service, all progress information needed to control the session shall be explicitly requested by
the host application. The particular sequence of AT commands varies depending on the service used. The fol-
lowing list summarizes, by way of an example, the steps normally involved in managing an upload or download
job.
• Upload (Socket, FTP, HTTP,SMTP):
- Enter the
command, e.g. AT^SISO=9.
- Enter
, specify
, e.g. AT^SISW=9,20. Check resulting response for
. Optionally, check error with
, e.g. AT^SISE=9. If necessary, repeat the
sequence several times.
- Enter last
command and enable
, e.g. AT^SISW=9,0,1.
If Socket service: Query available data with
, e.g. AT^SISR=9,1430.
- Check service state with
, e.g. AT^SISI=9, if necessary several times until
=6
("Down").
, e.g. AT^SISE=9.
- Close service with
, e.g. AT^SISC=9.
• Download (Socket, FTP, HTTP):
- Enter the
command, e.g. AT^SISO=9.
- Enter
, e.g. AT^SISR=9,1000. Check resulting response for
. If necessary, repeat the sequence several times until
= -2 (end
of data) or ERROR.
, e.g. AT^SISE=9.
- Close service with
, e.g. AT^SISC=9.
• Socket service (upload and download possible in one session):
- Recommended: Set
=2 to enable extended error text.
- Enter the
command, e.g. AT^SISO=9.
- Enter
or
, specifying
or
AT^SISR=9,20 or AT^SISW=9,20. Check resulting response for
. If necessary, repeat the sequence several times.
, e.g. AT^SISE=9.
- If write action: Enter last
command and enable
1)
If Socket service: Query available data with
, e.g. AT^SISR=9,1430.
- Close service with
, e.g. AT^SISC=9.
• Transparent TCP client or Transparent UDP client:
- Enter the
command, e.g. AT^SISO=9.
to enter transparent data mode. After communication has finished return to AT command
mode via +++ escape sequence.
, e.g. AT^SISE=9.
- Close service with
, e.g. AT^SISC=9.