summaryrefslogtreecommitdiff
path: root/gpsctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to recover from EBADF in the main select.Eric S. Raymond2014-08-181-0/+8
| | | | All regression tests pass.
* Use the gps_errstr() to handle gps_open() errors.Michael Tatarinov2013-11-281-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Investigating ways to get rid of CLOSE_DELAY in the test framework...Eric S. Raymond2013-11-271-0/+4
| | | | | | | | ...actually revealed a bug - device-shutdown messages getting lost on the way out to the test clients. This set of changes mostly fixes it. Some glitches remain; this state of things passes all regression tests but attempting to get rid of what now ought to be unnecessary code in fake.py does not pass. To be continued...
* Typo fix.Eric S. Raymond2013-11-131-6/+6
|
* In gpsctl, make client mode ID operation report the device subtype.Eric S. Raymond2013-11-131-5/+10
|
* Teach gpsctl to extract subtype information.Eric S. Raymond2013-11-131-13/+3
| | | | This degree of linger after packet sync is sufficient on a BU355 (SiRF-III).
* Rename and rationalize driver table instances. No logic changes.Eric S. Raymond2013-11-121-1/+1
|
* Fix more build breakage. Partial splint cleanup.Eric S. Raymond2013-11-121-2/+0
|
* I don't know how the previous commit compiled...Eric S. Raymond2013-11-121-1/+1
| | | | | | Now I do. scons check doesn't build gpsctl. All regression tests pass. PPS is live.
* Polish the modified gpsmon timeout logic.Eric S. Raymond2013-11-121-3/+4
|
* Nuke short timeout on gpsctl sync, it was producing spurious failure messages.Eric S. Raymond2013-11-111-1/+15
|
* Explain some code.Eric S. Raymond2013-11-111-1/+2
|
* Deal more gracefully with a zero timeout.Eric S. Raymond2013-11-111-3/+5
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-1/+1
|
* Fix a very minor bug reported by Trellisware.Eric S. Raymond2013-10-101-1/+1
|
* splint cleanup.Eric S. Raymond2013-10-101-4/+0
|
* Handle error returns from gpsd_await_data() a bit more gracefully.Eric S. Raymond2013-10-101-0/+11
|
* Typo fix.Eric S. Raymond2013-10-101-1/+1
|
* Make mode-switching from gpsctl work when going through the daemon.Eric S. Raymond2013-10-101-5/+20
|
* Add some new mechanism.Eric S. Raymond2013-10-091-1/+8
|
* Make a 0 rewake time meaningful.Eric S. Raymond2013-10-091-1/+1
|
* splint cleanup. All regression tests pass.Eric S. Raymond2013-10-091-4/+4
|
* Restore gpsctl's ID function and update docs.Eric S. Raymond2013-10-091-0/+4
|
* UBX mode-switching from gpsctl finally works.Eric S. Raymond2013-10-091-95/+65
|
* Introduce a mode option so gpscotl can be less intrusive than gpsd.Eric S. Raymond2013-10-091-1/+1
|
* We can now monitor low-level string sends through gpsmon.Eric S. Raymond2013-10-041-0/+8
| | | | Now we'll know exactly what's being sent on a UBX mode change.
* splint and cppcheck cleanup. All regression tests pass.Eric S. Raymond2013-09-291-1/+0
|
* Properly label debug reports from different programs.Eric S. Raymond2013-09-291-0/+11
| | | | All regression tests pass.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-70/+109
| | | | | | | | This is a large, ugly change. But without it we can't troubleshoot the ICP/IP-source initialization bug properly - colliding definitions of gpsd_report() were interfering with error reporting early in gpsd runs. More cleanup work remains to be done, but at least this is working.
* Move gpsd_report from gpsctl.c into libgpsd_core.c.Bernd Zeimetz2013-08-311-46/+0
| | | | | Making ldd happy by fixing undefined symbol: gpsd_report (./libgpsd.so.21.0.0)
* Fix static-checker warnings. All regression tests pass.Eric S. Raymond2013-04-301-1/+1
| | | | | cppchecker now finds variables that could have reduced scope; that's most of these.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-30/+30
|
* Remove unnecessary includes of termios.h .ukyg9e5r6k7gubiekd62012-09-071-1/+0
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Replace exit(2) with exit(EXIT_FAILURE). None of these were documented.Eric S. Raymond2012-09-071-4/+4
| | | | | | | | This is a separate commit so we can revert it someday if making the distinction again comes to seem more important than struct mingw portability. All regression tests pass.
* Replace exit({0,1}) with exit(EXIT_{SUCCESS,FAILURE})Eric S. Raymond2012-09-071-18/+18
| | | | Note there are some exit(2) instances we bneed to decide what to do with.
* More cppcheck warning fixups. All regression tests pass.Eric S. Raymond2012-05-181-1/+0
|
* Clean up from cppcheck warnings. All regression tests pass.Eric S. Raymond2012-05-171-3/+4
|
* Address Savannah bug bug #35765: gpsctl should use pselect() where available.Eric S. Raymond2012-04-051-7/+40
|
* Slim down gpsd a bit by moving a function only gpsctl.c now uses.Eric S. Raymond2011-06-271-0/+15
|
* Elimination of gpsd_hexdump_level.Eric S. Raymond2011-06-171-1/+0
| | | | The few gpsd_hexdump() calls left have explicit guards.
* Move debuglevel into the context in gpsctl and gpsmon, too.Eric S. Raymond2011-06-171-0/+4
|
* Regularize some names.Eric S. Raymond2011-04-011-24/+24
|
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-0/+7
| | | | | ...and guard them with debug level so they won't be done when the output would never be shipped anywhere.
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-2/+2
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Binary and NMEA-mode switching work again.Eric S. Raymond2011-02-221-48/+19
|
* Fix some timeout, and explain why they're needed.Eric S. Raymond2011-02-221-2/+7
|
* Make gpsmon aware of the SHOUT log level.Eric S. Raymond2011-02-221-0/+3
|
* More deheader testing. All regressions pass, codebase splints clean.Eric S. Raymond2011-01-131-0/+2
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2011-01-061-2/+4
|
* Merge branch 'master' of ssh://git.berlios.de/gitroot/gpsdChris Kuethe2011-01-041-38/+102
|\