10.01.2015 Views

AT Command Reference Guide for EDGE Wireless ... - wless.ru

AT Command Reference Guide for EDGE Wireless ... - wless.ru

AT Command Reference Guide for EDGE Wireless ... - wless.ru

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 10 – Internet Service <strong>Command</strong>s<br />

Open the Socket service and query the IP address dynamically assigned to the Socket listener:<br />

at^siso=4<br />

Open the Socket service.<br />

OK<br />

at^siso<br />

^SISO: 0, “”<br />

^SISO: 1, “”<br />

^SISO: 2, “”<br />

^SISO: 3, “”<br />

^SISO: 4, “Socket”,”3”,”3”,”0”,”0”,”10.10.0.187:65534”,”0.0.0.0:0”<br />

^SISO: 6, “”<br />

^SISO: 7, “”<br />

^SISO: 8, “”<br />

^SISO: 9, “”<br />

OK<br />

Query the current status of services. All service profiles are unused, except <strong>for</strong><br />

service profile 4 which is <strong>ru</strong>nning in listener mode, where =3<br />

(listening) and =3 (LISTENER). The response also indicates the<br />

IP address dynamically assigned to the listener.<br />

10.2.2 Example: Configuring Socket Client <strong>for</strong> Calling a Socket Listener on<br />

Another Host<br />

The example assumes that a connection profile has been created as explained in Section 10.1.1 or Section 10.1.2.<br />

Configure the client’s service profile 1 <strong>for</strong> calling a Socket listener on another host:<br />

at^siss=1,srvType,socket<br />

Select service type Socket.<br />

OK<br />

at^siss=1,conId,0 Select connection profile 0.<br />

OKat^siss=1,address,”socktcp://10.10.0.187:65534” The service profile of the client contains the IP address and the TCP port<br />

of the remote host.<br />

OK<br />

10.2.3 Example: Configuring and Using FTP Download<br />

First set up a connection profile as explained in Section 10.1.1 or Section 10.1.2. Enter at least all parameters that<br />

are mandatory <strong>for</strong> the connection profile.<br />

Configure the service profile 1 <strong>for</strong> FTP:<br />

at^siss=1,srvType,ftp<br />

Select service type FTP.<br />

OK<br />

at^siss=1,conId,0 Select connection profile 0.<br />

OK<br />

at^siss=1,address,ftp://192.168.1.2;type=d Specify FTP address with user and password anonymous.<br />

OK<br />

Make an FTP connection:<br />

at^siso=1<br />

Open the service.<br />

OK<br />

Bearer is established, service is getting started.<br />

^SISR: 1, 1<br />

Data are available.<br />

at^sisr=1,1500<br />

Request to read 1500 bytes.<br />

^SISR: 1, 50<br />

50 bytes are now available.<br />

hardware<br />

inttest<br />

software<br />

support<br />

systemtest<br />

OK<br />

^SISR: 1, 2<br />

Data transfer finished. No more data available. The<br />

connection to the FTP server is closed.<br />

at^sisc=1<br />

Close the service.<br />

OK<br />

Multi-Tech Systems, Inc. <strong>AT</strong> <strong>Command</strong>s <strong>for</strong> <strong>EDGE</strong> Modems (S000371B) 131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!