summaryrefslogtreecommitdiff
path: root/drivers.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor sending of control strings.Eric S. Raymond2009-01-061-35/+48
| | | | | | | | Most drivers now have a control_send method that takes a payload. provides whatever checksuming and leader/trailer bytes are needed, and ships it to a specified active device. This change should not alter any behavior. All regression tests pass.
* More splint cleanup.Eric S. Raymond2009-01-061-4/+4
|
* This diff goes most of the way to getting us splint-clean again.Eric S. Raymond2009-01-051-2/+2
|
* prototype processMKT3301() to silence compiler warningChris Kuethe2009-01-051-0/+4
|
* Cleanup after the OceanServer patch.Eric S. Raymond2009-01-041-5/+8
|
* Merge code for Oceanserver compass from Stefan de Konink.Eric S. Raymond2009-01-041-0/+82
| | | | | It's all conditioned out by #ifdef OCEANSERVER. Some if the probe logic still needs to be written.
* merge mkt-3301 support. from Henk FijnvandraatChris Kuethe2008-12-311-1/+104
|
* Add a wrapper function around gpsd_hexdump to avoid hexdumping buffers...Chris Kuethe2008-12-271-6/+5
| | | | | | | | ...and copying ascii strings around when they're not going to be printed. This saves quite a lot of CPU. I processed a 50MB ubx binary file. With no "-D" options, this saved nearly 2.2M calls to gpsd_hexdump and the processing time for this file went from 84 seconds to 35 seconds.
* bunch of fixes to ubx, particularly for the ublox5. from Henk FijnvandraatChris Kuethe2008-10-191-0/+27
|
* Rename big-endian bit extraction macros.Eric S. Raymond2008-07-151-3/+3
|
* Avoid having to call the RTCM3 unpack function just to get type and length.Eric S. Raymond2008-07-151-4/+6
|
* Rudimentary RTCM104v3 support compiles and splints clean. Eric S. Raymond2008-07-101-1/+1
| | | | Now to actually test it...
* More splint cleanups.Eric S. Raymond2008-07-101-1/+2
|
* Add a CRC-24Q implementation. It's wrong, but it's a start.Eric S. Raymond2008-06-301-11/+55
|
* RTCM104v3 packet detection. Eric S. Raymond2008-06-301-4/+4
| | | | | This is without checksum support, and the daemon code does not do anything with the RTCM data yet.
* More preparation for RTCM 3. No behavior changes. All regression tests pass.Eric S. Raymond2008-06-271-2/+2
|
* Rip out the openbsd-specific timestamping support. Chris Kuethe2008-06-101-40/+0
| | | | | | | | | We have a better way in -current: ldattach on the real device, and relay the data through a pty. ldattach will set up the timestamping line discipline (there are at least 4 different settings that could be used) and the relay data out a pty. This is fast - about 60usec. Yay for the removal of non-portable code that isn't core the purpose of gpsd. All regression tests pass on openbsd...
* Fix Garmin ifdef nesting error. Found by John Arthur <lists@davey.net.au>Gary E. Miller2008-01-201-4/+2
|
* Add Garmin 5Hz support to PPS. Patch from John Arthur <lists@davey.net.au>Gary E. Miller2008-01-201-2/+6
|
* 'typename' is a reserved word in C++. Gary E. Miller2008-01-191-11/+11
| | | | | Change to 'type_name' so gpsd pieces can be used with C++. Reported by Matt Roberds <mattroberds@cox.net>.
* Minor splint cleanups. All regressio tests pass.Eric S. Raymond2008-01-011-0/+1
|
* shuffle some ashtech stuff aroundChris Kuethe2007-12-251-5/+7
|
* Ashtech fixes.Chris Kuethe2007-12-251-1/+6
| | | | | | - actively probe/wake-up ashtech receivers by sending $PASHQ,RID - parse $PASHR,RID to make device type more informative: "Ashtech" becomes "Ashtech AC12 ver BQ04"
* more commits from the caribbean - tidying up some whitespaceChris Kuethe2007-12-201-79/+79
|
* Ashtech driver. Tested with an Ashtech/Thales/Magellan AC12Chris Kuethe2007-12-201-0/+63
| | | | | | | >From my balcony the skyview sucks, but the swimming pool and beach view is real nice. ;) GPSD,I=Ashtech,O=RMC 1198185318.000 0.005 20.629390 -87.068077 33.03 20.80 20.80 150.3000 0.000 0.000 ? 41.60 ? 3
* An attempt at support for the Furuno Electronics GH-79L4 (GPSClock).Eric S. Raymond2007-12-181-2/+59
|
* Removed wired-in NTP offset from the NMEA driver. Eric S. Raymond2007-12-121-6/+1
| | | | Revised the table on the hardware page to reflect user reports.
* Integrated Garmin Simple Text Protocol driver from Petr Slansky.Eric S. Raymond2007-12-111-0/+51
|
* Pull the device_readonly variable into the global context structure.Eric S. Raymond2007-06-011-8/+1
| | | | | | | Note that the implementation is now somewhat different. Before, this flag prevented low-level writes to the device. Now it prevents operations that could *cause* low-level writes -- notably subtype probes, mode changes, and baud-rate changes.
* avoid calling write() directly, use gpsd_write() instead.Chris Kuethe2007-04-061-2/+9
| | | | avoid writing when device_readonly is set
* TypoChris Kuethe2007-03-261-1/+1
|
* First step of a layering fix: move the private ldisc member to gpsd.h.Eric S. Raymond2007-03-261-2/+2
|
* missing newlinesChris Kuethe2007-03-091-2/+2
|
* Move the historical italk2 code to the italk3 driver. Chris Kuethe2007-01-181-142/+0
| | | | | It's unlikely to ever be compiled, but it may be useful reference material for the itrax3 protocol.
* having both enable-italk and enable-itrax is dumb. Chris Kuethe2006-12-281-3/+3
| | | | | | | now, all itrax features (including italk and $PFST) shall be controlled with enable-itrax. obviously i'm hacking on italk again, so make the italk driver compile again.
* The start of a UBX driver, from Andreas Stricker. Not yetChris Kuethe2006-12-151-0/+4
| | | | functional but committed to allow for in-tree development.
* Diego Burge's driver builds, but it messes up some regression tests...Eric S. Raymond2006-12-151-2/+14
| | | | ...(notably the TSIP ones). There's a conflict...
* Evermore patches and one documentation tweak from Petr Slansky.Eric S. Raymond2006-12-051-1/+1
| | | | All regression tests pass.
* Change the way the RTCM decoding is layered... Eric S. Raymond2006-12-041-2/+3
| | | | | | | ...so the packet sniffer no longer needs to take an argument that is an rtcm structure. This is a step towards a new and better gpsfake. No logic or protocol changes. All regression tests pass,
* Fix ALLOW_RECONFIGURE compilation.Eric S. Raymond2006-12-011-1/+3
| | | | Teach the daemon to ignore comment packets led with # and ended with \n.
* Check in regress-builder, after having used it to detect some minor buildEric S. Raymond2006-11-301-1/+1
| | | | problems created by the last big refactoring patch.
* Split the packet-sniffer internals out of the session structure. Eric S. Raymond2006-11-301-23/+28
| | | | | | | | | | | | | This is a big, super-intrusive patch but changes no logic at all -- it's all about ripping out some of the gps_device_t structure members into a new gps_packet_t structure. Even the driver API doesn't change at all, this is all libgpsd(3) internals being rearranged. The motivation here is that we want to kill off the ad-hoc Python implementation of a packet-sniffer in gpsfake. To do that we need to be able to write a "pure" packet sniffer that uses the same C code as the daemon's but without being welded to the rest of the libgpsd(3) code. This is the first step towards that.
* We temporarily need root privs to set up the nmea line discipline on OpenBSD.Chris Kuethe2006-11-291-1/+13
| | | | | This diff makes that happen, and tries to be forthcoming about when it is making gpsd run as root.
* explain why these ioctls might failChris Kuethe2006-11-291-5/+7
|
* Because configure allows the selection of PPS on DCD or CTS...Chris Kuethe2006-11-291-0/+4
| | | | | ...we should do the same when setting up the OpenBSD-specific timestamping code.
* Working timestamps arrived after the NMEA line discipline.Chris Kuethe2006-11-281-8/+11
| | | | | | Nest appropriately so we can compile on 4.0. Also log correctly so that users wondering why the sensors don't seem to be working will have something in their logs.
* Finish the OpenBSD kernel timestamping hooks.Chris Kuethe2006-11-281-1/+10
| | | | | | | | | | | | In recent versions, the kernel keeps timestamps of control line changes. We also have the nmea(4) line discipline which activates an in-kernel NMEA parser to extract time information. This is then exported via the sensors framework for use by openntpd. This partially worked, but it wasn't until this morning that we had the control line stuff working. CK
* Change the configurator method to take a packet sequence number argument...Eric S. Raymond2006-11-271-37/+56
| | | | ...the same way probe_subtype does, and for the same reason.
* Remove Evermore NMEA, it was pointless.Eric S. Raymond2006-11-241-100/+2
| | | | | | The EverMore probe should just flip us into binary mode. Petr gaves me a heads-up that he's already done this removal in his experimental sources.
* New SiRF probe logic works with SiRF-II, should work with I and III as well.Eric S. Raymond2006-11-211-81/+14
|