GNSS SDK   
Commands Manual 
  GNSS Module Series 
  Rev. GNSS_SDK_Commands_Manual_V1.4 
 
Date: 2017-07-21 
www.quectel.com
 
 
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
 
Our  aim  is  to  provide  customers  with  timely  and  comprehensive  service.  For  any 
assistance, please contact our company headquarters: 
 
Quectel Wireless Solutions Co., Ltd.   
7th Floor, Hongye Building, No.1801 Hongmei Road, Xuhui District, Shanghai 200233, China 
Tel: +86 21 5108 6236 
Email: info@quectel.com 
 
Or our local office. For more information, please visit:   
http://quectel.com/support/sales.htm 
 
 
For technical support, or to report documentation errors, please visit:   
http://quectel.com/support/technical.htm 
Or Email to: support@quectel.com 
 
 
GENERAL NOTES 
QUECTEL OFFERS THE INFORMATION AS A SERVICE TO ITS CUSTOMERS. THE INFORMATION 
PROVIDED  IS BASED UPON CUSTOMERS’  REQUIREMENTS.  QUECTEL  MAKES  EVERY  EFFORT 
TO ENSURE THE QUALITY OF THE INFORMATION IT MAKES AVAILABLE. QUECTEL DOES NOT 
MAKE ANY WARRANTY AS TO THE INFORMATION CONTAINED HEREIN, AND DOES NOT ACCEPT 
ANY  LIABILITY  FOR  ANY  INJURY,  LOSS  OR  DAMAGE  OF  ANY  KIND  INCURRED  BY  USE  OF  OR 
RELIANCE  UPON  THE  INFORMATION.  ALL  INFORMATION  SUPPLIED  HEREIN  IS  SUBJECT  TO 
CHANGE WITHOUT PRIOR NOTICE.   
 
   
COPYRIGHT 
THE  INFORMATION  CONTAINED  HERE  IS  PROPRIETARY  TECHNICAL  INFORMATION  OF 
QUECTEL  CO.,  LTD.  TRANSMITTING,  REPRODUCTION,  DISSEMINATION  AND  EDITING  OF  THIS 
DOCUMENT  AS  WELL  AS  UTILIZATION  OF  THE  CONTENT  ARE  FORBIDDEN  WITHOUT 
PERMISSION.  OFFENDERS  WILL  BE  HELD  LIABLE  FOR  PAYMENT  OF  DAMAGES.  ALL  RIGHTS 
ARE RESERVED IN THE EVENT OF A PATENT GRANT OR REGISTRATION OF A UTILITY MODEL 
OR DESIGN.   
 
Copyright © Quectel Wireless Solutions Co., Ltd. 2017. All rights reserved. 
 
GNSS_SDK_Commands_Manual                              Confidential / Released                                    1 / 28 
 
 
 
Quectel Confidential
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
About the Document 
 
History   
Revision 
Date 
Author 
Description 
1.0 
1.1 
2015-09-11 
Hyman DING 
Initial 
2016-01-18 
Connie ZHOU 
Added the current supported SDK commands in 
Table 1. 
1.  Added 
the 
following  new  commands: 
PQECEF,  PQODO,  PQPZ90,  PQGLP, 
1.2 
2016-05-20 
Simon HU 
PQVEL. 
1.3 
2016-08-15 
Simon HU 
2. 
Improved  the  function  of  PQODO  to  enable 
2.  Added L76 and L76-L in Table 1. 
3.  Added the Chapter 3: Appendix References.   
1.  Added L26 in Table 1.   
1.4 
2017-07-21 
Matt YE/ 
Simon HU 
initial distance setting. 
1.  Updated notes for PQODO in Chapter 2.8 
2.  Added the following new commands:     
  PQJAM (Chapter 2.12) 
  PQRLM (Chapter 2.13) 
  PQGEO (Chapter 2.14) 
  PQPREC (Chapter 2.15)   
  PQGBS (Chapter 2.16)   
GNSS_SDK_Commands_Manual                              Confidential / Released                                    2 / 28 
 
 
 
Quectel Confidential
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
Contents 
About the Document ................................................................................................................................... 2 
Contents ....................................................................................................................................................... 3 
Table Index ................................................................................................................................................... 4 
1 
Introduction .......................................................................................................................................... 5 
2  Quectel NMEA Packet Protocol .......................................................................................................... 7 
2.1.  Quectel NMEA Packet Format .................................................................................................. 7 
2.2. 
2.3. 
2.4. 
2.5. 
2.6. 
2.7. 
2.8. 
2.9. 
PQBAUD    Change NMEA Port Default Baud Rate ................................................................. 8 
POEPE    Enable/Disable PQEPE Sentence Output ................................................................ 8 
PQ1PPS    Set the Type and Pulse Width of 1PPS Output ....................................................... 9 
PQFLP    Set the Module into FLP Mode ................................................................................ 10 
PQTXT    Enable/Disable GPTXT Sentence Output ............................................................... 11 
PQECEF    Enable/Disable ECEFPOSVEL Sentence Output ................................................ 12 
PQODO    Start/Stop Odometer Reading ................................................................................ 13 
PQPZ90    Enable/Disable Switching from WGS84 to PZ-90.11 ............................................ 14 
2.10.  PQGLP    Set the Module into GLP Mode ............................................................................... 15 
2.11.  PQVEL    Enable/Disable 3 Ways Velocity Sentence Output .................................................. 16 
2.12.  PQJAM    Enable/Disable Jamming Detection Function ......................................................... 17 
2.13.  PQRLM    Enable/Disable Return Link Message Output......................................................... 18 
2.14.  PQGEO    Configure Parameters of Geo-fence ...................................................................... 20 
2.15.  PQPREC    Configure Parameter Precision in NMEA Sentences ........................................... 23 
2.16.  PQGBS    Enable/Disable GBS Sentence Output ................................................................... 24 
3  Appendix References ........................................................................................................................ 26 
3.1.  Related Documents ................................................................................................................. 26 
3.2. 
Terms and Abbreviations ......................................................................................................... 26 
3.3.  Datum Sentence Definition ...................................................................................................... 27 
3.4.  GBS Sentence Definition ......................................................................................................... 28 
 
GNSS_SDK_Commands_Manual                              Confidential / Released                                    3 / 28 
 
 
 
Quectel Confidential
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
Table Index 
TABLE 1: CURRENT SUPPORTED SDK COMMANDS ..................................................................................... 5 
TABLE 2: RELATED DOCUMENTS .................................................................................................................. 26 
TABLE 3: TERMS AND ABBREVIATIONS ........................................................................................................ 26 
TABLE 4: DATUM SENTENCE DEFINITION .................................................................................................... 27 
TABLE 5: GBS SENTENCE DEFINITION ......................................................................................................... 28 
 
 
GNSS_SDK_Commands_Manual                              Confidential / Released                                    4 / 28 
 
 
 
Quectel Confidential
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
1  Introduction 
 
Quectel  GNSS  modules  support  SDK  commands  which  are  defined  and  developed  by  Quectel.  This 
document describes these SDK commands. The configuration parameters saved by SDK commands will 
still exist in flash even after upgrading the modules’ firmware. 
 
This document is applicable to Quectel L70, L80, L76, L76-L, L86 and L26 modules. Their supported SDK 
commands are shown in the table below: 
 
Table 1: Current Supported SDK Commands 
SDK 
Commands 
Description 
L70 
L80 
L76 
L76-L  L86 
L26 
PQBAUD 
Change NMEA Port Default Baud Rate 
PQEPE 
Enable/Disable PQEPE Sentence Output 
PQ1PPS 
PQFLP 
Set  the  Type  and  Pulse  Width  of  1PPS 
Output 
Set  the  Module  into  FLP  (Fitness  Low 
Power) Mode 
Y 
Y 
Y 
Y 
PQTXT 
Enable/Disable GPTXT Sentence Output 
N 
PQECEF 
Enable/Disable  ECEFPOSVEL  Sentence 
Output 
PQODO 
Start/Stop Odometer Reading 
PQPZ90 
PQGLP 
PQVEL 
PQJAM 
PQRLM 
Enable/Disable Switching from WGS84 to 
PZ-90.11 
Set  the  Module  into  GLP  (GNSS  Low 
Power) Mode 
Enable/Disable 3 Ways Velocity Sentence 
Output 
Enable/Disable 
Jamming 
Detection 
Function 
Enable/Disable  Return  Link  Message 
Output 
PQGEO 
Configure Parameters of Geo-fence 
N 
N 
N 
N 
N 
N 
N 
Y 
Y 
Y 
Y 
Y 
Y 
N 
N 
N 
N 
N 
N 
N 
N 
Y 
Y 
Y 
N 
N 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
N 
N 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
N 
N 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
GNSS_SDK_Commands_Manual                              Confidential / Released                                    5 / 28 
 
 
 
Quectel Confidential
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
PQPREC 
Configure  Parameter  Precision  in  NMEA 
Sentences 
PQGBS 
Enable/Disable GBS Sentence Output 
N 
N 
N 
N 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
Y 
 
 
 
NOTES 
1.  Y means supported; N means not supported. 
2.  For more details about the usage of PQFLP and PQGLP commands, please refer to document [1].   
GNSS_SDK_Commands_Manual                              Confidential / Released                                    6 / 28 
 
 
 
Quectel Confidential
                                                                                                                                              GNSS  Module  Series 
                                                                                                                        GNSS  SDK  Commands  Manual 
 
2  Quectel NMEA Packet Protocol 
 
This chapter introduces the Quectel NMEA packet protocol which is a set of extension messages of the 
standard NMEA packet protocol. These messages are used to control and configure  Quectel L70, L80, 
L76, L76-L, L86 and L26 modules.   
 
The structure of Quectel NMEA packet is shown as below: 
 
2.1. Quectel NMEA Packet Format 
 
 
Preamble 
TalkerID 
PktType 
DataField 
* 
CHK1  CHK2  CR 
LF 
Packet Contents: 
Preamble: 
  One byte character. 
 
 
    
  ‘$’ 
TalkerID:   
  Two bytes character string. 
 
 
   
  “PQ“ 
PktType:   
  1-10 bytes character string. 
 
 
   
  An identifier used to tell the decoder how to decode the packet. 
DataField:   
  The DataFileld has variable lengths depending on the packet type. 
A  command  symbol  ‘,’  must  be  inserted  ahead  of  each  data  filed  to  help  the  decoder 
* : 
 
 
 
 
 
process the DataField.   
  1 byte character. 
  The star symbol is used to mark the end of DataField. 
CHK1, CHK2: Two bytes character string. 
 
 
 
  CHK1 and CHK2 are the check sum of the data between Preamble and ‘*’.   
CR, LF:   
  Two bytes binary data. 
 
 
 
 
 
  The two bytes are used to identify the end of a packet. 
NOTE 
The maximum length of each packet is restricted to 255 bytes. 
 
 
GNSS_SDK_Commands_Manual                              Confidential / Released                                    7 / 28 
 
 
 
Quectel Confidential