1 example: configuring socket listener, Srvparmvalue, Pdelflag – Siemens TC63 User Manual
Page 250: Tc63 at command set
TC63 AT Command Set
10.2 AT^SISS
s
TC63_ATC_V00.490
Page 250 of 501
5/24/05
Confidential / Draft - Do not copy
Supported flag values in
for
value "pDelFlag". Only applicable if the profile
contains the POP3 user command Retrieve ("3").
[0]
Messages will not be deleted on the server.
1
Delete messages on the server which have been retrieved successfully.
10.2.1 Example: Configuring Socket Listener
The example assumes that a connection profile has been created as explained in Section
or Section
. 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:
Open the Socket service and query the IP address dynamically assigned to the Socket listener:
10.2.2 Example: Configuring Socket Client for Calling a Socket Listener
on Another Host
The example assumes that a connection profile has been created as explained in Section
or Section
Configure the client's service profile 1 for calling a Socket listener on another host:
(num)
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
=3 (lis-
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, ""
^SISO: 8, ""
^SISO: 9, ""
OK
at^siss=1,srvType,socket
Select service type Socket.
OK
at^siss=1,conId,0
Select connection profile 0.