summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-07-02 02:05:42 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-07-02 02:05:42 +0000
commitfb3e3ffb393fe44fd4e36382a0ac2c7ae73e8d4f (patch)
treed24f56926e7441e77c86adf387f7b09808330a43 /packet.c
parent973f010be543958296d2a1591840aad2f07ac9fc (diff)
downloadgpsd-fb3e3ffb393fe44fd4e36382a0ac2c7ae73e8d4f.tar.gz
more TSIP fixes
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 27e1c811..85a92c94 100644
--- a/packet.c
+++ b/packet.c
@@ -1156,10 +1156,12 @@ void packet_parse(struct gps_packet_t *lexer)
/* pass */;
else if ((0x56 == pkt_id) && (0x18 == packetlen))
/* pass */;
- else if ((0x5a == pkt_id) && ((0x1d <= packetlen) && (0x1e >= packetlen)))
+ else if ((0x5a == pkt_id) && ((0x1d <= packetlen) && (0x1f >= packetlen)))
/* pass */;
else if ((0x5c == pkt_id) && ((0x1c <= packetlen) && (0x1e >= packetlen)))
/* pass */;
+ else if ((0x5f == pkt_id) && (70 == packetlen))
+ /* pass */;
else if ((0x6d == pkt_id) && ((0x14 <= packetlen) && (0x20 >= packetlen)))
/* pass */;
else if ((0x82 == pkt_id) && (0x05 == packetlen))