summaryrefslogtreecommitdiff
path: root/cgps.c
Commit message (Collapse)AuthorAgeFilesLines
* Reindent some things again, needed due to new controls. Eric S. Raymond2010-04-141-36/+35
| | | | All regression tests pass.
* cgps.c reindented. Live and gpsfake tests both pass.Eric S. Raymond2010-04-141-144/+192
|
* Typo fix.Eric S. Raymond2010-04-131-1/+1
|
* Using WATCH_NEWSTYLE makes a poor example now that NEWSTYLE is the default.Eric S. Raymond2010-03-301-1/+1
|
* Fix building with --disable-clientdebugPaulius Zaleckas2010-03-281-2/+4
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Give case a break. All regression tests pass; code solints and cppchecks clean.Eric S. Raymond2010-03-271-0/+1
|
* gps_poll() now indicates when the daemon socket closes from the other side.Eric S. Raymond2010-03-271-4/+21
| | | | | You get back -1 with errno not set; cgps.c now illustrates how to use this in a polling loop. Documentation has been updated.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-1/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-12/+1
|
* splint cleanup. It caught a bug this time.Eric S. Raymond2009-12-181-0/+4
|
* Uniform handling of unit-system defaults and -u in xgps, cgps, and lcdgps.Eric S. Raymond2009-12-151-28/+51
|
* Fix erroneous handling of satellite-used flags in test clients.Eric S. Raymond2009-12-151-2/+11
|
* Make use of -D uniform for enabling debug/progress messages, and document it.Eric S. Raymond2009-12-061-2/+2
|
* More tweaks to make -V do the right thing.Eric S. Raymond2009-12-011-1/+3
|
* Add and document some client-side instrumentation.Eric S. Raymond2009-11-241-1/+12
|
* splint cleanup.Eric S. Raymond2009-11-191-1/+0
|
* More efficient use if vertical screenspace.Eric S. Raymond2009-11-181-3/+3
|
* Change 2-space indents to 4.Eric S. Raymond2009-11-181-559/+558
|
* cgps now gets GPS type.Eric S. Raymond2009-11-181-6/+10
|
* cgps must collect device information from DEVICE notifications.Eric S. Raymond2009-11-181-13/+8
|
* Fix some overealousnes code removal last night.Eric S. Raymond2009-11-171-0/+2
| | | | status_timer has to be initialized.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-1/+1
| | | | All regression tests pass.
* cgps is converted to use new protocol.Eric S. Raymond2009-11-171-14/+6
|
* Condition out the compass-mode code in cgps.Eric S. Raymond2009-11-171-93/+25
| | | | | | | | Also remove the part of cgps initialization that probed for device type. The True North didn't work, anyway, and this simplification both eliminates the annoying 10-second startup lag and should make it easy to convert to new protocol. This change has been tested and works.
* Fixed broken select() at startup.Gary E. Miller2009-11-101-10/+34
| | | | | | Not sure why the old one did not work, but this one works. Added some more error reporting.
* Output gps_send() failure messages.Gary E. Miller2009-11-101-5/+21
| | | | Important things should not fail silently.
* whitespaceChris Kuethe2009-11-071-20/+20
|
* Use booleans in cgps.c where appropriate. Move code so theEric S. Raymond2009-11-061-65/+66
| | | | dependencies on old protocol are confined as tightly as possible.
* In the gpsdata structure, satellites -> satellites_visibleEric S. Raymond2009-10-011-3/+3
| | | | All regression tests pass, code splints clean.
* Introduce gps_send() to the C API.Eric S. Raymond2009-09-231-4/+4
|
* Remove a todo that makes no sense since J is gone.Eric S. Raymond2009-09-191-5/+1
|
* Disentangle the packet raw hook used on the client side...Eric S. Raymond2009-09-171-6/+3
| | | | | | ...from the internals of gpsd. Besides being better factoring, this will give us better control of the daemon's report-generation policy in the future. All regression tests pass. Codebase splints clean.
* J command and switch are gone.Eric S. Raymond2009-09-111-23/+1
| | | | | | | | | Now that we have reliable end-of-cycle detection in NMEA, we can always clear the fixbuffer at start of cycle and accumulate data until we transmit at end of cycle. Accordingly, there is no longer any bneed for users to choose between jittery-but-correct and buffered-but-laggy reports. Accordingly, the daemon 'J' command is no longer necessary. All the client side options and commands connected with it can go away too.
* Split eph into epx and epy internally... Eric S. Raymond2009-09-031-2/+9
| | | | | | ...but still report eph by re-mixing them in the JSON dumper. This was worth doing because all regression tests still pass, showing that visible behavior for old-protocol users gas not changed.
* Banish some compiler warnings.Eric S. Raymond2009-08-271-1/+0
|
* Fix an implicit-declaration glitch.Eric S. Raymond2009-08-271-1/+1
|
* Add gps_errstr() to the client API so client code doesn't have toEric S. Raymond2009-08-261-10/+1
| | | | reinvent it all the time. Use it in gpsmon.
* fix displayChris Kuethe2009-06-231-4/+4
|
* change the signal strength member to float.Chris Kuethe2009-06-221-4/+4
| | | | | | it can store all integer values we're likely to see, plus the floating point values that some protocols use in their raw measurement messages. regression tests still pass.
* Don't allow negative values when calculating magnetic headings.Jeff Francis2009-05-291-17/+26
|
* Added man page for lcdgps.Jeff Francis2009-03-181-0/+1
| | | | Documented pre-existing '-j' flags for cgps and lcdgps.
* Introduce gpsdclient.h header, not shipped. Eric S. Raymond2009-03-021-0/+1
| | | | So we can move stuff used internally by GPSD clients out of gps.h.
* Standardized parsing of server:port:device client arguments.Eric S. Raymond2009-02-251-26/+7
|
* Splint cleanup. All regression tests pass.Eric S. Raymond2009-01-211-1/+1
|
* Splint cleanup and removal of some unneeded headers.Eric S. Raymond2009-01-211-0/+2
|
* This diff goes most of the way to getting us splint-clean again.Eric S. Raymond2009-01-051-1/+4
|
* cast this float to int since we're printing it as intChris Kuethe2008-09-101-1/+1
|
* This value is out of the realm of believability... Jeff Francis2008-08-291-1/+1
| | | | | ...by an order of magnitude already, no point in pretending it's accurate to sub-degree levels.
* Add the option of displaying calculated magnetic heading rather thanJeff Francis2008-08-151-3/+59
| | | | true heading. Calculations taken from the Aviation Formulary v1.43.
* splint cleanup.Eric S. Raymond2007-12-131-40/+42
|