Rainbow Electronics MG260 User Manual

Page 121

Advertising
background image

FLYFOT-MG260-MODULE

Page: 121 / 246

This document is the sole and exclusive property of FLYFOT. Not to be distributed or divulged without
prior written agreement.

13 GPRS commands

GPRS commands are not available under GSM-only software.

13.1 Define PDP Context +CGDCONT

Description

This command specifies PDP context parameter values for a PDP context identified by the local context
identification parameter, <cid>.
Three PDP contexts can be defined through FLYFOT 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.

Syntax

Command

Possible response(s)

AT+CGDCONT=[<cid> [,<PDP_type> [,<APN>
[,<PDP_addr> [,<d_comp> [,<h_comp>]]]]]]
Note: set PDP

OK
Note: set successfully
+CME ERROR: 3
Note: set failed

AT+CGDCONT?




Note: get all PDPs information

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

AT+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)
[...]]
OK
Note: get parameter range

Advertising