HUAWEI MU609 HSPA LGA Module
Application Guide
Internal Protocol Stack Application Scenarios
Issue 02 (2013-09-18)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
35
Notes:
Only one server is supported by the internal protocol stack.
The internal protocol stack must be initialized before you create a listen server.
5.2.2
Troubleshooting
Scenario
Possible Error Information
Solution
AT^IPLISTEN="TC
P",5000
+CME ERROR: The network
has not been opened yet
Run
^IPINIT
to initialize the
internal protocol stack, and
then create the listen
server.
AT^IPLISTEN="UD
P",5000
+CME ERROR: The server
has been established already
A listen server already
exists. Run
AT^IPCLOSE=6
to close
the existing listen server.
AT^IPLISTEN="UD
P",5000
+CME ERROR: Fail to bind
the specified port with server
The local port is in use.
Change the port and re-
send the command.
5.3 Creating TCP/UDP Links
5.3.1
Reference Process
Command
Description
AT^IPINIT="1234","card","card"
Initialize the internal protocol stack.
OK
AT^IPOPEN=1,"TCP","172.22.44.33",
5000,5500
Use a specified IP address to connect
to the remote server and establish a
TCP link. For the method to create UDP
links link, refer to the AT command
document.
OK
AT^IPOPEN=2,"TCP","www.huawei.c
om",80
Use a specified domain name to
connect to the remote server and
establish a TCP link.
OK
AT^IPOPEN?
Query link information.