summaryrefslogtreecommitdiff
path: root/packet.c
Commit message (Collapse)AuthorAgeFilesLines
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-36/+52
| | | | | | | | 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.
* TSIP packet 0x1c has to pass through.Eric S. Raymond2013-09-241-1/+5
|
* Pass through Trimble Accutime Gold bersion info.Eric S. Raymond2013-09-231-3/+9
|
* Deal with the Accutime Gold's known issues. All regression tests pass.Eric S. Raymond2013-09-231-4/+9
|
* More TSIP packet cleanup. All regression tests pass.Eric S. Raymond2013-09-221-3/+3
|
* More TSIP packet recognition cleanup. All regression tests pass.Eric S. Raymond2013-09-221-3/+8
|
* TSIP driver can only use one length of 0x5c packet.Eric S. Raymond2013-09-221-2/+1
| | | | All regression tests pass.
* Remove some comments that belong in the revision history.Eric S. Raymond2013-09-221-11/+1
| | | | | | | | | | | Older versions of the 9x38 check allowed a total packet length of 3, which was almost certainly wrong. Older versions used to allow a data length of 11 for type 0x41; not clear why as the TSIP driver only knows the 10-byte format that [TSIP] describes. All regression tests pass.
* Simplify TSIP satellite-picture packet recognition.Eric S. Raymond2013-09-221-2/+1
| | | | | | | | Previuous versions allowed a data length of up to 27. It's not clear why, as the TSIP reference specifies a length of 25 and that's all the driver can use. All regression tests pass.
* More TSIP packet cleanup. All regression tests pass.Eric S. Raymond2013-09-221-2/+6
|
* More TSIP packet cleanup. All regression tests pass.Eric S. Raymond2013-09-221-4/+7
|
* Begin cleaning up some grubbiness in the packet getter.Eric S. Raymond2013-09-221-23/+39
| | | | All regression tests pass.
* TSIP Double Precision XYZ needs to be passed, as it says in the comment.Eric S. Raymond2013-09-211-0/+2
|
* Fix a malformed-packet crash.Eric S. Raymond2013-04-241-3/+2
| | | | | | | | | | Under weird circumstances, this line of device input $GPGGA,030130$GPGLL,2638.1728,N,08011.3893,W,030131.000,A,A*41 could core-dump the packet parser. The context had to be exactly right for it to happen. The bug was an incorrect attempt at optimizing recovery from this rare case.
* Bug submitter suggested an off-by-one error.Eric S. Raymond2013-01-221-1/+1
|
* Address Savannah bug #38077: TSIP parser doesn't handle packet id 0x38.Eric S. Raymond2013-01-151-1/+4
| | | | Needed to handle the TSIP chip on the Raspberry Pi.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Split gpsd_hexdump() so AIS dumping will be invertible.Eric S. Raymond2012-06-201-4/+4
|
* Add BS talker ID (used by AIS base stations)Christian Gagneraud2012-06-201-0/+18
| | | | check and packet-regress passed
* Zero Coverity defects!Eric S. Raymond2012-05-131-2/+2
|
* Still working on pacifying Coverity. All regression tests pass.Eric S. Raymond2012-05-111-1/+2
|
* Pacify Coverity some more.Eric S. Raymond2012-05-111-0/+1
|
* Add new NMEA talker ID (WI, HC and TI)Christian Gagneraud2012-04-211-0/+27
| | | | | | | | | | | WI: Weather instrument HC: Heading, magnetic compass TI: Turn rate indicator Asssociated NMEA sentences: WIMDA, WIMWD, WIMWV, WIVWR, WIVWT, TIROT, HCHDG, HCHDT Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Added support for SDDBT sentences from a depth sounder.Eric S. Raymond2012-03-091-0/+9
| | | | All regression tests pass, including the new one for the sounder.
* splint cleanup.Eric S. Raymond2011-09-221-1/+1
|
* Cycle-start detection by timing works on a SiRF at 9600bps.Eric S. Raymond2011-09-211-0/+3
| | | | All regression tests pass.
* Additional explanation.Eric S. Raymond2011-09-081-3/+7
|
* Update list of recognized talker prefixes.Eric S. Raymond2011-09-081-2/+3
|
* Enable packet sniffer to recognize ECDIS NMEA packets with $EC leader.Eric S. Raymond2011-09-081-0/+9
| | | | This was a user feature request. All regression tests pass.
* Typo fixes and scan-build cleanup.Eric S. Raymond2011-08-111-1/+1
|
* Make JSON support a full driver to avoid a crash bug in gpsmon.Eric S. Raymond2011-06-201-1/+6
| | | | All regression tests pass.
* Improve the code for making sensor data and command strings visible...Eric S. Raymond2011-06-171-4/+4
| | | | | ...and remove some const declarations that could have spelled trouble in the future.
* Elimination of gpsd_hexdump_level.Eric S. Raymond2011-06-171-17/+17
| | | | The few gpsd_hexdump() calls left have explicit guards.
* Remove more duplicative logging. All regression tests pass.Eric S. Raymond2011-06-171-11/+2
|
* Cut down on gpsd_hexdump_wrapper() calls.Eric S. Raymond2011-06-171-3/+0
| | | | | | | | | | | | | | | 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.
* First xut at JSON passthrough code.Eric S. Raymond2011-06-141-0/+112
| | | | Not turned in by default yet; it interferes with RTCM2 decoding.
* Clean up more scan-build warnings, from the raw logs this time.Eric S. Raymond2011-03-301-2/+2
|
* scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-291-8/+9
|
* Drop scope of a couple of garmin-only parametersJon Schlueter2011-03-221-2/+3
|
* More fossil #ifdef removal. All regression tests pass.Eric S. Raymond2011-03-041-14/+0
|
* Sniffer wasn't going to ground state properly afer an RTCM3 packet.Eric S. Raymond2011-03-021-3/+2
| | | | All regression tests pass.
* Add explanatory comments.Eric S. Raymond2011-03-011-0/+2
|
* Hide something that doesn't have to be globally visible.Eric S. Raymond2011-02-281-57/+58
|
* Reverse an earlier error, and harden RTCM2 decoding a bit.Eric S. Raymond2011-02-261-21/+41
| | | | All regression tests pass.
* Make sure ISGPS packets are available raw in the output buffer.Eric S. Raymond2011-02-261-2/+12
| | | | All regression tests pass.
* Match debug levels passed into gpsd_hexdump_wrapper with gpsd_report() calls.Jon Schlueter2011-02-261-4/+4
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Avoid any possibility of rejecting a $PASHR due to bad checksum.Eric S. Raymond2011-02-231-31/+40
| | | | | | | This is an attempt to attack Greg Troxel's regression-test failure on i386 under NetBSD, which involves $PASHRs, All regresssion tests pass.
* More deheader testing. All regressions pass, codebase splints clean.Eric S. Raymond2011-01-131-1/+2
|
* Rename the bits.h macros to be explicit about operand length.Eric S. Raymond2010-12-261-2/+2
| | | | | | 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.
* sizeof(long) doesn't always equal 4Chris Kuethe2010-12-251-1/+1
| | | | | in particular, it's 8 on my amd64. really, this loop intends to consume 4 bytes at a time, not sizeof(long), so use the constant 4.