diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-12-27 06:27:30 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-12-27 06:27:30 +0000 |
commit | b60199e824dee93e0242827ce898d4fc41143a4f (patch) | |
tree | dacc4a1bce70b7c697a9d2a216866bb66132ce11 /gpsd.h | |
parent | 7734ad3450038a5b5b7070af015c5316368c2f2f (diff) | |
download | gpsd-b60199e824dee93e0242827ce898d4fc41143a4f.tar.gz |
magic to make the UBX SVINFO message parse
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |