diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-29 18:23:31 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-29 18:23:31 -0700 |
commit | 128e92dff6893061fcc9566255ba339f42323283 (patch) | |
tree | fac66676a2d935a8b9990c58ed2d804a6e16dab4 /gps_json.h | |
parent | beda62396c60839a3b48da6f4972fe92ff123302 (diff) | |
download | gpsd-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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" { |