Rainbow Electronics MG260 User Manual

Page 124

Advertising
background image

FLYFOT-MG260-MODULE

Page: 124 / 246

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


If the requested state for any specified context cannot be achieved, an ERROR or +CME ERROR response
is returned. Extended error responses are enabled by the +CMEE command.

If the MT is not GPRS attached when the activation form of the command is executed, the MT first
performs a GPRS attach and them attempts to activate the specified contexts. If the attach fails then the
MT responds with ERROR or, if extended error responses are enabled, with the appropriate
failure-to-attach error message.

If no <cid>s are specified the activation form of the command activates the first activable defined contexts.
If no <cid>s are specified the deactivation form of the command deactivates all active contexts.

One PDP contexts can be activated through FLYFOT software at the same time.

The read command returns the current activation states for all the defined PDP contexts.

The test command is used for requesting information on the supported PDP context activation states.

Syntax

Command

Possible Response(s)

AT+CGACT=[<state> [,<cid>[,<cid>[,…]]]]

Note: active the specified PDP

OK
Note: succeed
+CME ERROR: 3
Note: failed

AT+CGACT?



Note: get PDP active state

+CGACT: <cid>, <state> [<CR><LF>
+CGACT: <cid>, <state>
[...]]
OK
Note: succeed

AT+CGACT=?

+CGACT: (0,1)
OK
Note: get parameter range

AT +CGACT

+CME ERROR: 3
Note: not support

Defined Values

<state>:

indicates the state of PDP context activation

z

0 : deactivated

z

1 : activated

Advertising