Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set GPRS Commands
10-17
Show PDP Address: +CGPADDR
Description: The exclusion command returns a lot of PDP addresses for the specified context
identifiers. The test command returns a list of defined <cid>s
Command syntax:
Command Possible responses
+CGPADDR=[<cid> [,<cid> [,…]]] +CGPADDR: <cid>,<PDP_addr>
[<CR><LF>+CGPADDR: <cid>,<PDP_addr>
[...]]
OK
+CGPADDR=? +CGPADDR: (list of defined <cid>s)
OK
Defined values:
<cid>: a numeric parameter that specifies a particular PDP context definition. If no <cid> is
specified, the addresses for all defined contexts are returned.
<PDP_address>: a string that identifies the MT in the address space applicable to the PDP. The
address may be static or dynamic. For a static address, it will be the one set by the
+CGDCONT command when the context was defined. For a dynamic address it will be
the one assigned during the last PDP context activation that used the context definition
referred to by <cid>. <PDP_address> is omitted if none is available.
Example
In this example 3 CIDs are defined.
AT+CGPADDR=1
+CGPADDR=1,”107.210.5.4”
OK
AT+CGPADDR=?
+CGAPDDR: (1,2,4)
OK
AT+CGPADDR
+CGPADDR: 1,
+CGPADDR: 2, “10.3.73.151”
+CGPADDR: 4,
Cellular Result Codes: +CRC
Description: This command enables a more detailed ring indication, in case of an incoming call
(voice or data). Instead of the string “RING”, an extended string is used to indicate which type of
call is ringing (e.g. +CRING: VOICE).
These extended indications are:
+CRING: ASYNC for asynchronous transparent
+CRING: REL ASYNC for asynchronous non-transparent
+CRING: VOICE for normal speech.
+CRING: FAX for fax calls