Справочник Пользователя для Motorola G24

Скачать
Страница из 642
GPRS/EDGE
3-336
 AT Commands Reference Manual
December  31, 2007
Example
AT+CGACT=?
+CGACT: (0,1)
OK
AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0
OK
AT+CGACT=1
ERROR//GPRS network not present.
Note:
In some GPRS networks, +CGACT is not supported. the ATD*99 # command can be 
used to establish a connection.
Activating a context can take up to 150 seconds.
Deactivating a context can take up to 40 seconds.
When aborting a +CGACT Set command, the context is closed. This can take up to 40 
seconds.
CGPADDR, GPRS ADDResses
This command reads the allocated PDP addresses for the specified context identifiers.
Command 
Type
Syntax
Response/Action
Remarks
Set
AT+CGPADDR=[<cid
>[,<cid>[,]]]
+CGPADDR:<cid>,<P
DP_addr>[<CR><LF>
+CGPADDR:<cid>,<P
DP_addr>[…]]
OK
or:
+CME ERROR:<err
The Set command returns a list of PDP 
addresses for the specified context 
identifiers.
Read
AT+CGPADDR?
+CME ERROR:<err>
The Read command returns an error.
Test
AT+CGPADDR=?
+CGPADDR:(list of 
defined <cid>s)
OK
or:
+CME ERROR: <err>
The Test command returns the list of 
defined <cid>s.