summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-04-06 13:59:17 -0700
committerGary E. Miller <gem@rellim.com>2016-04-06 13:59:17 -0700
commitdfebe3fac76ebb27c39d6cb0a623b3b24ed95572 (patch)
tree74bc3f460f2fd0307f39d5092ec46d8a1e3c3d0f /gpsd.h-tail
parentc2cdd535f7c6791c378b9c889842a0b38bacb133 (diff)
downloadgpsd-dfebe3fac76ebb27c39d6cb0a623b3b24ed95572.tar.gz
RTCM3 packets can be bigger than RTCM2 ones.
I have seen up to about 490 in RTCM3.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index b79575af..7e0a2e5a 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -89,6 +89,8 @@ enum isgpsstat_t {
};
#define RTCM_MAX (RTCM2_WORDS_MAX * sizeof(isgps30bits_t))
+/* RTCM is more variable length than RTCM 2 */
+#define RTCM3_MAX 512
/*
* The packet buffers need to be as long than the longest packet we