EasyManua.ls Logo

Neoway M590E - Setting PDP Format: CGDCONT

Neoway M590E
65 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...
Neo_M590E V1 GPRS Module AT Command Set
Copyright © Neoway Technology Co., Ltd
13
Parameter
<state>: 0, 1
0: indicates detach
1: indicates attach
Return Value
See the Example.
Example
AT+CGATT=1
OK
GPRS attach is set successfully.
AT+CGATT=0
OK
GPRS detach is set successfully.
AT+CGATT=0
ERROR
No SIM card is installed, so the module
returns
ERROR
.
AT+CGATT?
+CGATT: 0
OK
Query the GPRS status.
AT+CGATT=?
+CGATT:(0-1)
OK
Query the valid parameter values for the
command.
Remarks
By default, the module can automatically perform GPRS attach.
Ensure that the GPRS attach is set before the PPP connection is set up. It is
recommended that you add the
AT+CGATT?
command to the process to query the
GPRS status. If the module returns
1
, you can set up PPP connection directly;
otherwise, you need to set GPRS attach manually by executing the command
AT+CGATT=1
.
1.17 Setting PDP Format: CGDCONT
Description
To set the packet data protocol (PDP) format of the GPRS
Format
AT+CGDCONT=<cid>,<type>,<APN><CR>
Parameter
<cid>:(PDP Context Identifier) a numeric parameter that specifies a particular PDP
context definition. The parameter is local to the TE-MT interface and is used in other
PDP context-related commands. The range of permitted values (minimum value = 1) is
returned by the test form of the command.
<type>:(Packet Data Protocol type) a string parameter. IP Internet Protocol (IETF STD 5)
<APN>:(Access Point Name) a string parameter which is a logical name that is used to
select the GGSN or the external packet data network. If the value is null or omitted, then
the subscription value will be requested.
<addr>:a string parameter that identifies the MT in the address space applicable to the
PDP. If the value is null or omitted, then a value maybe provided by the TE during the
PDP startup procedure or, failing that, a dynamic address will be requested. The read
form of the command will continue to return the null string even if an address has been
allocated during the PDP startup procedure. The allocated address may be read using the
+CGPADDR command.
<d_comp>: a numeric parameter that controls PDP data compression (applicable for
SNDCP only)

Table of Contents

Related product manuals