APPENDIX B: GARMIN BINARY OUTPUT FORMAT
Note: The following applies to all software versions of GPS 16xLVS and GPS 16xHVS.
Two records are transmitted once per second by the GPS 16x series products. One record contains primarily postprocess information, such as position and velocity information. The second record contains receiver measurement information. The records are sent at a default baud rate of 9600 baud, 8 data bits, and no parity.
Records begin with a delimiter byte (10 hex). The second byte identifies the record type (33 hex for a position record, 34 hex for a receiver measurement). The third byte indicates the size of the data. The fourth byte is the first byte of data. The data is then followed by a checksum byte, a delimiter byte (10 hex), and an
Note: If
Position Record
- 0x10 | (DLE is first byte) |
- 0x33 | (Position record identifier) |
- 0x40 | (Size of data) |
- cpo_pvt_data | (See description below) |
- | (The addition of bytes between the delimiters should equal 0) |
- 0x10 | (DLE) |
- 0x03 | (ETX is last byte) |
typedef struct |
|
{ | alt; |
float | |
float | epe; |
float | eph; |
float | epv; |
int | fix; |
double | gps_tow; |
double | lat; |
double | lon; |
float | lon_vel; |
float | lat_vel; |
float | alt_vel; |
float | msl_hght; |
int | leap_sec; |
long | grmn_days; |
} cpo_pvt_data;
GPS 16x Technical Specifications | Rev. A | |
| Page 22 |
|