diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-12 03:14:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-12 03:14:29 +0000 |
commit | 239a95f2e2e95ee5c2c054ae82b3a7cb052bed35 (patch) | |
tree | 2e2f40d7c78084b3abcfe4eb203b19a79244c307 /gps_json.h | |
parent | 1621fcfa04ac6de6f34d139111f7075a171c7829 (diff) | |
download | gpsd-239a95f2e2e95ee5c2c054ae82b3a7cb052bed35.tar.gz |
Improved handling of defaults in DEVICE command.
Diffstat (limited to 'gps_json.h')
-rw-r--r-- | gps_json.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |