summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2006-12-27 06:27:30 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2006-12-27 06:27:30 +0000
commitb60199e824dee93e0242827ce898d4fc41143a4f (patch)
treedacc4a1bce70b7c697a9d2a216866bb66132ce11 /gpsd.h
parent7734ad3450038a5b5b7070af015c5316368c2f2f (diff)
downloadgpsd-b60199e824dee93e0242827ce898d4fc41143a4f.tar.gz
magic to make the UBX SVINFO message parse
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpsd.h b/gpsd.h
index 809f4be9..78afeff5 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -42,10 +42,10 @@ enum isgpsstat_t {
* The packet buffers need to be as long than the longest packet we
* expect to see in any protocol, because we have to be able to hold
* an entire packet for checksumming. Thus, in particular, they need
- * to be as long as a SiRF MID 4 packet, 188 bytes payload plus eight bytes
- * of header/length/checksum/trailer.
+ * to be as long as a UBX SVINFO packet, up to 200 bytes payload and 6
+ * bytes of header/length/checksum/trailer.
*/
-#define MAX_PACKET_LENGTH 196 /* 188 + 8 */
+#define MAX_PACKET_LENGTH 206 /* 6 + 8 + 192 */
/*
* We used to define the input buffer length as MAX_PACKET_LENGTH*2+1.