Cinterion
®
ENS22-E AT Command Set
7.6 AT^SISO
ENS22-E_ATC_V01.000
19/02/11
Page 107 of 189
7.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:
If the service opens successfully, the URCs "
" and "
" will trigger the action to follow, either writing
data with
or reading data 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):
- Enter the
command, e.g. AT^SISO=4.
- Enter
, specify
, e.g. AT^SISW=4,20. Check resulting response for
. Optionally, check error with
, e.g. AT^SISE=4. If necessary, repeat the
sequence several times.
- Query available data with
, e.g. AT^SISR=4,1358.
- Check service state with
, e.g. AT^SISI=4, if necessary several times until
=6
("Down").
, e.g. AT^SISE=4.
- Close service with
, e.g. AT^SISC=4.
• Download (Socket):
- Enter the
command, e.g. AT^SISO=4.
- Enter
, e.g. AT^SISR=4,1000. Check resulting response for
. If necessary, repeat the sequence several times until
= -2 (end
of data) or ERROR.
, e.g. AT^SISE=4.
- Close service with
, e.g. AT^SISC=4.
• Socket service (upload and download possible in one session):
- Recommended: Set
=2 to enable extended error text.
- Enter the
command, e.g. AT^SISO=4.
- Enter
or
, specifying
or
AT^SISR=4,20 or AT^SISW=4,20. Check resulting response for
. If necessary, repeat the sequence several times.
, e.g. AT^SISE=4.
- Query available data with
, e.g. AT^SISR=4,1358.
- Close service with
, e.g. AT^SISC=4.
• Transparent UDP client:
- Enter the
command, e.g. AT^SISO=4.
to enter transparent data mode. After communication has finished return to AT command
mode via +++ escape sequence.
, e.g. AT^SISE=4.
- Close service with
, e.g. AT^SISC=4.