Examples Of How To Configure And Use Internet Service Profiles; Selecting Urc Mode Or Polling Mode; Configuring Socket Listener - Siemens Brodersen MC55 AT Command Manual

At command manual
Table of Contents

Advertisement

10.11

Examples of how to Configure and Use Internet Service Profiles

Below you can find selective examples of how to configure and use Internet service profiles. To visualize the dif-
ference between URC mode and polling mode the operation of services (after opening with AT^SISO) is
explained in separate examples for either mode.
10.11.1

Selecting URC Mode or Polling Mode

To enable or disable the presentation of URCs for the Internet services use the
WithURCs" and select "on" or "off" for parameter <tcpWithUrc>.
at^scfg=tcp/withurcs
^SCFG: "Tcp/WithURCs","on"
OK
at^scfg=tcp/withurcs,off
^SCFG: "Tcp/WithURCs","off"
OK
10.11.2

Configuring Socket Listener

The example assumes that a connection profile has been created as explained in Section
10.1.2. Keep in mind that if the host is configured as listener another service profile must be left free to be dynam-
ically assigned as Server when the listener receives a connection request from a remote client.
Configure the service profile 4 for use as Socket listener:
at^siss=4,srvType,socket
OK
at^siss=4,conId,0
OK
at^siss=4,address,"socktcp://lis-
tener:65534"
OK
Open the Socket service and query the IP address dynamically assigned to the Socket listener:
at^siso=4
OK
at^siso?
^SISO: 0, ""
^SISO: 1, ""
^SISO: 2, ""
^SISO: 3, ""
^SISO: 4, "Socket","3","3","0","0","10.10.0.187:65534","0.0.0.0:0"
^SISO: 6, ""
^SISO: 7, ""
^SISO: 8, ""
^SISO: 9, ""
OK
MC55_ATC_V04.00
Confidential / Released
Query the current setting.
URC mode is enabled (delivery detault).
Select polling mode (by switching off URC mode).
Polling mode is accepted.
Select service type Socket.
Select connection profile 0.
The host specifies its local port 65534 to be used for
the Socket listener service. The local IP address will
be dynamically assigned when the service is opened
with AT^SISO.
Open the Socket service.
Query the current status of services. All service pro-
files are unused, except for service profile 4 which is
running in listener mode, where <srvState>=3 (lis-
tening) and <socketState>=3 (LISTENER). The
response also indicates the IP address dynamically
assigned to the listener.
Page 256 of 475
command, type "TcpIp/
AT^SCFG
10.1.1
or Section
3/17/06

Advertisement

Table of Contents
loading

This manual is also suitable for:

Brodersen mc55

Table of Contents