Internet service commands, Tc63 at command set – Siemens TC63 User Manual
Page 235
TC63 AT Command Set
10. Internet Service Commands
s
TC63_ATC_V00.490
Page 235 of 501
5/24/05
Confidential / Draft - Do not copy
10.
Internet Service Commands
TC63 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:
1.
Socket Client and Server for TCP, Client for UDP
2.
FTP Client
3.
HTTP Client
4.
SMTP Client
5.
POP3 Client
Step-by-step instructions on how to configure and use TCP/IP communications with TC63:
• First of all, create a connection profile with
. The connection profile is a set of basic parameters
which determines the type of connection to use for an Internet service. Up to 6 connection profiles can be
defined, each identified by the
.
to create a service profile based on one of the connection profiles. Up to 10 service
profiles can be defined, each identified by the
. 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
must be entered as "conId" value
of the
parameter
This offers great flexibility to combine connection profiles and service profiles. For example, you may have
one connection profile (CSD or GPRS) specified with
which can be associated with an SMTP ser-
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
write command and the desired
. Wait for the resulting URC.
• The next command determines the action to be performed, for example reading data with
or writing
data with
. Wait for the resulting URC.
• Finally, to end a session, enter the
write command and the
.
Maximum number of profiles defined / used:
• Up to 6 connection profiles can be created (with
• Up to 10 service profiles can be created (with
), but the number of parallel profiles of the same ser-
vice type is limited as listed below. If the maximum number of a service profile type is already defined, any
attempt to set up another profile for the same type will be denied with "+CME ERROR: unknown".
- Maximum 3 HTTP profiles
- Maximum 6 socket profiles: Only 2 instances can be opened for listener, meaning that if 2 listeners are
established another 4 instances can be opened for clients. Also, the socket service can accept an incom-
ing connection only when at least one service profile is still free (not yet created with
), otherwise
the incoming connection will be rejected from the listener. If there is no listener established all 6 socket
profiles can be configured as client.
- 1 FTP profile
- 1 POP3 profile
- 1 SMTP profile
• The TCP/IP stack of TC63 supports using several service profiles at the same time, provided all of them are
running on the same connection profile. For example, it is possible to download files from an FTP server, while
sending and receiving emails at the same time.
• GPRS connections established over the Dial-Up Network do not use the embedded TCP/IP stack of TC63