Professional Documents
Culture Documents
GPS.G2 X 01003 B
GPS.G2 X 01003 B
TIM
u-blox ag Zuercherstrasse 68 CH-8800 Thalwil Switzerland Phone +41 1 722 74 44 Fax +41 1 722 74 47 www.u-blox.com
u-blox ag
All trademarks mentioned in this document are property of their respective owners. SiRF and the SiRF logo are registered trademarks of SiRF Technology, Inc. SiRF Powered, SiRFstar, SiRFLoc, SiRFDRive, SiRFNav, SiRFWare, SingleSat, SnapLock, SnapStart, FoliageLock, Push-to-Fix, TricklePower and WinSiRF are trademarks of SiRF Technology, Inc Copyright 2002, u-blox ag THIS DATASHEET CONTAINS INFORMATION ON U-blox PRODUCTS IN THE SAMPLING AND INITIAL PRODUCTION PHASES OF DEVELOPMENT. THE SPECIFICATIONS IN THIS DATASHEET ARE SUBJECT TO CHANGE AT u-blox' DISCRETION. u-blox ASSUMES NO RESPONSIBILITY FOR ANY CLAIMS OR DAMAGES ARISING OUT OF THE USE OF THIS DATASHEET, OR FROM THE USE OF MODULES BASED ON THIS DATASHEET, INCLUDING BUT NOT LIMITED TO CLAIMS OR DAMAGES BASED ON INFRINGEMENT OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY RIGHTS. u-blox MAKES NO WARRANTIES, EITHER EXPRESSED OR IMPLIED WITH RESPECT TO THE INFORMATION AND SPECIFICATIONS CONTAINED IN THIS DATASHEET. PERFORMANCE CHARACTERISTICS LISTED IN THIS DATASHEET ARE ESTIMATES ONLY AND DO NOT CONSTITUTE A WARRANTY OR GUARANTEE OF PRODUCT PERFORMANCE.
GPS.G2-X-01003-B
Page 2
u-blox ag
CONTENTS
1 Introduction..................................................................................................................7
1.1 Information on Document Revisions ................................................................................................. 7 Document Revision A ............................................................................................................... 7 Document Revision B................................................................................................................ 7
1.1.1 1.1.2
NMEA Output messages.................................................................................................................. 9 NMEA Output message GGA, Global Positioning System Fixed Data...........................................10 NMEA Output message GLL, Geographic Position, Latitude/Longitude .......................................11 NMEA Output message GSA, GNSS DOP and Active Satellites....................................................12 NMEA Output message GSV, GNSS Satellites in View................................................................13 NMEA Output message MSS, MSK Receiver Signal ....................................................................13 NMEA Output message RMC, Recommended Minimum Specific GNSS Data ..............................14 NMEA Output message VTG, Course Over Ground and Ground Speed ......................................14 NMEA Output message ZDA, Date and Time (u-blox) ................................................................15 NMEA Output message 150, OK-To-Send (u-blox).....................................................................16 NMEA Output message 161, Hardware Status (u-blox)..............................................................17
2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.2.10 2.3
NMEA Input Messages....................................................................................................................18 NMEA Input message 100, Set Serial Port .................................................................................19 NMEA Input message 101, Navigation Initialisation ...................................................................20 NMEA Input message 102, Set DGPS Port.................................................................................21 NMEA Input message 103, Query Rate Control .........................................................................22 NMEA Input message 104, LLA Navigation Initialisation.............................................................23 NMEA Input message 105, Development Data On/Off...............................................................24 NMEA Input message 106, Set Datum (u-blox)..........................................................................24 NMEA Input message 107, TricklePower Mode (u-blox)..........................................................25 NMEA Input message 108, Flash Update (u-blox) ......................................................................25 NMEA Input message MSK, MSK Receiver Interface ..................................................................26
2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 2.3.10
3.1
Protocol Layers...............................................................................................................................27 Transport Message ..................................................................................................................27 Transport ................................................................................................................................27 Message Validation .................................................................................................................27 Payload Length .......................................................................................................................28
Page 3
GPS.G2-X-01003-B
TIM GPS receivers protocol specification - Application Note 3.1.5 3.1.6 3.2
u-blox ag
Output Messages for SiRF Binary Protocol ......................................................................................29 SiRF Binary Output message I.D. 2, Measure Navigation Data ...................................................30 SiRF Binary Output message I.D. 4, Measured Tracker Data ......................................................32 SiRF Binary Output message I.D. 5, Raw Tracker Output...........................................................34 SiRF Binary Output message I.D. 6, Software Version String......................................................35 SiRF Binary Output message I.D. 7, Clock Status Data ..............................................................35 SiRF Binary Output message I.D. 8, 50 BPS Data ......................................................................36 SiRF Binary Output message I.D. 9, CPU Throughput................................................................37 SiRF Binary Output message I.D. 10, Error ID ...........................................................................38 SiRF Binary Output message I.D. 11, Command Ack. ...............................................................47 SiRF Binary Output message I.D. 12, Command NAck. .............................................................48 SiRF Binary Output message I.D. 13, Visible List .......................................................................48 SiRF Binary Output message I.D. 14, Almanac Data..................................................................49 SiRF Binary Output message I.D. 15, Ephemeris Data ...............................................................50 SiRF Binary Output message I.D. 16, Test Mode 1 ....................................................................51 SiRF Binary Output message I.D. 17, Differential Corrections ....................................................52 SiRF Binary Output message I.D. 18, OkToSend .......................................................................52 SiRF Binary Output message I.D. 19, Navigation Parameters .....................................................53 SiRF Binary Output message I.D. 20, Test Mode 2 ....................................................................55 SiRF Binary Output message I.D. 28, Navigation Library Measurement Data...............................56 SiRF Binary Output message I.D. 29, Navigation Library DGPS Data...........................................58 SiRF Binary Output message I.D. 30, Navigation Library SV State Data.......................................59 SiRF Binary Output message I.D. 31, Navigation Library Initialisation Data..................................59 SiRF Binary Output message I.D. 98, Extended Measured Navigation (u-blox) ............................61 SiRF Binary Output message I.D. 100, Hardware Status (u-blox) ................................................63 SiRF Binary Output message I.D. 255, Development Data .........................................................64
3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.20 3.2.21 3.2.22 3.2.23 3.2.24 3.2.25 3.3
Input Messages for SiRF Binary Protocol. ........................................................................................65 SiRF Binary Input message I.D. 128, Initialize Data Source.........................................................66 SiRF Binary Input message I.D. 129, Switch To NMEA Protocol..................................................67 SiRF Binary Input message I.D. 130, Set Almanac .....................................................................69 SiRF Binary Input message I.D. 132, Software Version ..............................................................69 SiRF Binary Input message I.D. 133, DGPS Source ....................................................................70 SiRF Binary Input message I.D. 134, Set Main Serial Port...........................................................71 SiRF Binary Input message I.D. 135, Set Protocol......................................................................72 SiRF Binary Input message I.D. 136, Mode Control...................................................................73 SiRF Binary Input message I.D. 137, DOP Mask Control ............................................................74 SiRF Binary Input message I.D. 138, DGPS Control ...................................................................75 SiRF Binary Input message I.D. 139, Elevation Mask .................................................................75 SiRF Binary Input message I.D. 140, Power Mask .....................................................................76
Page 4
3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.3.10 3.3.11 3.3.12
GPS.G2-X-01003-B
TIM GPS receivers protocol specification - Application Note 3.3.13 3.3.14 3.3.15 3.3.16 3.3.17 3.3.18 3.3.19 3.3.20 3.3.21 3.3.22 3.3.23 3.3.24 3.3.25 3.3.26
u-blox ag
SiRF Binary Input message I.D. 143, Static Navigation...............................................................76 SiRF Binary Input message I.D. 144, Poll Clock Status ...............................................................77 SiRF Binary Input message I.D. 145, Set DGPS Serial Port..........................................................77 SiRF Binary Input message I.D. 146, Poll Almanac.....................................................................78 SiRF Binary Input message I.D. 147, Poll Ephemeris ..................................................................78 SiRF Binary Input message I.D. 148, Flash Update (u-blox) ........................................................79 SiRF Binary Input message I.D. 149, Set Ephemeris...................................................................79 SiRF Binary Input message I.D. 150, Switch Operating Modes ...................................................80 SiRF Binary Input message I.D. 151, Set TricklePowerTM Mode ...................................................81 SiRF Binary Input message I.D. 152, Poll Navigation Parameters ................................................82 SiRF Binary Input message I.D. 165, Set UART Configuration ....................................................83 SiRF Binary Input message I.D. 166, Set Message Rate..............................................................84 SiRF Binary Input message I.D. 167, Low Power Acquisition Parameters ....................................84 SiRF Binary Input message I.D. 196, Set Datum (u-blox)............................................................85
Additional Information..............................................................................................91
A.1 A.2 GPS Week Reporting ......................................................................................................................91 Low Power Operation.....................................................................................................................91 Overview ................................................................................................................................91 TricklePower Mode ..............................................................................................................91 Push-To-Fix Mode ................................................................................................................92 Message Rates ........................................................................................................................93 Synchronizing Serial Communication in TricklePowerTM ..............................................................93 TricklePowerTM Operation in DGPS Mode...................................................................................93 TricklePowerTM Mode in NMEA Protocol ....................................................................................93
GPS.G2-X-01003-B
u-blox ag
B C D E
GPS.G2-X-01003-B
Page 6
u-blox ag
1 INTRODUCTION
This application note describes the format of the available protocols of u-blox TIM GPS receivers. These receivers support the SiRF binary and the standard NMEA protocol. In addition, the RTCM protocol is supported to feed differential GPS data to the GPS receiver to enhance accuracy.
1.1
GPS.G2-X-01003-B
Page 7
u-blox ag
2 NMEA PROTOCOL
In default configuration the TIM GPS receiver outputs data in NMEA- 0183 format (Port A) as defined by the National Marine Electronics Association (NMEA), Standard For Interfacing Marine Electronic Devices, Version 2.20, January 1, 1997.
2.1
Protocol Layer
Payload Data
2
Checksum *CKSUM
3
1. Message Identifier consisting of three numeric characters. Input messages begin at MID 100. 2. Message specific data. Refer to a specific section for <data>...<data> definition. 3. CKSUM is a two-hex character checksum as defined in the chapter in the NMEA specification. Use of checksums is required on all input messages. 4. Each message is terminated using Carriage Return (CR = ASCII 13 = \r) Line Feed (LF = ASCII 10 = \n). Because \r\n are not printable ASCII characters, they are omitted from the example strings, but must be sent to terminate the message and cause the receiver to process that input message.
Important Notice All fields in all proprietary NMEA messages are required, none are optional. All NMEA messages are comma delimited.
GPS.G2-X-01003-B
Page 8
u-blox ag
Important Notice The shaded fields in the table above relate to messages which are supported by u-blox firmware, but not by the original SiRF firmware.
Important Notice Some NMEA messages, such as GGA (Position Fix Indicator), GLL (Status) and RMC (Status) provide information on validity of position fix. Position fix is valid if solution is validated if (a) Solution validated ((Mode 1 byte 0) and (Mode 2 byte: Solution validated) or (b) (nav. mode = 3D fix and PDOP < 10) or (nav. mode = 2D fix and PDOP < 20)
Mode 1 byte is described in table Table 3-6. Mode 2 byte is described in Table 3-8. The 'solution validated' should not be confused with a valid fix. if the receiver reports a fix validated (in SiRF binary mode, or indirectly through the NMEA valid calculation), it has used more than 4 SVs for the fix, and therefore performed some consistency checks on the range measurements that succeeded.
GPS.G2-X-01003-B
Page 9
u-blox ag
2.2.1 NMEA Output message GGA, Global Positioning System Fixed Data
The following table contains the values for the following example:
$GPGGA,161229.487,3723.2475,N,12158.3416,W,1,07,1.0,9.0,M, , , ,0000*18
Name Message ID UTC Time Latitude N/S Indicator Longitude E/W indicator Position Fix Indicator Satellites Used HDOP MSL Altitude1 Units Geoid Separation1 Units Age of Differential Corrections Diff. Reference Station ID Checksum <CR> <LF>
1
ASCII String Format Example string $GPGGA hhmmss.sss 161229.487 dddmm.mmmm 3723.2475 character N dddmm.mmmm 12158.3416 character W 1 digit 1 numeric 07 numeric 1.0 numeric character blank blank numeric numeric hexadecimal 9.0 M M
Units
Description GGA protocol header Current time Degrees + minutes N=north or S=south Degrees + minutes E=east or W=west See Table 2-4. Range 0 to 12 Horizontal Dilution of Precision
meters Stands for "meters" Not used stands for "meters Blank (Null) fields when DGPS is not used
End of message
u-blox ag does not support geodic corrections. Values are WGS-84 heights.
Value 0 1 2 3
Description Fix not available or invalid GPS SPS Mode. Fix Valid Differential GPS. GPS SPS Mode. Fix Valid GPS PPS Mode. Fix Valid
GPS.G2-X-01003-B
Page 10
u-blox ag
Name Message ID Latitude N/S Indicator Longitude E/W indicator UTC Time Status Checksum <CR> <LF>
Table 2-5: GLL Data Format
ASCII String Format Example string $GPGLL dddmm.mmmm 3723.2475 character N dddmm.mmmm 12158.3416 character W hhmmss.sss 161229.487 character A hexadecimal *2C
Units
Description GLL protocol header Degrees + minutes N=north or S=south Degrees + minutes E=east or W=west Current time A=data valid or V=data invalid End of message
GPS.G2-X-01003-B
Page 11
u-blox ag
2.2.3 NMEA Output message GSA, GNSS DOP and Active Satellites
The following table contains the values for the following example:
$GPGSA,A,3,07,02,26,27,09,04,15, , , , , ,1.8,1.0,1.5*33
Name Message ID Mode 1 Mode 2 Satellites Used1 Satellites Used1 Satellites Used1 PDOP HDOP VDOP Checksum <CR> <LF>
1
ASCII String Format Example string $GPGSA character A 1 digit 3 numeric 07 numeric 02 numeric numeric numeric numeric hexadecimal
Units
Description GSA protocol header See Table 2-7 See Table 2-8 SV on Channel 1 SV on Channel 2 SV on Channel 12 Position Dilution of Precision Horizontal Dilution of Precision Vertical Dilution of Precision End of message
Value M A
Description Manual forced to operate in 2D or 3D mode 2D Automatic allowed to automatically switch 2D/3D
Value 1 2 3
GPS.G2-X-01003-B
Page 12
u-blox ag
Name Message ID Number of Messages Messages Number Satellites in View Satellite ID Elevation Azimuth SNR (C/No) Satellite ID Elevation Azimuth SNR (C/No) Checksum <CR> <LF>
Table 2-9: GSV Data Format
Units
Description GSV protocol header Range 1 to 3 Range 1 to 3 Channel 1 (Range 1 to 32) Channel 1 (Maximum 90) Channel 1 (True, Range 0 to 359) Range 0 to 99, null when not tracking Channels 2, 3: Same format Channel 4 (Range 1 to 32) Channel 4 (Maximum 90) Channel 4 (True, Range 0 to 359) Range 0 to 99, null when not tracking End of message
27 27 138 42 *71
Name Message ID Signal Strength Signal to Noise Ratio Beacon Frequency Beacon Rate Checksum <CR> <LF>
Table 2-10: MSS Data Format
ASCII String Format Example string $GPGSS numeric 55 numeric 27 numeric 318.0 numeric 100 hexadecimal *66
Units
dB dB kHz bps
Important Notice The MSS NMEA message can only be polled or scheduled using the MSK NMEA input message. See MSKMSK Receiver Interface on page 152.
GPS.G2-X-01003-B
Page 13
u-blox ag
2.2.6 NMEA Output message RMC, Recommended Minimum Specific GNSS Data
The following table contains the values for the following example:
$GPRMC,161229.487,A,3723.2475,N,12158.3416,W,0.13,309.62,120598, ,*10
Name Message ID UTC Time Status Latitude N/S Indicator Longitude E/W indicator Speed Over Ground Course Over Ground Date Magnetic Variation1 Checksum <CR> <LF>
1
ASCII String Format Example string $GPRMC hhmmss.sss 161229.487 character A ddmm.mmmm ddmm.mmmm character numeric numeric ddmmyy blank hexadecimal 3723.2475 N 12158.3416 W 0.13 309.62 120598 *10
Units
Description RMC protocol header Current time A=data valid or V=data invalid Degrees + minutes N=north or S=south Degrees + minutes E=east or W=west
u-blox ag does not support magnetic declination. All Course Over Ground data are geodetic WGS-84 directions.
2.2.7 NMEA Output message VTG, Course Over Ground and Ground Speed
The following table contains the values for the following example:
$GPVTG,309.62,T, ,M,0.13,N,0.2,K*6E
Name Message ID Course (True) Reference Course (Magnetic) Reference Speed Units Speed Units Checksum <CR> <LF>
1
ASCII String Format Example string $GPVTG numeric 309.62 character T Blank character M numeric 0.13 character N numeric 0.2 character K hexadecimal *6E
Units
Description VTG protocol header Measured heading True Measured heading Magnetic1 Knots
degrees
u-blox ag does not support magnetic declination. All Course Over Ground data are geodetic WGS-84 directions.
GPS.G2-X-01003-B
Page 14
u-blox ag
Name Message ID UTC time: hours UTC time: minutes UTC time: seconds 1 UTC time: day UTC time: month UTC time: year Local zone hours Local zone minutes Checksum <CR><LF>
1
ASCII String Format Example string $GPZDA hh 20 mm 15 ss.ss 30.00 dd 04 mm 07 yyyy 2002 xx or -xx 00 zz 00 hexadecimal *6E
Units
Description ZDA Protocol header 00 23 00 59 00.00 59.99 01 31 01 12 4 digit year Not used (= 00) Not used (= 00) End of message
The u-blox firmware issues seconds with two digits after decimal point. Please note that the NMEA standard also allows seconds to be given out without digits after decimal point. Table 2-13: ZDA Data Format
GPS.G2-X-01003-B
Page 15
u-blox ag
ASCII String Format Example string $PSRF150 numeric digit 1 numeric digit 0
Units
Description PSRF150 protocol header 1= OK, 0 = No longer OK 1 = continuous 0 = TricklePower or Push-To-Fix mode. End of message
Checksum <CR><LF>
hexadecimal
*6E
GPS.G2-X-01003-B
Page 16
u-blox ag
ASCII String Format Example string $PSRF161 numeric 01 numeric 63 hexadecimal *6E
Units
Description PSRF161 protocol header See Table 2-15 Range: 063 End of message
Byte Value 0 1 2 3 4
Description See appendix A.4 for details. Active antenna on and OK Open circuit in antenna Short circuit in antenna Active antenna off (due to short circuit) Passive antenna
GPS.G2-X-01003-B
Page 17
u-blox ag
2.3
NMEA input messages are provided to allow you to control the Evaluation Receiver while in NMEA protocol mode. The Evaluation Receiver may be put into NMEA mode by sending the SiRF Binary protocol message "Switch To NMEA Protocol - Message I.D. 129" on page 103 using a user program or using the -center software and selecting Switch to NMEA Protocol from the Action menu. If the receiver is in SiRF Binary mode, all NMEA input messages are ignored. Once the receiver is put into NMEA mode, the following messages may be used to command the module. Option 100 101 102 103 104 105 106 107 108 MSK Set Serial Port A parameters and protocol XYZ Navigation Initialization: WGS84 Parameters for start using X, Z and Z coordinates Set DGPS Port: Set Port B parameters for DGPS input Query Rate Control: Set or query output rates LLA Navigation Initialization: Parameters for start using Latitude, Longitude and Altitude 2 Development Data messages on/off Set Datum (u-blox) Configure TricklePower Mode (u-blox) Enter download mode to allow updating flash (u-blox) MSK receiver interface: Command messages for radio-beacon receiver Description
Important Notice NMEA input messages 100 to 105 are SiRF proprietary NMEA messages. The MSK NMEA string is as defined by the NMEA 0183 standard. The shaded fields in the table above relate to messages which are supported by u-blox firmware, but not by the original SiRF firmware.
GPS.G2-X-01003-B
Page 18
u-blox ag
The following table contains the input values for the following example: Switch to SiRF Binary protocol at 9600,8,N,1
$PSRF100,0,9600,8,1,0*0C
Name Message ID Protocol Baud Data Bits Stop Bits Parity Checksum <CR> <LF>
1
ASCII String Format Example string $PSRF100 1 digit 0 numeric 9600 1 digit 8 1 digit 1 1 digit 0 hexadecimal *0C
Units
Description PSRF100 protocol header 0=SiRF Binary, 1=NMEA 4800, 9600, 19200, 38400 7, 8 0, 1 0=None, 1=Odd, 2=Even End of message
SiRF Binary is only valid for 8 data bits, 1 stop bit and 0 parity.
Important Notice Only one protocol (e.g. SiRF or NMEA) can be assigned to a single port. Before using this command, make sure, the receiver is not running the protocol you wish to use on Port A, already on port B.
GPS.G2-X-01003-B
Page 19
u-blox ag
The following table contains the input values for the following example: Start using known position and time.
$PSRF101,-2686700,-4304200,3851624,96000,497260,921,12,3*1C
Name Message ID ECEF X ECEF Y ECEF Z Clock Offset Time Of Week Week No Channel Count Reset Cfg Checksum <CR> <LF>
1
ASCII String Example $PSRF101 -2686700 -4304200 3851624 96000 497260 921 12 3 *1C
Units
Description PSRF101 protocol header X coordinate position Y coordinate position Z coordinate position Clock Offset of GPS receiver1 GPS time of week GPS week number Range 1 to 122 See Table 2-19. End of message
Use 0 for last saved value if available. If this is unavailable, a default value of 96000 will be used. 2 Use always 12 channels. Table 2-18: Navigation Initialization Data Format
Number 1 2 3 4 8
Description Hot Start All data valid Warm Start Ephemeris cleared Warm Start (with Init) Ephemeris cleared, initialization data loaded Cold Start Clear all data in memory Clear Memory Clears all data in memory and resets receiver back to factory defaults
GPS.G2-X-01003-B
Page 20
u-blox ag
The following table contains the input values for the following example: Set DGPS Port to be 9600,8,N,1.
$PSRF102,9600,8,1,0*12
Name Message ID Baud Data bits Stop bits Parity Checksum <CR> <LF>
Table 2-20: Set DGPS Port Data Format
ASCII String Format Example string $PSRF102 numeric 9600 1 digit 8 1 digit 1 1 digit 0 hexadecimal *12
Units
Description PSRF102 protocol header 4800,9600,19200,38400 7, 8 0, 1 0=None, 1=Odd, 2=Even End of message
GPS.G2-X-01003-B
Page 21
u-blox ag
Other examples could be (Note the following examples are not show in a table form); 2. Enable VTG message for a 1 Hz constant output with checksum enabled
$PSRF103,05,00,01,01*20
Name Message ID code of message to configure Mode Rate Cksum Enable Checksum <CR> <LF> Format string numeric numeric numeric numeric
Units
Description PSRF103 protocol header See Table 2-22. 0=SetRate, 1=Query Output - off=0, max=255 0=Disable Checksum, 1=Enable Checksum End of message termination
seconds
hexadecimal
Value 0 1 2 3 4 5 6 7 8 9
Code GGA GLL GSA GSV RMC VTG MSS ZDA Reserved PSRF161
Description Time, position and fix type data. Latitude, longitude, UTC time of position fix and status. GPS receiver operating mode, satellites used in the position solution and DOP values. The number of GPS satellites in view, satellite ID numbers, elevation, azimuth, and SNR values. Signal-to-noise ratio, signal strength, frequency, and bit rate from a radio-beacon receiver. Time, date, position, course and speed data. Course and speed information relative to the ground Date and time (u-blox) Not used Hardware Status: Active antenna and Automatic Gain Control (AGC) (u-blox)
Important Notice In TricklePowerTM mode, the update rate is specified by the user. When you switch to NMEA protocol, TM message update rate is also required. The resulting update rate is the product of the TricklePower TM Update rate and the NMEA update rate (i.e. TricklePower update rate = 2 seconds, NMEA update rate = 5 seconds, resulting update rate is every 10 seconds, (2 X 5 = 10)).
GPS.G2-X-01003-B
Page 22
u-blox ag
The following table contains the input values for the following example: Start using known position and time.
$PSRF104,37.3875111,-121.97232,0,96000,237759,1946,12,1*07
Name Message ID Latitude Longitude Altitude Clock Offset Time Of Week Week No Channel Count Reset Cfg Checksum <CR> <LF>
1 2
ASCII String Format Example string $PSRF104 numeric 37.3875111 numeric numeric numeric numeric numeric numeric numeric hexadecimal -121.97232 0 96000 237759 1946 12 1 *07
Units
Description PSRF104 protocol header Latitude position (Range 90 to +90) Longitude position (Range 180 to +180) Altitude position Clock Offset of GPS receiver1 GPS time of week Extended GPS week number (1024 added) Range 1 to 122 See Table 2-19. End of message
Use 0 for last saved value if available. If this is unavailable, a default value of 96000 will be used. Use always 12 channels.
GPS.G2-X-01003-B
Page 23
u-blox ag
2. Debug Off
$PSRF105,0*3F
Units
Name Message ID Map Datum (Geoidic Reference). See table B-1. Checksum <CR><LF>
Table 2-25: Map Datum Selection
Units
GPS.G2-X-01003-B
Page 24
u-blox ag
ASCII String Format Example string $PSRF107 numeric (p) 0 numeric (d) 200 ( = 20 %) numeric (o) hexadecimal 200 *3E
Units
Description PSRF107 Protocol header ON = 1, OFF = 0 % Time ON. A duty cycle of 1000 (100%) means continuous operation. range 200 - 900 ms Checksum End of message
% / 10
ms
Important Notice When TricklePower Mode is active, a high baud rate (min. 19200 baud) is required for transmission of NMEA messages due to limited time frames for transmission of navigation data.
Format string
Units
hexadecimal
End of message
GPS.G2-X-01003-B
Page 25
u-blox ag
Name Message ID Beacon Frequency Auto/Manual Frequency1 Beacon Bit Rate Auto/Manual Bit Rate1 Interval for Sending $--MSS2 Checksum <CR> <LF>
1 2
ASCII String Format Example string $GPMSK numeric 318.0 character A numeric 100 character M numeric 2 hexadecimal *45
Units
Description GPMSK protocol header Frequency to use A=Auto, M=Manual Bits per second A=Auto, M=Manual Sending of MSS message for status End of message
KHz
seconds
If Auto is specified, the previous field value is ignored. When status data is not to be transmitted, this field is null.
Important Notice The NMEA messages supported by the Evaluation Receiver does not provide the ability to change the DGPS source. If you need to change the DGPS source to internal beacon, then this must be done using the SiRF Binary protocol and then switched to NMEA.
GPS.G2-X-01003-B
Page 26
u-blox ag
Reliable transport of messages Ease of implementation Efficient implementation Independence from payload
Using the SiRF Binary protocol offers extensive control and output possibilities not offered in the NMEA protocol.
3.1.2 Transport
The transport layer of the protocol encapsulates a GPS message in two start characters and two stop characters. The values are chosen to be easily identifiable and unlikely to occur frequently in the data. In addition, the transport layer prefixes the message with a two-byte (15-bit) message length and a two-byte (15-bit) checksum. The values of the start and stop characters and the choice of a 15-bit value for length and checksum ensure message length and checksum can not alias with either the stop or start code.
GPS.G2-X-01003-B
Page 27
u-blox ag
Even though the protocol has a maximum length of (215-1) bytes, practical considerations require the SiRF GPS module implementation to limit this value to a smaller number. The receiving programs (e.g., -center) may limit the actual size to something less than this maximum.
3.1.6 Checksum
The checksum is transmitted high order byte first followed by the low byte. This is the so-called big-endian order. High Byte < 0x80
Table 3-3: Checksum
The checksum is 15-bit checksum of the bytes in the payload data. The following pseudo code defines the algorithm used. Let message to be the array of bytes to be sent by the transport. Let msgLen be the number of bytes in the message array to be transmitted.
Index = first Checksum = 0 while index < msgLen checkSum = checkSum + message[index] checkSum = checkSum AND (215-1).
GPS.G2-X-01003-B
Page 28
u-blox ag
Description Position, Velocity, and Time Satellite and C/No Information Obsolete, do not use anymore Receiver Firmware (Response to Poll from Message 132) Current Clock Status Standard ICD Format. See [1] Navigation Complete Data Error coding for Message Failure Successful Request Unsuccessful Request Auto Output Response to Poll (from Message I.D. 146) Response to Poll (from Message I.D. 147) SiRF Test information Received from DGPS Broadcast CPU ON / OFF (TricklePower Mode) Response to Poll (from Message I.D. 152) SiRF Test information Measurement Data Differential GPS Data Satellite State Data Initialization Data Position (Latitude / Longitude / Altitude), Velocity, and Time, DOPs Status information on AGC and active antenna Various Status Messages
Page 30 32 34 35 35 36 37 38 47 48 48 49 50 51 52 52 53 55 56 58 59 59 61 63 64
Important Notice All output messages are received in BINARY format. Our evaluation software -Center interprets the binary data. The shaded fields in the table above relate to messages which are supported by u-blox firmware, but not by the original SiRF firmware.
GPS.G2-X-01003-B
Page 29
u-blox ag
Bytes 1 4 4 4 2 2 2 1 1 1 2 4 1 1 1 1 1 1 1 1 1 1 1 1 1
Binary (Hex) Scale Example 02 FFD6F78C FFBE536E 003AC004 *8 0000 *8 0003 *8 0001 04 *5 A 00 036B *100 039780E3 06 12 19 0E 16 0F 04 00 00 00 00 00 00
Units
ASCII (Decimal) Scale Example 2 -2689140 -4304018 3850244 0 Vx8 0.375 Vy8 0.125 Vz8 4 2.0 5 0 875 602605.79 100 6 18 25 14 22 15 4 00 00 00 00 00 00
Important Notice Binary units scaled to integer values need to be divided by the scale value to receive true decimal value (i.e., decimal Xvel = binary Xvel 8).
GPS.G2-X-01003-B
Page 30
u-blox ag
7 DGPS
6 DOPMask
5 4 ALTMODE
3 TPMODE
1 PMODE
Value 0 1 2 3 4 5 6 7 0 1 0 1 2 3 0 1 0 1
TPMODE ALTMODE
DOPMASK DGPS
Description No navigation solution 1 satellite solution (altitude hold, direction hold, time hold) 2 satellite solution (altitude hold and direction or time hold) 3 satellite solution (altitude hold) 4 satellite solution 2D point solution (least square) 3D point solution (least square) Dead reckoning Full power mode TricklePower mode No altitude hold Altitude used from filter Altitude used from user Forced Altitude from user DOP mask not exceeded DOP mask exceeded No DGPS position DGPS position
Mode 2 Description Hex ASCII 0x00 0 Solution not validated 0x01 1 DR Sensor Data 0x02 2 Validated (1) 1, Unvalidated (0) 0x04 4 If set, Dead Reckoning (Time Out) 0x08 8 If set, output edited by UI (i.e. DOP Mask exceeded) 0x10 16 Reserved 0x20 32 Reserved 0x40 64 Reserved 0x80 128 Reserved Combinations of multiple values are possible, e.g. 3 = 1 + 2.
A validated fix is, if your receiver has 5 or more satellites that it uses to calculate the position fix. Since the navigation solution needs 4 or more satellites, the equations are overdetermined by 5 or more. This can be used to calculate some validation on the range measurements. If this has succeeded, the fix is considered validated. If the receiver continues to navigate in a degraded mode (3D, 2D, 1SV, or DR), then the validated status will remain. If navigation is lost completely, a unvalidated status will result. Consider 'Validated' as the best fix quality you can get. Table 3-8: Mode 2
1
GPS.G2-X-01003-B
Page 31
u-blox ag
Bytes 1 2 4 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1
Binary (Hex) Scale Example 04 036C s*100 0000937F 0C 0E Az*[2/3] AB El*2 46 003F 1A 1E 1D 1D 19 1D 1A 1A 1D 1F 1D Az*[2/3] 59 El*2 42 003F 1A 1B
Units
week # seconds
deg deg Bitmap dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz deg deg Bitmap 1 dBHz dBHz
ASCII (Decimal) Scale Example 4 876 377.59 s 100 12 14 256.5 [2/3] 35 2 0x3F (hex) 26 30 29 29 25 29 26 26 29 31 29 89 [2/3] 66 2 63 26 27
C/No 1 C/No 10 represent C/No readings during every 1/10s time slice in a second
Important Notice Message length is fixed to 188 bytes with non-tracking channels reporting zero values.
GPS.G2-X-01003-B
Page 32
u-blox ag
Field Definition ACQ_SUCCESS DELTA_CARPHASE_VALID BIT_SYNC_DONE SUBFRAME_SYNC_DONE CARRIER_PULLIN_DONE CODE_LOCKED ACQ_FAILED GOT_EPHEMERIS
Hex Value 0x0001 0x0002 0x0004 0x0008 0x0010 0x0020 0x0040 0x0080
Description Set, if acq/reacq is done successfully Set, Integrated carrier phase is valid Set, Bit sync completed flag Set, Subframe sync has been done Set, Carrier pullin done Set, Code locked Set, Failed to acquire S/V Ephemeris data available
GPS.G2-X-01003-B
Page 33
u-blox ag
Bytes Scale 1 4 2 2 4 2 2 4 4 4 4 2 1 1 1 1 1 1 1 1 1 1 1 1 2 2
Binary (Hex) Example 05 0000007 0013 003F 00EA1BD4 000D 0392 00009783 000DF45E 000105B5 FF90F5C2 0000 24 28 27 27 23 27 24 27 29 29 05 07 0013 003F
Units
ms cycles dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz
ms
ASCII (Decimal) Scale Example 5 7 19 3F 15342548 13 914 -16 2 38787 2-10 914526 66997 2-10 -7277118 0 36 40 39 39 35 39 36 36 41 41 5 7 19 63
Multiply by (1000 / 4)2 C/No 1 C/No 10 represent C/No readings during every 1/10s time slice in a second
GPS.G2-X-01003-B
Page 34
u-blox ag
Bytes Scale 1 20
Units
06322E312E30523031323634204257204100000000 2.1.0R01264 BW A (Example data, a newer firmware version has a different code)
Important Notice Convert to symbol to assemble message (i.e., 0 x 4E is N). These are low priority task and are not necessarily output at constant intervals.
Bytes 1 2 4 1 4 4 4
Scale
Units
s Hz ns ms
ASCII (Decimal) Scale Example 7 957 349494.12 100 8 74289 128743715 349493999
GPS.G2-X-01003-B
Page 35
u-blox ag
Important Notice Data is logged in ICD format (available from www.navcen.uscg.mil, see also [1] and [5]). The ICD specification is 30-bit words. The output above has been stripped of parity to give a 240 bit frame instead of 300 bits. Each Word in Message 8 is 32 bit wide and represents a 30 bit word of the 50 BPS data stream. The LSB of each 30 bit word of the 50 bps data stream is aligned to the LSB of a 32 bit Word in Msg 8. Unfortunately, the polarity of the data is not guaranteed. Both statements contain the same data: Message 8 word: Message 8 word: 50 bps data: 00100010 11000000 00110010 00010000 11011101 00111111 11001101 11101111 100010 11000000 00110010 00010000
The polarity can be identified by checking the most significant bits (e.g. bit 30) so the software can decide whether inverting the whole word is necessary to get the right data or not.
GPS.G2-X-01003-B
Page 36
u-blox ag
Bytes 1 2 2 2 2
Binary (Hex) Scale Example 09 *186 003B *186 0011 *186 0016 01E5
Units
ms ms ms ms
ASCII (Decimal) Scale Example 9 .3172 186 .0914 186 186 .1183 485
GPS.G2-X-01003-B
Page 37
u-blox ag
Error ID 2: Code Define Name: Error ID Description: Example: A0A2000D Start Sequence and Payload Length 0A000200020000000100000002 Payload 0011B0B3 Message Checksum and End Sequence Name Message ID Error ID Count Satellite ID Subframe No Payload length: 13 bytes
Table 3-17: Error ID 2 Message
Bytes 1 2 2 4 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Satellite or Space Vehicle (SV) I.D. number or Pseudo-random Noise (PRN) number. The associated subframe number that failed the parity check. Valid subframe number is 1 through 5.
Error ID 9: Code Define Name: Error ID Description: Example: A0A20009 Start Sequence and Payload Length 0A0009000100000001 Payload 0015B0B3 Message Checksum and End Sequence ErrId_RMC_GettingPosition Failed to obtain a position for acquired satellite ID.
GPS.G2-X-01003-B
Page 38
u-blox ag
Bytes 1 2 2 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Satellite or Space Vehicle (SV) I.D. number or Pseudo-random Noise (PRN) number.
Error ID 10: Code Define Name: Error ID Description: ErrId_RXM_TimeExceeded Conversion of Nav Pseudo Range to Time of Week (TOW) for tracker exceeds limits: Nav Pseudo Range > 6.912e5 (1 week in seconds) || Nav Pseudo Range < -8.64e4.
ON, 1 second time interval Example: A0A20009 Start Sequence and Payload Length 0A000A000100001234 Payload 005BB0B3 Message Checksum and End Sequence Name Message ID Error ID Count Pseudo range Payload length: 9 bytes
Table 3-21: Error ID 10 Message
Bytes Scale 1 2 2 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Pseudo range
GPS.G2-X-01003-B
Page 39
TIM GPS receivers protocol specification - Application Note Error ID 11: Code Define Name: Error ID Description: Example: A0A20009 Start Sequence and Payload Length 0A000B0001xxxxxxxx Payload ssssB0B3 Message Checksum and End Sequence Name Message ID Error ID Count Doppler Frequency Payload length: 9 bytes
Table 3-23: Error ID 11 Message
u-blox ag
Bytes 1 2 2 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Doppler Frequency
Error ID 12: Code Define Name: Error ID Description: Example: A0A2000D Start Sequence and Payload Length 0A000C0002xxxxxxxxaaaaaaaa Payload ssssB0B3 Message Checksum and End Sequence Name Message ID Error ID Count Satellite ID Age of Ephemeris Payload length: 13 bytes
Table 3-25: Error ID 12 Message
Bytes Scale 1 2 2 4 4
Units
seconds
GPS.G2-X-01003-B
Page 40
u-blox ag
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Satellite or Space Vehicle (SV) I.D. number or Pseudo-random Noise (PRN) number. The Satellites Ephemeris Age in seconds.
Error ID 13: Code Define Name: Error ID Description: Example: A0A20011 Start Sequence and Payload Length 0A000D0003xxxxxxxxyyyyyyyyzzzzzzzz Payload ssssB0B3 Message Checksum and End Sequence Name Message ID Error ID Count X Y Z Payload length: 17 bytes
Table 3-27: Error ID 13 Message
Bytes 1 2 2 4 4 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. X position in ECEF. Y position in ECEF. Z position in ECEF.
Error ID 4097 (or 0x1001): Code Define Name: Error ID Description: Example: A0A20009 Start Sequence and Payload Length 0A1001000100000001 Payload 001DB0B3 Message Checksum and End Sequence ErrId_MI_VCOClockLost VCO lost lock indicator.
GPS.G2-X-01003-B
Page 41
u-blox ag
Bytes 1 2 2 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. VCO lock lost indicator. If VCOLost != 0, then send failure message.
Error ID 4099 (or 0x1003): Code Define Name: Error ID Description: Example: A0A20009 Start Sequence and Payload Length 0A1003000100000001 Payload 001FB0B3 Message Checksum and End Sequence Name Message ID Error ID Count InTrkCount Payload length: 9 bytes
Table 3-31: Error ID 4099 Message
ErrId_MI_FalseAcqReceiverReset Nav detect false acquisition, reset receiver by calling NavForceReset routine.
Bytes 1 2 2 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. False acquisition indicator. If InTrkCount <= 1, then send failure message and reset receiver.
Error ID 4104 (or 0x1008): Code Define Name: Error ID Description: ErrId_STRTP_SRAMCksum Failed SRAM checksum during startup.
Four field message indicates receiver control flags had checksum failures. Three field message indicates clock offsets checksum failure or clock offset value is out of range. Two field message indicates position and time checksum failure forces a cold start.
GPS.G2-X-01003-B
Page 42
TIM GPS receivers protocol specification - Application Note Example: A0A2xxxx Start Sequence and Payload Length 0A10080004xxxxxxxaaaaaaaa00000000cccccccc Payload ssssB0B3 Message Checksum and End Sequence Name Message ID Error ID Count Bytes 1 2 2 Binary (Hex) Scale Example 0A 1008 0004 or 0003 or 0002 xxxxxxxx aaaaaaaa 00000000 cccccccc xxxxxxxx Units
u-blox ag
Computed Receiver Control Checksum Battery-Backed Receiver Control Checksum Battery-Backed Receiver Control OpMode Battery-Backed Receiver Channel Control Count Battery-Backed Receiver Compute Clock Offset Checksum Battery-Backed Clock Offset Checksum Battery-Backed Clock Offset Computed Checksum Battery-Backed Position Time Checksum Payload length: 21, 17 or 11 bytes
Table 3-33: Error ID 4104 Message
4 4 4 4 4
4 4 4 4
Name Message ID Error ID Count Computed Receiver Control Checksum Battery-Backed Receiver Control Checksum Battery-Backed Receiver Control OpMode
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Computed receiver control checksum of SRAM.Data.Control structure Battery-backed receiver control checksum stored in SRAM.Data.DataBuffer.CntrlChkSum. Battery-backed receiver control checksum stored in SRAM.Data.Control.OpMode. Valid OpMode values are as follows: OP_MODE_NORMAL = 0, OP_MODE_TESTING = 0x1E51, OP_MODE_TESTING2 = 0x1E52, OP_MODE_TESTING3 = 0x1E53. Battery-backed receiver control channel count in SRAM.Data.Control.ChannelCnt. Valid channel count values are 0-12. Computed clock offset checksum of SRAM.Data.DataBuffer.clkOffset.
GPS.G2-X-01003-B
Page 43
TIM GPS receivers protocol specification - Application Note Battery-Backed Clock Offset Checksum Battery-Backed Clock Offset Computed Position Time Checksum Battery-Backed Position Time Checksum
u-blox ag
Battery-backed clock offset checksum of SRAM.Data.DataBuffer.clkChkSum. Battery-backed clock offset value stored in SRAM.Data.DataBuffer,clkOffset. Computed position time checksum of SRAM.Data.DataBuffer.postime[1]. Battery-backed position time checksum of SRAM.Data.DataBuffer.postimeChkSum[1].
Error ID 4105 (or 0x1009): Code Define Name: Error ID Description: ErrId_STRTP_RTCTimeInvalid Failed RTC SRAM checksum during startup. If one of the double buffered SRAM.Data.LastRTC elements is valid and RTC days is not 255 days, then GPS time and week number computed from the RTC is valid. If not, this RTC time is invalid.
Example: A0A2000D Start Sequence and Payload Length 0A10090002xxxxxxxaaaaaaaa Payload ssssB0B3 Message Checksum and End Sequence Name Message ID Error ID Count Bytes 1 2 2 Binary (Hex) Scale Example 0A 1009 0002 Units ASCII (Decimal) Scale Example 10 4105 4 or 3 or 2 xxxx aaaa
4 4
xxxxxxxx aaaaaaaa
seconds
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. GPS time of week in seconds. Range 0 to 604800 seconds. GPS week number.
Error ID 4106 (or 0x100A): Code Define Name: Error ID Description: Example: A0A20005 Start Sequence and Payload Length 0A100A0000 Payload 0024B0B3 Message Checksum and End Sequence ErrId_KFC_BackupFailed_Velocity Failed battery-backing position because of ECEF velocity sum was greater than equal to 3600.
GPS.G2-X-01003-B
Page 44
u-blox ag
Bytes 1 2 2
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message.
Error ID 4107 (or 0x100B): Code Define Name: Error ID Description: Example: A0A20005 Start Sequence and Payload Length 0A100B0000 Payload 0025B0B3 Message Checksum and End Sequence Name Message ID Error ID Count Payload length: 5 bytes
Table 3-39: Error ID 4107 Message
ErrId_KFC_BackupFailed_NumSV Failed battery-backing position because current navigation mode is not KFNav and not LSQFix.
Bytes Scale 1 2 2
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message.
Error ID 8193 (or 0x2001): Code Define Name: Error ID Description: Example: A0A20009 Start Sequence and Payload Length 0A2001000100000001 Payload 002DB0B3 Message Checksum and End Sequence ErrId_MI_BufferAllocFailure Buffer allocation error occurred. Does not appear to be active because uartAllocError variable never gets set to a non-zero value in the code.
GPS.G2-X-01003-B
Page 45
TIM GPS receivers protocol specification - Application Note Name Message ID Error ID Count uartAllocError Payload length: 9 bytes
Table 3-41: Error ID 8193 Message
Bytes 1 2 2 4
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Contents of variable used to signal UART buffer allocation error.
Error ID 8194 (or 0x2002): Code Define Name: Error ID Description: Example: A0A2000D Start Sequence and Payload Length 0A200200020000000100000064 Payload 0093B0B3 Message Checksum and End Sequence Name Message ID Error ID Count Number of in process errors Millisecond errors Payload length: 13 bytes
Table 3-43: Error ID 8194 Message
ErrId_MI_UpdateTimeFailure PROCESS_1SEC task was unable to complete upon entry. Overruns are occurring.
Bytes Scale 1 2 2 4 4
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message. Number of one second updates not complete on entry. Millisecond errors caused by overruns.
GPS.G2-X-01003-B
Page 46
TIM GPS receivers protocol specification - Application Note Error ID 8195 (or 0x2003): Code Define Name: Error ID Description: Example: A0A20005 Start Sequence and Payload Length 0A20030000 Payload 002DB0B3 Message Checksum and End Sequence Name Message ID Error ID Count Payload length: 5 bytes
Table 3-45: Error ID 8195 Message
u-blox ag
ErrId_MI_MemoryTestFailed Failure of hardware memory test. Does not appear to be active because MemStatus variable never gets set to a non-zero value in the code.
Bytes 1 2 2
Units
Description Message ID number. Error ID (see Error ID description above). Number of 32 bit data in message.
Bytes 1 1
Units
GPS.G2-X-01003-B
Page 47
u-blox ag
This is an unsuccessful almanac (message ID 0x92) request example: A0A20002Start Sequence and Payload Length 0C92Payload 009EB0B3Message Checksum and End Sequence Name Message ID NAck. I.D. Payload length: 2 bytes
Table 3-48: Command NAcknowledgement
Bytes 1 1
Units
GPS.G2-X-01003-B
Page 48
u-blox ag
Page Checksum
4AC1
Satellite PRN Number1 First 10 bits is the Almanac week. Next 5 bits have a zero value. Last bit is 1. This information is taken from the 50BPS navigation message broadcast by the satellite. This information is the last 8 words in the 5th subframe but with 2 the parity removed. This is the checksum of the preceding data in the payload. It is calculated by arranging the previous 26 bytes as 13 3 half-words and then summing them.
There are 25 possible pages in subframe 5. Pages 1 through 24 contain satellite specific almanac information which is output as part of the almanac data. Page 25 contains health status flags and the almanac week number. This checksum is not used for serial I/O data integrity. It is used internally for ensuring that almanac information is valid.
The data is actually packed and the exact format of this representation and packing method can be extracted from the ICD-GPS-2000 document. The ICD-GPS-2000 document [5] describes the data format of each GPS navigation sub-frame and is available on the web at http://www.arinc.com/gps.
GPS.G2-X-01003-B
Page 49
u-blox ag
Bytes Scale 1 1 2 2 2 2 2 2
Units
ASCII (Decimal) Scale Example 15 Satellite PRN Number1 All ephemeris data consist of signed 16-bit integers.
GPS.G2-X-01003-B
Page 50
u-blox ag
Bytes Scale 1 2 2 2 2 2 2 2 2
Binary (Hex) Example 10 0015 001E 0005 88B8 00C8 1B58 0004 0001
Units
seconds seconds
Poor Status
Good Status
Description Message ID number. The number of the satellite being tracked. The total duration of time (in seconds) that the satellite is tracked. The time it takes for channel 0 to achieve the status of 37. The total number of data bits that the receiver is able to demodulate during the test period. As an example, for a 20 second test period, the total number of bits that can be demodulated by the receiver is 12000 (50BPS x 20sec x 12 channels). This value is derived from phase accumulation time. Phase accumulation is the amount of time a receiver maintains phase lock. Every 100msec of loss of phase lock equates to 1 poor status count. As an example, the total number of status counts for a 60 second period is 7200 (12 channels x 60 sec x 10 sec). This value is derived from phase accumulation time. Phase accumulation is the amount of time a receiver maintains phase lock. Every 100msec of phase lock equates to 1 good status count. The number of word parity errors. This occurs when the transmitted parity word does not match the receivers parity check. The number of 1 msec VCO lost lock was detected. This occurs when the PLL in the RFIC loses lock. A significant jump in crystal frequency and / or phase causes a VCO lost lock.
GPS.G2-X-01003-B
Page 51
u-blox ag
Example: A0A20002Start Sequence and Payload Length 1200Payload 0012B0B3Message Checksum and End Sequence Name Message ID Send Indicator1
1
Bytes 1 1
Units
0 implies that CPU is about to go OFF, OkToSend==No, 1 implies CPU has just come ON, OkToSend==Yes
GPS.G2-X-01003-B
Page 52
u-blox ag
Bytes 1 1 1 1 2 1 1 1 1 1 1 1 2 1 2 1 1 1 1 2
Units
meters
seconds seconds
*10
10
% ms
GPS.G2-X-01003-B
Page 53
TIM GPS receivers protocol specification - Application Note Example for SiRFstar II architecture (u-blox 2nd generation products like TIM): A0A20041Start Sequence and Payload Length 1301000 Payload 022DB0B3Message Checksum and End Sequence Name Message ID Reserved Altitude Hold Mode (See 1) Altitude Hold Source (See 1) Altitude Source Input Degraded Mode (See Table 3-84) Degraded Timeout DR Timeout (See 1) Track Smoothing (See 1) Static Navigation 3SV Least Squares Reserved DOP Mask mode (See Table 3-86) Navigation Elevation Mask Navigation Power Mask Reserved DGPS Source (See Table 3-79) DGPS Mode (See Table 3-88) DGPS Timeout Reserved LP Push-to-Fix (See 3) LP On-Time LP Interval LP User Tasks Enabled (See 3) LP User Task Interval LP Power Cycling Enabled (See 3) LP Max. Acq. Search Time (See 2) LP Max. Off Time (See 2) Reserved Reserved
1 2 3
u-blox ag
Binary (Hex) Example 13 00 00 0000 01 1E 3C 01 04 00 04 009B 14 02 00 1E 00 000000C8 000003E8 00 00000000 00 0001D4C0 00007530 00000000 00000000
Units
meters
seconds seconds
deg dBHz
10
seconds
ms ms ms ms ms
See corresponding entries in table Table 3-83, "Mode Control" See corresponding entries in Table 3-106, "Set Low Power Acquisition Parameters" 0=Disabled 1=Enabled
GPS.G2-X-01003-B
Page 54
u-blox ag
Bytes Scale 1 2 2 2 2 2 2 2 2 2 2 2 2 4 2 4 4 4 4 4
* 10 * 10 * 10 * 10
Binary (Hex) Example 14 0001 001E 0002 3F70 001F 0D29 0000 0000 000C 01C6 0005 1B0E 000EB41A 0000 00000000 00000000 00000000 00000000 00000000
Units
seconds seconds
Hz Hz
ASCII (Decimal) Scale Example 20 1 30 2 13680 31 3369 0 0 6 45.4 10 0.5 10 692.6 10 96361.0 10
Name Message ID SV ID Period Bit Sync Time Bit Count Poor Status Good Status Parity Error Count Last VCO Count Frame Sync C/No Mean C/No Sigma Clock Drift Clock Offset
Description Message ID number. The number of the satellite being tracked. Same data structure as in Message 16 (0x10)
The time it takes for channel 0 to reach a 3F status. Calculated average of reported C/No by all 12 channels during the test period. Calculated sigma of reported C/No by all 12 channels during the test period. Difference in clock frequency from start and end of the test period. The internal clock offset.
GPS.G2-X-01003-B
Page 55
u-blox ag
3.2.19 SiRF Binary Output message I.D. 28, Navigation Library Measurement Data
Output Rate: Every measurement cycle (full power / continuous: 1Hz)
Example: A0A20038Start Sequence and Payload Length 1C00000660D015F143F62C4113F42FF3FBE95E417B235C468C6964B8FBC5824 15CF1C375301724.....03E801F400000000Payload 1533B0B3Message Checksum and End Sequence Name Message ID Channel Time Tag Satellite ID GPS Software Time Pseudo-Range Carrier-Frequency Carrier-Phase Time in Track Sync Flags (See Table 3-60) C/No 1 C/No 2 C/No 3 C/No 4 C/No 5 C/No 6 C/No 7 C/No 8 C/No 9 C/No 10 Delta Range Interval Mean Delta Range Time Extrapolation Time Phase Error Count Low Power Count Payload length: 56 bytes
Table 3-59: Measurement Data
Bytes 1 1 4 1 8 8 4 8 2 1 1 1 1 1 1 1 1 1 1 1 2 2 2 1 1
Binary (Hex) Scale Example 1C 00 000660D0 15 F143F62C 4113F42F F3FBE95E 417B235C 468C6964 B8FBC582 415CF1C3 7530 17 24 24 24 24 24 24 24 24 24 24 03E8 01F4 0000 00 00
Units
ms ms m m/sec m ms bitmap dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz dBHz m ms ms
ASCII (Decimal) Scale Example 28 0 135000 21 2.4921113 696e+005 2.1016756 638e+007 1.6756767 578e+004 4.4345542 262e+004 10600 23 36 36 36 36 36 36 36 36 36 36 1000 500 0 0 0
GPS.G2-X-01003-B
Page 56
u-blox ag
[2:1]
[4:3]
Description Coherent Integration Time 0 = 2ms 1 = 10ms Synch State 00 = Not aligned 01 = Consistent code epoch alignment 10 = Consistent data bit alignment 11 = No millisecond errors Autocorrelation Detection State 00 = Verified not an autocorrelation 01 = Testing in progress 10 = Strong signal, autocorrelation detection not run 11 = Not used
Name Message ID Channel Time Tag Satellite ID GPS Software Time Pseudo-Range Carrier-Frequency
Sync Flags
C/No 1
C/No 2 C/No 10
Description Message I.D. Number Receiver channel number for a given satellite being searched or tracked. This is the Time Tag in milliseconds of the measurement block in the receiver software time. Satellite or Space Vehicle (SV) I.D. number or Pseudo-random Noise (PRN) number. This is GPS Time or Time of Week (TOW) estimated by the software in milliseconds. This is the generated pseudo range measurement for a particular SV. This is can be interpreted in two ways: 1. The delta-pseudo range normalized by the reciprocal of the delta pseudo range measurement interval. 2. The frequency from the AFC loop. If, for example, the delta pseudo range interval computation for a particular channel is zero, then it can be the AFC measurement, otherwise it is a delta-pseudo range computation. This is the integrated carrier phase given in meters. The Time in Track counts how long a particular SV has been in track. For any count greater than zero (0), a generated pseudo range is present for a particular channel. The length of time in track is a measure of how large the pull-in error may be. This byte contains two a two bit fields that report the integration interval and sync value achieved for a particular channel. 1) Bit 0: Coherent Integration Interval (0 = 2 milliseconds, 1 = 10 milliseconds) 2) Bits: (1 2) = Synchronization 3) Bit: (2 1) Value: {0 0} Not Aligned Value: {0 1} Consistent Code Epoch Alignment Value: {1 0} Consistent Data Bit Alignment Value: {1 1} No Millisecond Errors This array of Carrier To Noise Ratios is the average signal power in dBHz for each of the 100-millisecond intervals in the previous second or last epoch for each particular SV being track in a channel. 1st 100 millisecond measurement 2nd through 10th 100 millisecond measurements
GPS.G2-X-01003-B
Page 57
TIM GPS receivers protocol specification - Application Note Delta Range Interval
u-blox ag
Mean Delta Range Time Extrapolation Time Phase Error Count Low Power Count
This is the delta-pseudo range measurement interval for the preceding second. A value of zero indicated that the receiver has an AFC measurement or no measurement in the Carrier Frequency field for a particular channel. This is the mean calculated time of the delta-pseudo range interval in milliseconds measured from the end of the interval backwards This is the pseudo range extrapolation time in milliseconds, to reach the common Time tag value. This is the count of the phase errors greater than 60 Degrees measured in the preceding second as defined for a particular channel. This is the low power measurements for signals less than 28 dB-Hz in the preceding second as defined for a particular channel
3.2.20 SiRF Binary Output message I.D. 29, Navigation Library DGPS Data
Output Rate: Every measurement cycle (full power / continuous: 1Hz) Example: A0A2001AStart Sequence and Payload Length 1D000F00B501BFC97C673CAAAAAB3FBFFE1240A0000040A00000Payload 0956B0B3Message Checksum and End Sequence Name Message ID Satellite ID IOD (Issue of Data) Source 1 Pseudo-Range Correction Pseudo-Range Rate Correction Correction Age Reserved Reserved
1
Bytes 1 2 2 1 4 4 4 4 4
Units
m m/sec sec
Valid values:
GPS.G2-X-01003-B
Page 58
u-blox ag
3.2.21 SiRF Binary Output message I.D. 30, Navigation Library SV State Data
Output Rate: Every measurement cycle (full power / continuous: 1Hz) Example: A0A20053Start Sequence and Payload Length 1E15....2C64E99D01....408906C8Payload 2360B0B3Message Checksum and End Sequence Name Message ID Satellite ID GPS Time X-Position Y-Position Z-Position X-Velocity Y-Velocity Z-Velocity Clock Bias Clock Drift Ephemeris Flag 1 Reserved Reserved Ionospheric Delay
1
Bytes Scale 1 1 8 8 8 8 8 8 8 8 4 1 4 4 4
Units
2C64E99D 01
744810909 1
408906C8
1 = SV state calculated from ephemeris
1082721992
2 = Satellite state calculated from almanac
Valid values:
0 = no valid SV state
3.2.22 SiRF Binary Output message I.D. 31, Navigation Library Initialisation Data
Output Rate: Every measurement cycle (full power / continuous: 1Hz)
Example: A0A20054Start Sequence and Payload Length 1F....00000000000001001E000F....00....000000000F....00....02....043402.... ....02Payload 0E27B0B3Message Checksum and End Sequence
GPS.G2-X-01003-B
Page 59
u-blox ag
Name Message ID Reserved Altitude Mode 1 Altitude Source Altitude 2 Degraded Mode Degraded Timeout Dead-Reckoning Timeout Reserved Track Smoothing Mode 3 Reserved Reserved Reserved Reserved DGPS Selection 4 DGPS Timeout Elevation Navigation Mask Reserved Reserved Reserved Reserved Reserved Static Navigation Mode 5 Reserved Position X Position Y Position Z Position Init Source 6 GPS Time GPS Week Time Init Source 7 Drift Drift Init Source 8
1 2
Bytes 1 1 1 1 4 1 2 2 2 1 1 2 2 2 1 2 2 2 1 2 1 2 1 2 8 8 8 1 8 2 1 8 1
Units
m sec sec
00 0000 000F
sec
0 0 15
00 m m m 02 0434 02 02
2 1076 2 2
0 = Use last known altitude, 1 = Use user input altitude 2 = Use dynamic input from external source 0 = Use direction hold and then time hold, 1 = Use time hold and then direction hold 2 = Only use direction hold 3 = Only use time hold 4 = Degraded mode is disabled 0 = True 1 = False 0 = Use DGPS if available 1 = Only navigate if DGPS corrections are available 2 = Never use DGPS corrections 0 = True 1 = False 0 = ROM position 1 = User position 2 = SRAM position 3 = Network assisted position (Not supported) 0 = ROM time 1 = User time 2 = SRAM time 3 = RTC time 4 = Network assisted time (Not supported) 0 = ROM clock 1 = User clock 2 = SRAM clock 3 = Calibration clock 4 = Network assisted clock (Not supported)
3 4 5 6 7 8
GPS.G2-X-01003-B
Page 60
u-blox ag
3.2.23 SiRF Binary Output message I.D. 98, Extended Measured Navigation (u-blox)
Important Notice This is a u-blox proprietary message.
In contrast to the NMEA protocol, the original SiRF Binary protocol outputs position in a Cartesian coordinate frame called Earth-Centered, Earth-Fixed (ECEF). For many applications, geodetic mapping coordinates of Latitude, Longitude and Altitude similar to NMEA are desired. In the SiRF binary protocol, time is sent as GPS week number and Time of Week (TOW). But in many applications, the Universal Time Coordinated (UTC) is the best time format.
By default, the geodetic position is based on WGS-84 map datum. The datum can be modified with the "Set Datum" message 196 (0xC4), or, in NMEA format is activated, by NMEA $PSRF106. Output Rate: 1 Hz Example: A0A20027Start Sequence and Payload Length 6204EDBB4F00E3C83E0007C298000000FA0000006607FB9FB9 6407CF091E0712B0C20B06090507 Payload 0C73B0B3Message Checksum and End Sequence Name Message ID Latitude Longitude Altitude Speed over Ground Climb Rate Course over Ground Mode 1 UTC Year UTC Month UTC Day UTC Hour UTC Minute UTC Second GDOP (geometric DOP) HDOP (horizontal DOP) PDOP (position DOP) TDOP (time DOP) VDOP (vertical DOP)
1 2
Bytes 1 4 4 4 4 4 4 1 2 1 1 1 1 2 1 1 1 1 1
Binary (Hex) Scale Example 62 *108 04EDBB4F *108 00E3C83E *1000 0007C298 *1000 000000FA *1000 00000066 8 *10 07FB9FB9 64 07CF 09 1E 07 12 *1000 B0C2 *5 0B *5 06 *5 09 *5 05 *5 07
Units
rad rad m m/s m/s rad bit map 1 years months days hours minutes seconds
ASCII (Decimal) Scale Example 98 8 /10 0x82688847 /108 0x14927934 /1000 508.568 /1000 0.250 /1000 0.102 8 /10 1.33930937 100 2 1999 9 30 7 12 /1000 45.250 /5 2.2 /5 1.2 /5 1.8 /5 1.0 /5 1.4
See Table 3-66 and Table 3-67 Example indicates L 4 satellite solution (3D), validated, UTC leap seconds corrected
7 DGPS
6 LEAPSEC
5 VALIDATION
4 DOPMASK
3 DRTMO
1 PMODE
GPS.G2-X-01003-B
Page 61
u-blox ag
Value 0 1 2 3 4 5 6 7 0 1 0 1 0 1 0 1 0 1
Dead Reckoning timed out DOP mask status Fix Quality UTC Leap Seconds DGPS status
Description No navigation solution 1 satellite solution (altitude hold, direction hold, time hold) 2 satellite solution (altitude hold and direction or time hold) 3 satellite solution (altitude hold) 4 satellite solution 2D point solution (least square) 3D point solution (least square) Dead reckoning No Yes DOP mask not exceeded DOP mask exceeded Unvalidated Validated Leap seconds not corrected Leap seconds corrected No DGPS position DGPS position
GPS.G2-X-01003-B
Page 62
u-blox ag
3.2.24 SiRF Binary Output message I.D. 100, Hardware Status (u-blox)
Important Notice This is a u-blox proprietary message. The firmware provides a support for controlling and monitoring active antennas. Details on the active antenna supervisor is described in the TIM data sheet [2] Output Rate: Depends on settings in Firmware User Parameters Example: A0A20003 Start Sequence and Payload Length 64013FPayload ccccB0B3Message Checksum and End Sequence Name Message ID Antenna status AGC Payload length: 3 bytes Bytes Scale 1 1 1 Binary (Hex) Example 64 01 3F Units ASCII (Decimal) Scale Example 100 See table below 63 Range: 0..63
Byte Value 0 1 2 3 4
Description See appendix A.4 for details. Active antenna on and OK Open circuit in antenna Short circuit in antenna Active antenna off (due to short circuit) Passive antenna
GPS.G2-X-01003-B
Page 63
u-blox ag
Bytes 1
Variable
Units
Important Notice MID 255 is output when SiRF Binary is selected and development data is enabled. The data output using MID 255 is essential for support.
GPS.G2-X-01003-B
Page 64
u-blox ag
Description ECEF and time information at start-up for warm start Enable NMEA messages, output rate and baud rate Sends an existing almanac file to the receiver Software version replied with Message ID 6 (0x06) Select source for DGPS corrections UART configuration like baud rate, stop bits, etc. Switch to other protocol - obsolete Sets mode like 3D/2D, dead reckoning, etc. Sets DOP mask range to select satellites for navigation Selects DGPS and timeout Elevation masks for tracking and navigation Power masks for qualifying satellites for navigation Configuration for static operation Clock status is replied with Message ID 7 (0x07) DGPS port baud rate, data bits, stop bits, and parity Almanac is replied with Message ID 14 (0x0E) Ephemeris is replied with Message ID 15 (0x0F) Enters download mode to update Flash EPROM (u-blox) Upload Ephemeris File to receiver Test mode or normal mode TricklePower and Push-to-Fix Navigation is replied with Message ID 19 (0x13) Sets protocol, baud rates, etc. for all ports Set rate for individual SiRF output messages Set max. off and search times for reacquisition Chooses a map datum as specified in table B-1 (u-blox)
Page 66 67 69 69 70 71 72 73 74 75 75 76 76 77 77 78 78 79 79 80 81 82 83 84 84 85
Important Notice All input messages are sent in BINARY format. The shaded fields in the table above relate to messages which are supported by u-blox firmware, but not by the original SiRF firmware.
GPS.G2-X-01003-B
Page 65
u-blox ag
3.3.1 SiRF Binary Input message I.D. 128, Initialize Data Source
The following table contains the input values for the following example: Warm start the receiver with the following initialization data: ECEF XYZ (-2686727 m, -4304282 m, 3851642 m), Clock Offset (75,000 Hz), Time of Week (86,400 s), Week Number (924), Channels (12) Raw track data enabled, Debug data enabled. Example: A0A20019Start Sequence and Payload Length 80FFD700F9FFBE5266003AC57A000124F80083D600039C0C33Payload 0A91B0B3Message Checksum and End Sequence Name Message ID ECEF X ECEF Y ECEF Z Clock Offset Time of Week Week Number Channels (Range 112) Reset Config. (See Table 3-73) Payload length: 25 bytes
Table 3-72: Initialize Data Source
Bytes 1
4 4 4 4 4 2 1 1
Binary (Hex) Example 80 FFD700F FFBE5266 003AC57A 000124F8 *100 0083D600 Scale 039C 0C 33
Units
100 12
Bit 0 1 2 3 4 5 6 7
Description Data valid flagset warm/hot start Clear ephemerisset warm start Clear memoryset cold start Factory Reset Enable raw track data (YES=1, NO=0) Enable debug data for SiRF binary protocol (YES=1, NO=0) Enable debug data for NMEA protocol (YES=1, NO=0) Reserved (must be 0)
Important Notice If "Raw Track Data" is enabled, then the following messages are enabled at update rate of 1 Hz and baud rate is automatically set to 38400 baud. MID 07: MID 17: MID 28: MID 31: Clock Status Raw DGPS DGPS Data Navigation Library Initialization Data MID 08: 50 BPS Data MID 28: Navigation Library Measurement Data MID 30: SV State Data
GPS.G2-X-01003-B
Page 66
u-blox ag
3.3.2 SiRF Binary Input message I.D. 129, Switch To NMEA Protocol
The following table contains the input values for the following example:
Request the following NMEA data at 4800 baud: GGA - ON, 1 second time interval GLL - OFF GSA - ON, 5 seconds time interval GSV - ON, 5 seconds time interval RMC - OFF VTG - OFF MSS - OFF ZDA - ON, 1 second time interval PSRF161 - ON, 1 second time interval
Example: A0A20018Start Sequence and Payload Length 8102010100010501050100010001000100010001000112C0Payload 016AB0B3Message Checksum and End Sequence
GPS.G2-X-01003-B
Page 67
u-blox ag
Name Message ID Mode GGA Message 1 Checksum 2 GLL Message Checksum GSA Message Checksum GSV Message Checksum RMC Message Checksum VTG Message Checksum MSS Message Checksum ZDA Message (u-blox) Checksum PSRF150 OK-to-Send (u-blox) Checksum PSRF161 HW Status (u-blox) Checksum Baud rate 3
1
Bytes 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2
Units
Description ASCII 129 2 (Must always be 2!) 1 0 (no msg) 5 5 0 (no message) 0 (no message) 0 (no message) 1 0 (no message) 5 0x9600 = 38400 baud
sec sec sec sec sec sec sec sec sec sec baud
A value of 0x00 implies NOT to send message, otherwise data is sent at 1 message every X seconds requested (i.e., to request a message to be sent every 5 seconds, request the message using a value of 0x05.) Maximum rate is 1/255s.
A value of 0x00 implies the checksum NOT transmitted with the message (not recommended). A value of 0x01 will have a checksum calculated and transmitted as part of the message (recommended). Valid values: 4800, 9600, 19200, 38400
Important Notice In TricklePowerTM mode, the update rate is specified by the user. When you switch to NMEA protocol, TM message update rate is also required. The resulting update rate is the product of the TricklePower TM Update rate and the NMEA update rate (i.e. TricklePower update rate = 2 seconds, NMEA update rate = 5 seconds, resulting update rate is every 10 seconds, (2 X 5 = 10)).
GPS.G2-X-01003-B
Page 68
u-blox ag
Units
The almanac data is stored in the code as a 448 element array of INT16 values. These 448 elements are partitioned as 32 x 14 elements where the 32 represents the satellite number minus 1 and the 14 represents the number of INT16 values associated with this satellite. The data is actually packed and the exact format of this representation and packing method can be extracted from the ICD-GPS-2000 document. The ICD-GPS-2000 document describes the data format of each GPS navigation sub-frame and is available on the web at http://www.arinc.com/gps.
Bytes Scale 1
1
Units
Response:
refer to page 35, section 3.2.4 SiRF Binary Output message I.D. 6, Software Version String
GPS.G2-X-01003-B
Page 69
u-blox ag
Bytes 1
1 4 1
Units
Description ASCII 133 2 / See Table 3-79 See Table 3-80 See Table 3-80
Hz Bps
Example 2: Set the DGPS source to Internal DGPS Beacon Receiver Search Frequency 310000, Bit Rate 200 A0A200007Start Sequence and Payload Length 85030004BAF0C802Payload 02FEB0B3Checksum and End Sequence Name Message ID DGPS Source Internal Beacon Frequency Internal Beacon Bit Rate Payload length: 7 bytes
Table 3-78: DGPS Source Selection (Example 2)
Bytes 1 1 4 1
Units
Description ASCII 133 3 / See Table 3-79 31000 / See Table 3-80 200 / See Table 3-80
Hz Bps
GPS.G2-X-01003-B
Page 70
u-blox ag
DGPS Source None WAAS External RTCM Data Internal DGPS Beacon Receiver User Software
Table 3-79: DGPS Source Selections
Hex 00 01 02 03 04
Decimal 0 1 2 3 4
Description DGPS corrections are not used (even if available). Uses WAAS Satellite (subject to availability). External RTCM input source (i.e., Coast Guard Beacon). Internal DGPS beacon receiver. Corrections provided using a module interface routine in a custom user application.
Search Type Auto Scan Full Frequency Scan Full Bit Rate Scan Specific Search
1 2
Description Auto scanning of all frequencies and bit rates are performed. Auto scanning of all frequencies and specified bit rate are performed. Auto scanning of all bit rates and specified frequency are performed Only the specified frequency and bit rate search are performed.
Frequency Range is 283500 to 325000 Hz. Bit Rate selection is 25, 50, 100 and 200 BPS.
3.3.6 SiRF Binary Input message I.D. 134, Set Main Serial Port
The following table contains the input values for the following example: Set Main Serial port to 9600,n,8,1. Example: A0A20009Start Sequence and Payload Length 860000258008010000Payload 0134B0B3Message Checksum and End Sequence Name Message ID Baud rate 1 Data bits Stop bit Parity Pad
1
Bytes 1 4 1 1 1 1
Units
Description ASCII 134 9600 (example) 8 (choice: 7 or 8) 1 (choice: 0 or 1) 0=None, 1=Odd, 2=Even Reserved
GPS.G2-X-01003-B
Page 71
u-blox ag
Bytes Scale 1
Units
Important Notice This Message is obsolete, even if it is still operational. Use of this message is strongly discouraged. Consider message I.D. 129 (Switch to NMEA Protocol) or message I.D. 165 (Change UART) instead. This message is subject to change without prior notice!
GPS.G2-X-01003-B
Page 72
u-blox ag
Bytes Scale 1 1 1 1 1 1 2 1 1 1 1 1 1
Units
Description ASCII 136 1 (always true=1) Not used See Table 3-84 Reserved YES=1, NO=0 range -1,000 to 10,000 Auto=0, Always=1, Disable=2 Last Computed=0, Fixed to=1 Not Used 0 to 120 0 to 120 YES=1, NO=0
meters
05 01 01
seconds seconds
Byte Value 0 1 2 3 4
Description Use Direction then Clock Hold Use Clock then Direction Hold Direction (Curb) Hold Only Clock (Time) Hold Only Disable Degraded Modes
GPS.G2-X-01003-B
Page 73
u-blox ag
3.3.9 SiRF Binary Input message I.D. 137, DOP Mask Control
The following table contains the input values for the following example: Auto PDOP / HDOP, GDOP =8 (default), PDOP HDOP Example: A0A20005Start Sequence and Payload Length 8900080808Payload 00A1B0B3Message Checksum and End Sequence Name Message ID DOP Selection GDOP Value PDOP Value HDOP Value Payload length: 5 bytes
Table 3-85: DOP Mask Control
Geometric ( 3 position coordinates plus clock offset in the solution) Position DOP (3 coordinates) Horizontal DOP
=8, =8
Bytes 1 1 1 1 1
Units
Byte Value 0 1 2 3 4
GPS.G2-X-01003-B
Page 74
u-blox ag
Bytes 1 1 1
Units
Description ASCII 138 See Table 3-88 Range 0 = disabled, 1 255 [s]
seconds
Byte Value 0 1 2
Important Notice Configuration of the DGPS mode using MID 138 only applies to RTCM corrections received from an external RTCM source or internal or external beacon. It does not apply to WAAS operation.
Units
Description ASCII 139 Not implemented Range -20+90 (values -200 +900)
degrees degrees
GPS.G2-X-01003-B
Page 75
u-blox ag
Example: A0A20003Start Sequence and Payload Length 8C1C21Payload 00C9B0B3Message Checksum and End Sequence Name Message ID Tracking Mask Navigation Mask Payload length: 3 bytes
Table 3-90: Power Mask
Bytes Scale 1 1 1
Units
dBHz dBHz
Bytes Scale 1 1
Units
Description Message ID number. Valid values: 1 enable static navigation 0 disable static navigation
GPS.G2-X-01003-B
Page 76
u-blox ag
3.3.14 SiRF Binary Input message I.D. 144, Poll Clock Status
The following table contains the input values for the following example: Poll the clock status. Example: A0A20002Start Sequence and Payload Length 9000Payload 0090B0B3Message Checksum and End Sequence Name Message ID Control Payload length: 2 bytes
Table 3-93: Clock Status
Bytes 1 1
Units
Response:
refer to page 35 3.2.5 SiRF Binary Output message I.D. 7, Clock Status Data
3.3.15 SiRF Binary Input message I.D. 145, Set DGPS Serial Port
The following table contains the input values for the following example: Set DGPS Serial port to 9600,n,8,1. Example: A0A20009Start Sequence and Payload Length 910000258008010000Payload 013FB0B3Message Checksum and End Sequence Name Message ID Baud rate 1 Data bits Stop bit Parity Pad
1
Bytes Scale 1 4 1 1 1 1
Units
Description ASCII 145 9600 (example) 8 (choice: 7 or 8) 1 (choice: 0 or 1) 0=None, 1=Odd, 2=Even Reserved
Important Notice Setting the DGPS serial port using MID 145 will affect Com B only regardless of the port being used to communicate with the Evaluation Receiver.
GPS.G2-X-01003-B
Page 77
u-blox ag
Example: A0A20002Start Sequence and Payload Length 9200Payload 0092B0B3Message Checksum and End Sequence Name Message ID Control Payload length: 2 bytes
Table 3-95: Almanac
Bytes Scale 1 1
Units
Response:
refer to page 49, 3.2.12 SiRF Binary Output message I.D. 14, Almanac Data
Example: A0A20003Start Sequence and Payload Length 930000Payload 0092B0B3Message Checksum and End Sequence Name Message ID SV I.D. 1 Control
1
Bytes 1 1 1
Units
A value of 0 requests all available ephemeris records, otherwise the ephemeris of the SV I.D. is requested.
Response:
refer to page 50, 3.2.13 SiRF Binary Output message I.D. 15, Ephemeris Data
GPS.G2-X-01003-B
Page 78
u-blox ag
3.3.18 SiRF Binary Input message I.D. 148, Flash Update (u-blox)
Important Notice This is a u-blox proprietary message. It only compatible to the u-blox Firmware Update Utility (Configuration Manager / Udownloader)
This message will reset the GPS receiver and force it into download mode. New code can be downloaded to the target via serial port A. Serial port B is not needed. Example: 0A020001 Start Sequence and Payload Length 94 Payload 0094B0B3 Message Checksum and End Sequence Name Message ID No payload data Payload length: 1 byte
Table 3-97: Flash Update
Bytes 1
Units
Bytes Scale 1 90
Units
The ephemeris data for each satellite is stored as a two dimensional array of [3][15] UNIT16 elements. The 3 represents three separate sub-frames. The data is actually packed and the exact format of this representation and packing method can be extracted from the ICD-GPS-2000 document. The ICD-GPS-2000 document describes the data format of each GPS navigation sub-frame and is available on the web at http://www.arinc.com/gps.
GPS.G2-X-01003-B
Page 79
u-blox ag
3.3.20 SiRF Binary Input message I.D. 150, Switch Operating Modes
The following table contains the input values for the following example: Sets the receiver to track a single satellite on all channels.
Example: A0A20007Start Sequence and Payload Length 961E510006001EPayload 0129B0B3Message Checksum and End Sequence Name Message ID Mode Bytes Scale 1 2 Binary (Hex) Example 96 1E51 Units Description ASCII 150 0=normal, 1E51=Testmode1, 1E52=Testmode2, 1E53=Not Supported Satellite to Track Duration of Track
2 2
0006 001E
seconds
GPS.G2-X-01003-B
Page 80
u-blox ag
Mode
This message sets the receiver into low power mode: TricklePower mode or Push-To-Fix mode. Details on configuring TricklePower and Push-To-Fix modes are described in section A.2 and in more detail in the ublox application note on low power operation [6]. The following table contains the input values for the following example:
Example: Set receiver into TricklePower at 1 hz update and 200 msec On Time. A0A20009Start Sequence and Payload Length 97000000C8000000C8Payload 0227B0B3Message Checksum and End Sequence If an update rate of 1 second is selected, then the on-time greater than 600ms is invalid. Name Message ID Push-To-Fix Mode Duty Cycle Bytes Scale 1 2 2 Binary (Hex) Example 97 0000 00C8 Units Description ASCII 151 ON = 1, OFF = 0 % Time ON. A duty cycle of 1000 (100%) means continuous operation. range 200 - 900 msec
*10
000000C8
ms
On-times of 700, 800, and 900 msec are invalid if an update rate of 1 second is selected. 3.3.21.1 Computation of Duty Cycle and On Time The Duty Cycle is the desired time to be spent tracking. The On Time is the duration of each tracking period TM (range is 200 - 900 ms). To calculate the TricklePower update rate as a function of Duty Cycle and On Time, use the following formula: Off_Time = ( On_Time - (Duty_Cycle * On_Time) ) / Duty_Cycle Update_Rate = Off_Time + On_Time Important Notice On Time inputs of > 900 ms will default to 1000 ms. Following are some examples of selections: Mode Continuous TricklePower TricklePower TricklePower TricklePower On Time (ms) 1000 200 200 300 500 Duty Cycle (%) 100 20 10 10 5 Update Rate (1/Hz) 1 1 2 3 10
GPS.G2-X-01003-B
Page 81
u-blox ag
On Time (ms) 1 200 300 400 500 600 700 800 900
Table 3-102: TricklePower Mode Support
10
Important Notice For Update Intervals of less than 2 seconds, the upper limit for "On Time" is 600 ms. Limiting the update rate to 10 seconds is strongly recommended. 3.3.21.2 Push-to-Fix
TM
In this mode the receiver will turn on every 30 minutes to perform a system update consisting of a RTC calibration and satellite ephemeris data collection if required (i.e., a new satellite has become visible) as well as all software tasks to support SnapStart in the event of an NMI. Ephemeris collection time in general takes 18 to 30 seconds. If ephemeris data is not required then the system will re-calibrate and shut down. In either case, the amount of time the receiver remains off will be in proportion to how long it stayed on:
Off_Period = ( On_Period * (1 - Duty_Cycle) ) / Duty_Cycle Off Period is limited to 30 minutes. The duty cycle will not be less than approximately On Period/1800, or about TM 1%. Push-to-Fix keeps the ephemeris for all visible satellites up to date so position/velocity fixes can generally be computed within SnapStart times (when requested by the user) on the order of 3 seconds.
3.3.22 SiRF Binary Input message I.D. 152, Poll Navigation Parameters
The following table contains the input values for the following example: Example: Poll receiver for current navigation parameters. A0A20002Start Sequence and Payload Length 9800Payload 0098B0B3Message Checksum and End Sequence Name Message ID Reserved Payload length: 2 bytes
Table 3-103: Poll Receiver for Navigation Parameters
Bytes Scale 1 1
Units
Response:
refer to page 53, 3.2.17 SiRF Binary Output message I.D. 19, Navigation Parameters
GPS.G2-X-01003-B
Page 82
u-blox ag
3.3.23 SiRF Binary Input message I.D. 165, Set UART Configuration
The following table contains the input values for the following example: Example: Set port A (UART 0) to NMEA with 9600 baud, 8 data bits, 1 stop bit, no parity. Set port B (UART 1) to SiRF binary with 57600 baud, 8 data bits, 1 stop bit, no parity. Do not configure ports 2 and 3. A0A20031Start Sequence and Payload Length A50001010000258008010000000100000000E1000801000000FF050500000000000 0000000FF0505000000000000000000Payload 0452B0B3Message Checksum and End Sequence Name Message ID Port: Identifies UART 0 UART 0: In Protocol 1 UART 0: Out Protocol 2 UART 0: Baud Rate UART 0: Data Bits UART 0: Stop Bits UART 0: Parity UART 0: Reserved UART 0: Reserved Port: Identifies UART 1 1 UART 1: In Protocol UART 1: Out Protocol 2 UART 1: Baud Rate UART 1: Data Bits UART 1: Stop Bits UART 1: Parity UART 1: Reserved UART 1: Reserved Port: Identifies UART 2 UART 2: In Protocol 1 UART 2: Out Protocol UART 2: Baud Rate 2 UART 2: Data Bits UART 2: Stop Bits UART 2: Parity UART 2: Reserved UART 2: Reserved Port: Identifies UART 3 UART 3: In Protocol 1 UART 3: Out Protocol UART 3: Baud Rate 2 UART 3: Data Bits UART 3: Stop Bits UART 3: Parity UART 3: Reserved UART 3: Reserved
1 2
Bytes 1 1 1 1 4 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 4 1 1 1 1 1 1 1 1 4 1 1 1 1 1
Units
Description ASCII 165 For UART 0 (Port A) " " " (Here: 9600 baud) "; 8 (choose 7 or 8) "; 1 (choose 0 or 1) "; 0=none,1=odd,2=even " " For UART 1 (Port B) " " " (Here: 9600 baud) "; 8 (choose 7 or 8) "; 1 (choose 0 or 1) "; 0=none,1=odd,2=even " " UART 2 kept inactive No protocol No protocol
0 = SiRF Binary, 1 = NMEA, 2 = ASCII, 3 = RTCM, 4 = User1, 5 = No Protocol. Valid values are 1200, 2400, 4800, 9600, 19200, 38400, and 57600.
GPS.G2-X-01003-B
Page 83
u-blox ag
3.3.24 SiRF Binary Input message I.D. 166, Set Message Rate
The following table contains the input values for the following example: Set message ID 2 to output every 5 seconds starting immediately.
Example: A0A20008Start Sequence and Payload Length A601020500000000Payload 00AEB0B3Message Checksum and End Sequence Name Message ID Send Now 1 MID to be set Update Rate Reserved Reserved Reserved Reserved
1
Bytes Scale 1 1 1 1 1 1 1 1
Units
Description ASCII 166 Poll message Valid Message ID (0127) Range 1-30 Not used Not used Not used Not used
seconds
3.3.25 SiRF Binary Input message I.D. 167, Low Power Acquisition Parameters
Table B-30 contains the input values for the following example: Set maximum off and search times for re-acquisition while receiver is in low power.
Example: A0A2000DStart Sequence and Payload Length A7000075300001D4C00000003CPayload 031DB0B3Message Checksum and End Sequence Name Message ID Max Off Time Max Search Time Push-to-Fix Period Payload length: 13 bytes
Table 3-106: Set Low Power Acquisition Parameters
Bytes 1 4 4 4
Units
Description ASCII 167 Maximum time for sleep mode Max. satellite search time Push-to-Fix cycle period
ms ms seconds
GPS.G2-X-01003-B
Page 84
u-blox ag
3.3.26 SiRF Binary Input message I.D. 196, Set Datum (u-blox)
Important Notice This is a u-blox proprietary message. This message is available to change map datum (geoid reference). The default initial value is WGS-84 (map datum code 216). Table B-1 lists up all geoidic references. Please note that selecting another map datum affects all navigation outputs given in latitude, longitude and altitude. The following table contains the values for the following example:
Example: A0A20002Start Sequence and Payload Length C401Payload 00EFB0B3Message Checksum and End Sequence Name Message ID Map Datum code See table B-1 Payload length: 2 bytes
Table 3-107: Map Datum Control
Bytes Scale 1 1
Units
ms
GPS.G2-X-01003-B
Page 85
u-blox ag
Important Notice Never configure the same protocol (like SiRF, NMEA, RTCM etc.) to both serial ports.
4.2
SiRF Settings
Meaning Serial port transmission speed Values / Range 1200, 2400, 4800, 9600, 19200, 38400, 57600 [bps] 0 15 Value corresponds bit combination 0 = disabled, 1 255 [s] Related Messages Control with 3.3.6 SiRF Msg 134 3.3.23 SiRF Msg 165 Control with 3.3.1 SiRF Msg 128 Control with SiRF Msg 166
MsgCfg
Message configuration, see Table 4-3 Sets the output rate of the SiRF binary output messages 0127. See important notice below.
OutputRate0 OutputRate127
Table 4-2: SiRF Settings
3.3.24
Important Notice Though the entire theoretical range of output messages 0 through 127 can be configured, only a fraction of them are actually implemented or supported. Keep the remaining output rates disabled (set to 0). See section 3.2 for details on SiRF output messages. Bit Value Description 0 0x01 Enable raw track data output 1 0x02 Enable debug data output 2 0x04 Enable 50bps data output 3 0x08 Enable Debug NMEA data output Bit combinations are possible
Table 4-3: Message Configuration Settings
GPS.G2-X-01003-B
Page 86
u-blox ag
4.3
NMEA Settings
Meaning Serial port transmission speed Values / Range 1200, 2400, 4800, 9600, 19200, 38400, 57600 [bps] ALL OFF, ALL ON 0 = disabled, 1 255 [s] Related Messages Control with NMEA Msg 100 2.3.1 3.3.2 SiRF Msg 129 3.3.23 SiRF Msg 165 Control with NMEA Msg 103 2.3.4
CheckSum OutputRateGGA OutputRateGLL OutputRateGSA OutputRateGSV OutputRateRMC OutputRateVTG OutputRateMSS OutputRateZDA OutputRateOTS OutputRateHWS
Turn the checksum ON or OFF for all NMEA messages Sets the output rate of the GGA message (See 2.2.1) Sets the output rate of the GLL message (see 2.2.2) Sets the output rate of the GSA message (see 2.2.3) Sets the output rate of the GSV message (see 2.2.4) Sets the output rate of the RMC message (see 2.2.6) Sets the output rate of the VTG message (see 2.2.7) Sets the output rate of the MSS message (see 2.2.5) Sets the output rate of the ZDA message (see 2.2.5) Sets the output rate of the OTS message (PSRF150) Sets the output rate of the HWS message (PSRF161) (see 2.2.9) Sets the output rate of the message 10 15
Control with NMEA Msg 103 2.3.4 3.3.2 SiRF Msg 129
0 = disabled, 1 255 [s] 0 = disabled, 1 255 [s] 0 = disabled, 1 255 [s] 0 = disabled, 1 255 [s] Reserved for future use Not implemented
OutputRate10 OutputRate 15
Table 4-4: NMEA Settings
4.4
RTCM Settings
Meaning Serial port transmission speed Values / Range 1200, 2400, 4800, 9600, 19200, 38400, 57600 [bps] 7, 8 none, odd, even 1, 2 Related Messages Control with 3.3.15 SiRF Msg 145 3.3.23 SiRF Msg 165
# of data bits sent per packet Kind of parity check # of stop bits sent per packet
GPS.G2-X-01003-B
Page 87
u-blox ag
4.5
User Settings
The settings will only apply if a user-specific protocol other than NMEA, SiRF and RTCM is implemented. Variable Name BaudRate Meaning Serial port transmission speed Values / Range 1200, 2400, 4800, 9600, 19200, 38400, 57600 [bps] Related Messages Control with 3.3.23 SiRF Msg 165
4.6
Navigation Settings
Meaning If AltitudeSource=Fixed is selected, this value is valid Values / Range -1000 10000 [m] Related Messages Control with NMEA Msg 104 2.3.5 Monitor with 3.2.22 SiRF Msg 31 Control with 3.3.11 SiRF Msg 139 Monitor with 3.2.17 SiRF Msg 19 3.2.22 SiRF Msg 31 Monitor with 3.2.17 SiRF Msg 19
ElevationMask
CommandedMode
LSQFix = Least Squares (Complete positioning calculation from latest measurement only) Enable3SVLSQ Static = Static Navigation Mode Enables / disables allowing startup when only three satellites are available Sets altitude hold mode Enables / disables track smoothing Enables / disables static navigation Degraded Mode values: See Table 3-84 for details Abbreviations: d = "Direction" t = "clock (Time)" Degraded Timeout Dead Reckoning Timeout DGPS Selection
NoNav, VisSat, TimeXfr, Static, LSQFix, KFNav, (default) SiRFDRive, DGPSBase Yes (checked), no
Disabled, Auto, Always Yes (checked), no Yes (checked), no Disabled d only t only d then t t then d 1 120 [s] 1 120 [s] Auto, Exclusive, Never
Control with 3.3.8 SiRF Msg 136 Monitor with 3.2.17 SiRF Msg 19 3.2.22 SiRF Msg 31
Control with 3.3.10 SiRF Msg 138 Monitor with SiRF Msg 19 3.2.17 3.2.22 SiRF Msg 31
GPS.G2-X-01003-B
Page 88
TIM GPS receivers protocol specification - Application Note AltitudeSource Choices: Altitude hold uses KF altitude Altitude hold uses fixed, user input value Altitude hold uses dynamic input from external source supplied via messages Power Mask for Navigation KF, Fixed, Dynamic
u-blox ag Control with SiRF Msg 136 3.3.8 Monitor with SiRF Msg 19 3.2.17 3.2.22 SiRF Msg 31
PowerMask
20 50 [dBHz]
EditResTh
0 = disabled, 1 30000
Control with 3.3.12 SiRF Msg 140 Monitor with SiRF Msg 19 3.2.17 Not Implemented Keep at zero
4.7
DOP Settings
Meaning See Table 3-86 Sets Geometric DOP Sets Position DOP Sets Horizontal DOP Values / Range Auto P/H, PDOP, HDOP, GDOP, Never 1 50 1 50 1 50 Related Messages Control with 3.3.9 SiRF Msg 137
4.8
Tracking Settings
Meaning Sets elevation mask above horizon for tracking 1 Not implemented (see ) Values / Range -200 900 [1/10 degree steps] Related Messages Control with 3.3.11 SiRF Msg 139
Elevation mask is implemented for navigation (see section 4.6), but not for tracking.
4.9
DGPS Settings
Meaning Selects the source of DGPS signal. See table Table 3-79 for details. Values / Range None, WAAS Serial, Internal Beacon, Software 0 15 0 83 Related Messages Control with 3.3.5 SiRF Msg 133 3.2.20 SiRF Msg 29 Control with SiRF Msg 133
Mode BeaconFreq
TimeOut
DGPS Mode Flags See Table 4-11 for details Beacon frequency in steps of 500 Hz from 283.5 kHz (step = 0) to 325 kHz (step 83) DGPS Timeout (Timeout after loss of DGPS signal like the RTCM input)
3.3.5
1 120 [s]
Control with NMEA Msg MSK 2.3.10 3.3.5 SiRF Msg 133 Control with 3.3.10 SiRF Msg 187
GPS.G2-X-01003-B
Page 89
u-blox ag
Bit Value Description 0 0x01 Auto Beacon Frequency 1 0x02 Auto Beacon Rate Bit combinations are possible
Table 4-11: DGPS Mode Flags
ActiveAntenna
Values / Range Yes (checked), no Yes (checked), no 200 2'147'483'600 [ms] 1'000 2147483647 [ms] 1'000 2147483000 [ms] 1000 1800000 [ms] 10 7200s [2]
Related Messages Control with 3.3.21 SiRF Msg 151 NMEA 107 2.3.8 Monitor with 3.2.17 SiRF Msg 19
Maximum satellite search time (must be multiple of 1000 ms) Maximum time for sleep mode Update period during Push-ToFix operation, default: 1800 seconds
3.3.25
Required settings fro Push-To-Fix mode: PowerCycling = Yes, OnTime = 200, Interval = 1000.
GPS.G2-X-01003-B
Page 90
u-blox ag
A ADDITIONAL INFORMATION
A.1 GPS Week Reporting
Since August 22, 1999, the GPS week roll from 1023 weeks to 0 weeks is in accordance with the ICD-GPS-200 specifications. To maintain roll over compliance, SiRF reports the ICD GPS week between 0 and 1023. If the user needs to have access to the Extended GPS week (ICD GPS week + 1024) this information is available through the Clock Status Message (007) under the Poll menu.
In TricklePower mode, the power to the SiRF chipset is cycled periodically, so that it operates only a fraction of the time. In Push-to-Fix mode, the receiver is generally off, but turns on frequently enough to collect ephemeris and maintain real-time clock calibration so that, upon user request, a position fix can be provided quickly after power-up. The u-blox application note on low power operation [6] discusses TricklePower and Push-To-Fix mode in more detail.
GPS.G2-X-01003-B
Page 91
u-blox ag
Supply current
Ttrickle (Off_Time)
LP Interval alias Update Rate, (min 1000ms) Duty Cycle = Ratio: On_Time / Update Rate
Default MaxAcqTime: 120'000ms MaxOffTime: min 1000ms, max 1'800'000ms eqv. 30 min
Reset "pushed"
Navigation available
Default MaxAcqTime: 120'000ms MaxOffTime: min 1000ms, max 1'800'000ms eqv. 30 min
GPS.G2-X-01003-B
Page 92
u-blox ag
TM
The CPU goes into sleep mode but will wake up in response to any interrupt. This includes UART interrupts. TM Messages received during the TricklePower off period are buffered and processed when the receiver awakens TM for the next TricklePower cycle. Its therefore not necessary to synchronize the serial communication.
Power Mode Update Rate On Time NMEA Update Rate Message Update Rate
Important Notice The On Time of the chip set has no effect on the output data rates.
GPS.G2-X-01003-B
Page 93
u-blox ag
Start-up
Depends on User Parameters use SiRF 129 (0x81)
NMEA Output
use $PSRF100 message
Figure A-1: Switchover between SiRF Binary and NMEA Output
Passive
== 0
Ant_ActiveAntenna ?
== 1
OK
Open
GPS.G2-X-01003-B
Page 94
u-blox ag
B MAP DATUMS
Important Notice This table of map data is supported by u-blox firmware, but not by the original SiRF firmware.
The codes are used as parameters for SiRF Binary message 196 (0xC4) and proprietary NMEA message $PSRF106. Changing the map datum will affect all measured navigation outputs in latitude, longitude and altitude, e.g. through SiRF binary message 98 or NMEA GGA, GLL, etc.
Code 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Geoid Reference Adindan_Burkina_Faso Adindan_Ethiopia Adindan_Ethiopia_Sudan Adindan_Mali Adindan_Regional_Mean Adindan_Senegal Adindan_Sudan Adindan_Cameroon Afgooye_Somalia Ain_el_Abd_1970_Bahrain Ain_el_Abd_1970_Saudi_Arabia American_Samoa_1962_Samoa_Islands Anna_1_Astro_1965_Cocos_Islands Antigua_Island_Astro_1965_Leward_Islands Arc_1950_Botswana Arc_1950_Burundi Arc_1950_Lesotho Arc_1950_Malawi Arc_1950_Regional_Mean Arc_1950_Swaziland Arc_1950_Zaire Arc_1950_Zambia Arc_1950_Zimbabwe Arc_1960_Kenya Arc_1960_Kenya_Tanzania Arc_1960_Tanzania Ascension_Island_1958 Astro_Beacon_E_1945_Iwo_Jima Astro_DOS_71_4_St_Helena_Island Astro_Tern_Island_FRIG_1961 Astronomical_Station_1952_Marcus_Island Australian_Geodetic_1966 Australian_Geodetic_1984 Ayabelle_Lighthouse_Djibouti Bellevue_IGN Bermuda_1957_Bermuda Bissau_Guinea_Bissu Bogota_Observatory_Colombia Bukit_Rimpah_Indonesia Camp_Area_Astro_Antarctica
Geoidic Reference Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Krassovsky_1940 International International Clarke_1866 Australian_National Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 International International International International International Australian_National Australian_National Clarke_1880 International Clarke_1866 International International Bessel_1841 International
dX -118 -165 -166 -123 -166 -128 -161 -134 -43 -150 -143 -115 -491 -270 -138 -153 -125 -161 -143 -134 -169 -147 -142 -157 -160 -175 -191 145 -320 114 124 -133 -134 -79 -127 -73 -173 307 -384 -104
dY -14 -11 -15 -20 -15 -18 -14 -2 -163 -251 -236 118 -22 13 -105 -5 -108 -73 -90 -105 -19 -74 -96 -2 -6 -23 103 75 550 -116 -234 -48 -48 -129 -769 213 253 304 664 -129
dZ 218 206 204 220 204 224 205 210 45 -2 7 426 435 62 -289 -292 -295 -317 -294 -295 -278 -283 -293 -299 -302 -303 51 -272 -494 -333 -25 148 149 145 472 296 27 -318 -48 239
Page 95
GPS.G2-X-01003-B
TIM GPS receivers protocol specification - Application Note 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 Campo_Inchauspe_Argentina Canton_Astro_1966_Phoenix_Islands Cap_South_Africa Cape_Canaveral_Bahamas_Florida Carthage_Tunisia Chatham_Island_Astro_1971_New_Zealand Chua_Astro_Paraguay Corrego_Alegre_Brazil Dabola_Guinea Deception_Island_Deception_Island Djakarta_Batavia DOS_1968_New_Georgia_Islands Easter_Island_1967_Easter_Island Estonia_Coordinate_System_1937 European_1950_Cyprus European_1950_Eastern_Regional_Mean European_1950_Egypt European_1950_Finland_Norway European_1950_Greece European_1950_Iran European_1950_Italy_Sardinia European_1950_Italy_Sicily European_1950_Malta European_1950_Northern_Regional_Mean European_1950_Portugal_Spain European_1950_Southern_Regional_Mean European_1950_Tunisia European_1950_Western_Regional_Mean European_1979_Central_Regional_Mean Fort_Thomas_1955_Nevis_St_Kitts Gan_1970_Republic_of_Maldives Geodetic_Datum_1949_New_Zealand Graciosa_Base_SW_1948_Azores Guam_1963_Guam Gunung_Segara_Indonesia GUX_1_Astro_Guadalcanal_Island Herat_North_Afganistan Hermannskogel_Datum_Croatia_Serbia Hjorsey_1955_Iceland Hong_Kong_1963_Hong_Kong Hu_Tsu_Shan_Taiwan Indian_Bangladesh Indian_India_Nepal Indian_Pakistan Indian_1954_Thailand_Vietnam Indian_1960 Indian_1960_Vietnam_Con_Son_Islands Indian_1975_Thailand Indonesian_1974_Indonesia International International Clarke_1880 Clarke_1866 Clarke_1880 International International International Clarke_1880 Clarke_1880 Bessel_1841 International International Bessel_1841 International International International International International International International International International International International International International International International Clarke_1880 International International International Clarke_1866 Bessel_1841 International International Bessel_1841 International International International Everest_1830 Everest_1956 Everest_1830 /* Everest_Pakistan*/ Everest_1830 Everest_1830 Everest_1830 Everest_1830 International /*Indonesian_1974 */ -148 298 -136 -2 -263 175 -134 -206 -83 260 -377 230 211 374 -104 -87 -130 -87 -84 -117 -97 -97 -107 -86 -84 -103 -112 -87 -86 -7 -133 84 -104 -100 -403 252 -333 653 -73 -156 -637 282 295 283 218 198 182 209 -24
u-blox ag 136 90 304 -375 108 -292 151 181 6 431 -38 113 229 -29 172 -6 37 124 12 -147 681 -50 -199 -752 147 111 150 588 -101 -140 -96 -120 -117 -151 -95 -120 -95 -130 -132 -164 -103 -120 -88 -135 -88 -149 -96 -120 -107 -120 -106 -141 -77 -145 -98 -121 -98 -119 215 225 -321 50 -22 209 167 -38 -248 259 684 41 -209 -751 -222 114 -212 449 46 -86 -271 -189 -549 -203 726 254 736 257 682 231" 816 881 915 818 -15 297 317 344 290 5
GPS.G2-X-01003-B
Page 96
TIM GPS receivers protocol specification - Application Note 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 Ireland_1965_Ireland ISTS_061_Astro_1968_South_Georgia_Islands ISTS_073_Astro_1969_Diego_Garcia Johnston_Island_1961_Johnston_Island Kandawala_Sri_Lanka Kerguelen_Island_1949 Kertau_1948_West_Malaysia_And_Singapore Korean_Geodetic_System_South_Korea Kusaie_Astro_1951_Caroline_Islands L_C_5_Astro_1961_Cayman_Brac_Islands Legion_Ghana Liberia_1964_Liberia Luzon_Philippines Luzon_Philippines_Mindanao Mahe_1971_Mahe_Island Massawa_Ethiopia_Eritrea Merchich_Morocco Midway_Astro_1961_Midway_Islands _7_Minna_Cameroon Minna_Nigeria Montserrat_Island_Astro_1958 M_Poraloko_Gabon Nahrwan_Oman_Masirah_Island Nahrwan_Saudi_Arabia Nahrwan_United_Arab_Emirates Naparima_BWI_Trinidad_And_Tobago North_American_1927_Alaska North_American_1927_Alaska_Aleutian_Islands_E North_American_1927_Alaska_Aleutian_Islands_W North_American_1927_Bahamas North_American_1927_Bahamas_San_Salvador North_American_1927_Canada_Yukon North_American_1927_Canal_Zone North_American_1927_Central_America North_American_1927_Central_Canada North_American_1927_Cuba North_American_1927_East_Canada North_American_1927_East_of_Mississippi North_American_1927_Greenland North_American_1927_Gulf_of_Mexico North_American_1927_Mean_for_Canada North_American_1927_Mean_for_Conus North_American_1927_Mexico North_American_1927_Northwest_Canada North_American_1927_West_Canada North_American_1927_West_of_Mississippi North_American_1983_Alaska_Canada_Conus North_American_1983_Aleutian_Islands North_American_1983_Central_America_Mexico North_American_1983_Hawaii North_Sahara_Algeria Airy_Modified International International International Everest_1830 International Everest_1948 GRS_1980 International Clarke_1866 Clarke_1880 Clarke_1880 Clarke_1866 Clarke_1866 Clarke_1880 Bessel_1841 Clarke_1880 International Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 Clarke_1880 International Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 GRS_1980 GRS_1980 GRS_1980 GRS_1980 Clarke_1880 506 -794 208 189 -97 145 -11 0 647 42 -130 -90 -133 -133 41 639 31 912 -81 -92 174 -74 -247 -243 -249 -10 -5 -2 2 -4 1 -7 0 0 -9 -9 -22 -9 11 -3 -10 -8 -12 4 -7 -8 0 -2 0 1 -186 -122 119 -435 -79 787 -187 851 0 1777 124 29 40 -77 -79 -220 405 146 -58 -84 -93 359 -130 -148 -192 -156 375 135 152 204 154 140 139 125 125 157 152 160 161 114 142 158 160 130 159 162 159 0 0 0 1 -93
u-blox ag 611 -298 -229 -202 86 103 5 0 -1124 147 364 88 -51 -72 -134 60 47 122 115 122 365 42 369 477 381 165 172 149 105 178 165 181 201 194 184 178 190 179 195 183 187 176 190 188 188 175 0 4 0 -1 310
Page 97
GPS.G2-X-01003-B
TIM GPS receivers protocol specification - Application Note 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 Observatorio_Metereo_1939_Azores Old_Egyptian_1907_Egypt Old_Hawaiian_Hawaii Old_Hawaiian_Kauai Old_Hawaiian_Maui Old_Hawaiian_Oahu Old_Hawaiian_Regional_Mean Oman_Oman Ord_Survey_Great_Britain_1936_England Ord_Survey_Great_Britain_1936_Isle_of_Man Ord_Survey_Great_Britain_1936_Regional_Mean Ord_Survey_Great_Britain_1936_Scotland_Shetland Ord_Survey_Great_Britain_1936_Wales Pico_de_las_Nieves_Canary_Islands Pitcairn_Astro_1967_Pitcairn_Island Point_58_Mean_for_Burkina_Faso_And_Niger Pointe_Noire_1948_Congo Porto_Santo_1936_Maderia_Islands Provisional_South_American_1956_Bolivia Provisional_South_American_1956_Chile_Northern Provisional_South_American_1956_Chile_Southern Provisional_South_American_1956_Colombia Provisional_South_American_1956_Ecuador Provisional_South_American_1956_Guyana Provisional_South_American_1956_Peru Provisional_South_American_1956_Regional_Mean Provisional_South_American_1956_Venezuela Provisional_South_Chilean_1963_Chile Puerto_Rico_Virgin_Islands Pulkovo_1942_Russia Qatar_National_Qatar Qornoq_Greenland_South Reunion_Mascarene_Islands Rome_1940_Italy_Sardinia S_42_Pulkovo_1942_Albania S_42_Pulkovo_1942_Czechoslovakia S_42_Pulkovo_1942_Hungary S_42_Pulkovo_1942_Kazakhstan S_42_Pulkovo_1942_Latvia S_42_Pulkovo_1942_Poland S_42_Pulkovo_1942_Romania Santo_DOS_1965_Espirito_Santo_Island Sao_Braz_Azores Sapper_Hill_1943_East_Falkland_Island Schwarzeck_Namibia Selvagem_Grande_Salvage_Islands SGS_85_Soviet_Geodetic_system_1985 Sierra_Leone_1960_Sierra_Leone S_JTSK_Czechoslovakia_prior_to_Jan_1993 South_American_1969_Argentina South_American_1969_Bolivia International Helmert_1906 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1866 Clarke_1880 Airy Airy Airy Airy Airy International International Clarke_1880 Clarke_1880 International International International International International International International International International International International Clarke_1866 Krassovsky_1940 International International International International Krassovsky_1940 Krassovsky_1940 Krassovsky_1940 Krassovsky_1940 Krassovsky_1940 Krassovsky_1940 Krassovsky_1940 International International International Bessel_1841_Namibia International SGS_85 Clarke_1880 Bessel_1841 South_American_1969 South_American_1969 -425 -130 89 45 65 58 61 -346 371 371 375 384 370 -307 185 -106 -148 -499 -270 -270 -305 -282 -278 -298 -279 -288 -295 16 11 28 -128 164 94 -225 24 26 28 15 24 23 28 170 -203 -355 616 -289 3 -88 589 -62 -61 -169 110 -279 -290 -290 -283 -285 -1 -112 -111 -111 -111 -108 -92 165 -129 51 -249 188 183 243 169 171 159 175 175 173 196 72 -130 -283 138 -948 -65 -130 -121 -121 -130 -124 -124 -121 42 141 21 97 -124 9 4 76 -1 2
u-blox ag 81 -13 -183 -172 -190 -182 -181 224 434 434 431 425 434 127 42 165 -291 314 -388 -390 -442 -371 -367 -369 -379 -376 -371 93 -101 -95 22 -189 -1262 9 -92 -78 -77 -84 -82 -82 -77 84 53 72 -251 60 -9 101 480 -37 -48
Page 98
GPS.G2-X-01003-B
TIM GPS receivers protocol specification - Application Note 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 South_American_1969_Brazil South_American_1969_Chile South_American_1969_Colombia South_American_1969_Ecuador South_American_1969_Ecuador_Baltra_Galapagos South_American_1969_Guyana South_American_1969_Paraguay South_American_1969_Peru South_American_1969_Regional_Mean South_American_1969_Trinidad_And_Tobago South_American_1969_Venezuela South_Asia_Singapore Tananarive_Observatory_1925_Madagascar Timbalai_1948_Brunei_East_Malaysia Tokyo_Japan Tokyo_Korea Tokyo_Okinawa Tokyo_Regional_Mean Tokyo_South_Korea Tristan_Astro_1968_Tristan_da_Cunha Viti_Levu_Fiji Voirol_1960_Algeria Wake_Island_Astro_1952_Wake_Atoll Wake_Eniwetok_1960_Marshall_Islands WGS_1972_Global_Definition WGS_1984_Global_Definition (Default setting) Yacare_Uruguay Zanderij_Suriname South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 South_American_1969 Fischer_1960_Modified International Everest_Sabah_And_Sar awak Bessel_1841 Bessel_1841 Bessel_1841 Bessel_1841 Bessel_1841 International Clarke_1880 Clarke_1880 International Hough WGS_72 WGS_84 International International -60 -75 -44 -48 -47 -53 -61 -58 -57 -45 -45 7 -189 -679 -148 -146 -158 -148 -147 -632 51 -123 276 102 0 0 -155 -265 -2 -1 6 3 27 3 2 0 1 12 8 -10 -242 669 507 507 507 507 506 438 391 -206 -57 52 0 0 171 120
u-blox ag -41 -44 -36 -44 -42 -47 -33 -44 -41 -33 -33 -26 -91 -48 685 687 676 685 687 -609 -36 219 149 -38 0 0 37 -358
GPS.G2-X-01003-B
Page 99
u-blox ag
Datum Reference Airy Airy_Modified Australian_National Bessel_1841 Bessel_1841_Namibia Clarke_1866 Clarke_1880 Everest_Sabah_And_Sarawak Everest_1830 Everest_1948 Everest_1956 Everest_1969 Fischer_1960 Fischer_1960_Modified Fischer_1968 GRS_1980 Helmert_1906 Hough International Krassovsky_1940 SGS_85 South_American_1969 WGS_60 WGS_66 WGS_72 WGS_84
Table B-2: Datum References
MajorA 6377563.396 6377340.189 6378160.000 6377397.155 6377483.865 6378206.400 6378249.145 6377298.556 6377276.345 6377304.063 6377301.243 6377295.664 6378166.000 6378155.000 6378150.000 6378137.000 6378200.000 6378270.000 6378388.000 6378245.000 6378136.000 6378160.000 6378165.000 6378145.000 6378135.000 6378137.000
Inverse Flattening 299.324965 299.324965 298.250000 299.152813 299.152813 294.978698 293.465000 300.801700 300.801700 300.801700 300.801700 300.801700 298.300000 298.300000 298.300000 298.257222 298.300000 297.000000 297.000000 298.300000 298.257000 298.250000 298.300000 298.250000 298.260000 298.257224
GPS.G2-X-01003-B
Page 100
u-blox ag
C GLOSSARY
Please refer to the GPS dictionary from u-blox [3].
D RELATED DOCUMENTS
[1] [2] [3] [4] [5] [6] Navstar GPS: GPS Standard Positioning Service Signal Specification http://www.u-blox.ch/restricted/gps/gpssps1.pdf Low Power Application note (available soon) The GPS Dictionary http://www.u-blox.ch/restricted/gps/GPS-X-00001.pdf TIM Data Sheet, GPS.G2-MS2.01001 ICD-GPS-200 - Interface Control Document, Arinc Research Corporation. http://www.u-blox.ch/restricted/gps/icd200c.pdf TIM Low Power Modes - Application Mode, GPS.G2-X-02003
E CONTACT
For further info, please contact us: Headquarters u-blox ag Zuercherstrasse 68 CH-8800 Thalwil Switzerland Phone: +41 1 722 74 44 Fax: +41 1 722 74 47 E-mail: info@u-blox.com www.u-blox.com Subsidiaries u-blox Deutschland Gmbh Berliner Ring 89 D-64625 Bensheim Germany Phone: +49 (0) 6251 17566-0 Fax: +49 (0) 6251 17566-11 E-mail: info_de@u-blox.de www.u-blox.de Tech. Support: Phone: +41 1 722 74 74 support_de@u-blox.de u-blox Asia Pacific Ltd. 22/F., City Landmark I 68 Chung On Street Tsuen Wan, Hong Kong Phone: +852-2941-8877 Fax: +852-2615-2285 E-mail: info_ap@u-blox.com www.u-blox.com Tech. Support: Phone: +41 1 722 74 74 support_ap@u-blox.com
u-blox Europe Ltd. Barham Court Maidstone, Kent ME18 5BZ United Kingdom Phone: +44 1622 618628 Fax: +44 1622 618629 E-mail: info_uk@u-blox.co.uk www.u-blox.co.uk Tech. Support: Phone: +44 1622 618628 support_uk@u-blox.co.uk
u-blox America, Inc. 13800 Coppermine Road Herndon, VA 20171 USA Phone: +1 (703) 234 5290 Fax: +1 (703) 234 5770 E-mail: info_us@u-blox.com www.u-blox.com Tech. Support: Phone: +41 1 722 74 74 support_us@u-blox.com
GPS.G2-X-01003-B
Page 101