Specifications

Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 131
Open the Socket service and query the IP address dynamically assigned to the Socket listener:
at^siso=4 Open the Socket service.
OK
at^siso? Query the current status of services. All service profiles are unused, except for
service profile 4 which is running in listener mode, where <srvState>=3
(listening) and <socketState>=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
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 10.1.1 or Section 10.1.2.
Configure the client’s service profile 1 for calling a Socket listener on another host:
at^siss=1,srvType,socket Select service type Socket.
OK
at^siss=1,conId,0 Select connection profile 0.
OKat^siss=1,address,”socktcp://10.10.0.187:65534” The service profile of the client contains the IP address and the TCP port
of the remote host.
OK
10.2.3 Example: Configuring and Using FTP Download
First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters that
are mandatory for the connection profile.
Configure the service profile 1 for FTP:
at^siss=1,srvType,ftp Select service type FTP.
OK
at^siss=1,conId,0 Select connection profile 0.
OK
at^siss=1,address,ftp://192.168.1.2;type=d Specify FTP address with user and password anonymous.
OK
Make an FTP connection:
at^siso=1 Open the service.
OK Bearer is established, service is getting started.
^SISR: 1, 1 Data are available.
at^sisr=1,1500 Request to read 1500 bytes.
^SISR: 1, 50 50 bytes are now available.
hardware
inttest
software
support
systemtest
OK
^SISR: 1, 2 Data transfer finished. No more data available. The
connection to the FTP server is closed.
at^sisc=1 Close the service.
OK