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.
37
5.4 Sending Data
5.4.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
Create a link.
OK
AT^IPSEND=1,"31323334"
Send data. In this example,
31323334
is sent.
^IPSEND: 1
OK
^IPDATA: 1,8,31323334
Data is successfully sent and
received.
AT^IPSENDEX=1,0,"31323334"
Send data in mode 0. In this
example,
31323334
is sent.
^IPSENDEX: 1
OK
^IPDATA: 1,8,31323334
AT^IPSENDEX=1,1,"31323334"
Send data in mode 1. In this
example,
1234
is actually
sent.
^IPSENDEX: 1
OK
^IPDATA: 1,4,1234
AT^IPSENDEX=1,2,<datalen>
Send data in mode 2.
OK
(Wait for the user to enter user data with a
length of <datalen>)
^IPSENDEX: 1
OK