![Gemalto Cinterion EHS6 Скачать руководство пользователя страница 267](http://html.mh-extra.com/html/gemalto/cinterion-ehs6/cinterion-ehs6_command-manual_2206684267.webp)
Cinterion
®
EHS6 AT Command Set
10.15 Examples of how to Configure and Use Internet Service Profiles
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 267 of 513
10.15
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
) is
explained in separate examples for either mode.
For all examples it is assumed that a connection profile has been created as explained in Section
.
When GSM alphabet is enabled (see
) keep in mind that escape sequences are required for some spe-
cial characters: For example, underscore "_" shall be escaped with \11. See also Section
for more information on character set and escape sequences.
10.15.1
Selecting URC Mode or Polling Mode
To enable or disable the presentation of URCs for the Internet services use the
command, type "TcpIp/
WithURCs" and select "on" or "off" for parameter
.
10.15.2
Configuring Non-Transparent Listener
Keep in mind that if the host is configured as Non-transparent Listener another service profile must be left free
to be dynamically assigned as Server when the Non-Transparent Listener receives a connection request from a
remote client.
Configure the service profile 4 for use as Non-Transparent Listener:
Open the Socket service and query the IP address dynamically assigned to the Socket listener:
at^scfg=tcp/withurcs
Query the current setting.
^SCFG: "Tcp/WithURCs","on"
URC mode is enabled (delivery default).
OK
at^scfg=tcp/withurcs,off
Select polling mode (by switching off URC mode).
^SCFG: "Tcp/WithURCs","off"
Polling mode is accepted.
OK
AT^SISS=4,srvType,"Socket"
Select service type Socket.
OK
AT^SISS=4,conId,0
Select connection profile 0.
OK
AT^SISS=4,address,"socktcp://lis-
tener:65534"
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
OK
AT^SISO=4
Open the Socket service.
OK
AT^SISO?
Query the current status of services. All service pro-
files are unused, except for service profile 4 which is
running in listener mode, where
tening) and
=3 (LISTENER). The
response also indicates the IP address dynamically
assigned to the listener.
^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,""