Huawei MC509 Crlfipgetdata, Ipgetdata?, Ipgetdata=?, ATIPGETDATA? IPGETDATA0,2,4 IPGETDATA1,2,3

Models: MC509

1 156
Download 156 pages 43.92 Kb
Page 118
Image 118

HUAWEI MC509 CDMA LGA Module

 

AT Command Interface Specification

Internet Service Interface Commands

10.5^IPGETDATA–Command for Querying the TCP/UDP Data Receiving Buffer

10.5.1 Syntax

Command

Possible Response(s)

 

 

^IPGETDATA=<index>

<CR><LF>^IPGETDATA:

 

<index>,<link_id>,<data_len><CR><LF><data><CR

 

><LF>

 

<CR><LF>OK<CR><LF>

 

In case of an MT-related error:

 

<CR><LF>ERROR<CR><LF> or

 

<CR><LF>+CME ERROR:<err><CR><LF>

 

 

^IPGETDATA?

<CR><LF>^IPGETDATA:<index>,<link_id>,<data_le

 

n><CR><LF>

 

<CR><LF>OK<CR><LF>

 

 

^IPGETDATA=?

<CR><LF>^IPGETDATA:(supported <index>

 

list)<CR><LF>

 

<CR><LF>OK<CR><LF>

 

 

10.5.2Interface Description

This command queries the data receiving buffer provided for a user. The latest received three data packets are stored in the buffer for the user to query. If there are more than three data packets, the new data packets overwrite the oldest data packets.

10.5.3Parameter Description

<index >: Specifies the index number of the buffered data. The value ranges from 0 to 2.

<link_id>: Specifies the connection ID recorded in the buffered data. The value ranges from 1 to 5.

<data_len>: An integer, specifying the data length. The value ranges from 0 to 1500.

<data>: A string embraced in double quotation marks, specifying subscriber data. Only visible characters are supported. Quotation marks and commas are not allowed in the subscriber data.

10.5.4Example

AT^IPGETDATA?

^IPGETDATA:0,2,4

^IPGETDATA:1,2,3

Issue 01 (2011-08-26)

Huawei Proprietary and Confidential

118

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 118
Image 118
Huawei MC509 manual Crlfipgetdata, Ipgetdata?, Ipgetdata=?, ATIPGETDATA? IPGETDATA0,2,4 IPGETDATA1,2,3