Table 8-2: GPS command details (Continued)
Command
!GPSFIX=<fixType>,
<maxTime>, <maxDist>
!GPSFIX=?
Supporting Mini Cards:
•
MC8775V
•
MC8780 / 81
•
MC8785V
•
MC8790 / 90V
•
MC8791V
•
MC8792V
Note: This command is not
password-protected.
Rev 2.9 Oct.08
Initiate a GPS position fix
This command initiates a GPS position fix.
Usage:
•
AT!GPSFIX=<fixType>, <maxTime>, <maxDist> initiates a time-limited
position fix with a specified accuracy.
•
AT!GPSFIX=? returns supported <fixType>, <maxTime>, and
<maxDist> values.
Parameters:
<fixType> (Type of fix to establish)
•
1—Standalone (not supported by a mobile station)
•
2—MS-based only
•
3—MS-assisted only
<maxTime> (Maximum time to wait for a position fix)
•
0–255 — Number of seconds to wait
<maxDist> (Requested accuracy of fix)
•
Entered in decimal format
•
0–0xFFFFFFEF—Accuracy (in meters) requested for the fix
•
0xFFFFFFF0—No preference
Example:
AT!GPSFIX=1, 15, 10 requests a standalone position fix to 10 meters
accuracy. The request will fail (timeout) if the modem cannot determine a
position fix within 15 seconds.
One of the following responses will be received:
•
"OK" if the request is successful, or
•
"ERROR CODE = <value>" if the request fails for any reason. See
Table 8-3
on page 139 for a list of error codes.
Example:
•
AT!GPSSTATUS
(page
session is in progress.
•
AT!GPSLOC
(page
123)—Use this command after the session
completes to obtain the result.
Description
129)—Use this command while the tracking
GPS Commands
121