Internet Service Commands - Siemens Brodersen MC55 AT Command Manual

At command manual
Table of Contents

Advertisement

10.

Internet Service Commands

MC55 has an embedded TCP/IP stack that is driven by AT commands and enables the host application to easily
access the Internet. The advantage of this solution is that it eliminates the need for the application manufacturer
to implement own TCP/IP and PPP stacks, thus minimizing cost and time to integrate Internet connectivity into
a new or existing host application. This chapter is a reference guide to all the AT commands and responses
defined for use with the TCP/IP stack.
Access is provided to the following Internet Services:
Socket Client and Server for TCP, Client for UDP
1.
FTP Client
2.
HTTP Client
3.
SMTP Client
4.
POP3 Client
5.
Two design strategies for using Internet Service AT commands - URC mode or polling mode:
The MC55 offers two modes of controlling an Internet session opened with AT^SISO. To select the mode that
best suits the preferences of your application design use the
(refer to <tcpWithUrc>).
URC mode (delivery default):
The progress of an Internet session is URC driven. The URCs notify the host whether data can be sent or
received, whether data transfer has completed, whether the service can be closed or whether an error has
occurred. This mechanism eliminates the need to poll the service until the necessary progress information is
received.
To enable the URC mode select: AT^SCFG="Tcp/WithURCs",on.
Polling mode:
In polling mode, the presentation of URCs related to the Internet Services is disabled. The host is responsible
to retrieve all the status information needed for controlling the Internet session. This is done by polling, where
the host application keeps sending the commands AT^SISR, AT^SISW, AT^SISI.
To enable the polling mode select: AT^SCFG="Tcp/WithURCs",off.
The disabled URCs are the following: "^SISR" URC, "^SISW" URC and "^SIS" URC for parameter
Cause>=0 (Internet service events), but not for <urcCause>=1 or 2 (needed for Socket listener and always
enabled).
Step-by-step overview of how to configure and use TCP/IP communications with MC55:
Select URC mode or polling mode as described above.
First of all, create a CSD or GPRS connection profile with AT^SICS. The connection profile is a set of basic
parameters which determines the type of connection to use for an Internet service. The connection type is
also referred to as bearer. Up to 6 connection profiles can be defined, each identified by the
fileId>.
Secondly, use
AT^SISS
profiles can be defined, each identified by the <srvProfileId>. The service profile specifies the type of
Internet service to use, i.e. Socket, FTP, HTTP, or one of the email services SMTP or POP3. To assign a
connection profile to a service profile, the
of the
parameter <srvParmTag>.
AT^SISS
This offers great flexibility to combine connection profiles and service profiles. For example, you may have
one connection profile (CSD or GPRS) specified with
vice profile for sending emails and a POP3 service profile for retrieving emails.
Once the connection profile and the service profile are created, an Internet session can be opened by entering
the
write command and the desired <srvProfileId>.
AT^SISO
In URC mode, the "^SISR" or "^SISW" URC indicates whether the service is ready to receive or send data.
This means, that the
AT^SISR
occurs the "^SIS" URC is delivered instead.
In polling mode, you can enter the
MC55_ATC_V04.00
Confidential / Released
to create a service profile based on one of the connection profiles. Up to 10 service
<conProfileId>
or
command shall be entered after the URC was received. If an error
AT^SISW
or
AT^SISR
AT^SISW
Page 219 of 475
command, parameter "Tcp/WithURCs"
AT^SCFG
of
must be entered as "conId" value
AT^SICS
which can be associated with an SMTP ser-
AT^SICS
command straight after
<urc-
<conPro-
though you may
AT^SISO
3/17/06

Advertisement

Table of Contents
loading

This manual is also suitable for:

Brodersen mc55

Table of Contents