Location Library For Open at Framework at Command Interface Guide - Rev1.0
Location Library For Open at Framework at Command Interface Guide - Rev1.0
Framework AT Commands
Interface Guide
4112808
Rev. 1.0
October 1, 2013
Location Library for Open AT
Framework AT Commands Introduction
Important Notice
Due to the nature of wireless communications, transmission and reception of data can never be
guaranteed. Data may be delayed, corrupted (i.e., have errors) or be totally lost. Although significant
delays or losses of data are rare when wireless devices such as the Sierra Wireless modem are used
in a normal manner with a well-constructed network, the Sierra Wireless modem should not be used
in situations where failure to transmit or receive data could result in damage of any kind to the user or
any other party, including but not limited to personal injury, death, or loss of property. Sierra Wireless
accepts no responsibility for damages of any kind resulting from delays or errors in data transmitted or
received using the Sierra Wireless modem, or for failure of the Sierra Wireless modem to transmit or
receive such data.
The driver or operator of any vehicle should not operate the Sierra Wireless modem while in control of
a vehicle. Doing so will detract from the driver or operator‟s control and operation of that vehicle. In
some states and provinces, operating such communications devices while in control of a vehicle is an
offence.
Limitations of Liability
This manual is provided “as is”. Sierra Wireless makes no warranties of any kind, either expressed or
implied, including any implied warranties of merchantability, fitness for a particular purpose, or
noninfringement. The recipient of the manual shall endorse all risks arising from its use.
The information in this manual is subject to change without notice and does not represent a
commitment on the part of Sierra Wireless. SIERRA WIRELESS AND ITS AFFILIATES
SPECIFICALLY DISCLAIM LIABILITY FOR ANY AND ALL DIRECT, INDIRECT, SPECIAL,
GENERAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES INCLUDING,
BUT NOT LIMITED TO, LOSS OF PROFITS OR REVENUE OR ANTICIPATED PROFITS OR
REVENUE ARISING OUT OF THE USE OR INABILITY TO USE ANY SIERRA WIRELESS
PRODUCT, EVEN IF SIERRA WIRELESS AND/OR ITS AFFILIATES HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES OR THEY ARE FORESEEABLE OR FOR CLAIMS BY ANY
THIRD PARTY.
Notwithstanding the foregoing, in no event shall Sierra Wireless and/or its affiliates aggregate liability
arising under or in connection with the Sierra Wireless product, regardless of the number of events,
occurrences, or claims giving rise to liability, be in excess of the price paid by the purchaser for the
Sierra Wireless product.
Customer understands that Sierra Wireless is not providing cellular or GPS (including A-GPS)
services. These services are provided by a third party and should be purchased directly by the
Customer.
Patents
This product may contain technology developed by or for Sierra Wireless Inc.
This product includes technology licensed from QUALCOMM®.
This product is manufactured or sold by Sierra Wireless Inc. or its affiliates under one or more patents
licensed from InterDigital Group and MMP Portfolio Licensing.
Copyright
© 2013 Sierra Wireless. All rights reserved.
Trademarks
Sierra Wireless®, AirPrime®, AirLink®, AirVantage®, WISMO® and the Sierra Wireless and Open AT
logos are registered trademarks of Sierra Wireless, Inc. or one of its subsidiaries.
Watcher® is a registered trademark of Netgear, Inc., used under license.
Windows® and Windows Vista® are registered trademarks of Microsoft Corporation.
Macintosh® and Mac OS X® are registered trademarks of Apple Inc., registered in the U.S. and other
countries.
QUALCOMM® is a registered trademark of QUALCOMM Incorporated. Used under license.
Other trademarks are the property of their respective owners.
Contact Information
Phone: 1-604-232-1488
Sales Desk: Hours: 8:00 AM to 5:00 PM Pacific Time
Contact: http://www.sierrawireless.com/sales
Sierra Wireless
13811 Wireless Way
Post:
Richmond, BC
Canada V6V 3A4
Technical Support: [email protected]
RMA Support: [email protected]
Fax: 1-604-231-1109
Web: http://www.sierrawireless.com/
Consult our website for up-to-date product descriptions, documentation, application notes, firmware
upgrades, troubleshooting tips, and press releases: www.sierrawireless.com
Document History
Version Date Updates
5. AT COMMANDS REFERENCE.......................................................................... 29
5.1. Command +GPSHELP ....................................................................................................29
5.1.1. Description ...............................................................................................................29
5.1.2. Syntax ......................................................................................................................29
5.1.3. Parameters and Defined Values ..............................................................................29
5.1.4. Examples..................................................................................................................29
5.2. Command +GPSNMEA ...................................................................................................30
INDEX ...................................................................................................................... 86
1.1. Overview
This document provides Sierra Wireless customers with a full description of the AT Commands for
Location Services, available when using compatible GPS receiver in combination with an AirPrime
Intelligent Embedded Module.
1.3. Abbreviations
Abbreviation Definition
CW Continuous Waveform
DR Dead Reckoning
ECEF Reference used in GNSS is called Earth-Centered, Earth-Fixed (ECEF)
GLONASS “Globalnaya Navigatsionnaya Sputnikovaya Sistema” or Global Navigation Satellite System
GNSS Global Navigation Satellite System
Abbreviation Definition
1.4. Glossary
1.4.4. WGS 84
The World Geodetic System is a standard for use in cartography, geodesy, and navigation. The latest
revision is WGS 84 (dating from 1984 and last revised in 2004).
Control AT Commands
+GPSINIT AT command
+GPSSTART AT command
+GPSSTOP AT command
+GPSRELEASE AT command
+GPSSLEEP AT command
+GPSSTATE AT command
+GPSVERS AT command
+GPSCONF AT command
+GPSCORE AT command
+GPSDEBUG AT command
+GPSNMEA AT command
+GPSPVT AT command
Aiding Service AT Command
+GPSAID AT command
+GPSTTFF AT command
To start the Location Services for the first time, if you don‟t use the default settings you must specify
your settings through the advanced AT commands described in this document.
For more information about factory default settings, please refer to +GPSSAVE AT command.
To start the Location Services for the first time, if you don‟t use the default settings you must specify
your settings through the advanced AT commands described in this document.
For more information about factory default settings, please refer to +GPSSAVE AT command.
To start the Location Services for the first time, if you don‟t use the default settings you must specify
your settings through the advanced AT commands described in this document.
For more information about factory default settings, please refer to +GPSSAVE AT command.
OK
+GPSEVINIT: 1
+GPSEVSTART: 1
+GPSEVPOS: 0
$GPGLL,0000.0000,N,00000.0000,E,150059.417,V,N
$GPGGA,150059.417,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,
$GPGSA,A,1,,,,,,,,,,,,,,,0.0,
$GPRMC,150059.417,V,0000.0000,N,00000.0000,E,0.0,0.0,080410,,,N
$GPVTG,0.0,T,,M,0.0,N,0.0,K,N
$GPGLL,0000.0000,N,00000.0000,E,150100.417,V,N
$GPGGA,150100.417,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,
$GPGSA,A,1,,,,,,,,,,,,,,,0.0,
$GPRMC,150100.417,V,0000.0000,N,00000.0000,E,0.0,0.0,080410,,,N
$GPVTG,0.0,T,,M,0.0,N,0.0,K,N
…
Warning: The +GPSEVSTART: 1 event is sent only if the GPS firmware has been successfully loaded. This
may take several seconds.
+GPSEVINIT: 1
AT+GPSSTART
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
$GPGLL,0000.0000,N,00000.0000,E,150059.417,V,N
$GPGGA,150059.417,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,
$GPGSA,A,1,,,,,,,,,,,,,,,0.0,
$GPRMC,150059.417,V,0000.0000,N,00000.0000,E,0.0,0.0,080410,,,N
$GPVTG,0.0,T,,M,0.0,N,0.0,K,N
$GPGLL,0000.0000,N,00000.0000,E,150100.417,V,N
$GPGGA,150100.417,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,
$GPGSA,A,1,,,,,,,,,,,,,,,0.0,
$GPRMC,150100.417,V,0000.0000,N,00000.0000,E,0.0,0.0,080410,,,N
$GPVTG,0.0,T,,M,0.0,N,0.0,K,N
…
Warning: The GPSEVSTART: 1 event is sent only if the GPS firmware has been successfully loaded. This
may take several seconds.
OK
+GPSEVINIT: 1
AT+GPSSTART
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
$GPGGA,,,,,,0,,,,,,,,*66
$GPVTG,,T,,M,,N,,K,N*2C
$GPRMC,,V,,,,,,,,,,N*53
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
…
+GPSEVINIT: 1
AT+GPSSTART
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
$GPGLL,0000.0000,N,00000.0000,E,150059.417,V,N
$GPGGA,150059.417,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,
$GPGSA,A,1,,,,,,,,,,,,,,,0.0,
$GPRMC,150059.417,V,0000.0000,N,00000.0000,E,0.0,0.0,080410,,,N
$GPVTG,0.0,T,,M,0.0,N,0.0,K,N
$GPGLL,0000.0000,N,00000.0000,E,150100.417,V,N
$GPGGA,150100.417,0000.0000,N,00000.0000,E,0,00,0.0,0.0,M,0.0,M,,
$GPGSA,A,1,,,,,,,,,,,,,,,0.0,
$GPRMC,150100.417,V,0000.0000,N,00000.0000,E,0.0,0.0,080410,,,N
$GPVTG,0.0,T,,M,0.0,N,0.0,K,N
…
Warning: The GPSEVSTART: 1 event is sent only if the GPS firmware has been successfully loaded. This
may take several seconds.
Note: [] For gpsOne and SiRFV, application LED is not defined.
$GPGLLNMEA frame
[TBD]
(Geographic Position - Latitude, Longitude)
(1) Magnetic variation (fields #10 and #11) are not available, left empty.
(2) Magnetic course (field #3) is not available, left empty.
(3) Geoidal separation (field #8) is not available in frames GGA on SL3010T product, left empty.
(4) Magnetic Variation (field #8) and degree E/W (field #9) are not available in frames RMC on SL3010T product, left
empty.
Field Description
[] For gpsOne: $PSWI sentences are not supported for that GPS Solution.
Note: Broadcasted Ephemeris data are used if data are available and valid. For example, HOT start
performed without broadcasted ephemeris will be treated as a WARM start.
Note: (1) Extended Ephemeris data (AEE/DEE) are used if data are available and valid. Extended
Ephemeris data are removed when FACTORY start is requested. Please refer to [3] for more
information.
The following table describes supported starting mode(s) from each Location Services application
state:
From SLEEP
From From SLEEP From SLEEP state
state
Description INITIALIZED state/ IDLE /DEEP SLEEP
/HIBERNATE
state mode mode
mode
Note: Please refer State Machine for more information about state transitions.
Note: Broadcasted Ephemeris data are used if data are available and valid. For example, HOT start
performed without broadcasted ephemeris will be treated as a WARM start.
Note: (1) Extended Ephemeris data (DEE) are used if data are available and valid. Extended Ephemeris
data are removed when FACTORY start is requested. Please refer to [3] for more information.
The following table describes supported starting mode(s) from each Location Services application
state:
From SLEEP
From From SLEEP From SLEEP state
state
Description INITIALIZED state/ IDLE /DEEP SLEEP
/HIBERNATE
state mode mode
mode
Note: [] gpsOne: As sleep modes are not implemented, it explains why all start performances are
possible from sleep states.
Note: Please refer State Machine for more information about state transitions.
Note: Broadcasted Ephemeris data are used if data are available and valid. For example, HOT start
performed without broadcasted ephemeris will be treated as a WARM start.
Note: (1) Extended Ephemeris data (AEE/DEE) are used if data are available and valid. Extended
Ephemeris data are removed when FACTORY start is requested. Please refer to [3] for more
information.
The following table describes supported starting mode(s) from each Location Services application
state:
From SLEEP
From From SLEEP From SLEEP state
state
Description INITIALIZED state/ IDLE /DEEP SLEEP
/HIBERNATE
state mode mode
mode
Note: Please refer State Machine for more information about state transitions.
AT+GPSINIT
AT+GPSRELEASE +GPSEVINIT: 1
+GPSEVRELEASE: 1
+GPSEVABORT:
AT+GPSSTART
+GPSEVINIT: 1
+GPSEVSTART: 1 GPS_INITIALIZED
AT+GPSSTOP
+GPSEVSTOP: 1
AT+GPSSTART
AT+GPSSTOP +GPSEVSTART: 1
+GPSEVSTOP: 1
AT+GPSSLEEP
+GPSEVSLEEP: 1
GPS_RUNNING GPS_SLEEP
AT+GPSSTART
+GPSEVSTART: 1
Caution: “GPSEVXXXX: 0” events are not represented, as they do not trigger any state transition.
Function
GPS_UNINITIALIZED
GPS_INITIALIZED
GPS_RUNNING
GPS_SLEEP
AT+GPSINIT X - - -
AT+GPSSTART X X - X
Function
GPS_UNINITIALIZED
GPS_INITIALIZED
GPS_RUNNING
GPS_SLEEP
AT+GPSSTOP - - X X
AT+GPSRELEASE - X - -
AT+GPSSLEEP - - X -
AT+GPSCONF - X X* X*
AT+GPSSTATE X X X X
AT+GPSVERS X X X X
AT+GPSNMEA - X X X
AT+GPSPVT - X X X
AT+GPSTTFF - X X X
AT+GPSSAVE X X X X
AT+GPSDEBUG - X X X
AT+GPSHELP X X X X
AT+GPSAID - X** X** X**
* Some configurations cannot be set in this state. Please refer to +GPSCONF command section for more information.
** Some configurations cannot be set in this state. Please refer to +GPSAID command section for more information.
Note: The unsolicited AT command responses are sent through the AT port where the last +GPSINIT or
+GPSSTART commands is received. This AT port is saved with +GPSSAVE AT command. Prior to
+GPSINIT and +GPSSTART, and if no AT port was saved, the unsolicited responses are sent to all
opened port.
5.1.1. Description
This AT Command is used to display the Location AT commands help.
5.1.2. Syntax
Action command
AT+GPSHELP=[<at_command>]
OK
Test command
AT+GPSHELP=?
+GPSHELP: (list of supported <at_command>s)
OK
5.1.4. Examples
Command Responses
+GPSINIT= <hw>[,<spi>,<cs>,<reset>,<enable>,
AT+GPSHELP <clock32k>]
Command Responses
AT+GPSHELP=GPSSTART
+GPSSTART=[<starting_mode>]
Note: displays information about the
+GPSSTART AT command. <starting_mode>: 0 [GPS_HOT_START]
<starting_mode>: 1 [GPS_WARM_START]
<starting_mode>: 2 [GPS_COLD_START]
<starting_mode>: 3 [GPS_FACTCOLD_START]
OK
AT+GPSHELP=? +GPSHELP:
(GPSINIT,GPSNMEA,GPSSTART,GPSSTOP,GPSSTATE,GPSTTFF,GPSS
Note: displays all supported Location AVE, etc.)OK
AT command.
5.2.1. Description
This AT command configures the NMEA frames flow, the output port and the NMEA sentences
encode mask.
The list of supported NMEA frames depends on the GPS receiver. Please refer to Supported NMEA
sentences for more details.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
Note: NMEA sentences are output as unsolicited AT command responses. In consequence, in case the
output port is not dedicated but shared with AT commands, NMEA frames output will be suspended
while an AT command is being processed, and resume once the AT command has returned. In
case of significant delay, some NMEA sentences may be partially or totally lost.
5.2.2. Syntax
Action command
AT+GPSNMEA=[<output>][,[<rate>][,<nmea_mask>],[<nmea_profile>]]
OK
Read command
AT+GPSNMEA?
+GPSNMEA: <output>,<rate>,<nmea_mask>,<nmea_profile>
OK
Test command
AT+GPSNMEA=?
+GPSNMEA: (list of supported <output>s),(list of supported <rate>s), (list
of supported <nmea_mask>s), (list of supported NMEA profiles)
OK
Note: The port has to be different from the port used for the communication
between GPS receiver and the Embedded Module. See +GPSINIT for
more details.
4 NMEA frames output on port where the +GPSNMEA command was received.
The supported ports are described above.
0x1X CMUX virtual port, Logical ports over UART1 where 1 <= X <=4
0x2X CMUX virtual port, Logical ports over UART2 where 1 <= X <=4
0x5X CMUX virtual port, Logical ports over UART3 where 1 <= X <=4
<rate>: This parameter defines the NMEA frames update rate in seconds.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 1.
Range: 0-65535
Note: If this parameter is equal to 0, the NMEA frames will be sent only
once, on the next occurrence of the NMEA frames update.
Note: This parameter is impacted by the Reduced Rate GPS Navigation.
Please refer to +GPSCONF AT command for more information.
<nmea_mask>: NMEA sentences list encode mask (Hexadecimal value entered without the
prefix “0x”).
This parameter defines the NMEA sentences encode mask as described
hereunder.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0xFFFF.
Range: 0x0-0xFFFF
Note: [] All NMEA frames may not be supported depending on GPS
receiver type. Refer to Supported NMEA sentences for more
information.
(1 << 0): GPS_NMEA_GGA_EN - NMEA $GPGGA (GPS Fix Data) output enabled
(1 << 1): GPS_NMEA_GGSA_EN - NMEA $--GSA (GNSS DOPS and Active Satellites)
output enabled.
(1 << 3): GPS_NMEA_VTG_EN - NMEA $--VTG (Course Over Ground and Ground
Speed) output enabled.
(1 << 7): GPS_NMEA_ZDA_EN - NMEA $--ZDA (Time & Date) output enabled (if
supported by GPS receiver).
Note: [] All NMEA profiles may not be supported depending on GPS
receiver type. Refer to Supported NMEA sentences for more
information.
5.2.4. Examples
Command Responses
AT+GPSNMEA=3 OK
Note: request NMEA frames output on port 3 or
(USB).
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSNMEA=1,5 OK
Note: request NMEA frames output on UART1 (1) or
with an update rate of 5 seconds.
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSNMEA=1,1,FFFF OK
Note: request all NMEA frames output on UART1 or
(1) with an update rate of 1 second.
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
Command Responses
AT+GPSNMEA=1,1,FFFF,3 OK
Note: request all NMEA frames output on UART1 or
(1) with an update rate of 1 second, only for GPS
and GLONASS constellation ( No GN +GPS ERROR: X
NMEA sentence will be displayed ).
Note: For more information about X value, please
refer to Location AT commands error codes
description.
AT+GPSNMEA=,60,19 OK
Note: request VTG+GGA+GLL NMEA sentences or
output on default port with an update rate of 60
seconds. +GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSNMEA=,,19 OK
Note: request VTG+GGA+GLL NMEA sentences or
output on default port with the default update rate.
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSNMEA=? +GPSNMEA: (0-5,11-14,21-24,51-54),(0-65535),(0-
FFFF), (0-FF)
OK
AT+GPSNMEA?
+GPSNMEA: 1,1,FFFF,FF
Note: Allow to retrieve the current default
configuration. OK
5.3.1. Description
This AT command configures the PVT sentences flow including the output port, the output rate, and
the PVT sentences output mask.
The PVT sentences include the main GPS information like Fix Status, Position, Velocity, Time and
satellites information.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
Note: PVT sentences are output as unsolicited AT command responses. In consequence, in case the
output port is not dedicated but shared with AT commands, PVT sentences output will be
suspended while an AT command is being processed, and resume once the AT command has
returned. In case of significant delay, some PVT sentences may be partially or totally lost.
5.3.2. Syntax
Action command
AT+GPSPVT=[<output>][,[<rate>][,<pvt_mask>]]
OK
Read command
AT+GPSPVT?
+GPSPVT: <output>,<rate>,<pvt_mask>
OK
Test command
AT+GPSPVT=?
+GPSPVT: (list of supported <output>s),(list of supported <rate>s), (list
of supported <pvt_mask>s)
OK
<output>: This parameter specifies the port which is to be used by the application to transmit
the PVT sentences. (Hexadecimal value entered without the prefix “0x”). This port
can also be used simultaneously as the NMEA frames output port if need be.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
Note: The port has to be different from the port used for the communication
between GPS receiver and the Embedded Module. See +GPSINIT for
more details.
4 PVT sentences output on port where the +GPSPVT command was received.
0x1X CMUX virtual port, Logical ports over UART1 where 1 <= X <=4
0x2X CMUX virtual port, Logical ports over UART2 where 1 <= X <=4
0x5X CMUX virtual port, Logical ports over UART3 where 1 <= X <=4
<rate>: This parameter defines the PVT sentences update rate in seconds.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 1.
Range: 0-65535
Note: If this parameter is equal to 0, the PVT sentences will be sent only
once, on the next occurrence of the PVT sentences update.
Note: This parameter is impacted by the Reduced Rate GPS Navigation.
Please refer to +GPSCONF AT command for more information.
<pvt_mask>: PVT sentences list encode mask (Hexadecimal value entered without the prefix
“0x”).
This parameter defines the PVT sentences encode mask as described
hereunder.
The PVT sentence includes the header +GPSPVT: X with X defined as the PVT
sentence identifier. All the fields are separated by a comma.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0xFFFF.
Range: 0x0-0xFFFF
0: PVT sentence including the main GPS position information. The fields are
described hereunder:
Header: +GPSPVT: 0
1: UTC of position fix in HH:MM:SS format
2: Date in dd/mm/yyyy format
3: GPS position fix state: “NO FIX”, “ES FIX” (Estimated Fix), “2D FIX” or “3D
FIX”
4: Latitude: Direction („N‟ North or „S‟ South) and the Latitude in DD MM‟SS.SS”
5: Longitude: Direction („E‟ East or „W‟ West) and the Longitude in DDD
MM‟SS.SS”
6: Altitude above Mean Sea Level in meters in +/-mmmm format
Example:
+GPSPVT: 0,08:17:32,27/04/2010,3D FIX,N 48 34'52.90'',E 002
21'58.65'',+0010m
1: PVT sentence including the Course and the Speed over the ground. The fields
are described hereunder:
Header: +GPSPVT: 1
1: Dimensional Course Over Ground in degrees in ddd.d format [0-359.9].
2: Dimensional Speed Over Ground in meter per second in sss format
Example:
+GPSPVT: 1,087.5deg,021m/s
2: PVT sentence including the main satellites information. The fields are described
hereunder:
Header: +GPSPVT: 2
1: Satellites in View used for Navigation followed by “SV”
5.3.4. Examples
Command Responses
AT+GPSPVT=3 OK
Note: request PVT sentences output on port 3 or
(USB).
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSPVT=3,5 OK
Note: request PVT sentences output on port 3 or
(USB) with an update rate of 5 seconds.
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSPVT=3,1,FFFF OK
Note: request all PVT sentences output on USB or
(3) with an update rate of 1 second.
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
Command Responses
AT+GPSPVT?
+GPSPVT: 1,1,FFFF
Note: Allow to retrieve the current default
configuration. OK
+GPSEVSTART: 1
+GPSEVPOS: 0
+GPSPVT: 1,000.0deg,000m/s
+GPSPVT: 2,06SV,0.0HDOP,04,3.5
+GPSPVT: 3,1,1,[02,U,03],[04,U,04],[09,U,04],[12,U,04],[14,U,03],[32,U,03]
+GPSPVT: 1,000.0deg,000m/s
+GPSPVT: 2,06SV,0.0HDOP,28,19.7
+GPSPVT: 3,1,1,[02,U,11],[04,U,19],[09,U,16],[12,U,23],[14,U,28],[32,U,21]
…
Warning: The +GPSEVSTART: 1 event is sent only if the GPS firmware has been successfully loaded. This
may take several seconds.
5.4.1. Description
The current setting is stored in FLASH memory as the new default settings when the command
+GPSSAVE=1 is entered. All the parameters of +GPS AT commands are saved. These settings will
be used after each Embedded Module reset as default configuration.
If the user wants the application to retrieve the default factory configuration (refer to each Location AT
command description), the command AT+GPSSAVE = 0 should be given and the Embedded Module
should be reset.
The application state (Please refer to State Machine for more information) is also saved as default
configuration and used at the start (after the Embedded Module reset) to put the application in this
state. This configuration is used for the automatic start.
Please refer to Diagram for settings management for more information.
Note: The AT port where unsolicited Location AT command responses are sent is also saved with
+GPSSAVE AT command. Please refer to AT Command Syntax chapter for more information.
5.4.2. Syntax
Action command
AT+GPSSAVE= <mode>
OK
Read command
AT+GPSSAVE?
+GPSSAVE:<mode>
OK
Test command
AT+GPSSAVE=?
+GPSSAVE: (list of supported <mode>s)
OK
0 The application should reset all settings to their factory default values for the
next Embedded Module reset.
1 The application should save the current settings as new default settings. If the
Embedded Module is reset, the application uses those settings at restart.
5.4.4. Examples
Command Responses
AT+GPSSAVE? +GPSSAVE: 0
OK
Note: 0 if no saved settings or 1 if settings have been saved.
AT+GPSSAVE=1 OK
AT+GPSSAVE=?
+GPSSAVE: (0-1)
OK
Location AT application
started
+GPSSAVE?
(Does Location Application +GPSSAVE: 1
+GPSSAVE: 0
Flash Object exist?) (YES)
(NO)
Note: The factory default values are described for each field in tables describing Location AT commands.
Note: If +GPSSAVE already equals 1 and a setting is modified through an AT command (for example
+GPSCONF), the modified setting is not saved until the +GPSSAVE=1 command is entered.
Note: The configuration of current session can be retrieved with the read command of each +GPS AT
command, for example “AT+GPSCONF?”.
5.5.1. Description
This AT command starts the GPS or restarts the GPS after the +GPSSTOP or +GPSSLEEP
command. The input parameter specifies the type of START command.
When AT+GPSSTART (without parameter) is entered, the GPS starts with the last known starting mode
value within current session. That starting mode can be retrieved using “+GPSTART?” read command.
OK is returned if the request has been processed. The final result will be sent to the associated event
through an unsolicited response after the action has been completed.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
5.5.2. Syntax
Action command
AT+GPSSTART= [<starting_mode>]
OK
Read command
AT+GPSSTART?
+GPSSTART:<starting_mode>
OK
Test command
AT+GPSSTART=?
+GPSSTART: (list of supported <starting_mode>s)
OK
Unsolicited response
+GPSEVSTART: <status>
2 "COLD" start with NO previous NV store data except calibration data, updated
Almanac, and Extended Ephemeris if available. Time and last location are
unknown.
3 "FACTCOLD" start with Factory Default Data instead of previous run data.
Note: Please refer to Starting mode description in GPS receiver capabilities and restrictions chapter for
more information.
Note: GPS Data are stored to NV memory during specific Location Services Application transition. Please
refer to GPS data management for more information.
Note: [] gpsOne: For WARM, COLD and FACTORY commanded Starting Modes, a HOT Starting Mode
could be performed if the duration between stop and start transitions is too short. In that case, the
“+GPSEVERROR: -23,9” error event will be received. Recommended value for that duration is 80
seconds.
5.5.4. Examples
Command Responses
AT+GPSSTART? +GPSSTART: 0
OK
Note: The current starting mode is the “HOT” start.
AT+GPSSTART=1 OK
Note: Starts GPS in WARM mode. +GPSEVSTART: 1
or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSSTART=? +GPSSTART: (0-3)
OK
6.1.1. Description
This AT command returns the current application state.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
6.1.2. Syntax
Read command
AT+GPSSTATE?
+GPSSTATE:<state>
OK
Test command
AT+GPSSTATE=?
OK
6.1.4. Examples
Command Responses
AT+GPSSTATE? +GPSSTATE: 0
OK
AT+GPSSTATE=? OK
6.2.1. Description
This AT command initializes the Location Services. It is accepted only if application is in
GPS_UNINITIALIZED state. It allows specifying the hardware setup of the system.
Some predefined setups (Hardware Configuration) are available for ease of use.
If this command is omitted, last saved hardware setup is used. If no hardware setup was saved,
default factory configuration is used.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
OK is returned if the request has been processed. The final result will be sent to the associated event
through an unsolicited response after the request has been processed.
6.2.2. Syntax
Action command
AT+GPSINIT= <hw>
[,<bus_type>,<bus_number>,<on_off>,<reset>,<gps_wakeup>,<host_wakeup
>,<clock32k>,<appli_led>]
OK
Read command
AT+GPSINIT?
+GPSINIT:<hw>,<bus_type>,<bus_number>,<on_off>,<reset>,<gps_wakeup>,
<host_wakeup>,<clock32k>,<appli_led>
OK
Test command
AT+GPSINIT=?
+GPSINIT: (list of supported <hw>s), (list of supported <bus_type>s), (list
of supported <bus_number>s), (list of supported <on_off>s),(list of
supported < reset >s),(list of supported <gps_wakeup>s),(list of supported
Unsolicited response
+GPSEVINIT: <status>
1 UART
2 I2C
1 Bus number 1
2 Bus number 2, for example UART2 (if a UART bus type is selected)
Range: 0-65535
In case the user intends to manage GPS receiver power up/power down on its own
(i.e., independently of +GPSSTART and +GPSSTOP command), then the
parameter shall be set to 65535.
Range: 0-65535
Range: 0-65535
In case GPS receiver wake-up is not to be driven by a dedicated GPIO, parameter
must be set to 65535.
Note: For UART bus type, 65535 is the only accepted value. For I2C, 65535
is not accepted, a GPIO must be specified.
Range: 0-65535
In case application Led is not to be driven by a GPIO, parameter must be set to
65535.
In case application Led GPIO is to be automatically selected by the Location AT
application upon Embedded Module type, parameter must be set to 65534. In this
case the application Led GPIO is forced to GPIO31 for the Q26/WMP Embedded
Modules and GPIO20 for the SL6087 Embedded Module.
6.2.4. Examples
Command Responses
AT+GPSINIT? +GPSINIT:
1,1,2,22,23,65535,65535,1,65534
OK
Note: [] Default configuration response for XM0110
AT+GPSINIT=1 OK
Note: For default configuration applied on XM0110
+GPSEVINIT: 1
or
+GPS ERROR: X
Note: For more information about X value, please
refer to Location AT commands error codes
description.
AT+GPSINIT=11 OK
Note: [] For XM0110 Dev Kit DB V2 HW settings for UART
+GPSEVINIT: 1
or
+GPS ERROR: X
Note: For more information about X value, please
refer to Location AT commands error codes
description.
AT+GPSINIT=2 OK
Note: [] Example for gpsOne
+GPSEVINIT: 1
or
+GPS ERROR: X
Note: For more information about X
value, please refer to Location AT
commands error codes description.
AT+GPSINIT=30 OK
Note: [] Example for SiRFV
+GPSEVINIT: 1
or
+GPS ERROR: X
Note: For more information about X
value, please refer to Location AT
commands error codes description.
AT+GPSINIT=1,1,2,22,23,65535,0,1,65534 OK
Note: [] XM0110: For same HW settings as Hardware Configuration
11 but with INT0 as host wake-up interrupt. +GPSEVINIT: 1
or
+GPS ERROR: X
Note: For more information about X value, please
refer to Location AT commands error codes
description.
Command Responses
Hardware Type 1
(<hw>=1), or Hardware Hardware
Hardware Configuration 13 Configuration 10
Configuration 11 (<hw>=13) (<hw>=10)
(<hw>=11)
XM0110 Dev Kit DB XM0110 Dev Kit DB Old XM0110 Dev Kit DB
Hardware setup (WM0701201-23-2X) (WM0701201-23-2X) (WM0701201-23-10)
compatibility
for UART. for I2C for UART.
<hw> 1 1 1
<bus_type> 1 2 1
<bus_number> 2 1 2
<on_off> 22 22 22
<reset> 23 23 19
<gps_wakeup> 65535 (Not managed) 24 65535 (Not managed)
<host_wakeup> 65535 (Not managed) 65535 (Not managed) 65535 (Not managed)
<clock32k> 1 1 1
65534 (GPIO
65534 (GPIO automatically
automatically selected
selected depending on
depending on embedded
<appli_led> embedded module type: 20
module type: GPIO31 for
GPIO31 for Q26/WMP and
Q26/WMP and GPIO20
GPIO20 for SL6087).
for SL6087).
Note: No Hardware Configuration is available for gpsOne. Only Hardware type parameter is used.
Hardware setup
AR6220-G Embedded Module
compatibility
<hw> 3
<bus_type> 1
<bus_number> 2
<on_off> 101 (Internal GPIO)
<reset> 100 (Internal GPIO)
<gps_wakeup> 65535 (Not managed)
<host_wakeup> 65535 (Not managed)
<clock32k> 1
<appli_led> 65535 (Not managed)
6.3.1. Description
This AT command stops the Location Services.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
OK is returned if the request has been processed. The final result will be sent to the associated event
through an unsolicited response after the action has been completed.
GPS Data are stored to NV memory during specific Location Services Application transitions. Please
refer to GPS data management for more information.
6.3.2. Syntax
Action command
AT+GPSSTOP
OK
Test command
AT+GPSSTOP=?
OK
Unsolicited response
+GPSEVSTOP: <status>
6.3.4. Examples
Command Responses
AT+GPSSTOP OK
+GPSEVSTOP: 1
or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSSTOP=? OK
6.4.1. Description
This AT command puts the GPS receiver into the specified GPS sleep mode.
This command stops the GPS processing and put the GPS receiver in a low power mode. This
consumes slightly more power than complete off mode, but allows faster restarts when the GPS is
restarted with the +GPSSTART command. Please refer to [2] for more details about the GPS sleep
modes.
OK is returned if the request has been processed. The final result will be sent to the associated event
through an unsolicited response after the action has been completed.
GPS Data are stored to NV memory during specific Location Services Application transitions. Please
refer to GPS data management for more information.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
Note: [] gpsOne: +GPSSLEEP AT command is supported but without effect on power consumption.
6.4.2. Syntax
Action command
AT+GPSSLEEP = [<sleep_mode>]
OK
Read command
AT+GPSSLEEP?
+GPSSLEEP:<sleep_mode>
OK
Test command
AT+GPSSLEEP=?
+GPSSLEEP: (list of supported <sleep_mode>s)
OK
Unsolicited response
+GPSEVSLEEP: <status>
Note: [] For XM0110 and SiRFV: GPS 3D fix is needed to switch in IDLE mode. If 20 seconds after the
command was sent, if the GPS receiver has not been capable to switch to IDLE mode, the event
+GPSEVSLEEP: 0 will be received.
6.4.4. Examples
Command Responses
AT+GPSSLEEP OK
+GPSEVSLEEP: 1
or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSSLEEP=? +GPSSLEEP: (0,2)
OK
6.5.1. Description
This command reports the calculated TTFF (2-Dimensional Position Fix and 3-Dimensional Position
Fix) of the last run if no new run has started, an error if the current run has no fix yet, or the calculated
TTFF of this run if it has fixed.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
Note: 2D TTFF value can be equal to 3D TTFF value if 3-Dimensional Position is directly fixed. This is
subjected to GPS conditions.
Note: GPS_ERR_GPS_POS_NOT_FIXED (-30) is returned if the current run is not fixed.
6.5.2. Syntax
Read command
AT+GPSTTFF?
+GPSTTFF:<2D_time>,<3D_time>
OK
Test command
AT+GPSTTFF=?
OK
6.5.4. Examples
Command Responses
AT+GPSTTFF=? OK
6.6.1. Description
This AT Command releases the Location Services hardware and software resources.
OK is returned if the request has been processed. The final result will be sent to the associated event
through an unsolicited response after the action has been completed.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
6.6.2. Syntax
Action command
AT+GPSRELEASE
OK
Test command
AT+GPSRELEASE=?
OK
Unsolicited response
+GPSEVRELEASE: <status>
6.6.4. Examples
Command Responses
AT+GPSRELASE OK
+GPSEVRELEASE: 1
or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSRELEASE=? OK
6.7.1. Description
This AT Command reports the Software Version of the Location AT command set.
6.7.2. Syntax
Read command
AT+GPSVERS?
+GPSVERS:<version>
OK
Test command
AT+GPSVERS=?
OK
6.7.4. Examples
Command Responses
6.8.1. Description
This AT command configures the Location service and GPS receiver.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
6.8.2. Syntax
Action command
AT+GPSCONF= <config_type>,<config_value>
OK
Read command
AT+GPSCONF?
+GPSCONF: <config_type>,<config_value>
[+GPSCONF: <config_type>,<config_value>]
OK
Test command
AT+GPSCONF=?
+GPSCONF:<config_type>,(list of supported <config_value>s)
[+GPSCONF:<config_type>,(list of supported <config_value>s)]
OK
<config_type>: This parameter specifies the configuration type on which the configuration value is
applied.
0 Sets GPS navigation low power modes. Reduces power consumption while in
GPS_RUNNING state without impacting update rate, but at the expense of GPS
accuracy degradation. Please refer to [2] for more details about the navigation low
power modes.
2 Specifies the GPS Aiding mode. Please refer to [3] for more details about the GPS
Aiding modes.
3 Configures the host Wakeup software mechanism allowing the Location Library to
be compatible with the Embedded Module sleep mode.
4 Defines the banking time. This option is used only for debug purpose.
For <config_type> = 0 If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
For <config_type> = 1 If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 1.
0: Receive chain optimized for internal LNA, and GPS receiver LNA_EN output signal
is automatically driven.
1: Receive chain optimized for external LNA, and GPS receiver LNA_EN output signal
is automatically driven.
2: Receive chain optimized for internal LNA, and GPS receiver LNA_EN output signal
is always OFF.
3: Receive chain optimized for external LNA, and GPS receiver LNA_EN output signal
is always OFF.
For <config_type> = 2 If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
For <config_type> = 3 If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
For <config_type> = 4 Specifies the number of seconds to wait before disabling AEE calculation.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: -1.If -1, the banking time is not taken account.
If 0, the AEE calculation will be stopped immediately.
For <config_type> = 5 Defines the targeted Reduced Rate GPS Navigation in seconds. Please refer to [2]
for more information.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 1.
0: TX Blanking disabled.
1: TX Blanking activated.
For <config_type> = 7 Defines CW Removal configuration. Please refer to [6] for more information.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information. If value has been changed,
+GPSSAVE=1 AT Command must be send, and reset must be issued after using this
command.
Factory default value: 1.
Note: [] gpsOne: RESET must be issued after this option is configured.
Note: For <config_type>3 (host Wakeup software mechanism configuration), the host Wakeup external
interrupt input must be specified through the +GPSINIT AT command before the activation of this
option, otherwise the error GPS_ERR_SERVICE (-26) will be returned by the +GPSCONF AT
command.
Note: For <config_type>=4, the value is applied at each +GPSSTART AT command. Therefore the
banking time is reinitialized for GPS_INITIALIZED & GPS_SLEEP state to GPS_RUNNING state
transition.
Note: For <config_type>=5, <config_value> defines the targeted Reduced Rate GPS Navigation. The
applied Rate GPS Navigation can be lower than targeted value in order to maintain best GPS
navigation conditions. Applied Rate GPS Navigation depends on GPS conditions and could be
changed automatically from minimum value (1 second) to targeted <config_value>. Please refer to
[2] for more information.
Note: For <config_type>=5, <config_value> impacts NMEA frames update rate specified by +GPSNMEA
AT command, PVT frames update rate specified by +GPSPVT AT command and Core information
update rate specified by +GPSCORE AT command as those options are based on this Reduced
Rate GPS Navigation. For example, if <config_value> is equal to 2, the NMEA frames update rate
and PVT frames update rate will be typically doubled.
Note: For <config_type>=6, the blanking is automatically disabled every time the state machine goes to
GPS_RUNNING.
Note: For <config_type>=7, for [] XM0110, the setting of CW removal is automatically disabled every
time the state machine goes to GPS_RUNNING. The user has to set it again a few seconds after
start event. This parameter is not restored by the +GPSSAVE AT Command.
Option
GPS_INITIALIZED
GPS_IDLE_MODE
GPS_RUNNING
GPS_SLEEP /
GPS_SLEEP /
<config_type> = 2 (Aiding
Not allowed Not allowed Allowed Allowed
mode)
<config_type> = 3 (Host
Not allowed Not allowed Allowed Allowed
wakeup)
<config_type> = 4 (Banking
Not allowed Not allowed Allowed Allowed
time)
<config_type> = 5 (Reduced
Allowed Allowed Allowed Allowed
Rate)
GPS_HIBERNATE_MODE
Option
GPS_INITIALIZED
GPS_IDLE_MODE
GPS_RUNNING
GPS_SLEEP /
GPS_SLEEP /
<config_type> = 6 (Blanking) Allowed Allowed Allowed Allowed
<config_type> = 7 (CW
Allowed Not allowed Not allowed Not allowed
removal) for [] XM0110
<config_type> = 7 (CW
Allowed Allowed Allowed Allowed
removal) for [] SiRFV
<config_type> = 8 (GPS
Allowed Allowed Allowed Not allowed
enabled)
6.8.5. Examples
Responses for Responses for
Command
[ ] XM0110 and SiRFV [ ] gpsOne
AT+GPSCONF=0,0 OK OK
Note: request continuous navigation or or
mode.
+GPS ERROR: X +GPS ERROR: X
Note: For more information about X Note: For more information about X
value, please refer to Location AT value, please refer to Location AT
commands error codes description. commands error codes description.
AT+GPSCONF=? +GPSCONF: 0,(0-3)
+GPSCONF: 1,(0-1)
+GPSCONF: 2,(0-1)
+GPSCONF: 3,(0-1)
+GPSCONF: 8,(0-1)
+GPSCONF: 4,(0-FFFFFFFF)
OK
+GPSCONF: 5,(1-10)
+GPSCONF: 6,(0-1)
+GPSCONF: 7,(0-1)
OK
6.9.1. Description
This AT command configures the debug mode and the output port of the debug data.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
6.9.2. Syntax
Action command
AT+GPSDEBUG= <output>,<debug_data>
OK
Read command
AT+GPSDEBUG?
+GPSDEBUG: <output>,<debug_data>
OK
Test command
AT+GPSDEBUG=?
+GPSDEBUG: (list of supported <output>s),(list of supported <debug_data>s)
OK
0x1X CMUX virtual port, Logical ports over UART1 where 1 <= X <=4
0x2X CMUX virtual port, Logical ports over UART2 where 1 <= X <=4
0x5X CMUX virtual port, Logical ports over UART3 where 1 <= X <=4
(1<<0) Raw data activated. The raw data are used only for GPS debug purpose.
(1<<1) Debug Core information activated. The debug core information is used only for
debug purposes.
Debug Core information is received through Developer Studio Trace level 2.
Note: Raw data output, due to its binary format, requires the use of the port in the exclusive online mode.
No AT command can be entered or received on same port The specified port (<output> parameter)
must then be different from the port which is to be used by the application to transmit the NMEA
frames (configured by the +GPSNMEA command).
Note: The production mode must be set to receive consistent Raw Data flow. Consequently, Raw Data
and Debug Core information (received through Developer Studio Trace level 2) cannot be received
simultaneously.
6.9.4. Examples
Command Responses
AT+GPSDEBUG=3,1 OK
Note: request raw data output on port 3 (USB). or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSDEBUG=3,0 OK
Note: disable raw data output. or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
command error codes description.
AT+GPSDEBUG=0,2 OK
6.10.2.1. Foreword
Intention has been to limit as much as possible the Location Library GPS Aiding Service AT
commands changes while porting to gpsOne GPS solution. As a consequence some terminology
may not be as accurate as it could be when considering gpsOne iso XM010/SiRFV GPS solution. For
example, “Assistance data” or “Predicted Orbit data” would have been more appropriate than
Downloaded Extended Ephemeris as in gpsOne case those data are not only Ephemeris.
Note: []gpsOne – SL3010T: file system is used for gpsOneXTRA feature. When DEE is downloaded, a
file “xtra.bin” is created in \location folder. This file should not be removed as it is used in injection
process. For more information about the feature aiding on SL3010T, please confer to [9].
6.10.3. Syntax
For <config_type> = 0
Action command
AT+GPSAID=<config_type>,<aee_mode>
OK
For <config_type> = 1
Action command
AT+GPSAID=<config_type>,<dee_mode>[, [<dee_period>]
[,[<dee_server_address>] [,[<dee_server_port>]
[,[<dee_server_code>][,[<dee_socket_type>][,[<dee_timeout>]]]]]]]
OK
For <config_type> = 2
Action command
AT+GPSAID=<config_type>,<dee_command>
OK
For <config_type> = 3 and <dee_server_type>=1
Action command
AT+GPSAID=<config_type>,<dee_server_type>,<dee_secondary_server_addr
ess>,<dee_tertiary_server_address>
OK
For <config_type> = 3 and <dee_server_type>=2
Action command
AT+GPSAID=<config_type>,<dee_server_type>,<dee_primary_sntp_server_a
ddress>,<dee_secondary_sntp_server_address>,<dee_tertiary_sntp_serve
r_address>
OK
Read command
AT+GPSAID?
+GPSAID: 0,<aee_mode>
+GPSAID: 1,<dee_mode>,
<dee_period>,<dee_server_address>,<dee_server_port>,<dee_server_code>,<dee_
socket_type>,<dee_timeout>
+GPSAID: 2,<dee_command>
+GPSAID: 3,1,<dee_secondary_server_address>,<dee_tertiary_server_address>
+GPSAID:
3,2,<dee_primary_sntp_server_address>,<dee_secondary_sntp__server_address>,
<dee_tertiary_sntp_server_address>
OK
Test command
AT+GPSAID=?
+GPSAID: 0,(list of supported <aee_mode>s)
+GPSAID: 1,(list of supported <dee_mode>s),(list of supported
<dee_period>s),(list of supported <dee_server_address>s),(list of supported
<dee_server_port>s), (list of supported <dee_server_code>s),(list of
supported <dee_socket_type>s),(list of supported <dee_timeout>s)
+GPSAID: 2,(list of supported <dee_command>s)
+GPSAID: 3,1,(list of supported <dee_secondary_server_address>s),(list of
supported <dee_tertiary_server_address>s)
+GPSAID: 3,2,(list of supported <dee_primary_sntp__server_address>s),(list
of supported <dee_secondary_sntp_server_address>s),(list of supported
<dee_tertiary_sntp_server_address>s)
OK
0 AEE configuration.
1 DEE configuration.
2 DEE command.
<aee_mode>: This parameter specifies the AEE (Autonomous Extended Ephemeris) mode.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
0: AEE is deactivated.
1: AEE is activated.
<dee_mode>: This parameter specifies the DEE (Downloaded Extended Ephemeris) mode.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
Note: [] gpsOne: RESET must be issued after this option is configured.
0: DEE is deactivated.
1: DEE is activated.
Range: 0-65535
Range: 0 – 65535
3: This command forces EE file download. This command is used only for test
purpose.
Note: [] gpsOne: That command is not supported and result will be
similar to <dee_command>=1.
<dee_server_type>: This parameter specifies the DEE server type on which the configuration is
applied.
Note: If <dee_period> is not supported, the error GPS_ERR_INVALID_PARAMETER (-4) is returned. For
more information on DEE value range, please refer to [3].
Note: Before <dee_command> configuration, <dee_mode> should be activated
Note: [] XM0110 and SiRFV: Before <dee_command> configuration, <dee_server_xxxx> parameters
should be configured.
Note: <dee_command> = 1 allows DEE file update as described hereunder:
Note: <dee_command> is automatically configured to 0 when the DEE file is updated. If the command is
pending, for example in GPS_INITIALIZED state, the read of this parameter returns the last entered
DEE command.
Note: If a newer DEE file is available on DEE server, DEE file download is performed. Please refer to [3]
for more information about DEE validity. If no updated DEE file is available on the DEE server, DEE
file download is aborted. Consequently, the following event is received:
Note: [] XM0110 and SiRFV: +GPSEVAID event will be received informing that DEE download is
aborted with abort cause equal to GPS_AIDING_DEE_NACK_ERROR.
Note: [] gpsOne: +GPSEVAID event will be received informing that DEE download is aborted with abort
cause equal to GPS_AIDING_OK.
Note: Factory start (please refer to GPSSTART section) removes DEE file. To retrieve it, DEE file
download should be requested once again.
Option
GPS_IDLE_MODE
GPS_NITIALIZED
GPS_RUNNING
GPS_SLEEP /
GPS_SLEEP /
GPS_HIBERNATE_MODE
Option
GPS_IDLE_MODE
GPS_NITIALIZED
GPS_RUNNING
GPS_SLEEP /
GPS_SLEEP /
[] For XM0110 and SiRFV:
Authorized (1) Allowed Allowed Authorized (1)
<config_type> = 2 (DEE command)
(1) In this state that AT command is authorized but the configuration will become effective in “Allowed” state.
6.10.6. Examples
Command Responses
AT+GPSAID=0,1 OK
Note: activates the AEE mode. or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT commands error
codes description.
AT+GPSAID=1,1 OK
Note: activates the DEE mode. or
+GPS ERROR: X
Note: For more information about X value, please refer to
Location AT commands error codes description.
AT+GPSAID=2,1 OK
Note: requests EE file download. or
+GPS ERROR: X
Note: For more information about X value, please refer to
Location AT commands error codes description.
Command Responses
+GPSEVINIT: 1
AT+GPSNMEA=0
OK
AT+GPSAID=2,1
OK
AT+GPSSTART=3
OK
+GPSEVAID: 1,1
+GPSEVSTART: 1
+GPSEVPOS: 0
+GPSEVAID: 1,2
+GPSEVPOS: 2
+GPSEVPOS: 3
+GPSEVAID: 1,4,3720
…
+GPSEVINIT: 1
AT+GPSNMEA=0
OK
AT+GPSSTART=3
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
AT+GPSAID=2,1
OK
+GPSEVAID: 1,1
+GPSEVAID: 1,2
+GPSEVPOS: 2
+GPSEVPOS: 3
+GPSEVAID: 1,4,3720
…
AT+CFUN=1 or HW reset
AT+GPSINIT=2
+GPSEVINIT: 1
AT+GPSAID=1,1
AT+GPSAID=2,1
+GPSEVAID: 1,2
+GPSEVAID: 1,4,1,yy/MM/dd,hh:mm:ss,yy/MM/dd,hh:mm:ss
AT+GPSSTART=3
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
+GPSEVPOS: 3
…
6.11.1. Description
This AT command configures core information mode and the output port of the core information.
Please refer to the State Machine and AT Commands Calls Requirements for more information about
call state and transition mode.
6.11.2. Syntax
Action command
AT+GPSCORE=[<output>][,[<rate>][,<core_info>]]
OK
Read command
AT+GPSCORE?
+GPSCORE: <output>,<rate>,<core_info>
OK
Test command
AT+GPSCORE=?
+GPSCORE: (list of supported <output>s) ,(list of supported <rate>s)
,(list of supported <core_info>s)
OK
<output>: This parameter specifies the port to be used by the application to transmit the core
information. (Hexadecimal value entered without the prefix “0x”).
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
4 Core information output on port where the +GPSCORE command was received.
0x1X CMUX virtual port, Logical ports over UART1 where 1 <= X <=4
0x2X CMUX virtual port, Logical ports over UART2 where 1 <= X <=4
0x5X CMUX virtual port, Logical ports over UART3 where 1 <= X <=4
<rate>: This parameter defines the core information update rate in seconds.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 1.
Range: 0-65535
Note: If this parameter equals 0, the core information frames will be sent
only once, on the next occurrence of the core information frames
update.
Note: This parameter is impacted by the Reduced Rate GPS Navigation.
Please refer to +GPSCONF AT command for more information.
<core info>: Core information list encode mask. Hexadecimal value entered without the prefix
“0x”.
If omitted: last known value within current session. Please refer to Diagram for
settings management for more information.
Factory default value: 0.
[]< rate> parameter for this <core info> has no effect on SiRFV.
Note: Core information is received through +GPSEVCORE asynchronous event. Please refer to
Asynchronous Events for more information.
6.11.4. Examples
Command Responses
AT+GPSCORE=1,1,1 OK
Note: request jammers detection information or
output on port 1.
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
commands error codes description.
AT+GPSCORE=1,1,0 OK
Note: disable core information output. or
+GPS ERROR: X
Note: For more information about X value, please refer to Location AT
command error codes description.
AT+GPSCORE=? +GPSCORE: (0-5,11-14,21-24,51-54),(1-65535),(0-
1)
OK
OK
+GPSEVINIT: 1
AT+GPSNMEA=0
OK
AT+GPSCORE=1,1,1
OK
AT+GPSSTART=3
OK
+GPSEVSTART: 1
+GPSEVPOS: 0
+GPSEVCORE: 0,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00,1575,65
+GPSEVCORE: 0,1575,77,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00
+GPSEVCORE: 0,1575,76,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00
+GPSEVCORE: 1,602,73,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00,0000,00
Note: [] +GPSEVCORE event with GLONASS information is only available on SiRFV
7.1. Description
The following asynchronous events can be received as unsolicited responses:
+GPSEVABORT: Following error detection, the Location Services are aborted and the application is
stopped. After this event the application state is automatically changed to GPS_INITIALIZED.
+GPSEVERROR: An error has been detected. Please refer to Location AT commands error codes for
more details.
+GPSEVAID: Describes Aiding events and related information.
+GPSEVAIDERROR: An error has been detected for Aiding modes. Please refer to Aiding Event
Error Codes for more details.
The others events are associated to the following AT Commands described in this document:
+GPSINIT, +GPSSTART, +GPSSTOP, +GPSSLEEP and +GPSRELEASE.
7.2. Syntax
Unsolicited response
+GPSEVPOS: <pos_event>
Unsolicited response
+GPSEVABORT: <abort_cause>
Unsolicited response
+GPSEVERROR: <error>,<ext_error>
Unsolicited response
+GPSEVINIT: <status>
Unsolicited response
+GPSEVSTART: <status>
Unsolicited response
+GPSEVSTOP: <status>
Unsolicited response
+GPSEVSLEEP: <status>
Unsolicited response
+GPSEVRELEASE: <status>
Unsolicited response
+GPSEVAID: <aid_mode>,<aid_event>
Unsolicited response
+GPSEVAID: <aid_mode>,<aid_event>,<aee_svid>,<aee_svValidity>
Unsolicited response
+GPSEVAID: <aid_mode>,<aid_event>,<dee_abort_cause>
Unsolicited response
+GPSEVAID:
<aid_mode>,<aid_event>,<dee_validity_format>,<dee_validity_duration>
Unsolicited response
+GPSEVAID:
<aid_mode>,<aid_event>,<dee_validity_format>,<dee_validity_start>,<dee_vali
dity_end>
Unsolicited response
+GPSEVAIDERROR: <aid_error>,<aid_ext_error>
For <core_info> = 0
Unsolicited response
+GPSEVCORE:
<core_info>,<jam_freq_1>,<jam_lev_1>,<jam_freq_2>,<jam_lev_2>,<jam_freq_3>,
<jam_lev_3>,<jam_freq_4>,<jam_lev_4>,<jam_freq_5>,<jam_lev_5>,<jam_freq_6>,
<jam_lev_6>,<jam_freq_7>,<jam_lev_7>,<jam_freq_8>,<jam_lev_8>
<pos_event>
1 GPS fix state has been changed to estimated (i.e. forward predicted) Position.
<aid_event>
For <aid_mode>=0
2 AEE information
For <aid_mode>=1
0 DEE is stopped
1 DEE is started
2 DEE is valid
3 DEE is aborted
Note: [] XM0110: That information is available if the DEE is valid and
if GPS position is known.
Note: Available for <dee_validity_format> = 0.
<dee_validity_start> DEE Validity UTC Start timestamp with the format “yy/MM/dd,hh:mm:ss”.
<dee_validity_end> DEE Validity UTC End timestamp with the format “yy/MM/dd,hh:mm:ss”.
<dee_abort_cause> DEE abort cause (Please refer to Aiding event error codes).
Note: The GPS_AIDING_DEE_NACK_ERROR error is received if no updated file is available on the DEE
server. The download procedure is indeed stopped if the DDE file previously downloaded and
stored to the Non-Volatile Store media (Embedded Module FLASH memory) is identical to the
available DEE file from the DEE server. Please refer to [3] for more information.