XAIP — IP Address
Queries the carrier-assigned IP address of the active LTE/GPRS data session (ppp0 interface).
Format
- Query:
>QXAIP<
| Field | Description |
|---|---|
| Response | Dotted-decimal IP address A.B.C.D |
Response Format
>RXAIP{A}.{B}.{C}.{D}<
| Field | Description |
|---|---|
A | First octet of the IP address |
B | Second octet |
C | Third octet |
D | Fourth octet |
Behavior
- When the data session is active, returns the carrier-assigned IP address.
- When the data session is not active (GPRS/LTE link down), returns
0.0.0.0.
Examples
Query when session is up:
>QXAIP<
>RXAIP10.24.183.57;ID=356612020083541<
Query when session is down:
>QXAIP<
>RXAIP0.0.0.0;ID=356612020083541<
Notes
- This command is read-only — no
SETqualifier is supported. - The IP address is the address assigned by the carrier to the
ppp0interface (the LTE/GPRS data interface). - The same IP value is also available via the
IPextended EV tag. See Extended Tags.