Skip to main content

XAIP — IP Address

Queries the carrier-assigned IP address of the active LTE/GPRS data session (ppp0 interface).

Format

  • Query: >QXAIP<
FieldDescription
ResponseDotted-decimal IP address A.B.C.D

Response Format

>RXAIP{A}.{B}.{C}.{D}<
FieldDescription
AFirst octet of the IP address
BSecond octet
CThird octet
DFourth 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 SET qualifier is supported.
  • The IP address is the address assigned by the carrier to the ppp0 interface (the LTE/GPRS data interface).
  • The same IP value is also available via the IP extended EV tag. See Extended Tags.