diff options
author | Michael Brown <mbrown@fensystems.co.uk> | 2016-02-09 16:15:51 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-02-09 16:15:51 -0500 |
commit | 58a352431b563ca46e071eced3e8445133cd0b80 (patch) | |
tree | e6a09ec2dfd75825fc306307d71516412cf3405c /packet_states.h | |
parent | dfedfaa584a5d3d6dde66785c1f677298a585d79 (diff) | |
download | gpsd-58a352431b563ca46e071eced3e8445133cd0b80.tar.gz |
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.
Diffstat (limited to 'packet_states.h')
-rw-r--r-- | packet_states.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |