summaryrefslogtreecommitdiff
path: root/packet.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-2/+2
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Partial splint cleanup.Eric S. Raymond2006-10-261-5/+6
|
* Update some documentation.Eric S. Raymond2006-10-241-1/+1
|
* Improve Garmin Serial binary detection by reducing TSIP false positives.Gary E. Miller2006-10-091-12/+48
|
* Fix GPGSV output, tweak the file commentsGary E. Miller2006-09-271-1/+1
|
* Now usually detects Garmin Serial binary and calls proper driver. Gary E. Miller2006-09-261-8/+7
| | | | Packet wrapper strips DLEs. ETXs and checks the checksum. More to come.
* Garmin serial binary is very similar to TSIP binary.Gary E. Miller2006-09-261-9/+58
| | | | | This modifies the TSIP binary detection to also detect Garmin serial binary. Nothing is done yet with the packet after it is identified.
* remove redundant toupper() calls...Chris Kuethe2006-09-231-2/+2
| | | | | | ...against the the internally computed nmea checksum because we snprintf it with the "%X" format which outputs uppercase characters anyway. From Petr Slansky
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* The big dead-storage elimination: we get rid of the newdata member.Eric S. Raymond2006-09-091-11/+11
| | | | All regression tests pass.
* SiRF name cleanup.Chris Kuethe2006-08-171-6/+6
| | | | | | | | | | 1) the product line is called SiRFstar 2) I don't have any original SiRFstar receivers but my documentation says the protocol remained mostly the same between SS1, SS2 and SS3; it just got richer as time went by. At least with my SS2 and SS3 receivers, this holds true. 3) elsewhere in the code there are SIRF_THIS and SIRF_THAT, which implies (correctly) independence of chipset version.
* Jerome Cornet's cleaner fix for the Earthmate.Eric S. Raymond2006-08-161-7/+0
|
* Kluge to make pre-2003 Earthmates with EARTHA handshake work again.Eric S. Raymond2006-08-161-0/+7
|
* More documentation fixes.Eric S. Raymond2006-07-221-2/+2
|
* Make gpsfake use a port that doesn't collide with a production gpsd.Eric S. Raymond2006-06-091-1/+1
| | | | Fix a comment typo in packet.c
* More typo fixes.Eric S. Raymond2006-02-181-1/+1
|
* Enable eveything to build when RTCM104 is configured out.Eric S. Raymond2005-12-201-0/+2
|
* Small correction in case packet_pushback is ever actuallly used.Eric S. Raymond2005-09-141-0/+1
|
* Well, this doesn't make things any worse for me...Chris Kuethe2005-08-191-3/+1
| | | | ...and it gets the usleep() out of the way.
* Changes to read() error handling.Chris Kuethe2005-08-191-3/+11
| | | | | | | | | | | | | | | | | General feeling seems to be: a) that checking for (newdata = read()) == -1 is good, b) that it is appropriate to retry in case of EINTR or EAGAIN c) a short delay in case of EINTR or EAGAIN is polite but not strictly needed. I put the delay in because this may spin and I really hate busy waiting. I may put in a retry counter: after some small number of retries that fail, just give up and return 0 as if there was no data to be read. We shouldn't have even reached this function unless select() said there was data to read so it seems appropriate to get the data (with retries if necessary) unless a truly fatal error occurred ((errno != EAGAIN) && (errno != EINTR))... As we've just tagged a release, I feel better about committing this so this gets a bit more testing.
* Fixes to packet engine from Curt and Josh. Gary E. Miller2005-08-071-41/+31
| | | | Confirmed to help on 4 diff GPS types.
* More fixes for the short-packet logic.Eric S. Raymond2005-08-021-3/+3
|
* Major change to packet parser -- it now returns the *first* packet recognized.Eric S. Raymond2005-08-021-15/+33
| | | | This may solve Kurt's problem.
* Fix some bad naming. Number of TrueNorth channels is 0. Eric S. Raymond2005-08-021-2/+2
| | | | Add an NTRIP pointer to the references page.
* True North support integrated.Eric S. Raymond2005-08-011-1/+13
| | | | | | It's not compiled in by default, but it does require one architecture change -- device channels is now a driver- specific capability, since the Thales GPS our TrueNorth user is working with has 14 channels.
* Packetizing RTCM revealed a bug deep in the framework code. Eric S. Raymond2005-07-261-1/+1
| | | | | | | | | | | | | | It's one that only shows up when the device delivers less than one packet per cycle (e.g. normally 1 per second). It became manifest because gpsfake, unable to packetize RTCM, inserts a delay between each *character* of an RTCM load. The bug was this: the packet getter was returning nz only when it saw a complete packet. What it needed to be doing (and does now) is return nz when it has new data, whether that new data finishes a packet or not. Otherwise the online check will spuriously fail if the device takes over a second to deliver a packet completion -- even if it's getting new data each time!
* Sepatate character from retry counters.Eric S. Raymond2005-07-261-1/+2
|
* OK, this version both passes packet regression and gets partwayEric S. Raymond2005-07-261-30/+30
| | | | through the RTCM test.
* splint cleanup.Eric S. Raymond2005-07-261-12/+12
|
* Discarding entire packets on return to ground state makes RTCM work...Eric S. Raymond2005-07-261-13/+14
| | | | ...but breaks the packet regression test.
* A large step towards automatically syncing with RTCM streams.Eric S. Raymond2005-07-261-16/+81
| | | | It partly works now! All GPS regression tests pass.
* More separation of the low-level decoder.Eric S. Raymond2005-07-241-3/+1
|
* More instrumentation from Petr.Eric S. Raymond2005-07-221-33/+5
|
* Move RTCM initialization to the right spot. Passes all regression tests.Eric S. Raymond2005-07-211-0/+3
|
* Fix some bugs in the RTCM104 interface.Eric S. Raymond2005-07-211-28/+3
|
* Get rid of statetable.el...Eric S. Raymond2005-07-201-190/+3
| | | | ...there's an easier way to keep enum and name arrays in sync.
* More debugging machinery for RTCM tests.Eric S. Raymond2005-07-201-6/+15
|
* More steps towards getting the packet state machine to recognize RTCM.Eric S. Raymond2005-07-191-5/+7
|
* One more step in teaching the packet getter to grok RTCM.Eric S. Raymond2005-07-181-43/+50
|
* Another EverMore patch from the maintainer.Eric S. Raymond2005-07-181-14/+14
|
* Stage one of making the RTCM decoder an ordinary driver. Merge the RTCMEric S. Raymond2005-07-161-1/+1
| | | | decoding context into the gps_device_t structure.
* Do consistent naming and some splint cleaning.Eric S. Raymond2005-07-161-3/+3
|
* Break the packet tester code out into a separate program. Eric S. Raymond2005-07-161-273/+111
| | | | Fix the state table regenerator so it conditionalizes the token list.
* rtcm.c is properly refactored, with the bitfield layouts hidden.Eric S. Raymond2005-07-161-1/+1
|
* Another Evermore patch from Petr Slansky.Eric S. Raymond2005-07-141-2/+1
|
* Another step towards RTCM104 integration.Eric S. Raymond2005-07-131-3/+12
|
* Merge working Evermore state-machine from Petr Slansky.Eric S. Raymond2005-07-131-73/+102
| | | | Also merge in hooks that connect RTCM parsing to the packet getter.
* Show states by name rather than enum value.Eric S. Raymond2005-07-121-2/+67
|
* Fix some documentation.Eric S. Raymond2005-07-111-1/+2
|
* Recognize Evermore before TSIP.Eric S. Raymond2005-07-111-44/+50
|