summaryrefslogtreecommitdiff
path: root/driver_oncore.c
Commit message (Collapse)AuthorAgeFilesLines
* More consistent ise of LOG_PROG.Eric S. Raymond2013-11-121-1/+1
| | | | This logging level is intended to directly explain accompanying I/O messages.
* Reduce gpsd log verbosity a lot.Eric S. Raymond2013-11-121-16/+26
| | | | | | | | | | Way too much logging was happening at LOG_IO level, which is intended for watching data traffic in and out of the daemon rather than all the minutiae of data analysis - that's LOG_DATA. Also, LOG_DATA gets pushed down two levels. The effect is that -D 5 means exactly what it did, but for purposes other than driver debugging -D 4 now suffices.
* Rename and rationalize driver table instances. No logic changes.Eric S. Raymond2013-11-121-2/+2
|
* More cppcheck cleanup. All regression tests pass. PPS is live.Eric S. Raymond2013-11-061-6/+4
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-2/+3
|
* Contain the assumption that time hinting is done to NTPD.Eric S. Raymond2013-10-311-6/+6
| | | | | | | Because it might be going to chrony. Or something else. No logic changes, just name changes and one new derived #define, TIMEHINT_ENABLE.
* Revert "Separate ntpd support from chrony support, step 1."Eric S. Raymond2013-10-301-6/+6
| | | | We'll have to sneak up on this change more slowly.
* Separate ntpd support from chrony support, step 1.Eric S. Raymond2013-10-301-6/+6
| | | | | | | | | | | | | ntp_offset becomes time_offset. There is a new config symbol CHRONY_ENABLE; most time service code is npw controlled by TIMESERVICE_ENABLE. The file ntpshm.c becomes timeexport.c This change is not complete. More disentanglement has to be done inside timeexport.c itself; at the moment enabling one but not both of ntpshm or chrony will probably break its compile. The point of getting this commit out is so Gary will see the new baseline code ASAP. All regression tests pass.
* More efficiebt sticky-flagging.Eric S. Raymond2013-10-151-1/+1
|
* The OnCore driver had nonfunctional stub control methods. Remove them.Eric S. Raymond2013-10-151-39/+2
|
* OK, visualize as a method was a bad idea. All regression tests pass.Eric S. Raymond2013-10-141-3/+0
|
* Create driver slot and scons option for a visualizer driver method.Eric S. Raymond2013-10-131-0/+3
|
* Regularize driver names.Eric S. Raymond2013-10-111-1/+1
|
* splint cleanup. All regression tests pass.Eric S. Raymond2013-10-051-2/+0
|
* Change the logic for managing the drive mode bit to report reality...Eric S. Raymond2013-10-041-8/+2
| | | | ...rather than setting it ad-hoc on a per-driver basis.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-16/+17
| | | | | | | | 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.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-7/+7
|
* Coverity complains because the isdst field isn't initialized.Eric S. Raymond2012-05-101-0/+1
| | | | | Probably not an actual defect given the semantics of timegm(3), but let's be safe.
* Fix problems with reconfigure=no and netfeed=no builds.Eric S. Raymond2011-08-241-0/+2
|
* Remove gpsd_hexdump_wrapper() from everything outside the packet sniffer.Eric S. Raymond2011-06-171-2/+1
|
* Cut down on gpsd_hexdump_wrapper() calls.Eric S. Raymond2011-06-171-8/+3
| | | | | | | | | | | | | | | This awkward construct seems to have triggered some sort of toolchain bug. The symptom is that gpsd_hexdump_level has different values depending on whether we test it inside or outside of hex.c. As a first step towards eliminating this global, we throw out a bunch of hex logging that is duplicative or not really needed for production drivers. Experimental drivers can call the hex dumper unconditionally. The goal is to reduce the number of uses of this variable to eliminate it withoud doing violence to the internal APIs. This is a first step. All regression tests pass.
* Regularize some names.Eric S. Raymond2011-04-011-6/+6
|
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-2/+2
| | | | | ...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-8/+8
| | | | | | | | | | | 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.
* Make all drivers set the PPSTIME_IS mask where appropriate. It's not yet used.Eric S. Raymond2011-03-231-3/+7
| | | | All regression tests pass.
* Explain the OnCore status bits drom the binary-protocol manual.Eric S. Raymond2011-03-221-0/+2
|
* Yet more double->timestamp_t moves.Eric S. Raymond2011-03-101-1/+1
| | | | | | All tests pass. These are didfficult to spot because the compiler actually doesn't care about the distinction btween the source and result type of a typedef.
* Verbosity suppression. All regression tests pass.Eric S. Raymond2011-02-281-0/+3
|
* Remove pass_rtcm(),Eric S. Raymond2011-02-271-1/+1
| | | | | Replace it wuth what it calls, gpsd_write(). Requiresd only a prototype tweak and some casts, no logic changes. All regression tests pass.
* Match debug levels passed into gpsd_hexdump_wrapper with gpsd_report() calls.Jon Schlueter2011-02-261-1/+1
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* splint simplification and cleanup.Eric S. Raymond2011-02-041-1/+1
|
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-29/+17
| | | | All regression tests pass.
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Correct a comment.Eric S. Raymond2011-01-101-3/+2
|
* Oncore VP needs a wakeup. Fortunately it's not USB.Eric S. Raymond2011-01-101-1/+7
|
* Oncore doesn't need to be woken up. Move that send to the identify event.Eric S. Raymond2011-01-091-1/+1
|
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-10/+10
| | | | | | With most machines being 64-bit now, the assumption that "word" = 16 bits and "long" = 32 bits is increasingly archaic. This commit removes it from our naming conventions.
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-5/+2
|
* More partial splint cleanup.Eric S. Raymond2010-12-081-1/+1
|
* Do not modify TRAIM on startup, instead poll it.Haakan Johansson2010-12-031-6/+21
| | | | | | Sawtooth-correction from TRAIM message is parsed, but not used. Signed-off-by: Jon Schlueter <jon.schlueter@gmail.com>
* Take programmed oncore PPS offset into account. Name correction delay -> offset.Haakan Johansson2010-12-031-10/+10
| | | | Signed-off-by: Jon Schlueter <jon.schlueter@gmail.com>
* Allow oncore devices in postion hold mode to deliver PPS data to ntpshm.Haakan Johansson2010-12-031-0/+4
| | | | Signed-off-by: Jon Schlueter <jon.schlueter@gmail.com>
* More deheaderizing. All regression tests pass.Eric S. Raymond2010-12-011-8/+0
|
* Enable much stricter compilation warningsEric S. Raymond2010-09-161-1/+1
| | | | | | | | We now compile with -Wextra on and only the warning on missing fields in initializers turned off (because of the way some of thee JSON code is generated). Cleanups necessary to eliminate all warnings have been done. All regression tests pass.
* XXX -> FIX-ME: Avoids false matches with autoconf cruft.Eric S. Raymond2010-05-121-1/+1
| | | | | | | So we can grep for things that need to be cleaned up without a lot of noise. All regression tests pass.
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-1/+1
|
* Reindented more driver code. All regression tests pass.Eric S. Raymond2010-04-141-1/+2
|
* Reindent a couple more drivers. All regression tests pass.Eric S. Raymond2010-04-141-139/+158
|
* Move some indent pragmas.Eric S. Raymond2010-04-131-1/+1
|
* Protect more displayed structures from indent.Eric S. Raymond2010-04-131-0/+2
|