Ec200 Gnss Manual
Ec200 Gnss Manual
Version: 1.1
Date: 2022-08-23
Status: Released
LTE Standard Module Series
At Quectel, our aim is to provide timely and comprehensive services to our customers. If you
require any assistance, please contact our headquarters:
Legal Notices
We offer information as a service to you. The provided information is based on your requirements and we
make every effort to ensure its quality. You agree that you are responsible for using independent analysis
and evaluation in designing intended products, and we provide reference designs for illustrative purposes
only. Before using any hardware, software or service guided by this document, please read this notice
carefully. Even though we employ commercially reasonable efforts to provide the best possible experience,
you hereby acknowledge and agree that this document and related services hereunder are provided to
you on an “as available” basis. We may revise or restate this document from time to time at our sole
discretion without any prior notice to you.
Copyright
Our and third-party products hereunder may contain copyrighted material. Such copyrighted material shall
not be copied, reproduced, distributed, merged, published, translated, or modified without prior written
consent. We and the third party have exclusive rights over copyrighted material. No license shall be
granted or conveyed under any patents, copyrights, trademarks, or service mark rights. To avoid
ambiguities, purchasing in any form cannot be deemed as granting a license other than the normal non-
exclusive, royalty-free license to use the material. We reserve the right to take legal action for
noncompliance with abovementioned requirements, unauthorized use, or other illegal or malicious use of
the material.
EC200U_Series&EG915U-GL_GNSS_Application_Note 1 / 35
LTE Standard Module Series
Trademarks
Except as otherwise set forth herein, nothing in this document shall be construed as conferring any rights
to use any trademark, trade name or name, abbreviation, or counterfeit product thereof owned by Quectel
or any third party in advertising, publicity, or other aspects.
Third-Party Rights
This document may refer to hardware, software and/or documentation owned by one or more third parties
(“third-party materials”). Use of such third-party materials shall be governed by all restrictions and
obligations applicable thereto.
We make no warranty or representation, either express or implied, regarding the third-party materials,
including but not limited to any implied or statutory, warranties of merchantability or fitness for a particular
purpose, quiet enjoyment, system integration, information accuracy, and non-infringement of any third-
party intellectual property rights with regard to the licensed technology or use thereof. Nothing herein
constitutes a representation or warranty by us to either develop, enhance, modify, distribute, market, sell,
offer for sale, or otherwise maintain production of any our products or any other hardware, software, device,
tool, information, or product. We moreover disclaim any and all warranties arising from the course of
dealing or usage of trade.
Privacy Policy
To implement module functionality, certain device data are uploaded to Quectel’s or third-party’s servers,
including carriers, chipset suppliers or customer-designated servers. Quectel, strictly abiding by the
relevant laws and regulations, shall retain, use, disclose or otherwise process relevant data for the purpose
of performing the service only or as permitted by applicable laws. Before data interaction with third parties,
please be informed of their privacy and data security policy.
Disclaimer
a) We acknowledge no liability for any injury or damage arising from the reliance upon the information.
b) We shall bear no liability resulting from any inaccuracies or omissions, or from the use of the
information contained herein.
c) While we have made every effort to ensure that the functions and features under development are
free from errors, it is possible that they could contain errors, inaccuracies, and omissions. Unless
otherwise provided by valid agreement, we make no warranties of any kind, either implied or express,
and exclude all liability for any loss or damage suffered in connection with the use of features and
functions under development, to the maximum extent permitted by law, regardless of whether such
loss or damage may have been foreseeable.
d) We are not responsible for the accessibility, safety, accuracy, availability, legality, or completeness of
information, advertising, commercial offers, products, services, and materials on third-party websites
and third-party resources.
Copyright © Quectel Wireless Solutions Co., Ltd. 2022. All rights reserved.
EC200U_Series&EG915U-GL_GNSS_Application_Note 2 / 35
LTE Standard Module Series
Revision History
Version Date Author Description
EC200U_Series&EG915U-GL_GNSS_Application_Note 3 / 35
LTE Standard Module Series
Contents
1 Introduction ......................................................................................................................................... 7
1.1. Applicable Modules .................................................................................................................... 7
1.2. GNSS Turning on/off Procedures .............................................................................................. 7
1.3. Supported NMEA Sentence Types ............................................................................................ 8
EC200U_Series&EG915U-GL_GNSS_Application_Note 4 / 35
LTE Standard Module Series
3 Examples ........................................................................................................................................... 31
3.1. Turn On/Off the GNSS ............................................................................................................. 31
3.2. Application of <NMEA_src> ..................................................................................................... 31
3.3. GNSS Hibernation Mode ......................................................................................................... 32
3.4. Application of AGPS Feature ................................................................................................... 32
EC200U_Series&EG915U-GL_GNSS_Application_Note 5 / 35
LTE Standard Module Series
Table Index
EC200U_Series&EG915U-GL_GNSS_Application_Note 6 / 35
LTE Standard Module Series
1 Introduction
Quectel EC200U series and EG912U-GL modules integrate the GNSS engine and support GPS, BDS,
Galileo and GLONASS systems for multi-constellation positioning (See Chapter 2.3.1.8), providing a high-
performance positioning solution that is quick and accurate. With GNSS function, the modules are widely
applied in fields such as turn-by-turn navigation, asset tracking, wearable devices, personnel and vehicle
tracking.
EC200U-AU
EC200U EC200U-CN
EC200U-EU
EG912U EG912U-GL
⚫ NOTE
GNSS function is optional for EC200U series and EG912U-GL modules, and please consult Quectel
Technical Support for details.
The module’s GNSS engine supports location calculation without any network assistance. GNSS turning
on/off procedures are shown below:
EC200U_Series&EG915U-GL_GNSS_Application_Note 7 / 35
LTE Standard Module Series
Step 3: Obtain the positioning information in either of the following three ways after turning on GNSS and
fixing position successfully:
1) NMEA sentences are output to USB NMEA port by default and can be obtained by reading
the port.
2) Obtain positioning information such as latitude, longitude, height, GNSS positioning mode,
time, number of satellites, and so on directly via AT+QGPSLOC.
3) Set AT+QGPSCFG="nmeasrc",1 to enable acquisition of specified NMEA sentences via
AT+QGPSGNMEA, and set AT+QGPSCFG="nmeasrc",0 to disable acquisition of specified
NMEA sentences via AT+QGPSGNMEA.
Step 4: Turn off GNSS via AT+QGPSEND.
The default NMEA sentences of the module are compatible with NMEA 0183 protocol, and five kinds of
prefixes are available to differentiate NMEA sentences of different satellite systems, as illustrated below.
⚫ GPGGA - Global positioning system fix data, such as time and position
⚫ GPRMC - Recommended minimum specific GNSS data
⚫ GPGSV - GNSS satellites in view, such as number of satellites in view and satellite ID numbers
⚫ GPGSA - GNSS DOP and active satellites
⚫ GPVTG - Course over ground and ground speed
BDS NMEA sentences have the prefixes "PQ", or "GB", or "BD". You can configure the prefixes by
AT+QGPSCFG="beidounmeaformat". Taking "PQ" as an example:
⚫ PQGSV - GNSS satellites in view, such as number of satellites in view and satellite ID numbers
⚫ PQGSA - GNSS DOP and active satellites
⚫ PQGGA - Global positioning system fix data, such as time and position
⚫ PQRMC - Recommended minimum specific GNSS data
⚫ PQVTG - Course over ground and ground speed
⚫ GNGSV - GNSS satellites in view, such as number of satellites in view and satellite ID numbers
⚫ GNGGA - Global positioning system fix data, such as time and position
⚫ GNRMC - Recommended minimum specific GNSS data
⚫ GNVTG - Course over ground and ground speed
⚫ GLGSV - GNSS satellites in view, such as number of satellites in view and satellite ID numbers.
EC200U_Series&EG915U-GL_GNSS_Application_Note 8 / 35
LTE Standard Module Series
⚫ GAGSV - GNSS satellites in view, such as number of satellites in view and satellite ID numbers.
EC200U_Series&EG915U-GL_GNSS_Application_Note 9 / 35
LTE Standard Module Series
2.1.1. Definitions
All command lines must start with AT or at and end with <CR>. Information responses and result codes
always start and end with a carriage return character and a line feed character:
<CR><LF><response><CR><LF>. In tables presenting commands and responses throughout this
document, only the commands and responses are presented, and <CR> and <LF> are deliberately omitted.
EC200U_Series&EG915U-GL_GNSS_Application_Note 10 / 35
LTE Standard Module Series
The AT command examples in this document are provided to help you familiarize with AT commands and
learn how to use them. The examples, however, should not be taken as Quectel’s recommendation or
suggestions about how to design a program flow or what status to set the module into. Sometimes multiple
examples may be provided for one AT command. However, this does not mean that there is a correlation
among these examples and that they should be executed in a given sequence.
This command queries and configures various GNSS settings, including the output port and output types
of NMEA sentences.
OK
Characteristics /
EC200U_Series&EG915U-GL_GNSS_Application_Note 11 / 35
LTE Standard Module Series
OK
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 12 / 35
LTE Standard Module Series
AT+QGPSGNMEA
OK
Parameter
<NMEA_src> Integer type. If enabled, NMEA sentences can be acquired via AT+QGPSGNMEA.
Meanwhile, NMEA sentences are output via the AT port as a return value.
0 Disable
1 Enable
<errcode> The error code of operation. See Chapter 4 for details.
This command configures the type of GPS NMEA sentences that will be output.
EC200U_Series&EG915U-GL_GNSS_Application_Note 13 / 35
LTE Standard Module Series
OK
Parameter
<GPS_NMEA_type> Integer type. Output type of GPS NMEA sentences in XOR format.
0 Disable
1 GPGGA
2 GPRMC
4 GPGSV
8 GPGSA
16 GPVTG
31 All the five types of sentences
<errcode> The error code of operation. See Chapter 4 for details.
Sentences
This command configures the type of the GLONASS NMEA sentences that will be output.
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 14 / 35
LTE Standard Module Series
Parameter
<GLONASS_NMEA_type> Integer type. Configure output type of GLONASS NMEA sentences in XOR
format.
0 Disable
1 GLGSV
<errcode> The error code of operation. See Chapter 4 for details.
This command configures the type of Galileo NMEA sentences that will be output.
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 15 / 35
LTE Standard Module Series
Parameter
<Galileo_NMEA_type> Integer type. Configure output type of Galileo NMEA sentences in XOR
format.
0 Disable
1 GAGSV
<errcode> The error code of operation. See Chapter 4 for details.
This command configures the type of BDS NMEA sentences that will be output.
OK
Parameter
<BeiDou_NMEA_type> Integer type. Configure output type of BDS NMEA sentences in XOR format.
0 Disable
1 PQGSA
EC200U_Series&EG915U-GL_GNSS_Application_Note 16 / 35
LTE Standard Module Series
2 PQGSV
4 PQGGA
8 PQRMC
16 PQVTG
31 All the five types of sentences
<errcode> The error code of operation. See Chapter 4 for details.
sentences
This command configures the type of multi-constellation NMEA sentences that will be output.
OK
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 17 / 35
LTE Standard Module Series
OK
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 18 / 35
LTE Standard Module Series
This command configures whether to enable GNSS when the module starts up.
OK
Parameter
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 19 / 35
LTE Standard Module Series
Parameter
⚫ NOTE
If <BeiDou_NMEA_format>=0, the output PQGSV sentence contains system ID (GNSS system ID
defined by NMEA protocol) at the end of the sentence.
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 20 / 35
LTE Standard Module Series
Parameter
The command deletes assistance data so as to perform cold start, hot start and warm start of GNSS. The
command can only be executed when GNSS is turned on.
OK
Write Command Response
AT+QGPSDEL=<delete_type> OK
Or
ERROR
Characteristics /
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 21 / 35
LTE Standard Module Series
This command turns on or wakes up GNSS function. When <fix_count> is 0, GNSS engine continues to
locate and can be turned off via AT+QGPSEND. When <fix_count> is non-zero and the actual positioning
times reach the specified value, GNSS engine turns off automatically; when <fix_count> is non-zero but
the actual positioning times don’t reach the specified value, GNSS also can be turned off via
AT+QGPSEND.
OK
Read Command Response
Read current GNSS state +QGPS: <GNSS_state>
AT+QGPS?
OK
Write Command Response
AT+QGPS=<GNSS_mode>[,<fix_ma OK
xtime>[,<fix_maxdist>[,<fix_count>[ Or
,<fix_rate>]]]] ERROR
Characteristics /
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 22 / 35
LTE Standard Module Series
data and calculating the position. Range: 1–255. Default value: 30. Unit: second.
<fix_maxdist> Integer type. Accuracy threshold of positioning. Range: 0–1000. Default value: 50.
Unit: meter.
<fix_count> Integer type. Positioning times. Range: 0–1000.
0 Continuous positioning
Other values Actual positioning times
<fix_rate> Integer type. The interval between the first and the second positioning.
Range: 1–65535. Default value: 1. Unit: second.
<errcode> The error code of operation. See Chapter 4 for details.
⚫ NOTE
Only after GNSS is turned on successfully by AT+QGPS=1 and GNSS Open Success is output from
AP log, you can perform other GNSS related actions.
This command turns off GNSS. When GNSS is turned on by AT+QGPS=1 and <fix_count> is 0, GNSS
fixes position continuously. GNSS stops positioning when it is turned off via AT+QGPSEND. You can
execute AT+QGPS=1 within 2 hours if AP Flash is enabled and effective to turn on the GNSS and wake
up the GNSS engine, and then the GNSS engine will perform a hot start by default.
Characteristics /
EC200U_Series&EG915U-GL_GNSS_Application_Note 23 / 35
LTE Standard Module Series
Parameter
This command acquires positioning information. Before executing this command, GNSS should be turned
on via AT+QGPS. If GNSS fails in position fix, +CME ERROR: <errcode> is returned to indicate the
corresponding situation.
OK
Write Command Response
AT+QGPSLOC=<mode> +QGPSLOC: <UTC>,<latitude>,<longitude>,<HDOP>,<alt
itude>,<fix>,<COG>,<spkm>,<spkn>,<date>,<nsat>
OK
Characteristics /
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 24 / 35
LTE Standard Module Series
If <mode> is 1:
Format: ddmm.mmmmmm,N/S (Quoted from GPGGA sentence)
dd Degree. Range: 00–89
mm.mmmmmm Minute. Range: 00.000000–59.999999
N/S North/South
If <mode> is 2:
Format: (-)dd.ddddd (Quoted from GPGGA sentence)
dd.ddddd Degree. Range: -89.9999–89.9999
- South
<longitude> String type. Longitude.
If <mode> is 0:
Format: dddmm.mmmmE/W (Quoted from GPGGA sentence)
ddd Degree. Range: 000–179.
mm.mmmm Minute. Range: 00.0000–59.9999.
E/W East/West
If <mode> is 1:
Format: dddmm.mmmmmm,E/W (Quoted from GPGGA sentence)
ddd Degree. Range: 000–179.
mm.mmmmmm Minute. Range: 00.000000–59.999999
E/W East/West
If <mode> is 2:
Format: (-)ddd.ddddd (Quoted from GPGGA sentence)
ddd.ddddd Degree. Range: -179.99999–179.99999
- West
<HDOP> Horizontal dilution of precision. Range: 0.5–99.9 (Quoted from GPGGA sentence).
<altitude> The altitude of the antenna away from the sea level, and is accurate to one decimal
place. Unit: meter (Quoted from GPGGA sentence).
<fix> Integer type. GNSS positioning mode (Quoted from GPGSA sentence).
2 2D positioning
3 3D positioning
<COG> String type. Course Over Ground based on true north.
Format: ddd.mm (Quoted from GPVTG sentence).
ddd Degree. Range: 000–359
mm Minute. Range: 00–59
<spkm> Speed over ground. Accurate to one decimal place. Unit: km/h (Quoted from GPVTG
sentence).
<spkn> Speed over ground. Accurate to one decimal place. Unit: knots (Quoted from GPVTG
sentence).
<date> UTC date. Format: ddmmyy (Quoted from GPRMC sentence).
dd Day
mm Month
EC200U_Series&EG915U-GL_GNSS_Application_Note 25 / 35
LTE Standard Module Series
yy Year
<nsat> Number of satellites. The value should be kept two digits, and add 0 If the leading digit
is insufficient (Quoted from GPGGA sentence).
<errcode> The error code of operation. See Chapter 4 for details.
This command acquires specified NMEA sentences. Before using this command, turn on GNSS via
AT+QGPS, and set <NMEA_src> to 1 to enable acquisition of NMEA sentences via AT+QGPSGNMEA.
OK
Write Command Response
Query GGA sentence [+QGPSGNMEA: <GGA_sentence>]
AT+QGPSGNMEA="GGA"
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 26 / 35
LTE Standard Module Series
Characteristics /
Parameter
EC200U_Series&EG915U-GL_GNSS_Application_Note 27 / 35
LTE Standard Module Series
OK
Parameter
<AGPS_mode> Integer type. Enable or disable AGPS feature of GNSS.
0 Disable
1 Enable
<errcode> The error code of operation. See Chapter 4 for details.
OK
Read Command Response
AT+QAGPSCFG? +QAGPSCFG: <profile>,<URL>,<vendorID>,<modelID>,<p
assword>,<IP_ver>,<APN>
OK
Write Command Response
AT+QAGPSCFG=<profile>[,<URL>[, OK
<vendorID>[,<modelID>[,<passwor
d>[,<IP_ver>>[,<APN>]]]]]] If there is any error related to ME functionality:
EC200U_Series&EG915U-GL_GNSS_Application_Note 28 / 35
LTE Standard Module Series
Parameter
<profile> Integer type. PDP index. Range: 1–7. Default value: 1.
<URL> String type. AGPS server address.
Default value: "http://quectel-api1.rx-networks.cn/rxn-api/locationApi/rtcm".
<vendorID> String type. User name. Default value: "wLgWwv6JQt". The maximum length: 30 bytes.
<modelID> String type. Client ID. Default value: "Quectel".
<password> String type. Password. Default value: "aFltUERDZzZxeTY5cEp2eA==". The maximum
length: 30 bytes.
<IP_ver> Integer type. IP type.
0 The IP type configured when the specified PDP context was activated last time
1 IPv4
2 IPv6
3 IPv4v6
Note: If the specified PDP context has never been activated, the default value is 1.
<APN> String type. Access point name. Default value: "NULL". Maximum length: 99 bytes.
<errcode> The error code of operation. See Chapter 4 for details.
NOTE
After AGPS feature is enabled, the PDP context specified by <profile> may be de-activated. So, do not
use the same PDP context with other applications at the same time, preventing the application from
abnormal network disconnection and restarting a data call.
EC200U_Series&EG915U-GL_GNSS_Application_Note 29 / 35
LTE Standard Module Series
OK
Characteristics /
Parameter
<GNSS_info> String type. GNSS version information.
<errcode> The error code of operation. See Chapter 4 for details.
Example
AT+QGPSINFO //Query GNSS version.
+QGPSINFO: UC6226,G1B1,V1.0,R3.0.0Build1500,080101800600
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 30 / 35
LTE Standard Module Series
3 Examples
Default parameters are used in this example to turn on GNSS. After turning on GNSS, NMEA sentences
will be output from "usbnmea" port by default; and GNSS can be turned off via AT+QGPSEND.
OK
AT+QGPSEND //Turn off GNSS.
OK
When GNSS is turned on and <NMEA_src> is set to 1, NMEA sentences can be acquired directly via
AT+QGPSGNMEA.
OK
AT+QGPSCFG="nmeasrc",0 //Set <NMEA_src> to 0 to disable acquisition of NMEA
sentences via AT+QGPSGNMEA.
OK
AT+QGPSGNMEA="GGA" //Obtain GGA sentence.
+CME ERROR: 507 //Acquisition of NMEA sentences via AT+QGPSGNMEA
was disabled, and thus GGA sentences cannot be obtained.
EC200U_Series&EG915U-GL_GNSS_Application_Note 31 / 35
LTE Standard Module Series
After the module is powered on and GNSS is turned on, executing AT+QGPSEND without powering down
or rebooting the module can turn off the GNSS engine and stop positioning to lower down power
consumption. If AT+QGPS=1 is executed within 2 hours after AP Flash is enabled and effective to wake
up the GNSS engine, GNSS hot start is performed to achieve a quick positioning.
OK
AT+QAGPSCFG configures AGPS related parameters. AT+QAGPS=1 enables AGPS feature. Ephemeris
data can be acquired automatically every time when the module is powered on and the GNSS is turned
on under the premise that the network is normal and the AGPS related parameters are configured correctly,
achieving a quick positioning.
AT+QAGPSCFG=1,"http://quectel-api1.rx-networks.cn/rxn-api/locationApi/rtcm","wLgWwv6JQt","
Quectel","aFltUERDZzZxeTY5cEp2eA==",1,"ctnet" //Configure AGPS.
OK
AT+QAGPS=1 //Enable AGPS feature.
OK
AT+QGPS=1 //Turn on GNSS.
OK
AT+QFLST="*" //See document [1] for details.
+QFLST: "UFS:agps.txt",5020 //The downloaded ephemeris data is valid for 2 hours, and you need
to reconnect server to download new ephemeris data after 2 hours.
OK
EC200U_Series&EG915U-GL_GNSS_Application_Note 32 / 35
LTE Standard Module Series
<errcode> Meaning
EC200U_Series&EG915U-GL_GNSS_Application_Note 33 / 35
LTE Standard Module Series
5 Appendix References
Document Name
[1] Quectel_EC200U&EG91xU_Series_FILE_Application_Note
Abbreviation Description
IP Internet Protocol
EC200U_Series&EG915U-GL_GNSS_Application_Note 34 / 35
LTE Standard Module Series
ME Mobile Equipment
EC200U_Series&EG915U-GL_GNSS_Application_Note 35 / 35