summaryrefslogtreecommitdiff
path: root/driver_italk.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Don't pretent to have methods we have not implemented.Eric S. Raymond2011-02-271-75/+4
|
* Refactor time handling yet again. All regression tests pass.Eric S. Raymond2011-01-211-4/+4
|
* Add some suitable warning comments.Eric S. Raymond2011-01-211-0/+5
|
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-0/+1
| | | | All regression tests pass.
* splint cleanup. All regression tests pass.Eric S. Raymond2011-01-181-3/+2
|
* Cope with week counter rollovers while gpsd is running.Eric S. Raymond2011-01-171-3/+0
|
* Refactor time resolution. All regression tests pass.Eric S. Raymond2011-01-171-46/+16
|
* Introduce GPS_TIME_VALID flag for GPS time validation.Eric S. Raymond2011-01-171-0/+4
|
* More deheader testing. All regressions pass, codebase splints clean.Eric S. Raymond2011-01-131-0/+1
|
* A lot of subframes are invalid, only SUBFRAME_IS on good ones.Gary E. Miller2011-01-031-2/+1
|
* Reporting framework for subframes. All regression tests pass.Eric S. Raymond2011-01-031-1/+1
|
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-43/+43
| | | | | | 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.
* Be explicit about the type and signedness of subframe data.Eric S. Raymond2010-12-241-3/+3
|
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-0/+2
|
* Insert GPS week rollover checks everywhere we rely on GPS time.Eric S. Raymond2010-12-201-0/+5
| | | | All regression tests pass.
* Subframe decoder will need PRNChris Kuethe2010-12-111-1/+1
|
* More deheaderizing. All regression tests pass.Eric S. Raymond2010-12-011-6/+0
|
* Splint and compiler-message cleanup. All regression tests pass.Eric S. Raymond2010-05-141-1/+3
|
* Start of an italk raw data extractorChris Kuethe2010-05-131-0/+47
|
* Eliminate some uses or ERROR_IS.Eric S. Raymond2010-05-071-8/+5
| | | | | | | | | Drivers shouldn't really set this any more, as it's used to signal that the attempt to get sync on a data stream has failed. Also, make some UDP cases wirk bewtter by arranging not to throw ERROR_IS on leading comments. No, I don't know why this didn't fail sooner. It must have sommetthing to do with the granularity of the writes from ptys
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-1/+1
|
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-7/+8
| | | | | Most of the bulk of this one is the xgpsspeed code, which was not formerly incldecd in reindenting.
* Clear DOPs only when we get a skyview report.Eric S. Raymond2010-04-201-1/+0
| | | | | | | | | | | | | | | This solves the disappearing epx/epy bug on SiRFs, but it was actually a systemic problem that affected several drivers. Navigation solution messages were clearing DOPs, making it impossible for the error modeller to compute estimates. New logic: Clear DOPs only when we get a skyview report. They'll be regenerated by our visibility-matrix calculation when the skyview sentence is analyzed. If a sentence from the device supplies a DOP between the time the visibility calculation is done and when the next fix is reported, it will override our computed value. This might change later! This change required a regression-test rebuild.
* Eliminate a lot of private copies of gps_tow for one global copy inGary E. Miller2010-04-181-6/+9
| | | | sesion->context.
* use a more descriptive compilation conditionalChris Kuethe2010-04-181-1/+1
|
* get rid the ancient itrax02 protocol "support"Chris Kuethe2010-04-181-133/+0
| | | | | i seem to be the only gpsd user with any sort of itrax receiver, and it's itrax3.
* again with the grabbing bytes in the right orderChris Kuethe2010-04-171-21/+4
|
* Condition out recent change to 50BPS handling in italk and ubxGary E. Miller2010-04-171-2/+4
| | | | | protocols. They are still broken, HAVE been broken for a while as shown by jumping leap seconds.
* Tests by Chris Keuthe show that itrax has the same 50BPS issues asGary E. Miller2010-04-161-2/+7
| | | | | SiRF had. ubx probably the same. So pulled the 50BPS parity checking into a common subroutine for common use.
* Collapse various copies of gps_week into one in gps_contxt_t.Gary E. Miller2010-04-161-0/+3
|
* Reindent some of the simpler drivers. All regression tests pass.Eric S. Raymond2010-04-141-111/+124
|
* Protect more displayed structures from indent.Eric S. Raymond2010-04-131-0/+2
|
* Cosmetic glitches found while testing reindenting.Eric S. Raymond2010-04-131-3/+3
|
* Refactor serial ntpshm_put() calls.Eric S. Raymond2010-04-121-0/+6
| | | | | | | | | | | | | | | These calls move out of scattered places in the drivers into one spot in libgpsd_core.c where they can be guarded with consistent validity checks. Time offset is now computed by a new driver method, ntp_offset(), which has access through the session structure to the baud rate, the tag of the sentence last received, etc. If the ntp_offset() method returns NAN, no notification is shipped. The logic of these methods replicates the sentence and baud-rate specific computations that were embedded in individual sentence methods before. All regression tests pass.
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-15/+15
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* Drivers now put their per-packet new data into a session->newdata member.Eric S. Raymond2010-04-051-18/+18
| | | | | | | This is so they won't overwrite session->gpsdata.fix, which is going to move back to being where the current fix has been reported. All regression tests pass.
* Refactoring step. Change the signature of ecef_to_wgs84fix().Eric S. Raymond2010-04-051-1/+2
| | | | All regression tests pass.
* Fix building with --disable-reconfigurePaulius Zaleckas2010-03-281-2/+2
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+1
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* Integrated cppcheck testing, and fixed some minor bugs found by it.Eric S. Raymond2010-02-161-1/+0
|
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-8/+8
| | | | All regression tests pass.
* In the wake of the change to use only C99 fixed-length types... Eric S. Raymond2009-10-261-13/+15
| | | | ...splint needs some pacifying. This is part 1. All regressions pass.
* Improve the output from the iTalk... Eric S. Raymond2009-10-051-2/+2
| | | | | ...by raising end-of-cycle on the navfix sentence rather than the PRN-status sentence.
* The new instrumentation pays off. Eric S. Raymond2009-10-021-8/+3
| | | | | | | On NMEA devices, mode could sometimes be held across cycles when it shouldn't have been. Fix this, simplifying how cycles are tracked in the process. Some regression tests needed rebuilding. Code splints clean.
* Fix a paste-o that made its way into many LOG_DATA format strings.Eric S. Raymond2009-10-021-1/+1
|
* My bright idea to use timestamp() to set skyview times backfired... Eric S. Raymond2009-10-021-2/+2
| | | | | ...making the regression tests nondeterministic. Oh well. Fixed. All drivers now use the LOG_DATA convention.
* Clear up some driver-level confusion surrounding timestamp setting.Eric S. Raymond2009-10-011-6/+4
| | | | | | | | There was lots of duplicative setting of gpsdata.fix.time and gpsdata.sentence_time. The latter is now gone. The only case the sentence_time member was actually used for was timestamping skyviews; a new gpsdata.skyview_time now handles that, and all drivers set it properly.