diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-12-15 06:53:43 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-12-15 06:53:43 +0000 |
commit | ccc954b862eb21fae5df8f08f6a06fd4cc5e06c9 (patch) | |
tree | e14e36501d98be17c5f478720f10532786df7f4e /packet_states.h | |
parent | 75060d26715ecb280deeb730e8d952b9398f5183 (diff) | |
download | gpsd-ccc954b862eb21fae5df8f08f6a06fd4cc5e06c9.tar.gz |
The start of a UBX driver, from Andreas Stricker. Not yet
functional but committed to allow for in-tree development.
Diffstat (limited to 'packet_states.h')
-rw-r--r-- | packet_states.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packet_states.h b/packet_states.h index 66d88a52..fb2ea8ef 100644 --- a/packet_states.h +++ b/packet_states.h @@ -95,6 +95,18 @@ NAVCOM_RECOGNIZED, /* found end of the Navcom packet */ #endif /* NAVCOM_ENABLE */ +#ifdef UBX_ENABLE + UBX_LEADER_1, /* first constant leader byte found */ + UBX_LEADER_2, /* second constant leader byte found */ + UBX_CLASS_ID, /* classid read */ + UBX_MESSAGE_ID, /* message id read */ + UBX_LENGTH_1, /* first length byte read (le) */ + UBX_LENGTH_2, /* second length byte read (le) */ + UBX_PAYLOAD, /* payload eating */ + UBX_CHECKSUM_A, /* checksum A byte (tcp checksum) */ + UBX_RECOGNIZED, /* this is also UBX_CHECKSUM_B */ +#endif + /* * Packet formats without checksums start here. We list them last so * that if a format with a conflicting structure *and* a checksum can |