From 58a352431b563ca46e071eced3e8445133cd0b80 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Feb 2016 16:15:51 -0500 Subject: Add support for stashed partial messages The Spectratime iSync GRClok and LNRClok devices generate NMEA-format status packets, which report the status of the GPS-disciplined rubidium oscillator. These packets are inserted randomly into the middle of packets from the embedded u-Blox GPS. Add support for a stash buffer, used to hold the initial portion of interrupted NMEA packets. --- packet_states.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packet_states.h') diff --git a/packet_states.h b/packet_states.h index 8839b98e..d08b464d 100644 --- a/packet_states.h +++ b/packet_states.h @@ -206,4 +206,8 @@ JSON_RECOGNIZED, /* JSON packet recognized */ #endif +#ifdef STASH_ENABLE + STASH_RECOGNIZED, /* stashable prefix recognized */ +#endif + /* end of packet_states.h */ -- cgit v1.2.1