Skip to content

PQTM Commands

Quectel proprietary NMEA extensions for the LC29H module family. PQTM commands use named identifiers rather than numeric IDs (contrast with PAIR commands).

All PQTM commands follow standard NMEA framing:

$PQTMCOMMAND,args*CS\r\n
OperationFormat
Write$PQTMCFG...,W,args*CS
Read$PQTMCFG...,R*CS or $PQTMCFG...,R,key*CS
$PQTMVERNO*58

Response: $PQTMVERNO,<FW>,<HW>,<ID>,<SDK>,<Date>*CS

$PQTMSAVEPAR*5A

PQTMRESTOREPAR — Restore Factory Defaults

Section titled “PQTMRESTOREPAR — Restore Factory Defaults”
$PQTMRESTOREPAR*13

Does not take effect until module is restarted.

$PQTMGNSSRESTART,<type>*CS
TypeNameBehavior
1Hot startRetains all cached data
2Warm startRetains almanac; clears ephemeris
3Cold startClears ephemeris, almanac, position, time
4Full coldClears all data including configuration
$PQTMGNSSSUSPEND*5B

Module remains powered but stops tracking satellites.

$PQTMGNSSRESUME*08

PQTMFWUPGRADE — Enter Firmware Upgrade Mode

Section titled “PQTMFWUPGRADE — Enter Firmware Upgrade Mode”
$PQTMFWUPGRADE*59

Write: $PQTMCFGPORT,W,<port>,<baud>,<input>,<output>*CS

Read: $PQTMCFGPORT,R,<port>*CS

ParameterValues
portUART1, UART2, USB
baud9600, 19200, 38400, 57600, 115200, 230400, 460800, 921600
inputNMEA, RTCM3, NMEA|RTCM3
outputNMEA, RTCM3, NMEA|RTCM3

Example:

$PQTMCFGPORT,W,UART1,115200,NMEA|RTCM3,NMEA*CS

PQTMCFGNMEAMSG — Per-Message Output Rate

Section titled “PQTMCFGNMEAMSG — Per-Message Output Rate”
$PQTMCFGNMEAMSG,W,<msgtype>,<uart1_rate>,<uart2_rate>*CS

Example: $PQTMCFGNMEAMSG,W,GGA,1,0*CS (GGA on UART1 every fix, disabled on UART2)

$PQTMCFGMSGRATE,W,<msgtype>,<rate>,<port>*CS

Works for any message type including proprietary PQTM output. Example:

$PQTMCFGMSGRATE,W,PQTMSVINSTATUS,1,1*CS

Write: $PQTMCFGEAMASK,W,<degrees>*CS

Range: 0–90 degrees. Default: 5. Excludes low-elevation satellites to reduce multipath.

Write: $PQTMCFGCLAMPING,W,<enabled>*CS

Zeros reported speed when receiver is stationary. Useful for vehicle tracking.

Write: $PQTMCFGODO,W,<enabled>*CS

$PQTMRESETODO*CS

PQTMCFGGEOFENCE — Configure Geofence Region

Section titled “PQTMCFGGEOFENCE — Configure Geofence Region”
$PQTMCFGGEOFENCE,W,<id>,<enabled>,<lat>,<lon>,<radius>*CS

Up to 4 independent circular fences (id 0–3). Reports status change on boundary crossing.

Example — 500 m fence:

$PQTMCFGGEOFENCE,W,0,1,37.77490000,-122.41940000,500.0*CS

Write: $PQTMCFGDRMODE,W,<mode>*CS

ModeDescription
0GNSS only — inertial sensors ignored
1DR only — GNSS signals ignored
2GNSS+DR auto — fuses both sources (recommended)
$PQTMCFGWHEELTICK,W,<enabled>,<ticks_per_rev>,<circumference>*CS

Example: $PQTMCFGWHEELTICK,W,1,20,2.0000*CS (20 ticks/rev, 2.0 m circumference)

PQTMCFGCAN — CAN Bus Interface (BA Only)

Section titled “PQTMCFGCAN — CAN Bus Interface (BA Only)”
$PQTMCFGCAN,W,<enabled>,<baud>*CS

Typically 500000 baud for automotive CAN.

$PQTMCFGCANFILTER,W,<id>,<can_id>,<mask>*CS

PQTMCFGVEHDBC — Vehicle DBC Configuration

Section titled “PQTMCFGVEHDBC — Vehicle DBC Configuration”
$PQTMCFGVEHDBC,W,<dbc_config>*CS

Vehicle-specific CAN database mapping for speed, wheel tick, and direction signals.

$PQTMCFGEINSMSG,W,<enabled>*CS

Outputs calibration and sensor fusion status for DR diagnostics.

Write:

$PQTMCFGSVIN,W,<mode>,<duration_s>,<accuracy_m>,<ecef_x>,<ecef_y>,<ecef_z>*CS

Read: $PQTMCFGSVIN,R*26

ModeDescription
0Disabled
1Survey-in — averages fixes for duration_s, locks when accuracy < accuracy_m
2Fixed position — uses provided ECEF coordinates directly

Examples:

$PQTMCFGSVIN,W,1,3600,1,0,0,0*16 (survey-in: 1 hour, 1 m target)
$PQTMCFGSVIN,W,2,0,0,-2404572.0411,5381092.5507,2429899.7105*21 (fixed ECEF)

Periodic output — enable via $PQTMCFGMSGRATE,W,PQTMSVINSTATUS,1,1*CS

Reports elapsed time, current 3D accuracy, and convergence status.

Command GroupAABACADABS
Firmware/SystemYYYYY
Port ConfigurationYYYYY
NMEA Message ConfigYYYYY
Navigation (mask, clamping)YYYYY
OdometerYYYYY
GeofenceYYYYY
Dead ReckoningYY
Survey-InY

Parameter persistence. Changes take effect immediately but are lost on power cycle unless saved with PQTMSAVEPAR.

Command ordering. Wait for acknowledgment before sending the next command.

DR calibration. Dead reckoning requires an initial calibration drive. Allow several minutes of driving with good GNSS signal before entering signal-loss areas.