summaryrefslogtreecommitdiff
path: root/packet_states.h
diff options
context:
space:
mode:
Diffstat (limited to 'packet_states.h')
-rw-r--r--packet_states.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/packet_states.h b/packet_states.h
index 0070b42b..8d86ccc9 100644
--- a/packet_states.h
+++ b/packet_states.h
@@ -126,10 +126,17 @@
GARMIN_RECOGNIZED, /* found end of Garmin packet */
#endif /* TSIP_ENABLE GARMIN_ENABLE */
-#ifdef RTCM104_ENABLE
+#ifdef RTCM104V2_ENABLE
RTCM2_SYNC_STATE, /* we have sync lock */
RTCM2_SKIP_STATE, /* we have sync lock, but this character is bad */
RTCM2_RECOGNIZED, /* we have an RTCM packet */
-#endif /* RTCM104_ENABLE */
+#endif /* RTCM104V2_ENABLE */
+
+#ifdef RTCM104V3_ENABLE
+ RTCM3_LEADER_1, /* constant leader byte found */
+ RTCM3_LEADER_2, /* second leader byte found (high 6 bits zero) */
+ RTCM3_PAYLOAD, /* gathering payload */
+ RTCM3_RECOGNIZED, /* RTCM3 packet recognized */
+#endif
/* end of packet_states.h */