summaryrefslogtreecommitdiff
path: root/gps_json.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-29 18:23:31 -0700
committerGary E. Miller <gem@rellim.com>2019-04-29 18:23:31 -0700
commit128e92dff6893061fcc9566255ba339f42323283 (patch)
treefac66676a2d935a8b9990c58ed2d804a6e16dab4 /gps_json.h
parentbeda62396c60839a3b48da6f4972fe92ff123302 (diff)
downloadgpsd-128e92dff6893061fcc9566255ba339f42323283.tar.gz
gps_json: increase GPS_JSON_RESPONSE_MAX to 10240
u-blox 9 RAW messages can be really big.
Diffstat (limited to 'gps_json.h')
-rw-r--r--gps_json.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gps_json.h b/gps_json.h
index 6bb61600..bb1047e1 100644
--- a/gps_json.h
+++ b/gps_json.h
@@ -1,14 +1,15 @@
/* gps_json.h - JSON handling for libgps and gpsd
*
* By Eric S. Raymond, 2009
- * This file is Copyright (c) 2010 by the GPSD project
+ * This file is Copyright (c) 2010-2019 by the GPSD project
* SPDX-License-Identifier: BSD-2-clause
*/
#include "json.h"
#define GPS_JSON_COMMAND_MAX 80
-#define GPS_JSON_RESPONSE_MAX 4096
+/* u-blox 9 can make really long JSON in "RAW" messages */
+#define GPS_JSON_RESPONSE_MAX 10240
#ifdef __cplusplus
extern "C" {