From 239a95f2e2e95ee5c2c054ae82b3a7cb052bed35 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 12 Sep 2009 03:14:29 +0000 Subject: Improved handling of defaults in DEVICE command. --- gps_json.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gps_json.h') diff --git a/gps_json.h b/gps_json.h index bc65f500..1b78a0ff 100644 --- a/gps_json.h +++ b/gps_json.h @@ -22,4 +22,10 @@ int json_ais_read(const char *, char *, size_t, struct ais_t *, /*@null@*/const char **); int libgps_json_unpack(const char *, struct gps_data_t *); +/* these values don't matter in themselves, they just have to be out-of-band */ +#define DEVDEFAULT_BPS 0 +#define DEVDEFAULT_PARITY 'X' +#define DEVDEFAULT_STOPBITS 3 +#define DEVDEFAULT_NATIVE -1 + /* gps_json.h ends here */ -- cgit v1.2.1