summaryrefslogtreecommitdiff
path: root/driver_italk.c
Commit message (Collapse)AuthorAgeFilesLines
* Major rearrangement of device members in struct gpsdata_t... Eric S. Raymond2009-08-231-8/+8
| | | | | ...documented in the protocol-transition white paper. All regression tests pass.
* Abolish device classes. Eric S. Raymond2009-08-101-2/+0
| | | | | | That way of doing things coped poorly if, for example, NMEA and AIVDM packets were reported over the same wire. Instead, have ach device track the packet types it has actually seen and dispatch on that.
* Add and document the device_class member, so we can do ?DEVICES properly.Eric S. Raymond2009-07-241-0/+2
|
* correct word-mangling magic. Chris Kuethe2009-07-091-11/+17
| | | | | | subframes now decode meaningfully, insofar as the leap second output is correct and the linenoise that passes for the gps system message matches the output from other receivers running at the same time.
* italk can do raw subframe output tooChris Kuethe2009-07-091-1/+36
|
* change the signal strength member to float.Chris Kuethe2009-06-221-1/+1
| | | | | | it can store all integer values we're likely to see, plus the floating point values that some protocols use in their raw measurement messages. regression tests still pass.
* .cycle_chars is gone, replaced by min_cycle.Eric S. Raymond2009-03-071-16/+15
|
* Remove 'cycle' member from device structure. Eric S. Raymond2009-03-071-1/+0
| | | | | | | It was only ever being set to constant 1. Instead, we keep the current cycle in gpsdata and initialize it in gpsd_init(). This makes no behavioral changes, but clears the decks for better handling of rate switchers.
* Support --disable-controlsendEric S. Raymond2009-03-061-21/+27
|
* Simplify the way ALLOW_RECONFIGURE works.Eric S. Raymond2009-03-061-22/+7
| | | | | | | | | | It now conditions out the speed-switcher, mode-switcher, and rate-switcher methods of the driver structure entirely. This makes it possible to condition out whole functions (rather than small bits that do device writes) almost everywhere. Build tested with ALLOW_RECONFIGURE off. This improvement should make the embedded people happy.
* Use portable memset() rather than non-portable bzero(). Eric S. Raymond2009-03-051-1/+1
| | | | Partial splint cleanup.
* I have no idea what crack-addled rhesus monkey wrote this crap but it's wrong.Chris Kuethe2009-03-051-1/+3
| | | | | | | | | | | Oh wait, that was me. Not sure what I was thinking but "0xffff ^ getub(buf, 7 + 16)" makes no sense. It's the wrong place to look for the number of PRNs used, and the wrong size too - none of the elements in the message are bytes, they're 16-bit or 32-bit. I think this may be where my bus error in dop() was coming from. According to gdb, somehow satellites_used was in the 65k range.
* The itrax03 is a 12-channel receiver. so say all the spec sheets... Chris Kuethe2009-03-041-2/+2
| | | | | yet i'm getting at least 13 SV reports, and that's not counting WAAS birds. maybe they meant "12 GPS channel + a few more for WAAS"
* fix another bug in the italk decoder. Chris Kuethe2009-03-041-1/+3
| | | | | | bad PRN_STATUS messages can cause gpsd to run off the end of allocated space for SV info leading to a bus error later on when we try recalculate the DOPs.
* all this time, we've only been counting half the SVsChris Kuethe2009-03-041-2/+2
|
* repository beautification, part 2:Chris Kuethe2009-03-021-0/+527
rename the packet drivers to driver_$(protocol).c