Specifications

GPS Commands
Rev. 8 May.12 Proprietary and Confidential 189
!GPSLOC
Supporting chipsets (GPS-
enabled devices only):
MDM6200
MDM8200A
MDM8220
MDM9200
MDM9600
MSM6290
QSC6270 (min f/w rev: S2.0)
Note: This command is not
password-protected.
Return last known location of the modem
Return the details obtained during the most recent position location session, if
available.
Usage:
Query: AT!GPSLOC?
Response:
Unknown (No information is available)
OK
or Not Available (No information is available)
OK
or Lat: <latitude>
Lon: <longitude>
Time: <time>
LocUncAngle: <luAngle> LocUncA: <luA> LocUncP: <luP>
HEPE: <hepe>
<fixType>
Altitude: <altitude> LocUncVe: <luV>
Heading: <heading> VelHoriz: <vH> VelVert: <vV>
OK
(Altitude and heading only appear if data was collected as part
of the most recent fix.)
Purpose: Return last position location details.
Parameters:
<latitude> (Latitude at last position fix)
Example: “49 Deg 10 Min 21.49 Sec N (0x008BDE6C)”
<longitude> (Longitude at last position fix)
Example: “123 Deg 4 Min 14.76 Sec W (0xFEA1EE9A)”
<time> (Time at which last position fix was taken)
Example: “2009 01 30 4 20:27:18 (GPS)”
<luAngle> (Location uncertainty angle of returned position)
Example: “11.2 deg”
<luA> (Standard deviation of axis along <luAngle>)
Example: “6.0 m”
<luP> (Standard deviation of axis perpendicular to <luAngle>)
Example: “6.0 m”
<hepe> (Horizontal Estimated Positional Error)
Example: “8.485 m”
<fixType> (2D or 3D fix)
Example: “2D Fix” or “3D Fix”
<altitude> (Altitude in meters at which last position fix was taken)
Only present if <fixType> is 3D
Example: “-1 m”
<luV> (Vertical uncertainty in meters)
Only present if <fixType> is 3D
Example: “3.0 m”
(Continued on next page)
Table 9-2: GPS command details (Continued)
Command Description