HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Data Services

9.4.1Querying the Layer-2 Protocol Supported Between the TE and MT

Test

AT+CGDATA=?

command

 

Function

Checks the layer-2 protocol supported between the TE and MT.

Response

z In case of successful execution:

 

<CR><LF>+CGDATA: (list of supported <L2P>s)<CR><LF>

 

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

 

z In case of an error during command execution:

 

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

 

z In case of an error related to the MT: <CR><LF>+CME ERROR:

 

<err><CR><LF>

Parameter description

<L2P >: character type parameter, which indicates the layer-2 protocol used between the TE and MT. The default value is PPP.

“PPP” layer-2 protocol

9.4.2 Establishing Communication Between the TE and Network

Write

AT+CGDATA=[<L2P>[,<cid>[,<cid>]]]

command

 

Function

Establishes communication between the TE and network.

Response

z In case of successful execution:

 

<CR><LF>CONNECT<CR><LF>

 

z In case of failed communication establishment: <CR><LF>NO

 

CARRIER<CR><LF>

 

z In case of failed command execution:

 

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

 

z In case of an error related to the MT: <CR><LF>+CME ERROR:

 

<err><CR><LF>

Parameter description

<cid>: numeric parameter, which indicates the index value of the PDP context; value

range: 1–3. Other commands related to the PDP context can invoke the saved settings through this index value. For a TE-MT interface, this parameter is local and can be used for other commands related to the PDP context. If <cid> is not specified or the defined PDP context is not matched, the MT activates the PDP context of IP type. Other parameters retain the default values (for details, see AT+CGDCONT, AT+CGQREQ, and AT+CGQMIN).

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

117

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 134
Image 134
Huawei MG323 Establishing Communication Between the TE and Network, Case of failed communication establishment Crlfno