5 define pdp context - +cgdcont – Rainbow Electronics GM862-QUAD-PY User Manual

Page 155

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 155 of 434

+CGREG - GPRS Network Registration Status

SELINT 2

<stat> - registration status
0 - not registered, terminal is not currently searching a new operator to

register to

1 - registered, home network
2 - not registered, but terminal is currently searching a new operator to

register to

3 - registration denied
4 - unknown
5 - registered, roaming

2 - enable network registration and location information unsolicited result

code; if there is a change of the network cell, it is issued the unsolicited
result code:

+CGREG: <stat>[,<lac>,<ci>]

where:
<stat> - registration status (see above for values)
<lac> - location area code in hexadecimal format (e.g. "00C3" equals

195 in decimal)

<ci> - cell ID in hexadecimal format.

AT+CGREG?

Read command returns the status of result code presentation mode <n> and
the integer <stat> which shows whether the network has currently indicated
the registration of the terminal in the format:

+CGREG: <n>,<stat>

AT+CGREG=?

Test command returns supported values for parameter <n>

Reference GSM

07.07

Note

There are situations in which the presentation of the URC controlled by
+CGREG is slightly different from ETSI specifications. We identified this
behaviour and decided to maintain it as default for backward compatibility
issues. It is indeed possible to avoid it simply issuing AT#REGMODE=1
(see #REGMODE): this puts the Operation Mode of Registration Status
Commands
in ‘Enhanced Registration Operation Mode’ which is more
formal.

3.5.4.7.5 Define PDP Context - +CGDCONT

+CGDCONT - Define PDP Context

SELINT 0 / 1

AT+CGDCONT[=
[<cid>
[,<PDP_type>
[,<APN>
[,<PDP_addr>
[,<d_comp>
[,<h_comp>
[,<pd1>
[,…[,pdN]]]]]]]]]]

Set command specifies PDP context parameter values for a PDP context
identified by the (local) context identification parameter, <cid>

Parameters:
<cid> - (PDP Context Identifier) numeric parameter which specifies a

particular PDP context definition.

1..max - where the value of max is returned by the Test command
<PDP_type> - (Packet Data Protocol type) a string parameter which

specifies the type of packet data protocol

Advertising