summaryrefslogtreecommitdiff
path: root/cgps.c
Commit message (Collapse)AuthorAgeFilesLines
* cgps: Display sigid in skyview, if not L1.Gary E. Miller2019-05-021-5/+16
|
* cgps: Use eph and sep from TPV instead of calculating.Gary E. Miller2019-03-251-21/+2
|
* cgps: Fix typo track->speed. remove redundant mode tests.Gary E. Miller2019-03-191-2/+2
|
* cgps: Small display tweak.Gary E. Miller2019-02-221-2/+1
|
* cgps: Minor cleanup, no funcional change.Gary E. Miller2019-02-221-15/+15
| | | | When you can use it, strncpy() is way faster then snprintf().
* cgps: Convert to deg_to_str2().Gary E. Miller2019-02-221-13/+11
|
* deg_to_s() and calls to it: Allow negative degrees, use fabs().Gary E. Miller2019-02-221-2/+2
| | | | | Every call to deg_to_s() was preceded by a fabs(deg). So move the fabs() into deg_to_s().
* cgps: Refactor how fix mode is displayed.Gary E. Miller2019-02-061-12/+30
|
* cgps: Show SURVEYED for base station mode.Gary E. Miller2019-02-061-1/+6
|
* cgps: Clear skyview window when SKY has no sats.Gary E. Miller2018-11-291-2/+11
|
* LICENSE: Update licenses for consistency. No functional changes.Gary E. Miller2018-11-191-1/+3
|
* cgps: Add JSON version check.Gary E. Miller2018-10-011-0/+14
|
* cgps: try to prevent overflow on large error estimates.Gary E. Miller2018-09-271-2/+8
|
* cgps: small tweaks to make cppcheck happy.Gary E. Miller2018-09-251-7/+8
|
* cgps.c: Adjust Speed Err data. It was overrunning the field.Gary E. Miller2018-09-251-3/+3
|
* cgps: tweak usage() output.Gary E. Miller2018-09-251-537/+535
|
* cgps: minor fix for satellite window formatting.Gary E. Miller2018-09-241-1/+1
|
* cgps: fix the bottom line, again.Gary E. Miller2018-09-221-1/+1
|
* cgps: another attempt to reclaim the lost line.Gary E. Miller2018-09-221-2/+2
|
* cgps: another adjustment on satellite window.Gary E. Miller2018-09-221-1/+1
|
* cgps: look nicer when More... removed.Gary E. Miller2018-09-221-1/+1
|
* cgps: fix sta view for small number of sats.Gary E. Miller2018-09-221-1/+3
|
* cgps: squeeze in one more satellite. Turn off cursor.Gary E. Miller2018-09-221-6/+9
|
* cgps: Move used up to top line.Gary E. Miller2018-09-221-2/+3
|
* cgps: Display gnssid as text if possible.Gary E. Miller2018-09-191-5/+39
|
* cgps: Big clean up of code.Gary E. Miller2018-07-261-192/+292
| | | | | | | More comments. Range checking of values. Tweaked formatting. More data in tall mode. Thanks to the support of Virgin Orbit for this patch.
* cgps: isnan() -> isfinite()Gary E. Miller2018-07-141-15/+16
| | | | Thanks to Virgin Orbit for their support on this patch.
* gps_read(): fix some nasty buffer overruns and corruptions.Gary E. Miller2018-07-141-18/+18
| | | | | | | Now pass an optional message buffer to gps_read(). Finally the JSON display in cgps works. Thanks to Virgin Orbit for their support fixing this bug.
* cgps: fixes compiler warning.Fred Wright2018-03-071-2/+3
| | | | | | | | | | | | The fix to avoid writing into a read-only buffer copies a const char pointer to a non-const char pointer, provoking a warning. For some reason, the old code failed to get a similar warning from the cast, which would have caught the original bug. This fix just adds a const char variable to accept the pointer. TESTED: Now cgps builds without warning, and still works.
* cgps: Stop writing into a const char buffer!Gary E. Miller2018-02-141-9/+16
|
* cgps: add display of ECEF position and velocity.Gary E. Miller2018-02-131-105/+185
| | | | | Also some cgps.c code cleanups. You need more lines than 80x24 to see the new data.
* Revert "Add clock_gettime in contrib."Gary E. Miller2018-01-251-210/+105
| | | | | | This reverts commit fb67eea6594bf9214e179ecc0c273e0fecb5bfda. Whoops. I accidently pushed some work in progress with clock_gettime.
* Add clock_gettime in contrib.Gary E. Miller2018-01-221-105/+210
| | | | This program measures the latency of the clock_gettime() system call.
* Explicit marking of ignoring fprintf() resultRobert Norris2017-02-201-1/+1
| | | | | | | | | Ensure consistent marking of '(void)' for most normal usage of fprintf() TESTED: 'scons build-all check' passes Signed-off-by: Fred Wright <fw@fwright.net>
* Initial creation of os_compat.h.Fred Wright2017-01-221-0/+1
| | | | | | | | | | | | | | | | | This creates a header for os_compat.c, and moves the related prototypes into it from gpsd_config.h (as created by SConstruct), after adding references to it to gpsd.h (via gpsd.h-tail) and a few other sources that need it but don't include gpsd.h. It also removes includes of <time.h> in the places where they were only needed for the code now removed from gpsd_config.h. TESTED: Ran "scons build-all check" on OSX 10.9 (with strlcat/strlcpy but no clock_gettime), OSX 10.12 (with strlcat/strlcpy and clock_gettime), and Ubuntu 14 (with clock_gettime but no strlcat/strlcpy). Also verified that fallback versions were not being included where unnecessary.
* Fix typosRobert Norris2016-12-181-1/+1
|
* Skytraq claims altitude to %.3f, adjust cgps to fit.Gary E. Miller2016-04-051-2/+2
| | | | Probably only in RTK mode.
* Skytraq give us speed and clime to .00, show in cgpsGary E. Miller2016-04-051-7/+7
| | | | I went to %.2f, but %.3f might be soon.
* Sort sats by Used, PRN.Gary E. Miller2016-03-291-0/+16
|
* use more precision when outputting lat/lon.Gary E. Miller2016-03-281-3/+3
| | | | A cm level GPS needs decimal degrees to 0.0000001
* By popular demand, restore STATUS_DGPS_FIX to public interface.Eric S. Raymond2016-01-291-5/+6
|
* A drowning deluge of whitespace hacks.Gary E. Miller2015-04-301-1/+1
|
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-27/+0
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* Whoops, infinite timeout in cgps, now really 2 mins.Gary E. Miller2015-03-121-2/+2
|
* Increase timeout for cgps from 5 Sec to 120 Sec.Gary E. Miller2015-03-121-2/+7
| | | | Allow user input every 1/2 second wwheil waiting.
* Generqte -V messages in a uniform way.Eric S. Raymond2015-03-021-2/+2
| | | | All regression tests pass.
* gps.h gets installed in /usr/include and must not use other GPSD-specific files!Eric S. Raymond2015-02-261-0/+1
| | | | | | | It's bad that this get past me. Anybody who tries writing a C client with 3.12 is going to lose. Requires a release to fix. All regression tests pass.
* cppcheck cleanup.Eric S. Raymond2015-01-221-1/+1
|
* Silence another warning about array subscripts of type 'char'.Matt2015-01-131-1/+1
|
* Clean STATUS_DGPS_FIX out of the public interface. All regression tests pass.Eric S. Raymond2015-01-131-6/+5
|