SIM868_GNSS_Application Note
_V1.00
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
Document Title
SIM868 GNSS Application Note
Version
Date
Status
1.00
2017-01-03
Released
Document Control ID
SIM868_GNSS_Application Note_V1.00
General Notes
SIMCom offers this information as a service to its customers, to support application and engineering
efforts that use the products designed by SIMCom. The information provided is based upon
requirements specifically provided to SIMCom by the customers. SIMCom has not undertaken any
independent search for additional relevant information, including any information that may be in the
customer’s possession. Furthermore, system validation of this product designed by SIMCom within a
larger electronic system remains the responsibility of the customer or the customer’s system
integrator. All specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information which is the property of SIMCom Limited.,
copying of this document and giving it to others and the using or communication of the contents
thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All
rights reserved in the event of grant of a patent or the registration of a utility model or design. All
specification supplied herein are subject to change without notice at any time.
Copyright © Shanghai SIMCom Wireless Solutions Ltd. 2017
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
3
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
Contents
1
Introduction .................................................................................................................................. 7
2 AT Command ................................................................................................................................ 8
AT+CGNSPWR GNSS power control ...................................................................... 8
AT+CGNSSEQ Define the last NMEA sentence that parsed ..................................... 9
AT+CGNSINF GNSS navigation information parsed from NMEA sentences ......... 11
AT+CGNSURC GNSS navigation, GEO-fences and speed alarm URC report ....... 12
AT+CGNSCMD Send command to GNSS ............................................................... 13
AT+CGNSTST Send data received from UART2 to UART1 ................................... 14
AT+CGNSCHK Check EPO file property ................................................................ 14
AT+CGNSDEL Delete EPO file ............................................................................... 15
AT+CGNSIPR Configure UART2 baud rate ............................................................ 16
AT+CGNSAID Send EPO file to GNSS engine ....................................................... 16
AT+CRFLOC Give reference location to GNSS engine ........................................... 17
AT+CGNSVER Query GNSS version....................................................................... 17
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
3 CME Error Code ........................................................................................................................ 19
4 AT Commands Examples .......................................................................................................... 20
Appendix ............................................................................................................................................ 21
A Related documents ..................................................................................................................... 21
B Terms and Abbreviations ........................................................................................................... 21
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
4
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
Tables
TABLE 2-1: PARSED NMEA MESSAGE .................................................................................................... 9
TABLE 2-2: PARSED GNSS NAVIGATION PARAMETERS ......................................................................... 10
TABLE 2-3: AT+CGNSINF RETURN PARAMETERS .............................................................................. 11
FIGURE 1-1 SIM868 SYSTEM CONNECTION
Figures
7
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
5
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
Version History
Date
2017-01-03
Version Description of change
1.00
New version
Author
Xiping.li
Scope
This document presents the AT command of GNSS function and application examples. The document
can apply to SIM868 module witch hardware release version is V2.01 and above and the software
release version is 1418B03SIM868M32 and later.
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
6
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
1 Introduction
SIM868 module combines GNSS technology for satellite navigation. Featuring an industry-standard
interface and GNSS function, it allows variable assets to be tracked seamlessly at any location and
anytime with signal coverage.
GNSS application provides a method to interact with a GNSS module.
Figure 1-1 SIM868 System connection
For hardware design, please refer to SIM868_Hardware_Design_V1.02 "All-in-one mode".
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
7
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
2 AT Command
SIM868 module provides GNSS AT command sets as below.
Commands
Description
AT+CGNSPWR
AT+CGNSSEQ
GNSS power control
Define the last NMEA sentence that parsed
AT+CGNSINF
GNSS navigation information parsed from NMEA sentences
AT+CGNSURC
GNSS navigation, GEO-fence and speed alarm URC report control
AT+CGNSCMD
Send command to GNSS
AT+CGNSTST
Send data received from GNSS to AT UART
AT+CGNSCHK Check EPO file property
AT+CGNSDEL Delete EPO file
AT+CGNSIPR Configure UART2 baud rate
AT+CGNSAID Send EPO file to GNSS engine
AT+CRFLOC
Give reference location to GNSS engine
AT+CGNSVER
Query GNSS version
2.1 AT+CGNSPWR GNSS power control
AT+CGNSPWR GNSS power control
Test Command
AT+CGNSPWR=?
Response
+CGNSPWR: (list of supported s )
OK
Parameters
See Write Command
Response
TA returns the current status of GNSS Power supply.
+CGNSPWR:
OK
Parameters
See Write Command
Response
GNSS POWER CONTROL ON/OFF
OK
or
ERROR
Read Command
AT+CGNSPWR?
Write Command
AT+CGNSPWR=
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
8
SIMCOM CONFIDENTIAL FILE
Smart Machine Smart Decision
Parameters
0 Turn off GNSS power supply
1 Turn on GNSS power supply
Parameter Saving Mode
NO_SAVE
Reference
2.2 AT+CGNSSEQ Define the last NMEA sentence that parsed
AT+CGNSSEQ Define the last NMEA sentence that parsed
Test Command
AT+CGNSSEQ=?
Response
+CGNSSEQ: (GGA,GSA,RMC,GSV)
OK
Parameters
See Write Command
Response
TA returns the current setting of last sentence parsed:
+CGNSSEQ:
OK
Parameters
See Write Command
Response
OK
or
ERROR
Parameters
is a string type parameter.
Read Command
AT+CGNSSEQ?
Write Command
AT+CGNSSEQ=
"GGA" refer to "GPGGA" or "GLGGA" or "GNGGA"
"GSA" refer to "GPGSA" or "GLGSA" or "GNGSA"
"GSV" refer to "GPGSV" or "GLGSV" or "GNGSV"
"RMC" refer to "GPRMC" or "GLRMC" or "GNRMC"
Parameter Saving Mode
NO_SAVE
Reference
Note
Factory setting is: AT+CGNSSEQ="RMC".
Table 2-1: parsed NMEA message
Message Description
Possible Talker Identifiers
GP
GGA
GSA
Time, position and fix type data
GNSS receiver operating mode, satellites used in the GP, GN
SIM928A868_GNSS_Application Note_V1.00
2017-01-03
9
SIMCOM CONFIDENTIAL FILE