This enum defines the type of PMTK command.
+Enumerator |
---|
PMTK_TEST |
+
+[Packet Type]
+ 000
+[Command]
+ PMTK_TEST
+[Description]
+ Test Packet.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK000*32<CR><LF>
+ |
+PMTK_ACK |
+
+[Packet Type]
+ 001
+[Command]
+ PMTK_ACK
+[Description]
+ Acknowledge of PMTK command.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK001,Cmd,Flag*CS<CR><LF>
+ Cmd: The command / packet type the acknowledge responds.
+ Flag: '0' = Invalid command / packet.
+ '1' = Unsupported command / packet type
+ '2' = Valid command / packet, but action failed
+ '3' = Valid command / packet, and action succeeded
+[Example]
+ $PMTK001,604,3*32<CR><LF>
+ |
+PMTK_SYS_MSG |
+
+[Packet Type]
+ 010
+[Command]
+ PMTK_SYS_MSG
+[Description]
+ System output message.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK010,Type*CS<CR><LF>
+ Type: The system message type.
+ "0", UNKNOWN
+ "1", STARTUP
+ "2", Notification for the host aiding EPO.
+ "3", Notification for the transition to Normal mode completes successfully.
+[Example]
+ $PMTK010,001*2E<CR><LF>
+ |
+PMTK_TXT_MSG |
+
+[Packet Type]
+ 011
+[Command]
+ PMTK_TXT_MSG
+[Description]
+ Output system text message.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK011,msg*CS<CR><LF>
+ msg: The system text message.
+[Example]
+ $PMTK011,MTKGPS*08 <CR><LF>
+ |
+PMTK_CMD_HOT_START |
+
+[Packet Type]
+ 101
+[Command]
+ PMTK_CMD_HOT_START
+[Description]
+ Hot Start. Use the available data in the NVRAM.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK101*32<CR><LF>
+ |
+PMTK_CMD_WARM_START |
+
+[Packet Type]
+ 102
+[Command]
+ PMTK_CMD_WARM_START
+[Description]
+ Warm Start. Not using Ephemeris data at start.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK102*31<CR><LF>
+ |
+PMTK_CMD_COLD_START |
+
+[Packet Type]
+ 103
+[Command]
+ PMTK_CMD_COLD_START
+[Description]
+ Cold Start. Not using the Position, Almanac and Ephemeris data at start.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK103*30<CR><LF>
+ |
+PMTK_CMD_FULL_COLD_START |
+
+[Packet Type]
+ 104
+[Command]
+ PMTK_CMD_FULL_COLD_START
+[Description]
+ Full Cold Start.
+ In addition to Cold start, this command clears the system/user configurations at start.
+ It resets the GNSS module to the factory default.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK104*37<CR><LF>
+ |
+PMTK_CMD_CLEAR_EPO |
+
+[Packet Type]
+ 127
+[Command]
+ PMTK_CMD_CLEAR_EPO
+[Description]
+ Erase the EPO data stored in the flash memory.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK127*36<CR><LF>
+ |
+PMTK_CMD_STANDBY_MODE |
+
+[Packet Type]
+ 161
+[Command]
+ PMTK_CMD_STANDBY_MODE
+[Description]
+ Enter standby modes (stop mode or sleep mode) for power saving.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK161,Type*CS<CR><LF>
+ Type: "0". Stop mode.
+ "1". Sleep mode.
+[Example]
+ $PMTK161,1*29<CR><LF>
+ |
+PMTK_LOCUS_QUERY_STATUS |
+
+[Packet Type]
+ 183
+[Command]
+ PMTK_LOCUS_QUERY_STATUS
+[Description]
+ Query the GNSS is in the log status or not.
+ Keep status after reboot –> No.
+[Data Field]
+ NONE
+[Return]
+ $PMTKLOG,Serial#,Type, Mode, Content, Interval, Distance, Speed, Status, Log number, Percentage*CH
+ Serial#: Logging serial number : 0~65535
+ Type: Logging type - 0: Overlap, 1: FullStop
+ Mode: Logging mode - 0x08 : Interval logger
+ Content: Logging contents of configuration
+ Interval: Logging interval setting (valid when interval mode is selected)
+ Distance: Logging distance setting (valid when distance mode is selected)
+ Speed: Logging speed setting (valid when speed mode is selected)
+ Status : Logging status - 1: Stop Logging, 0: Logging
+ Percentage : Logging life used percentage
+[Example]
+ Input : PMTK183*38<CR><LF>
+ Output : $PMTKLOG,32,1,b,31,1,0,0,0,8032,100*2F<CR><LF>
+[Note]
+ This feature can't use when data cache (PMTK189) is running. This command will get error response when data cache is running.
+ |
+PMTK_LOCUS_ERASE_FLASH |
+
+[Packet Type]
+ 184
+[Command]
+ PMTK_LOCUS_ERASE_FLASH
+[Description]
+ Erase the logged GNSS data on the flash.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK184,Type*CS<CR><LF>
+ Type: Erase type '1': erase the logged internal flash data.
+[Example]
+ Input : PMTK184,1*22<CR><LF>
+ Output: $PMTK001,184,3*3D<CR><LF>
+ |
+PMTK_LOCUS_STOP_LOGGER |
+
+[Packet Type]
+ 185
+[Command]
+ PMTK_LOCUS_STOP_LOGGER
+[Description]
+ Stop the data logging.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK185,Status*CS<CR><LF>
+ Status: Stop logging
+ '1': Stop logging
+ '0': Start logging
+[Example]
+ Input : PMTK185,1*23<CR><LF>
+ Output: $PMTK001,185,3*3C<CR><LF>
+[Note]
+ This feature can't use when data cache (PMTK189) is running. Please don't set any data cache configuration when LOCUS is running.
+ |
+PMTK_LOCUS_LOG_NOW |
+
+[Packet Type]
+ 186
+[Command]
+ PMTK_LOCUS_LOG_NOW
+[Description]
+ Snapshot write log.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK186, Type*CS<CR><LF>
+ Type: '1': Snapshot data logging.
+[Example]
+ Input : $PMTK186,1*20<CR><LF>
+ Output:$PMTK001,186,3*3F<CR><LF>
+ |
+PMTK_LOCUS_CONFIG |
+
+[Packet Type]
+ 187
+[Command]
+ PMTK_LOCUS_CONFIG
+[Description]
+ Configure Locus settings by command.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK187, mode, setting*CS<CR><LF>
+ mode: "1", interval mode.(1sec<=Interval<=12hours)
+ setting: New setting instead of the original configuration (e.g. change to 5 seconds interval as the example below)
+[Example]
+ Input: $PMTK187,1,5*38<CR><LF>
+ Output: $PMTK001,187,3*3E<CR><LF>
+[Note]
+ This feature can't use when data cache (PMTK189) is running. Please don't set any data cache configuration when LOCUS is running.
+ |
+PMTK_SET_POS_FIX |
+
+[Packet Type]
+ 220
+[Command]
+ PMTK_SET_POS_FIX
+[Description]
+ Position Fix Interval.
+ This command only for test.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK220,time*CS<CR><LF>
+ time: Position fix interval in milliseconds (ms).
+[Example]
+ $PMTK220,1000*1F<CR><LF>
+ |
+PMTK_SET_AL_DEE_CFG |
+
+[Packet Type]
+ 223
+[Command]
+ PMTK_SET_AL_DEE_CFG
+[Description]
+ Used for setting periodic mode parameters and is used after PMTK225 command.
+ Keep status after reboot –> Yes.
+[Data Field]
+$ PMTK223, SV, SNR, Extension Threshold, Extension gap*CS<CR><LF>
+ Below parameters can be modified by Host command message
+ SV: The range is from 1 to 4. Default value is 1.
+ SNR: The range is from 25 to 30. Default value is 30.
+ Extension Threshold: The range is from 40000 to 180000.Default value is 180000 ms.
+ Extension gap: The range is from 0 to 3600000. Default value is 60000 msec
+ (Extension gap is the limitation between neighboring Dynamic Ephemeris Extension (DEE)).
+[Example]
+ $PMTK223,1,32,180000,60000*3E<CR><LF>
+ |
+PMTK_SET_PERIODIC_MODE |
+
+[Packet Type]
+ 225
+[Command]
+ PMTK_SET_PERIODIC_MODE
+[Description]
+ Periodic Power Saving Mode Settings: (See following chart).
+ In RUN stage, the GNSS module measures and calculates the position.
+ In SLEEP stage, the GNSS module may enter two different power saving modes.
+ One is the Periodic Standby Mode and the other is Periodic Backup Mode.
+ Due to hardware limitations, the maximum power down duration (SLEEP) is 2047 seconds.
+ If the configured SLEEP interval is larger than 2047 seconds, the GNSS firmware
+ automatically extends the interval using software. However, the GNSS system is powered
+ on for the interval extension and powered down again after the extension is complete.
+ Keep status after reboot –> Yes.
+[Data Field]
+$ PMTK225, Type, Run time, Sleep time, Second run time, Second sleep time*CS<CR><LF>
+ Type : Set operation mode of power saving
+ '0': Back to normal mode
+ '1' Periodic backup mode
+ '2' Periodic standby mode
+ '4': Perpetual backup mode
+ '8': Always Locate standby mode
+ '9': Always Locate backup mode
+ Run time. Duration in milliseconds (ms) to fix for (or attempt to fix for) before
+ switching from running mode back to a minimum power sleep mode.
+ '0': Disable
+ >= '1000': Enable
+ [Range: 1000~518400000]
+ Sleep time: Interval in ms to exit the minimum power sleep mode and get a new position fix.[Range: 1000~518400000]
+ Second run time: Duration in ms to fix for (or attempt to fix for) before switching
+ from running mode back to a minimum power sleep mode.
+ '0': Disable
+ >= '1000': Enable
+ [Range: Second set both 0 or 1000~518400000]
+ Second sleep time: Interval in ms to exit the minimum power sleep mode and get a new position fix.[Range: Second set both 0 or 1000~518400000]
+[Example]
+ Commands to enter periodic modes.
+ Periodic Backup mode
+ PMTK225,0*2B<CR><LF>
+ PMTK223,1,25,180000,60000*38<CR><LF>
+ PMTK225,1,3000,12000,18000,72000*16<CR><LF>
+ Periodic Standby mode
+ PMTK225,0*2B<CR><LF>
+ PMTK223,1,25,180000,60000*38<CR><LF>
+ PMTK225,2,3000,12000,18000,72000*16<CR><LF>
+ Commands to enter Always Locate modes
+ Always Locate Standby
+ PMTK225,0*2B<CR><LF>
+ PMTK225,8*23<CR><LF>
+ AlwaysLocateTM Backup
+ PMTK225,0*2B<CR><LF>
+ PMTK225,9*22<CR><LF>
+ |
+PMTK_SET_DATA_PORT |
+
+[Packet Type]
+ 250
+[Command]
+ PMTK_SET_DATA_PORT
+[Description]
+ Set data port input/output data type and baudrate.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK250,InType,OutType,Baudrate*CS<CR><LF>
+ InType: Data port input data type
+ '0' = DPORT_IN_NONE (No data input)
+ '1' = DPORT_IN_RTCM (RTCM input)
+ '3' = DPORT_IN_NMEA (MTK NMEA)
+ OutType: Data port input data type
+ '0' = DPORT_OUT_NONE (No data output)
+ '3' = DPORT_OUT_NMEA (MTK NMEA)
+ Baudrate. Possible values are: 4800, 9600, 14400, 19200, 38400, 57600, 115200, 460800, 921600.
+[Example]
+ $PMTK250,1,1,9600*16<CR><LF>
+ |
+PMTK_SET_NMEA_BAUDRATE |
+
+[Packet Type]
+ 251
+[Command]
+ PMTK_SET_NMEA_BAUDRATE
+[Description]
+ Set NMEA port baudrate.
+ Using PMTK251 command to setup baud rate setting, the setting will be back to defatult value in the two conditions.
+ 1. Full cold start command is issued
+ 2. Enter standby mode
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK251,Baudrate*CS<CR><LF>
+ Baudrate. Possible values are: 0 (default), 4800, 9600, 14400, 19200, 38400, 57600, 115200, 230400, 460800, 921600.
+[Example]
+ $PMTK251,38400*27<CR><LF>
+[Note]
+ The option "Allow change of baudrate" at the "NMEA" page in the CoreBuilder should be checked before using this command.
+ |
+PMTK_SET_OUTPUT_FMT |
+
+[Packet Type]
+ 253
+[Command]
+ PMTK_SET_OUTPUT_FMT
+[Description]
+ Set data output format for current port.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK253,Flag*CS<CR><LF>
+ Flag (unsigned 1 byte): 0 - NMEA mode
+ 1 - binary mode
+[Example]
+ $PMTK253,1*2B<CR><LF> //Change output format from NMEA mode to binary mode
+[Note]
+ When you switch from binary mode to NMEA mode, you will receive a binary
+ ACK after the command is processed.
+ When you switch from NMEA mode to binary mode, NO ACK will be sent.
+ |
+PMTK_SET_SYNC_PPS_NMEA |
+
+[Packet Type]
+ 255
+[Command]
+ PMTK_SET_SYNC_PPS_NMEA
+[Description]
+ Enable or disable fixed NMEA output time in pulse per second (PPS) function (default value is "0").
+ The latency range of the beginning of UART Tx is between 170 ms and 180 ms at MT3339 platform (465 ms~485ms at MT3333
+ platform) and behind the rising edge of PPS.
+
+ 
+
+
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK255,Flag*CS<CR><LF>
+ Flag "0", Disable.
+ "1", Enable.
+[Example]
+ $PMTK255,1*23<CR><LF>
+[Note]
+ Only support in AXN 3.6(8) and 2.3(5) after 2014/4/21.
+ |
+PMTK_SET_TIMING_PRODUCT |
+
+[Packet Type]
+ 256
+[Command]
+ PMTK_SET_TIMING_PRODUCT
+[Description]
+ Enable or disable timing product mode (Default off).
+ The timing product mode will enhance the PPS output timing accuracy which is listed in below table.
+
+ 
+
+
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK256,Enabled *CS<CR><LF>
+ Enabled: Enable or disable
+ '0' = Disable
+ '1' = Enable
+[Example]
+ $PMTK256,1*2E<CR><LF>
+ Note:
+ Please measure the accuracy after the device collect all satellites almanac.
+ |
+PMTK_SET_HIGH_ACCURACY |
+
+[Packet Type]
+ 257
+[Command]
+ PMTK_SET_HIGH_ACCURACY
+[Description]
+ Enable fast TTFF or high accuracy function when out of the tunnel or garage. (Default enabled high accuracy function).
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK257, Functionality *CS<CR><LF>
+ Functionality:
+ '0' = Enable fast TTFF when out of the tunnel or garage
+ '1' = Enable high accuracy when out of the tunnel or garage
+[Example]
+ $PMTK257,1*2F<CR><LF>
+ |
+PMTK_SET_GLP_MODE |
+
+[Packet Type]
+ 262
+[Command]
+ PMTK_SET_GLP_MODE
+[Description]
+ Enable or disable GNSS Low Power(GLP) mode.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK262, Enabled *CS<CR><LF>
+ Enabled:
+ '0' = Disable GLP mode
+ '1' = Enable GLP mode for MT3339
+ '3' = Enable GLP mode for MT3333
+[Example]
+ $PMTK262,1*29<CR><LF> (Enable GLP mode for MT3339)
+ $PMTK262,3*2B<CR><LF> (Enable GLP mode for MT3333)
+ |
+PMTK_SET_NMEA_DECIMAL_PRECISION |
+
+[Packet Type]
+ 265
+[Command]
+ PMTK_SET_NMEA_DECIMAL_PRECISION
+[Description]
+ Set number of fractional digit in NMEA.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK265, Number*CS<CR><LF>
+ Number:
+ "1", 4 digits
+ "2", 5 digits
+ "3", 6 digits
+[Example]
+ $PMTK265,1*2E<CR><LF>
+ |
+PMTK_SET_PPS_CONFIG_CMD |
+
+[Packet Type]
+ 285
+[Command]
+ PMTK_SET_PPS_CONFIG_CMD
+[Description]
+ Configure the PPS settings.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK285,PPSType,PPSPulseWidth*CS<CR><LF>
+ PPSType. Availability
+ "0", Disable
+ "1", After the first fix
+ "2", 3D fix only
+ "3", 2D/3D fix only
+ "4", Always
+ PPSPulseWidth. PPS Pulse Width (unit in ms).
+[Example]
+ $PMTK285,2,100*23<CR><LF>
+ |
+PMTK_SET_AIC_CMD |
+
+[Packet Type]
+ 286
+[Command]
+ PMTK_SET_AIC_CMD
+[Description]
+ Enable or disable active interference cancellation function.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK286,Enabled*CS<CR><LF>
+ Enabled. Enable or disable
+ "0", Disable.
+ "1", Enable.
+[Example]
+ $PMTK286,1*23<CR><LF>
+ |
+PMTK_SET_OUTPUT_DEBUG |
+
+[Packet Type]
+ 299
+[Command]
+ PMTK_SET_OUTPUT_DEBUG
+[Description]
+ Enable or disable the Debug log output.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK299,Enabled*CS<CR><LF>
+ Enabled. Enable or disable
+ "0", Disable.
+ "1", Enable.
+[Example]
+ $PMTK299,1*2D<CR><LF>
+ |
+PMTK_API_SET_DGPS_MODE |
+
+[Packet Type]
+ 301
+[Command]
+ PMTK_API_SET_DGPS_MODE
+[Description]
+ DGPS correction data source mode.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK301,Mode *CS<CR><LF>
+ Mode: DGPS data source mode.
+ '0': No DGPS source
+ '1': RTCM
+ '2': SBAS(Include WAAS/EGNOS/GAGAN/MSAS)
+[Example]
+ $PMTK301,1*2D<CR><LF>
+ |
+PMTK_API_SET_MIN_SNR |
+
+[Packet Type]
+ 306
+[Command]
+ PMTK_API_SET_MIN_SNR
+[Description]
+ Set the minimum SNR of used satellites.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK306,MIN_SNR *CS<CR><LF>
+ MIN_SNR: Minimum SNR threshold of used satellites. (Valid range: 9~37)
+[Example]
+ $PMTK306,15*1F<CR><LF>
+ => Set the minimum SNR threshold to 15, the chip would not use the satellite which SNR is smaller than 15.
+ |
+PMTK_API_SET_DR_LIMIT |
+
+[Packet Type]
+ 308
+[Command]
+ PMTK_API_SET_DR_LIMIT
+[Description]
+ Set the number of estimated fix when entering the tunnel.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK308,DR_LIMIT *CS<CR><LF>
+ DR_LIMIT: Number of estimated fix. (Valid range: 0~500)
+[Example]
+ $PMTK308,0*25<CR><LF> => Disable the estimated fix when entering the tunnel.
+ $PMTK308,3*26<CR><LF> => Keep outputting 3 fix when entering the tunnel.
+ |
+PMTK_API_SET_ELEV_MASK |
+
+[Packet Type]
+ 311
+[Command]
+ PMTK_API_SET_ELEV_MASK
+[Description]
+ Set satellite elevation mask.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK311,Degree *CS<CR><LF>
+ Degree: Satellite elevation-mask.
+[Example]
+ $PMTK311,5*28<CR><LF>
+ Note:
+ Only support in AXN3.8 after 2015/6/17, and AXN2.5 after 2015/10/19.
+ |
+PMTK_API_SET_SBAS_ENABLED |
+
+[Packet Type]
+ 313
+[Command]
+ PMTK_API_SET_SBAS_ENABLED
+[Description]
+ Enable to search a SBAS satellite or not.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK313,Enabled*CS<CR><LF>
+ Enabled: Enable or disable
+ '0' = Disable
+ '1' = Enable
+[Example]
+ $PMTK313,1*2E<CR><LF>
+ |
+PMTK_API_SET_NMEA_OUTPUT |
+
+[Packet Type]
+ 314
+[Command]
+ PMTK_API_SET_NMEA_OUTPUT
+[Description]
+ Set the NMEA sentence output type and frequencies.
+ Keep status after reboot –> Yes.
+[Data Field]
+ There are totally 19 data fields that present output frequencies for the 19 supported NMEA sentences individually.
+ Supported NMEA Sentences
+ 0 NMEA_SEN_GLL, // GPGLL interval - Geographic Position - Latitude longitude
+ 1 NMEA_SEN_RMC, // GPRMC interval - Recomended Minimum Specific GNSS Sentence
+ 2 NMEA_SEN_VTG, // GPVTG interval - Course Over Ground and Ground Speed
+ 3 NMEA_SEN_GGA, // GPGGA interval - GPS Fix Data
+ 4 NMEA_SEN_GSA, // GPGSA interval - GNSS DOPS and Active Satellites
+ 5 NMEA_SEN_GSV, // GPGSV interval - GNSS Satellites in View
+ 6 NMEA_SEN_GRS, // GPGRS interval - GNSS Range Residuals
+ 7 NMEA_SEN_GST, // GPGST interval - GNSS Pseudorange Erros Statistics
+ 8 NMEA_SEN_PLT, // POLYT interval - Time
+ 9 NMEA_SEN_PLP, // POLYP interval - Position (Lat, Long)
+ 10 NMEA_SEN_PLS, // POLYS interval - Satellite data
+ 11 NMEA_SEN_PLI, // POLYI interval - Additional Information
+ 12 NMEA_SEN_PLH, // POLYH interval - HDS Time Information
+ 13 NMEA_SEN_MALM, // PMTKALM interval - GPS almanac information
+ 14 NMEA_SEN_MEPH, // PMTKEPH interval - GPS ephmeris information
+ 15 NMEA_SEN_MDGP, // PMTKDGP interval - GPS differential correction information
+ 16 NMEA_SEN_MDBG, // PMTKDBG interval - MTK debug information
+ 17 NMEA_SEN_ZDA, // GPZDA interval - Time & Date
+ 18 NMEA_SEN_MCHN, // PMTKCHN interval - GPS channel status
+ Supported Frequency Setting
+ 0 - Disabled or not supported sentence
+ 1 - Output once every one position fix
+ 2 - Output once every two position fixes
+ 3 - Output once every three position fixes
+ 4 - Output once every four position fixes
+ 5 - Output once every five position fixes
+[Example]
+ $PMTK314,1,1,1,1,1,5,0,0,0,0,0,0,0,0,0,0,0,1,1,0*30<CR><LF>
+ This command set GLL output frequency to be outputting once every 1 position fix,
+ and RMC to be outputting once every 1 position fix, and so on.
+ You can also restore the system default setting via issue:
+ $PMTK314,-1*04<CR><LF>
+ Note:
+ Settings of GST and GRS are valid only when firmware supports GST/GRS sentences.
+ |
+PMTK_API_SET_PPS |
+
+[Packet Type]
+ 326
+[Command]
+ PMTK_API_SET_PPS
+[Description]
+ This packet contains the local time in milliseconds and phase where the PPS should be placed.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK326,PPS_BY_USER,Local_ms,phase*CS<CR><LF>
+ PPS_BY_USER
+ "1", PPS output by user.
+ "0", PPS automatic output.
+ Local_ms. Local receiver time tick. Range is from 0 to 4294967295 (232-1).
+ Phase. Time tick phase range is from 0 to 262143.
+[Example]
+ $PMTK326,1,1345,555*3F<CR><LF>
+ |
+PMTK_API_SET_HACC_MASK |
+
+[Packet Type]
+ 328
+[Command]
+ PMTK_API_SET_HACC_MASK
+[Description]
+ Set horizontal accuracy mask. Range from 30m to 200m or -1. GPS will get fix only when hacc value < mask.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK328,HaccMask*CS<CR><LF>
+ HaccMask:
+ 30~200: enable hacc mask feature. (Units: meter)
+ -1: disable hacc mask feature.
+[Example]
+ $PMTK328,50*12<CR><LF>
+ |
+PMTK_API_SET_DATUM |
+
+[Packet Type]
+ 330
+[Command]
+ PMTK_API_SET_DATUM
+[Description]
+ Set default datum.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK330,Datum*CS<CR><LF>
+ Datum: 0: WGS84
+ 1: TOKYO-M
+ 2: TOKYO-A
+ Support 219 different datums. The total datums list in the Appendix A.
+[Example]
+ $PMTK330,0*2E<CR><LF>
+ |
+PMTK_API_SET_DATUM_ADVANCE |
+
+[Packet Type]
+ 331
+[Command]
+ PMTK_API_SET_DATUM_ADVANCE
+[Description]
+ Set user defined datum.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK331,majA,ecc,dX,dY,dZ*CS<CR><LF>
+ majA: User defined datum semi-major axis [m] [Range: 0 ~ 7000000]
+ ecc: User defined datumeccentric [m] [Range: 0 ~ 330]
+ dX: User defined datum to WGS84 X axis offset [m]
+ dY: User defined datum to WGS84 X axis offset [m]
+ dZ: User defined datum to WGS84 X axis offset [m]
+[Example]
+ $PMTK331, 6377397.155, 299.1528128, -148.0, 507.0,685.0*16<CR><LF>
+ |
+PMTK_API_SET_SUPPORT_QZSS_NMEA |
+
+[Packet Type]
+ 351
+[Command]
+ PMTK_API_SET_SUPPORT_QZSS_NMEA
+[Description]
+ The receiver supports new NMEA format for QZSS. The command allow user enable or disable QZSS NMEA format.
+ Default is disabling QZSS NMEA format. (Using NMEA 0183 V3.01)
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK351,Enabled*CS<CR><LF>
+ Enabled: '0': Disable
+ '1': Enable
+[Example]
+ $PMTK351,0*29<CR><LF> : Disable QZSS NMEA format
+ $PMTK351,1*28 <CR><LF>: Enable QZSS NMEA format
+ |
+PMTK_API_SET_STOP_QZSS |
+
+[Packet Type]
+ 352
+[Command]
+ PMTK_API_SET_STOP_QZSS
+[Description]
+ Since QZSS is regional positioning service. The command allow user enable or disable QZSS function.
+ Default is enable QZSS function.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK352,Enabled*CS<CR><LF>
+ Enabled: '0': Enable
+ '1': Disable
+[Example]
+ $PMTK352,0*2A<CR><LF> : Enable QZSS function
+ $PMTK352,1*2B<CR><LF> : Disable QZSS function
+ |
+PMTK_API_SET_GNSS_SEARCH_MODE |
+
+[Packet Type]
+ 353
+[Command]
+ PMTK_API_SET_GNSS_SEARCH_MODE
+[Description]
+ Configure the receiver to start searching for satellites. The setting is available when the NVRAM data is valid.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK353, GPS_Enabled, GLONASS_Enabled, GALILEO_Enabled, Reserve, BEIDOU_Enabled*CS<CR><LF>
+ GPS_Enabled:
+ "0", disable (DO NOT search GPS satellites).
+ "1", or non-ZERO: search GPS satellites.
+ GLONASS_Enabled:
+ "0", disable (DO NOT search GLONASS satellites).
+ "1", or non-ZERO: search GLONASS satellites.
+ GALILEO_Enabled:
+ "0", disable (DO NOT search GALILEO satellites).
+ "1", or non-ZERO: search GALILEO satellites.
+ Reserve: no used.
+ BEIDOU_Enabled:
+ "0", disable (DO NOT search BEIDOU satellites).
+ "1", or non-ZERO: search BEIDOU satellites.
+[Example]
+ $PMTK353,0,1,0,0,0*2A : Search GLONASS satellites only.
+ $PMTK353,1,0,0,0,0*2A : Search GPS satellites only.
+ $PMTK353,1,1,0,0,0*2B : Search GPS and GLONASS satellites.
+ $PMTK353,1,0,1,0,0*2B : Search GPS and GALILEO satellites.
+ $PMTK353,1,1,1,0,0*2A : Search GPS GLONASS, GALILEO satellites.
+ $PMTK353,0,0,0,0,1*2A : Search BEIDOU satellites only.
+ $PMTK353,1,0,0,0,1*2B : Search GPS and BEIDOU satellites.
+ Note: GLONASS only, BeiDou only and GALILEO only mode is only for testing purpose.
+ Use (GPS + GLONASS) or (GPS + BeiDou) or (GPS + GALILEO) or (GPS + GLONASS + GALILEO) in your applications. GLONASS and BeiDou cannot be enabled at the same time. GALILEO and BeiDou cannot be enabled at the same time.
+ |
+PMTK_API_GET_GNSS_OPERAT_MODE |
+
+[Packet Type]
+ 355
+[Command]
+ PMTK_API_GET_GNSS_OPERAT_MODE
+[Description]
+ This command is to get GPS,GLONASS, BeiDou and GALILEO search settings.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK355*31
+[Return]
+ $PMTK001,353,3,1,0,1,0*35
+ //"$PMTK001,355,3,GPS_Enable,GLON_Enable,BEIDOU_Enable,GALILEO_Enable"
+ The return value in this example means GPS + Beidou searching mode is enabled.
+ |
+PMTK_API_SET_HDOP_THRESHOLD |
+
+[Packet Type]
+ 356
+[Command]
+ PMTK_API_SET_HDOP_THRESHOLD
+[Description]
+ This command is to set the HDOP threshold.
+ If the HDOP value is larger than this threshold value, the position will not be fixed.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK356,HDOPThreshold*CS<CR><LF>
+ HDOPThreshold:
+ "0": Disable this function.
+ Other value: Enable set the HDOP threshold
+[Example]
+ $PMTK356,0.8
+ Return $PMTK356,0.8 Set OK!*5F
+ |
+PMTK_API_GET_HDOP_THRESHOLD |
+
+[Packet Type]
+ 357
+[Command]
+ PMTK_API_GET_HDOP_THRESHOLD
+[Description]
+ This command is to get the HDOP threshold.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK357,HDOPThreshold*CS<CR><LF>
+ HDOPThreshold. "0", Disable this function.
+ Other value. Enable.
+[Example]
+ $PMTK357
+ Return $PMTK357,0.8*39
+ |
+PMTK_API_SET_PLL |
+
+[Packet Type]
+ 381
+[Command]
+ PMTK_API_SET_PLL
+[Description]
+ Set PLL on or off.
+[Data Field]
+$PMTK381, PLL status*CS<CR><LF>
+ 0: PLL off, 1: PLL on
+[Example]
+ $PMTK381,1*25<CR><LF>
+ |
+PMTK_API_SET_HIGH_SENSITIVITY_TRACKING_NO_FIX |
+
+[Packet Type]
+ 385
+[Command]
+ PMTK_API_SET_HIGH_SENSITIVITY_TRACKING_NO_FIX
+[Description]
+ Disable/Enable position output in high sensitivity tracking mode.
+[Data Field]
+$PMTK385,Disable_Position_Output*CS<CR><LF>
+ 0: Enable, 1: Disable
+[Example]
+ $PMTK385,1*21<CR><LF>
+ |
+PMTK_API_SET_STATIC_NAVI_THD |
+
+[Packet Type]
+ 386
+[Command]
+ PMTK_API_SET_STATIC_NAVI_THD
+[Description]
+ Set the speed threshold for static navigation.
+ If the actual speed is below the threshold, output position remains the
+ same and the output speed will be zero. If the threshold value is set to 0,
+ this function is disabled.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK386, speed_threshold*CS<CR><LF>
+ Speed_threshold. 0~2 m/s.
+ The minimum is 0.1 m/s, the maximum is 2.0 m/s.
+[Example]
+ $PMTK386, 0.4*19<CR><LF>
+ |
+PMTK_API_SET_FLASH_DATA |
+
+[Packet Type]
+ 399
+[Command]
+ PMTK_API_SET_FLASH_DATA
+[Description]
+ Write data to the flash.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK399, Address, Length, Data0, Data1, Data2, ...... *CS<CR><LF>
+ Address: the starting address in hex format (the address is fixed at 0x1C0)
+ Length: the number of bytes of incoming data fields in hex format (Max length = 7 bytes)
+ DataN: data byte in hex format
+[Example]
+ $PMTK399,1c0,7,30,5C,22,1D,02,04,01*4F<CR><LF>
+ |
+PMTK_API_Q_FIX_CTL |
+
+[Packet Type]
+ 400
+[Command]
+ PMTK_API_Q_FIX_CTL
+[Description]
+ API_Query_Fix_Ctl
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_FIX_CTL (See Packet Type: 500)
+[Example]
+ $PMTK400*36<CR><LF>
+ |
+PMTK_API_Q_DGPS_MODE |
+
+[Packet Type]
+ 401
+[Command]
+ PMTK_API_Q_DGPS_MODE
+[Description]
+ API_Query_Dgps_Mode
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_DGPS_MODE (See Packet Type: 501)
+[Example]
+ $PMTK401*37<CR><LF>
+ |
+PMTK_API_Q_MIN_SNR |
+
+[Packet Type]
+ 406
+[Command]
+ PMTK_API_Q_MIN_SNR
+[Description]
+ Query the minimum SNR of used satellites.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_MIN_SNR
+[Example]
+ $PMTK406*30<CR><LF>
+ Return:
+ $PMTK506,15*19<CR><LF> => The minimum SNR threshold is 15
+ $PMTK506,0*2D<CR><LF> => The user didn't set the minimum SNR threshold
+ |
+PMTK_API_Q_DR_LIMIT |
+
+[Packet Type]
+ 408
+[Command]
+ PMTK_API_Q_DR_LIMIT
+[Description]
+ Query the number of estimated fix when entering the tunnel.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_DR_LIMIT
+[Example]
+ $PMTK408*3E<CR><LF>
+ Return:
+ $PMTK508,0*23<CR><LF> => The user disable the DR estimated fix
+ |
+PMTK_API_Q_ELEV_MASK |
+
+[Packet Type]
+ 411
+[Command]
+ PMTK_API_Q_ELEV_MASK
+[Description]
+ Query satellite elevation mask.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_ELEV_MASK
+[Example]
+ $PMTK411*36<CR><LF>
+ Return:
+ $PMTK511,Degree
+ Note:
+ Only support in AXN3.8 after 2015/6/17, and AXN2.5 after 2015/10/19.
+ |
+PMTK_API_Q_SBAS_ENABLED |
+
+[Packet Type]
+ 413
+[Command]
+ PMTK_API_Q_SBAS_ENABLED
+[Description]
+ Query the status of SBAS to check if it is enabled or not.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_SBAS_ENABLED (See Packet Type: 513)
+[Example]
+ $PMTK413*34<CR><LF>
+ |
+PMTK_API_Q_NMEA_OUTPUT |
+
+[Packet Type]
+ 414
+[Command]
+ PMTK_API_Q_NMEA_OUTPUT
+[Description]
+ Query current NMEA sentence output frequencies.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_NMEA_OUTPUT (See Packet Type: 514)
+[Example]
+ $PMTK414*33<CR><LF>
+ |
+PMTK_API_Q_HACC_MASK |
+
+[Packet Type]
+ 428
+[Command]
+ PMTK_API_Q_HACC_MASK
+[Description]
+ Query horizontal accuracy mask.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_HACC_MASK
+[Example]
+ $PMTK428*3C<CR><LF>
+ |
+PMTK_API_Q_DATUM |
+
+[Packet Type]
+ 430
+[Command]
+ PMTK_API_Q_DATUM
+[Description]
+ Query default datum.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_DATUM
+[Example]
+ $PMTK430*35<CR><LF>
+ |
+PMTK_API_Q_DATUM_ADVANCE |
+
+[Packet Type]
+ 431
+[Command]
+ PMTK_API_Q_DATUM_ADVANCE
+[Description]
+ Query user defined datum.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_DATUM
+[Example]
+ $PMTK431*34<CR><LF>
+ |
+PMTK_API_Q_RTC_TIME |
+
+[Packet Type]
+ 435
+[Command]
+ PMTK_API_Q_RTC_TIME
+[Description]
+ Query current RTC UTC time.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_API_DT_RTC_TIME
+[Example]
+ $PMTK435*30<CR><LF>
+ |
+PMTK_API_Q_HIGH_SENSITIVITY_TRACKING_NO_FIX |
+
+[Packet Type]
+ 436
+[Command]
+ PMTK_API_Q_HIGH_SENSITIVITY_TRACKING_NO_FIX
+[Description]
+ Query setting of position output disabled/enabled in high sensitivity tracking mode.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_HIGH_SENSITIVITY_TRACKING_NO_FIX
+[Example]
+ $PMTK436*33<CR><LF>
+ |
+PMTK_API_Q_EPH_STATUS |
+
+[Packet Type]
+ 449
+[Command]
+ PMTK_API_Q_EPH_STATUS
+[Description]
+ This command is to query the current status of ephemeris downloading
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ PMTK449*3B
+ Return:
+ $PMTK001,449,3,1*24 : The ephemeris downloading is finished.
+ $PMTK001,449,3,0*25 : The ephemeris downloading is not finished yet.
+ |
+PMTK_API_GET_POS_XYZ |
+
+[Packet Type]
+ 458
+[Command]
+ PMTK_API_GET_POS_XYZ
+[Description]
+ Returns the WGS84 ECEF XYZ Cartesian Position vector ( metres ) with an estimated 1-sigma accuracy.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_POS_XYZ
+[Example]
+ $PMTK458*3B<CR><LF>
+ |
+PMTK_API_GET_VEL_XYZ |
+
+[Packet Type]
+ 461
+[Command]
+ PMTK_API_GET_VEL_XYZ
+[Description]
+ Returns the WGS84 ECEF XYZ Cartesian velocity vector ( m/s ) with an estimated 1-sigma accuracy.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_VEL_XYZ
+[Example]
+ $PMTK461*31<CR><LF>
+ |
+PMTK_API_GET_FLASH_DATA |
+
+[Packet Type]
+ 499
+[Command]
+ PMTK_API_GET_FLASH_DATA
+[Description]
+ Read the flash memory.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK499, Address, Length*CS<CR><LF>
+ Address: the starting address in hex format. (The address is fixed at 0x1C0)
+ Length: the number of bytes requested in hex format (Max length is 7 bytes)
+[Return]
+ PMTK_DT_FLASH_DATA
+[Example]
+ $PMTK499,1C0,7*43<CR><LF>
+ |
+PMTK_DT_FIX_CTL |
+
+[Packet Type]
+ 500
+[Command]
+ PMTK_DT_FIX_CTL
+[Description]
+ These parameters show the rate of position fixing activity.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK500,FixInterval,Duration,RunInterval,HAcc,VAcc*CS<CR><LF>
+ FixInterval: Position fix interval. (msec). [Range: 100 ~ 10000].
+ Duration: Duration to fix for (or attempt to fix for) before switching from running mode back to a minimum
+ power sleep mode. (msec)
+ RunInterval: Interval to come out of a minimum power sleep mode and start running in order to get a new
+ position fix. (msec)
+ HAcc: One-sigma estimated Horizontal position accuracy mask at which point a suitable fix is deemed to have
+ been obtained and the receiver may prematurely switch into its minimum power sleep mode. (m)
+ VAcc: One-sigma estimated Horizontal position accuracy mask at which point a suitable fix is deemed to have
+ been obtained and the receiver may prematurely switch into its minimum power sleep mode. (m)
+[Example]
+ $PMTK500,1000,0,0,0,0*1A<CR><LF>
+ |
+PMTK_DT_DGPS_MODE |
+
+[Packet Type]
+ 501
+[Command]
+ PMTK_DT_DGPS_MODE
+[Description]
+ DGPS Data Source Mode.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK501,Mode*CS<CR><LF>
+ Mode: DGPS data source mode
+ '0': No DGPS source
+ '1': RTCM
+ '2': WAAS
+ '3': GSM
+ '4': WCDMA
+ '5': CDMA2K
+[Example]
+ $PMTK501,1*2B<CR><LF>
+ |
+PMTK_DT_SBAS_ENABLED |
+
+[Packet Type]
+ 513
+[Command]
+ PMTK_DT_SBAS_ENABLED
+[Description]
+ Enable or disable searching for SBAS satellites.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK513,Enabled*CS<CR><LF>
+ Enabled: Enable or disable
+ '0' = Disable
+ '1' = Enable
+[Example]
+ $PMTK513,1*28<CR><LF>
+ |
+PMTK_DT_NMEA_OUTPUT |
+
+[Packet Type]
+ 514
+[Command]
+ PMTK_DT_NMEA_OUTPUT
+[Description]
+ The NMEA sentence output frequency configuration.
+ Keep status after reboot –> No.
+[Data Field]
+ There are totally 20 data fields that present output frequencies for the
+ 20 supported NMEA sentences individually. Please refer to PMTK_API_SET_NMEA_OUTPUT
+ for the Supported NMEA Sentences and Frequency Setting.
+[Example]
+ $PMTK514,1,1,1,1,1,5,1,1,1,1,1,1,0,1,1,1,1,1,1,1*37<CR><LF>
+ |
+PMTK_DT_HACC_MASK |
+
+[Packet Type]
+ 528
+[Command]
+ PMTK_DT_HACC_MASK
+[Description]
+ Current horizontal accuracy mask.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK528,mask*CS<CR><LF>
+[Example]
+ $PMTK528,50.00*3A<CR><LF>
+ |
+PMTK_DT_DATUM |
+
+[Packet Type]
+ 530
+[Command]
+ PMTK_DT_DATUM
+[Description]
+ Current datum used.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK530,Datum*CS<CR><LF>
+ Datum: 0: WGS84
+ 1: TOKYO-M
+ 2: TOKYO-A
+[Example]
+ $PMTK530,0*28<CR><LF>
+ |
+PMTK_DT_RTC_TIME |
+
+[Packet Type]
+ 535
+[Command]
+ PMTK_DT_RTC_TIME
+[Description]
+ This packet carries current RTC UTC time.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK535,Year,Month,Day,Hour,Min,Sec*CS<CR><LF>
+ Year: Year
+ Month: 1 ~ 12
+ Day: 1 ~ 31
+ Hour: 0 ~ 23
+ Min: 0 ~ 59
+ Sec: 0 ~ 59
+[Example]
+ $PMTK535,2007,1,1,0,0,0*04<CR><LF>
+ |
+PMTK_DT_HIGH_SENSITIVITY_TRACKING_NO_FIX |
+
+[Packet Type]
+ 536
+[Command]
+ PMTK_DT_HIGH_SENSITIVITY_TRACKING_NO_FIX
+[Description]
+ This packet carries setting of position output disabled/enabled in high sensitivity tracking mode.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK536,Disable_Position_Output*CS<CR><LF>
+ 0: Enable, 1: Disable
+[Example]
+ $PMTK536,1*2F<CR><LF>
+ |
+PMTK_DT_FLASH_DATA |
+
+[Packet Type]
+ 599
+[Command]
+ PMTK_DT_FLASH_DATA
+[Description]
+ The data in the flash memory.
+ Keep status after reboot –> No.
+[Data Field]
+ There are totally 'length+2' data fields that present the followings:
+ 1. Starting address in hex format
+ 2. Length in hex format
+ 3~n: Data bytes in hex format
+[Example]
+ $PMTK599,1C,7,30,5C,22,1D,02,04,01*58<CR><LF>
+ |
+PMTK_Q_DATA_PORT |
+
+[Packet Type]
+ 602
+[Command]
+ PMTK_Q_DATA_PORT
+[Description]
+ Read data port input/output data type and baudrate.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Return]
+ PMTK_DT_DATA_PORT
+[Example]
+ $PMTK602*36<CR><LF>
+ |
+PMTK_Q_RELEASE |
+
+[Packet Type]
+ 605
+[Command]
+ PMTK_Q_RELEASE
+[Description]
+ Query the firmware release information.
+ Keep status after reboot –> No.
+[Data Field]
+ NONE
+[Return]
+ PMTK_DT_RELEASE
+[Example]
+ $PMTK605*31<CR><LF>
+ |
+PMTK_Q_EPO_INFO |
+
+[Packet Type]
+ 607
+[Command]
+ PMTK_Q_EPO_INFO
+[Description]
+ Query the EPO data status stored in the GPS chip.
+ Keep status after reboot –> No.
+[Data Field]
+ NONE
+[Return]
+ PMTK_DT_EPO_INFO
+[Example]
+ $PMTK607*33<CR><LF>
+ |
+PMTK_Q_LOCUS_DATA |
+
+[Packet Type]
+ 622
+[Command]
+ PMTK_Q_LOCUS_DATA
+[Description]
+ Use Locus tool to retrieve the logging data from the NVRAM.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK622,type*CS<CR><LF>
+ Type: 0-Dump full LOCUS flash data.
+ 1-Dump partial in used LOCUS flash data
+$PMTK622,type,offset,size*CS<CR><LF>
+ Type: 2-Dump specified sectors' LOCUS flash data
+ offset: The start address for dump (0<=offset<32, the unit is sector[4KB])
+ size: The dump length (0<=size<=32, the unit is sector[4KB])
+[Example]
+ Input: $PMTK622,0*28 //Dump full LOCUS flash data
+ Input: $PMTK622,1*29 //Dump partial in used LOCUS flash data
+ Input: $PMTK622,2,3,2*2B //Skip sector 1,2,3. Dump sector4 and sector5 LOCUS flash data
+ [Note]
+ If the input values of offset and size are out of range, it will dump all LOCUS flash like using $PMTK622,0*28.
+ |
+PMTK_Q_AVAILABLE_SV_EPH |
+
+[Packet Type]
+ 660
+[Command]
+ PMTK_Q_AVAILABLE_SV_EPH
+[Description]
+ Support PMTK660 which report valid Ephemeris SV.
+ (a) Host -> MT3329: A PMTK660 command to request the EPH info, together with a time interval parameter (for
+ example, 1800sec).
+ (b) MT3329 -> Host: Reply 32-bit flags of 32SV to indicate which EPHs will be available after the specified time interval.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK660, Time interval *CS<CR><LF>
+ Time interval: Set the time interval for MT3329 to reply 32-bit flags of 32SV. Note that the Time interval > 0 and <=
+ 7200 (2 hours).
+[Example]
+ Indicate which EPHs will be available after 1800 seconds
+ $PMTK660,1800*17<CR><LF>
+[Return]
+ $PMTK001,660,3,40449464*17<CR><LF>
+ Note the Hex 40449464 means 0100 0000 0100 0100 1001 0100 0110 0100 and the Valid SV's numbers are 3, 6, 7, 11,
+ 13, 16, 19, 23, 31.
+ |
+PMTK_Q_AVAILABLE_SV_ALM |
+
+[Packet Type]
+ 661
+[Command]
+ PMTK_Q_AVAILABLE_SV_ALM
+[Description]
+ Support PMTK661 which report valid Almanac SV.
+ (a) Host -> MT3329: A PMTK661 command to request the Almanac info, together with a time interval parameter (for
+ example, 30 days).
+ (b) MT3329 -> Host: Reply 32-bit flags of 32SV to indicate which Almanac will be available after the specified time
+ interval.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK661, Time interval *CS<CR><LF>
+ Time interval: Set the time interval for MT3329 to reply 32-bit flags of 32SV. Note that the Time interval > 0 and <= 365
+ (1 year for maximum)
+[Example]
+ Indicate which Almanac will be available after 30 days
+ $PMTK661,30*1C<CR><LF>
+[Return]
+ $PMTK001,661,3,fec0bfff*49<CR><LF>
+ Note the Hex fec0bfff means 11111110110000001011111111111111 and the Valid SV's numbers are
+ 1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,23,24,26,27,28,29,30,31,32.
+ |
+PMTK_Q_UTC_CORRECTION_DATA |
+
+[Packet Type]
+ 667
+[Command]
+ PMTK_Q_UTC_CORRECTION_DATA
+[Description]
+ Get UTC correction data.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK001,667,3,A0,A1,dtLS,Tot,WNt,WNLSF,DN,dtLSF*CS<CR><LF>
+ Action flag: '3' means UTC correnction data are available.
+ '2' means UTC correnction data are not available.
+ A0: UTC parameter A0. Unit is (seconds)/(2^-30).
+ A1: UTC parameter A1. Unit is (seconds/second)/(2^-50).
+ dtLS: UTC time difference due to leap seconds before event. Unit is seconds.
+ Tot: UTC reference time of week. Unit is seconds.
+ WNt: UTC reference week number. Unit is weeks.
+ WNLSF: UTC week number when next leap second event occurs. Unit is weeks.
+ DN: UTC day of week when next leap second event occurs. Unit is days.
+ dtLSF: UTC time difference due to leap seconds after event. Unit is seconds.
+[Example]
+ $PMTK667
+[Return]
+ If UTC correnction data are available, the receiver returns
+ $PMTK001,667,3,0,0,16,507904,237,237,3,17*0A
+ If UTC correnction data are not available, the receiver returns
+ $PMTK001,667,2*36
+ |
+PMTK_Q_GPS_KEP |
+
+[Packet Type]
+ 668
+[Command]
+ PMTK_Q_GPS_KEP
+[Description]
+ Get GPS ephemeris data in kepler format.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK668,PRN *CS<CR><LF>
+ PRN: The SVID of the satellite. Choose which satellite's ephemeris you want to get.
+[Example]
+ $PMTK668,3*25<CR><LF>
+[Return]
+ If ephemeris data of specified satellite is available, the receiver returns
+ $PMTK668,PRN,WeekNo,URAI,IDOT,IODE,Toc,af2,af1,af0,IODC,Crs,dn,M0,Cuc,e,Cus,SqrtA,Toe,Cic,Omega0,Cis,i0,Crc,w,OmegaDot,Tgd,SVHealth*CS PRN: SVID of satellite
+ WeekNo: Reference week number[weeks]
+ URAI: Figure of Merit - Defines URA
+ IDOT: Rate of inclination angle[rad/s]
+ IODE: Issue of data counter
+ Toc: Reference time of week[s]
+ af2: SV clock correction polynomial coefficient[s/s/s]
+ af1: SV clock correction polynomial coefficient[s/s]
+ af0: SV clock correction polynomial coefficient[s]
+ IODC: Issue of data counter
+ Crs: Ampof sin harmonic corr term orbit radius[m]
+ dn: Delta n mean motion diff from computed value[rad/s]
+ M0: Mean anomaly at reference time[rad]
+ Cuc: Amplitude of cos harm corr term arg of latitude[rad]
+ e: Eccentricity
+ Cus: Amplitude of sin harm corr term arg of latitude[rad]
+ SqrtA: Square root of the semi-major axis
+ Toe: Reference time of week[Ephemeris terms][s]
+ Cic: Amplitude of cos harm corr term ang of inclination[rad]
+ Omega0: Longitude of ascending node of orbit plane[rad]
+ Cis: Amplitude of sin harm corr term ang of inclination[rad]
+ i0: Inclination angle at reference time[rad]
+ Crc: Amplitude of cos harm corr term orbit radius[rad]
+ w: Argument of perigee[rad]
+ OmegaDot: Rate of right ascention[rad/s]
+ Tgd: Group delay[s]
+ SVHealth: The 5 LSBs of the NAV data's health status from the ephemeris. Note: Please use the factor scale(refer to ICD-GPS-200c, page 96) to calculate the actual value.
+ Example:
+ $PMTK668,3,804,0,1378,97,18900,0,211,348491,97,1529,14047,-433441886,1302,8251567,3333,2702051329,18900,26,935176585,4,655529795,8214,-2063355058,-23169,3,0*3D If ephemeris data of specified satellite is not available, the receiver returns
+ $PMTK001,668,3,0*24
+ |
+PMTK_Q_BDS_KEP |
+
+[Packet Type]
+ 669
+[Command]
+ PMTK_Q_BDS_KEP
+[Description]
+ Get BDS ephemeris data in kepler format.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK669,PRN *CS<CR><LF>
+ PRN: The SVID of the satellite. Choose which satellite's ephemeris you want to get.
+[Example]
+ $PMTK669,3*25<CR><LF>
+[Return]
+ If ephemeris data of specified satellite is available, the receiver returns
+ $PMTK669,PRN,WeekNo,URAI,IDOT,IODE,Toc,af2,af1,af0,IODC,Crs,dn,M0,Cuc,e,Cus,SqrtA,Toe,Cic,Omega0,Cis,i0,Crc,w,OmegaDot,Tgd,SVHealth*CS PRN: SVID of satellite
+ WeekNo: Reference week number[weeks]
+ URAI: Figure of Merit - Defines URA
+ IDOT: Rate of inclination angle[rad/s]
+ IODE: Issue of data counter
+ Toc: Reference time of week[s]
+ af2: SV clock correction polynomial coefficient[s/s/s]
+ af1: SV clock correction polynomial coefficient[s/s]
+ af0: SV clock correction polynomial coefficient[s]
+ IODC: Issue of data counter
+ Crs: Amplitude of sin harmonic corr term orbit radius[m]
+ dn: Delta n mean motion diff from computed value[rad/s]
+ M0: Mean anomaly at reference time[rad]
+ Cuc: Amplitude of cos harm corr term arg of latitude[rad]
+ e: Eccentricity
+ Cus: Amplitude of sin harm corr term arg of latitude[rad]
+ SqrtA: Square root of the semi-major axis
+ Toe: Reference time of week[Ephemeris terms][s]
+ Cic: Amplitude of cos harm corr term ang of inclination[rad]
+ Omega0: Longitude of ascending node of orbit plane[rad]
+ Cis: Amplitude of sin harm corr term ang of inclination[rad]
+ i0: Inclination angle at reference time[rad]
+ Crc: Amplitude of cos harm corr term orbit radius[rad]
+ w: Argument of perigee[rad]
+ OmegaDot: Rate of right ascention[rad/s]
+ Tgd: Group delay[s]
+ SVHealth: The 5 LSBs of the NAV data's health status from the ephemeris. Note: please use the factor scale(refer to BeiDou Navigation Satellite System Signal In Space Interface Control Document) to calculate the actual value.
+ Example:
+ $PMTK669,3,804,0,1567,2,38250,0,-26092,-4263927,0,-21176,581,1267572402,-23869,2546953,66039,3404432795,38250,-126,22528884,-260,55957758,-59905,-1898601724,2465,6,0*19 If ephemeris data of specified satellite is not available, the receiver returns
+ $PMTK001,669,3,0*25
+ |
+PMTK_Q_GPS_IONO |
+
+[Packet Type]
+ 670
+[Command]
+ PMTK_Q_GPS_IONO
+[Description]
+ Query ionospheric parameters.
+[Return]
+ $PMTK001,670,3,a0,a1,a2 ,a3, b0, b1, b2, b3 *CS<CR><LF>
+ a0: IONO parameter a0. Unit is Seconds.
+ a1: IONO parameter a1. Unit is sec/semi-circle.
+ a2: IONO parameter a2. Unit is sec/(semi-circle)^2.
+ a3: IONO parameter a3. Unit is sec/(semi-circle)^3.
+ b0: IONO parameter b0. Unit is Seconds.
+ b1: IONO parameter b1. Unit is sec/semi-circle.
+ b2: IONO parameter b2. Unit is sec/(semi-circle)^2.
+ b3: IONO parameter b3. Unit is sec/(semi-circle)^3.
+[Example]
+ $PMTK670*33<CR><LF>
+ Return:
+ If ionospheric paremeters are available, the receiver returns
+ $PMTK001,670,3,19,3,-2,-1,63,10,-3,-4*15
+ If ionospheric paremeters are not available, the receiver returns
+ $PMTK001,670,2*30
+ |
+PMTK_DT_DATA_PORT |
+
+[Packet Type]
+ 702
+[Command]
+ PMTK_DT_DATA_PORT
+[Description]
+ Display Data port input/output data type and baud rate.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK702,InType,OutType,Baud*CS<CR><LF>
+ InType: Data port input data type
+ '0' = DPORT_IN_NONE
+ '1' = DPORT_IN_RTCM
+ '2' = DPORT_IN_NA
+ OutType: Data port input data type
+ '0' = DPORT_OUT_NONE
+ '1' = DPORT_OUT_DEBUG
+ Baud: Baudrate setting
+ 4800
+ 9600
+ 19200
+ 38400
+ 57600
+ 115200
+[Example]
+ $PMTK702,1,1,9600*14<CR><LF>
+ |
+PMTK_DT_RELEASE |
+
+[Packet Type]
+ 705
+[Command]
+ PMTK_DT_RELEASE
+[Description]
+ Firmware release information.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK705,ReleaseStr,Build_ID,Product_Model,(SDK_Version,) *CS<CR><LF>
+ ReleaseStr: Firmware release name and version
+ 3318 : Mcore_x.x
+ 3329 : AXN_x.x
+ Build_ID: Build ID set in CoreBuilder for firmware version control
+ Product_Model: Product Model set in CoreBuilder for product identification
+ SDK_Version: Showing SDK version if the firmware is used for SDK
+[Example]
+ $PMTK705,AXN_0.2,1234,ABCD,*14<CR><LF>
+ |
+PMTK_DT_EPO_INFO |
+
+[Packet Type]
+ 707
+[Command]
+ PMTK_DT_EPO_INFO
+[Description]
+ EPO data status stored in GPS chip.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK707,Set,FWN,FTOW,LWN,LTOW,FCWN,FCTOW,LCWN,LCTOW*CS<CR><LF>
+ Set: Total number sets of EPO data stored in chip
+ FWN, FTOW: GPS week number & TOW of the first set of EPO data stored in chip respectively
+ LWN, LTOW: GPS week number & TOW of the last set of EPO data stored in chip respectively
+ FCWN, FCTOW: GPS week number & TOW of the first set of EPO data that are currently used respectively
+ LCWN, LCTOW: GPS week number & TOW of the last set of EPO data that are currently used respectively
+[Example]
+ $PMTK707,56,1468,172800,1470,151200,1468,259200,1468,259200*1F<CR><LF>
+ |
+PMTK_DT_SV_EPO |
+
+[Packet Type]
+ 721
+[Command]
+ PMTK_DT_SV_EPO
+[Description]
+ The packet contains GPS EPO data for a single satellite.
+ Keep status after reboot –> No.
+[Data Field]
+ $PMTK721,SatID,W[0],...,W[17]*CS<CR><LF>
+ SatID: Range 1 ~ 32. Satellite PRN number [Represented in HEX characters] for the EPO data to follow.
+ W[0] ~ W[17]: words [LSB first] of one EPO segment data (total 72 bytes).
+[Example]
+ None
+ |
+PMTK_DT_UTC |
+
+[Packet Type]
+ 740
+[Command]
+ PMTK_DT_UTC
+[Description]
+ The packet contains current UTC time.
+ Please do not use local time, which has time-zone offset.
+ To have faster TTFF, the accuracy of reference UTC shall be better less than 3 seconds.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK740,YYYY,MM,DD,hh,mm,ss*CS<CR><LF>
+ YYYY year > 1980 UTC time: year in 4 digits
+ MM month 1 - 12 UTC time: month
+ DD day 1 - 31 UTC time: day
+ hh hour 0 - 23 UTC time: hour
+ mm minute 0 - 59 UTC time: minute
+ ss second 0 - 59 UTC time: second
+[Example]
+ The packet indicates that the current UTC time 2010/Feb/10 09:00:58.
+ $PMTK740,2010,2,10,9,0,58*05<CR><LF>
+ |
+PMTK_DT_POS |
+
+[Packet Type]
+ 741
+[Command]
+ PMTK_DT_POS
+[Description]
+ The packet contains reference location for the GNSS module.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK741,Lat,Long,Alt,YYYY,MM,DD,hh,mm,ss *CS<CR><LF>
+ Name Unit Range Description
+ Lat degree -90.0 ~ 90.0 WGS84 geodetic latitude. Suggest to express this value in floating-point
+ with 6 decimal points. Minus: south; Plus: north
+ Long degree -180.0 ~ 180.0 WGS84 geodetic longitude. Suggest to express this value in floating-point
+ with 6 decimal points. Minus: west; Plus: east
+ Alt m — WGS84 ellipsoidal altitude.
+ YYYY year > 1980 Reference UTC time: year in 4 digits
+ MM month 1 - 12 Reference UTC time: month
+ DD day 1 - 31 Reference UTC time: day
+ hh hour 0 - 23 Reference UTC time: hour
+ mm minute 0 - 59 Reference UTC time: minute
+ ss second 0 - 59 Reference UTC time: second
+[Example]
+ $PMTK741,24.772816,121.022636,160,2011,8,1,08,00,00
+ The packet indicates that the GNSS receiver is at latitude 24.772816 degrees,
+ longitude 121.022636 degrees, and altitude 160m.
+ GNSS module will check the range for the following parameters:
+ Latitude: -90.0 ~ 90.0
+ Longitude: -180.0 ~ 180.0
+ |
+PMTK_TEST_ALL |
+
+[Packet Type]
+ 810
+[Command]
+ PMTK_TEST_ALL
+[Description]
+ Enter MP test mode and set test item and SV id.
+
+ 
+
+
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK810,Bitmap,SVID*CS<CR><LF>
+ Bitmap: The first data field means the test items.
+ Each bit of test item field means one test item. List these test items below.
+ Supported Test Items
+ Bit0 TEST_INFO // Include f/w version, NMEA type and NMEA output rate
+ Bit1 TEST_ACQ // the time of acquiring the specific SV
+ Bit2 TEST_BITSYNC // the time of bit sync
+ Bit3 TEST_SIGNAL // Include phase error, TCXO clock/drift and CNR mean/sigma
+ Bit4 -15 (Reserved)
+ SVID: The second means the SV id.
+ The value of SV id is between 1 and 20 in Hex format.
+ The value of Glonass SVID is Frequency ID which is between C9 and D6 in Hex format.
+ Note. Glonass frequency id representation
+ -7 = C9
+ -6 = CA
+ -5 = CB
+ -4 = CC
+ -3 = CD
+ -2 = DE
+ -1 = CF
+ 0 = D0
+ 1 = D1
+ 2 = D2
+ 3 = D3
+ 4 = D4
+ 5 = D5
+ 6 = D6
+[Example]
+ $PMTK810,0003,1D*4D<CR><LF>
+ This command only tests TEST_INFO and TEST_ACQ test items.The specific SV id is PRN29.
+ |
+PMTK_TEST_STOP |
+
+[Packet Type]
+ 811
+[Command]
+ PMTK_TEST_STOP
+[Description]
+ Testing tool could send this command to GPS receiver to leave MP test mode.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK811*3A<CR><LF>
+ |
+PMTK_TEST_FINISH |
+
+[Packet Type]
+ 812
+[Command]
+ PMTK_TEST_FINISH
+[Description]
+ GPS receiver will send out this PMTK packet to show that MP testing has finished.
+ Keep status after reboot –> No.
+[Data Field]
+ None
+[Example]
+ $PMTK812*39<CR><LF>
+ |
+PMTK_TEST_ALL_ACQ |
+
+[Packet Type]
+ 813
+[Command]
+ PMTK_TEST_ALL_ACQ
+[Description]
+ The result of TEST_ACQ item.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK813,<SVid>,<Acq time>="">*<CheckSum><CR><LF>
+[Example]
+ $PMTK813,29,2*01<CR><LF>
+ The target device acquires SV29 within 2 seconds.
+ |
+PMTK_TEST_ALL_BITSYNC |
+
+[Packet Type]
+ 814
+[Command]
+ PMTK_TEST_ALL_BITSYNC
+[Description]
+ The result of TEST_BITSYNC item.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK814,<SVid>,<BitSync time>="">*<CheckSum><CR><LF>
+[Example]
+ $PMTK814,29,1*05<CR><LF>
+ Regard to SV29, the target device reach bit sync state within 1 second.
+ |
+PMTK_TEST_ALL_SIGNAL |
+
+[Packet Type]
+ 815
+[Command]
+ PMTK_TEST_ALL_SIGNAL
+[Description]
+ The result of TEST_SIGNAL item.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK815,<SVid>,<Testing time>="">,<Phase>,<TCXO offset>="">,<TCXO drift>="">,<CNR mean>="">,<CNR sigma>="">*<CheckSum><CR><LF>
+ The unit of <Phase>,<CNR mean>="">,<CNR sigma>=""> is 0.01.
+ The unit of <TCXO offset>="">,<TCXO drift>=""> is 0.001.
+[Example]
+ $PMTK815,29,16,98,10000,30,4100,0*18<CR><LF>
+ Regard to SV29, take 16 seconds to test and the result is ...
+ Phase Error: 0.98
+ TCXO offset/drift(Hz): 10/0.03
+ CNR mean/sigma: 41/0
+ |
+PMTK_TEST_JAMMING |
+
+[Packet Type]
+ 837
+[Command]
+ PMTK_TEST_JAMMING
+[Description]
+ Jamming scan test command.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK837, JamScanType, JamScanNum*CS<CR><LF>
+ JamScanType: '0' enable GPS jamming scan
+ '1' enable GLONASS jamming scan
+ '2' enable BEIDOU jamming scan
+ JamScanNum: Jamming scan test times.
+[Example]
+ $PMTK837,0,50*0B<CR><LF>
+ GPS jamming scan test 50 times
+ $PMTK837,1,50*0A<CR><LF>
+ GLONASS jamming scan test 50 times
+ $PMTK837,2,50*09<CR><LF>
+ BEIDOU jamming scan test 50 times
+ |
+PMTK_TEST_JAMMING_DETECTION |
+
+[Packet Type]
+ 838
+[Command]
+ PMTK_TEST_JAMMING_DETECTION
+[Description]
+ Jamming detection test command.
+ Keep status after reboot –> No.
+[Data Field]
+$PMTK838, CmdType*CS<CR><LF>
+ CmdType: "0" disable jamming detection message output.
+ "1" enable jamming detection message output.
+[Example]
+ $PMTK838,1*2C<CR><LF>
+ Enable the jamming detection message output
+ Return:
+ $PMTKSPF,1*5A => No jamming, healthy status.
+ $PMTKSPF,2*59 => Warning status.
+ $PMTKSPF,3*5A => Critical status.
+ |
+PMTK_EASY_ENABLE |
+
+[Packet Type]
+ 869
+[Command]
+ PMTK_EASY_ENABLE
+[Description]
+ Enable or disable EASY function. Query if EASYis enabled orr disabled.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK869,CmdType,[Enable],[Extension Day]*CS<CR><LF>
+ CmdType: Set or Query
+ '0': Query
+ '1': Set
+ '2': Result for Query operation
+ Enable: Enable or disable
+ '0': Disable
+ '1': Enable
+ Extension Day: Finished extension day.
+[Example]
+ To enable EASY, use
+ $PMTK869,1,1*35<CR><LF>
+ To disable EASY, use
+ $PMTK869,1,0*36<CR><LF>
+ To query if EASY is enabled or disabled, use
+ $PMTK869,0*29<CR><LF>
+ If EASY is disabled, the receiver returns
+ $PMTK869,2,0,0*37<CR><LF>
+ If EASY is enabled and is not finished yet, the receiver may returns
+ $PMTK869,2,1,0*2A<CR><LF>
+ If EASY is enabled and is finished 1-day extension, the receiver may returns
+ $PMTK869,2,1,1*2B<CR><LF>
+ If EASY is enabled and is finished 2-day extension, the receiver may returns
+ $PMTK869,2,1,2*28<CR><LF>
+ If EASY is enabled and is finished 3-day extension, the receiver may returns
+ $PMTK869,2,1,3*29<CR><LF>
+ |
+PTMK_PMTKLSC_STN_OUTPUT |
+
+[Packet Type]
+ 875
+[Command]
+ PTMK_PMTKLSC_STN_OUTPUT
+[Description]
+ Enable or disable PMTKLSC Sentence output.Query if PMTKLSC Sentence output enabled or disabled.
+ Keep status after reboot –> Yes.
+[Data Field]
+$PMTK875,CmdType,[Enable]*CS<CR><LF>
+ CmdType: Set or Query
+ '0': Query
+ '1': Set
+ '2': Result for Query operation
+ Enable: Enable or disable
+ '0': Disable
+ '1': Enable
+[Return]
+ $PMTKLSC, Parameter1, Parameter2, Parameter3*CS
+ $PMTKLSCB, Parameter1, Parameter2, Parameter3*CS
+ where Parameter 1 : current leap second
+ Parameter 2 : leap indicator, 1 means updated from broadcast data
+ Parameter 3 : next leap second
+[Example]
+ $PMTK875,1,1*35<CR><LF> :Enable PMTKLSC and PMTKLSCB Sentence output
+ $PMTK875,1,0*34<CR><LF> :Disable PMTKLSC and PMTKLSCB Sentence output
+ |
+PMTK_FR_MODE |
+
+[Packet Type]
+ 886
+[Command]
+ PMTK_FR_MODE
+[Description]
+ Set navigation mode.
+ Keep status after reboot –> No.
+[Data Field]
+ $PMTK886,CmdType
+ CmdType: '0' Normal mode: For general purpose
+ '1' Fitness mode: For running and walking purpose that the low-speed (< 5m/s) movement will have more effect on the position calculation.
+ '2' Aviation mode: For high-dynamic purpose that the large-acceleration movement will have more effect on the position calculation.
+ '3' Balloon mode: For high-altitude balloon purpose that the vertical movement will have more effect on the position calculation.
+ '4' Stationary mode: For stationary applications that zero dynamics is assumed.
+[Example]
+ $PMTK886,0*28<CR><LF> :Enter normal mode.
+ $PMTK886,1*29<CR><LF> :Enter fitness mode.
+ $PMTK886,2*2A<CR><LF> :Enter aviation mode.
+ $PMTK886,3*2B<CR><LF> :Enter balloon mode.
+ $PMTK886,4*2C<CR><LF> :Enter stationary mode.
+[Note]
+ Each mode has its altitude limitation. Please base on below table to choose the appropriate mode. If your test scenario exceeds the limitation, the position calculation will be incorrect.
+ Mode Altitude Limitation
+ Normal mode 10000 m
+ Fitness mode 10000 m
+ Aviation mode 10000 m
+ Stationary mode 10000 m
+ Balloon mode 80000 m
+[Return]
+ $PMTK001,886,3*36<CR><LF>
+ |
+