Quectel L70, L80, L76-L, L76, L86 Command Manual

...
GNSS SDK
Commands Manual
GNSS Module Series
Rev. GNSS_SDK_Commands_Manual_V1.4
Date: 2017-07-21
www.quectel.com
Quectel
Confidential
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
Revision
Date
Author
Description
1.0
2015-09-11
Hyman DING
Initial
1.1
2016-01-18
Connie ZHOU
Added the current supported SDK commands in Table 1.
1.2
2016-05-20
Simon HU
1. Added the following new commands: PQECEF, PQODO, PQPZ90, PQGLP, PQVEL.
2. Added L76 and L76-L in Table 1.
3. Added the Chapter 3: Appendix References.
1.3
2016-08-15
Simon HU
1. Added L26 in Table 1.
2. Improved the function of PQODO to enable initial distance setting.
1.4
2017-07-21
Matt YE/ Simon HU
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)
Quectel
Confidential
GNSS SDK Commands Manual

About the Document

History
GNSS_SDK_Commands_Manual Confidential / Released 2 / 28
Quectel
Confidential
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. PQBAUD Change NMEA Port Default Baud Rate ................................................................. 8
2.3. POEPE Enable/Disable PQEPE Sentence Output ................................................................ 8
2.4. PQ1PPS Set the Type and Pulse Width of 1PPS Output ....................................................... 9
2.5. PQFLP Set the Module into FLP Mode ................................................................................ 10
2.6. PQTXT Enable/Disable GPTXT Sentence Output ............................................................... 11
2.7. PQECEF Enable/Disable ECEFPOSVEL Sentence Output ................................................ 12
2.8. PQODO Start/Stop Odometer Reading ................................................................................ 13
2.9. 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 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
SDK Commands
Description
L70
L80
L76
L76-L
L86
L26
PQBAUD
Change NMEA Port Default Baud Rate
Y Y Y Y Y Y PQEPE
Enable/Disable PQEPE Sentence Output
Y Y Y Y Y
Y
PQ1PPS
Set the Type and Pulse Width of 1PPS Output
Y Y Y Y Y Y PQFLP
Set the Module into FLP (Fitness Low Power) Mode
Y Y N N N
N
PQTXT
Enable/Disable GPTXT Sentence Output
N Y N N Y
Y
PQECEF
Enable/Disable ECEFPOSVEL Sentence Output
N N Y Y Y
Y
PQODO
Start/Stop Odometer Reading
N N Y Y Y
Y
PQPZ90
Enable/Disable Switching from WGS84 to PZ-90.11
N N Y Y Y Y PQGLP
Set the Module into GLP (GNSS Low Power) Mode
N N Y Y Y Y PQVEL
Enable/Disable 3 Ways Velocity Sentence Output
N N Y Y Y Y PQJAM
Enable/Disable Jamming Detection Function
N N Y Y Y Y PQRLM
Enable/Disable Return Link Message Output
N N Y Y Y
Y
PQGEO
Configure Parameters of Geo-fence
Y N Y Y Y
Y
Quectel
Confidential
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
GNSS_SDK_Commands_Manual Confidential / Released 5 / 28
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].
PQPREC
Configure Parameter Precision in NMEA Sentences
N N Y Y Y
Y
PQGBS
Enable/Disable GBS Sentence Output
N N Y Y Y
Y
NOTES
Quectel
Confidential
GNSS SDK Commands Manual
GNSS_SDK_Commands_Manual Confidential / Released 6 / 28
Preamble
TalkerID
PktType
DataField
*
CHK1
CHK2
CR
LF
The maximum length of each packet is restricted to 255 bytes.
NOTE
Quectel
Confidential
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

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.
GNSS_SDK_Commands_Manual Confidential / Released 7 / 28
1. The command will be effective immediately after setting.
2. Parameter is automatically saved.
3. If the baud rate is changed, then there is no response returned in the current baud rate.
PQBAUD Change NMEA Port Default Baud Rate
Write Command
$PQBAUD,W,<baudrate>*Checksum<C R><LF>
Response
$PQBAUD,W,OK*Checksum<CR><LF>
If there is any error, response:
$PQBAUD,W,ERROR*Checksum<CR><LF>
Reference
<baudrate> NMEA port baud rate, default value is 9600bps, and can be set to 4800bps,
14400bps, 19200bps, 38400bps, 57600bps and 115200bps
PQEPE Enable/Disable PQEPE Sentence Output
Write Command
$PQEPE,W,<mode>,<save>*Checksu m<CR><LF>
Response
$PQEPE,W,OK*Checksum<CR><LF>
If there is any error, response:
$PQEPE,W,ERROR*Checksum<CR><LF>
URC Message
$PQEPE,<EPE_hori>,<EPE_vert>*Checksum<CR><LF>
Parameter
<EPE_hori> Estimated horizontal position error
NOTES
Quectel
Confidential
GNSS SDK Commands Manual

2.2. PQBAUD Change NMEA Port Default Baud Rate

Parameter
Example
$PQBAUD,W,115200*43 //Change NMEA port default baud rate to 115200bps
$PQBAUD,W,OK*40 //Set OK

2.3. POEPE Enable/Disable PQEPE Sentence Output

GNSS_SDK_Commands_Manual Confidential / Released 8 / 28
Loading...
+ 20 hidden pages