At commands for gprs – Westermo GD-01 User Manual

Page 148

Advertising
background image

148

6196-2220

AT commands for GPRS

+CGDCONT – Define PDP Context, (GPRS command)

Description

This command specifies PDP context parameter values for a PDP context identified by
the local context identification parameter, <cid>. Eleven PDP contexts can be defined
through software. A special form of the set command, +CGDCONT= <cid> causes the
values for context number <cid> to become undefined.The test command returns values
supported as a compound value. If the MT supports several PDP types, <PDP_type>, the
parameter value ranges for each <PDP_type> are returned on a separate line.The read
command returns the current settings for each defined context.The test command
returns values supported as a compound value. If the MT supports several PDP types,
<PDP_type), the parameter value ranges for each <PDP_type> are returned on a sepa-
rate line.

Syntax:

+CGDCONT=[<cid> [,<PDP_type> [,<APN> [,<PDP_addr> [,<d_comp>
[,<h_comp>]]]]]]

+CGDCONT?

+CGDCONT=?

Response Syntax:

OK

ERROR

Response on “+CGDCONT?”:

+CGDCONT: <cid>, <PDP_type>, <APN>,<PDP_addr>, <data_comp>, <head_comp>

[<CR><LF>+CGDCONT: <cid>, <PDP_type>, <APN>,<PDP_addr>, <data_comp>,
<head_comp> [...]]

Response on “+CGDCONT=?”:

+CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported
<d_comp>s), (list of supported <h_comp>s)

[<CR><LF>+CGDCONT: (range of supported <cid>s), <PDP_type>,,,(list of supported
<d_comp>s),(list of supported <h_comp>s) [...]]

Defined values:

<cid>:

(PDP Context Identifier) a numeric parameter (1-32) which specifies a particular PDP
context definition.The parameter is local to the TE-MT interface and is used in other
PDP context-related commands.

B A C K

Advertising