Specifications
SIM900 AT Commands Set
<cid> [<CR><LF>+CGPADDR: <cid>,<PDP_addr>[…]]
OK
ERROR
Parameters
<cid> a numeric parameter which specifies a particular PDP
context definition (see +CGDCONT Command) If no <cid>
is specified, the addresses for all defined contexts are
returned.
1..3 PDP Context Identifier, cid 3 is reserved and is always
defined, it cannot be changed by user.
<PDP_addr>
String type IP address
Format: "<n>.<n>.<n>.<n>" where <n>=0..255
Reference
Note
Write command returns address provided by the network if a connection has
been established.
7.2.8 AT+CGCLASS GPRS Mobile Station Class
AT+CGCLASS GPRS Mobile Station Class
Test Command
AT+CGCLASS=
?
Response
+CGCLASS: (list of supported <class>s)
OK
Parameter
See Write Command
Read Command
AT+CGCLASS?
Response
+CGCLASS: <class>
OK
Parameter
See Write Command
Write Command
AT+CGCLASS=
<class>
Response
OK
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<class> a string parameter(string should be included in quotation
marks) which indicates the GPRS mobile class (in
SIM900_ATC_V1.01 163 23.06.2010