From ccc954b862eb21fae5df8f08f6a06fd4cc5e06c9 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Fri, 15 Dec 2006 06:53:43 +0000 Subject: The start of a UBX driver, from Andreas Stricker. Not yet functional but committed to allow for in-tree development. --- packet_states.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'packet_states.h') 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 -- cgit v1.2.1