SiRF Binary Protocol
Reference Manual
SiRF Technology, Inc.
217 Devcon Drive
San Jose, CA 95112 U.S.A.
Phone: +1 (408) 467-0410
Fax: +1 (408) 467-0420
www.SiRF.com
Part Number: 1050-0041
Revision 2.1, September 2006
SiRF, SiRFstar, SiRF plus orbit design are registered in the U.S. Patent and Trademark Office. This document
contains information on a product under development at SiRF. The information is intended to help you evaluate
this product. SiRF reserves the right to change or discontinue work on this product without notice.
ii SiRF Binary Protocol Reference Manual—September 2006
SiRF Binary Protocol
Reference Manual
Copyright © 1996-2006 SiRF Technology, Inc. All rights reserved.
No part of this work may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying and recording, or by any information storage or retrieval system
without the prior written permission of SiRF Technology, Inc. unless such copying is expressly
permitted by United States copyright law. Address inquiries to Legal Department, SiRF Technology,
Inc., 217 Devcon Drive, San Jose, California 95112, United States of America.
About This Document
This document contains information on SiRF products. SiRF Technology, Inc. reserves the right to
make changes in its products, specifications and other information at any time without notice. SiRF
assumes no liability or responsibility for any claims or damages arising out of the use of this document,
or from the use of integrated circuits based on this document, including, but not limited to claims or
damages based on infringement of patents, copyrights or other intellectual property rights. SiRF makes
no warranties, either express or implied with respect to the information and specifications contained in
this document. Performance characteristics listed in this data sheet do not constitute a warranty or
guarantee of product performance. All terms and conditions of sale are governed by the SiRF Terms
and Conditions of Sale, a copy of which you may obtain from your authorized SiRF sales
representative.
Getting Help
If you have any problems, contact your SiRF representative or call or send an e-mail to the SiRF
Technology support group:
phone +1 (408) 467-0410
e-mail [email protected]
iii
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
1. Protocol Layers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Transport Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Transport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Message Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
Payload Length. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Payload Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Checksum. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
2. Input Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
Advanced Power Management - Message ID 53 . . . . . . . . . . . . . . . 2-4
Initialize Data Source - Message ID 128 . . . . . . . . . . . . . . . . . . . . . 2-5
Switch To NMEA Protocol - Message ID 129 . . . . . . . . . . . . . . . . . 2-6
Set Almanac - Message ID 130 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
Handle Formatted Dump Data - Message ID 131. . . . . . . . . . . . . . . 2-8
Poll Software Version - Message ID 132 . . . . . . . . . . . . . . . . . . . . . 2-9
DGPS Source - Message ID 133 . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
Set Binary Serial Port - Message ID 134 . . . . . . . . . . . . . . . . . . . . . 2-11
Mode Control - Message ID 136 . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
DOP Mask Control - Message ID 137 . . . . . . . . . . . . . . . . . . . . . . . 2-13
DGPS Control - Message ID 138 . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Elevation Mask - Message ID 139 . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
Power Mask - Message ID 140. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
iv SiRF Binary Protocol Reference Manual—September 2006
Static Navigation - Message ID 143. . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Poll Clock Status - Message ID 144. . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Set DGPS Serial Port - Message ID 145. . . . . . . . . . . . . . . . . . . . . . 2-17
Poll Almanac - Message ID 146. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-18
Poll Ephemeris - Message ID 147 . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Flash Update - Message ID 148 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-19
Set Ephemeris - Message ID 149 . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20
Switch Operating Modes - Message ID 150. . . . . . . . . . . . . . . . . . . 2-20
Set TricklePower Parameters - Message ID 151. . . . . . . . . . . . . . . . 2-21
Poll Navigation Parameters - Message ID 152. . . . . . . . . . . . . . . . . 2-23
Set UART Configuration - Message ID 165. . . . . . . . . . . . . . . . . . . 2-23
Set Message Rate - Message ID 166 . . . . . . . . . . . . . . . . . . . . . . . . 2-25
Set Low Power Acquisition Parameters - Message ID 167 . . . . . . . 2-25
Poll Command Parameters - Message ID 168 . . . . . . . . . . . . . . . . . 2-26
Set SBAS Parameters - Message ID 170 . . . . . . . . . . . . . . . . . . . . . 2-27
Initialize GPS/DR Navigation - Message ID 172 (Sub ID 1) . . . . . . 2-28
Set GPS/DR Navigation Mode - Message ID 172 (Sub ID 2) . . . . . 2-28
Set DR Gyro Factory Calibration - Message ID 172 (Sub ID 3) . . . 2-29
Set DR Sensors’ Parameters - Message ID 172 (Sub ID 4) . . . . . . . 2-29
Poll DR Gyro Factory Calibration - Message ID 172 (Sub ID 6). . . 2-29
Poll DR Sensors’ Parameters - Message ID 172 (Sub ID 7). . . . . . . 2-29
Marketing Software Configuration - Message ID 180 . . . . . . . . . . . 2-30
Reserved - Message ID 228 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31
Extended Ephemeris - Message ID 232 . . . . . . . . . . . . . . . . . . . . . . 2-32
Extended Ephemeris Proprietary - Message ID 232 (Sub ID 1) . . . . 2-32
Extended Ephemeris Debug - Message ID 232 (Sub ID 255). . . . . . 2-32
3. Output Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
Reference Navigation Data - Message ID 1 . . . . . . . . . . . . . . . . . . . 3-3
Measure Navigation Data Out - Message ID 2. . . . . . . . . . . . . . . . . 3-3
True Tracker Data - Message ID 3 . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Measured Tracker Data Out - Message ID 4 . . . . . . . . . . . . . . . . . . 3-6
Contents v
Raw Tracker Data Out - Message ID 5. . . . . . . . . . . . . . . . . . . . . . . 3-7
Software Version String (Response to Poll) - Message ID 6 . . . . . . 3-7
Response: Clock Status Data - Message ID 7. . . . . . . . . . . . . . . . . . 3-8
50 BPS Data - Message ID 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
CPU Throughput - Message ID 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Error ID Data - Message ID 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
Command Acknowledgment - Message ID 11 . . . . . . . . . . . . . . . . . 3-20
Command NAcknowledgment - Message ID 12 . . . . . . . . . . . . . . . 3-20
Visible List – Message ID 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
Almanac Data - Message ID 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Ephemeris Data (Response to Poll) – Message ID 15 . . . . . . . . . . . 3-23
Test Mode 1 - Message ID 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
Differential Corrections - Message ID 17. . . . . . . . . . . . . . . . . . . . . 3-25
OkToSend - Message ID 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
Navigation Parameters (Response to Poll) - Message ID 19 . . . . . . 3-26
Test Mode 2/3/4 - Message ID 20, 46, 48 (SiRFLoc v2.x), 49, and 553-28
Test Mode 2/3/4 - Message ID 20. . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Test Mode 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
Test Mode 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30
Test Mode 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
DGPS Status - Format - Message ID 27 . . . . . . . . . . . . . . . . . . . . . . 3-32
Navigation Library Measurement Data - Message ID 28 . . . . . . . . . 3-34
Navigation Library DGPS Data - Message ID 29. . . . . . . . . . . . . . . 3-37
Navigation Library SV State Data - Message ID 30. . . . . . . . . . . . . 3-38
Navigation Library Initialization Data - Message ID 31 . . . . . . . . . 3-39
Geodetic Navigation Data - Message ID 41 . . . . . . . . . . . . . . . . . . . 3-41
Queue Command Parameters - Message ID 43 . . . . . . . . . . . . . . . . 3-44
DR Raw Data - Message ID 45 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44
Test Mode 3/4 - Message ID 46 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45
Test Mode 4 - Message ID 48 (SiRFLoc v2.x only). . . . . . . . . . . . . 3-47
DR Navigation Status - Message ID 48 (Sub ID 1) . . . . . . . . . . . . . 3-48