Embedded Linux

Enabling GPS on Sierra AirCard Modems

Leave a comment

 

Note: These instructions are not supported by Whirlpool or Sierra Wireless. Using them is entirely at your own risk!

To enable the GPS, connect to the appropriate port with a terminal (such as Hyperterm on Windows, or minicom on Linux) and issue the following AT commands:
AT!ENTERCND=”A710″
AT!CUSTOM=”GPSENABLE”,1

Once the modem is reconnected, you will have an additional serial device for accessing the GPS.
Note: On Linux this becomes device ttyUSB2, so you will need to connect to ttyUSB3 to send commands to the modem and ttyUSB4 for PPP connections if the GPS is enabled.

To test the GPS, you can use the following AT command:
AT!GPSFIX=1,30,10

This requests a non-assisted GPS fix with a 30 second timeout to within 10 metre accuracy. These options can be adjusted as required, AT!GPSFIX=?will give a list of valid values.

To read the position, use the command AT!GPSLOC?

Other GPS commands of interest:
AT!GPSSTATUS?
AT!GPSTRACK

Author: boonpin1975

GPS PDA UMPC MID AJAK VMware

Leave a comment