diff options
author | Gary E. Miller <gem@rellim.com> | 2018-07-24 15:54:42 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-07-24 15:54:42 -0700 |
commit | bdb327c9e3d6ff90a73058ff0579491e6beedcff (patch) | |
tree | 6b8198549f4a43f7ce642385a1f3896afbca954f /driver_ubx.c | |
parent | 03c1110012730a2a72e43756580f03709684a04a (diff) | |
download | gpsd-bdb327c9e3d6ff90a73058ff0579491e6beedcff.tar.gz |
gpsd.c: fix gpsd master/slave mode
The gpsd command parser was splitting the ? from commands (WATCH, POLL,
etc.), and then sending the ? to the gpsd master in a separate packet.
But the gpsd is not buffering network data, so failing to recognize
The two packets of ? and WATCH as one complete command. Adding full
buffering to the gpsd master looks a lot harder than just sending
the ?WATCH in one packet. Also leading to some code simplification
in the gpsd slave. Been broken since 2013 at least.
Many thanks to Virgin Orbit for the support finding and fixing this.
Diffstat (limited to 'driver_ubx.c')
0 files changed, 0 insertions, 0 deletions