EasyManua.ls Logo

Zoom 4575 - Page 20

Zoom 4575
56 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
only look for one type of data at a time. To set up a listening server using UDP, enter the
following command:
AT^IPLISTEN=”UDP”, 5008
In this example the modem will monitor UDP port 5008 for data. If it receives data, it
responds with the ^IPDATA command. When data appears, the modem will signal the
host as follows:
^IPDATA: 3, 8, testdata
In this example 3 represents the link ID, which can be from 1-5; 8 is the number of
characters in the data, and testdata is the actual data that was sent. The number of
characters sent can range from 1 to 1500.
If the listening server is already running, the modem will respond as follows:
+CME ERROR: The server has been established already
To set up a listening server for TCP data, enter the following command:
AT^IPLISTEN=”TCP”, 6010
In this example, the modem is monitoring port 6010 for TCP data. For more information
about the AT^IPLISTEN command, please refer to the Huawei AT Command manual
available at www.zoomtel.com/4575support
.
Sending Data with your Modem
Before you send data, you need to open up the connection using the ^IPOPEN
command. You can open up to 5 different connections at a time. For example, you open
a TCP and UDP connection to your server by entering the following commands:
AT^IPOPEN=1,”UDP”,”WWW.MYSERVER.COM/DATA”, 5005, 5010
AT^IPOPEN=2,”TCP”,”WWW.MYSERVER.COM/DATA”, 5005, 5010
In this command 1 is the link id for the UDP connection and 2 is the link id for the TCP
connection. WWW.MYSERVER.COM/DATA is the address of your server where you
20

Related product manuals