summaryrefslogtreecommitdiff
path: root/driver_garmin.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Regularize some names.Eric S. Raymond2011-04-011-16/+16
|
* gps_maskdump() has been a CPU hog. Drastically reduce the number of calls...Eric S. Raymond2011-03-311-10/+9
| | | | | ...and guard them with debug level so they won't be done when the output would never be shipped anywhere.
* scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-291-3/+5
|
* Re-identify most *_IS flags with corresponding *_SET flags.Eric S. Raymond2011-03-271-9/+9
| | | | | | | | | | | Required so clients looking at flag masks in data exported via the shared-memory interface will see the right thing. These were separated originally in order to avoid pushing the reqyuired width of the gpsdata.set flag mask over 32 bits. It became 64 bits in the Version 5 API change, so that constraint went away. All regression tests pass.
* Make all drivers set the PPSTIME_IS mask where appropriate. It's not yet used.Eric S. Raymond2011-03-231-0/+7
| | | | All regression tests pass.
* And still more double -> timestamp_t moves.Eric S. Raymond2011-03-101-2/+2
| | | | All regression tests pass, splint passes.
* spellchecking and catching all of the same spelling mistakes in other filesJon Schlueter2011-03-051-1/+1
| | | | gpsd.xml gone through
* Convert from int to natural size_t/ssize_tJon Schlueter2011-03-011-2/+2
| | | | | | | Cherry-picked from Jon Schlueter's commit of 2011-03-01 06:38:31. All regression tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Verbosity suppression. All regression tests pass.Eric S. Raymond2011-02-281-0/+2
|
* Typo fix.Eric S. Raymond2011-02-281-1/+1
|
* Remove pass_rtcm(),Eric S. Raymond2011-02-271-3/+3
| | | | | Replace it wuth what it calls, gpsd_write(). Requiresd only a prototype tweak and some casts, no logic changes. All regression tests pass.
* Revert "Remove a mo-op initializer from the driver type list."Gary E. Miller2011-02-231-4/+37
| | | | | | | | | | | | | This reverts commit 2af953aba0cd88a211c0999ac9f49c31e1a34b52. There really IS a difference between the Garmin Serial Binary (GSB) and Garmin USB Binary (GUSB). GSB can do NMEA, GUSB can not GSB can switch serial speed, GUSB can not GUSB replaces the kernel driver with libusb, GSB must not. There is likely more consolidation that can be done, but it should be done by someone that can test the changes.
* Remove a mo-op initializer from the driver type list.Eric S. Raymond2011-02-221-37/+4
| | | | | | | garmon_ser_binary could never be found by any recent version of the driver-switching logic, which searches by numeric packet type. It effectively duplicated garmin_usb_binary, with the same packet type but earlier in the list.
* splint simplification and cleanup.Eric S. Raymond2011-02-041-3/+3
|
* splint cleanupEric S. Raymond2011-02-031-1/+2
|
* Added a driver-type flags member to the driver method structure.Eric S. Raymond2011-01-191-0/+3
| | | | All regression tests pass.
* Prevent some warnings under OpenBSD.Eric S. Raymond2011-01-131-1/+3
|
* More deheader testing.Eric S. Raymond2011-01-121-0/+1
|
* Suppress a compiler warning. All regression tests pass.Eric S. Raymond2011-01-031-2/+1
|
* Remove some old cruft that libusb replaces.Gary E. Miller2010-12-301-59/+5
| | | | | Still a few things that need garmin_gps, those need to all be moved to libusb.
* 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.
* Partial splint cleanup.Eric S. Raymond2010-12-241-5/+3
|
* More header portability auditing by deheader.Eric S. Raymond2010-12-221-0/+2
|
* Remove splint override of potential errors that are not there.Gary E. Miller2010-12-171-3/+3
|
* Use our own macros for interpreting little-endian 16- and 32-byte integers.Eric S. Raymond2010-12-151-18/+5
| | | | | It's not pretty, but it passes regressions and the compiler's peeophole optimizer will propbably turn it into tight code.
* Remove endian.h, it was not portable.Gary E. Miller2010-12-141-7/+0
|
* Still more simplification of configuration and header handling.Eric S. Raymond2010-12-141-4/+0
|
* For simplification on SuS assumptions.Eric S. Raymond2010-12-131-4/+0
|
* pacify cppChris Kuethe2010-12-081-1/+1
|
* Yet another try at portable endian macros.Gary E. Miller2010-12-081-13/+23
| | | | Tip of the hat to ckuethe for the hints on xBSD.
* Revert "Another attempt at getting portable endianness in Garmin driver."Gary E. Miller2010-12-081-6/+16
|
* Revert "Yet another try at endianness portability."Gary E. Miller2010-12-081-1/+1
|
* Revert "Yet another attempt and getting rid of endian.h stuff."Gary E. Miller2010-12-081-9/+9
|
* Yet another attempt and getting rid of endian.h stuff.Gary E. Miller2010-12-081-9/+9
| | | | Missed some le16toh() which were never right anyway.
* Yet another try at endianness portability.Gary E. Miller2010-12-081-1/+1
| | | | BSD does not like <arpa/inet.h>.
* Another attempt at getting portable endianness in Garmin driver.Gary E. Miller2010-12-081-16/+6
| | | | | | Seems like endian.h is not POSIX and not portable. So rewritten using ntohl() and ntohs() from <arpa/inet.h> instead of be16toh() and be32toh() from endian.h
* Another tweak to find the wandering endian.hGary E. Miller2010-12-061-3/+2
| | | | Chris Kuethe noted a bug in how endian.h is found in BSD.
* Find {,sys/}endian.h via autoconf.Greg Troxel2010-12-061-1/+15
| | | | | | | | | A recent commit introduced an unconditional include of endian.h, which is not specified by POSIX and thus nonportable. Apparently lacking a portable way to get the needed le16toh etc. functions for dealing with remote data from a le machine on the host, use autoconf to search for endian.h (on Linux) and sys/endian.h (on NetBSD). Add an explicit failure for lacking either header.
* Fix endianess issues in Garmin binary driver.Gary E. Miller2010-12-021-12/+15
| | | | | This fix works for me, but I have no way to test on a beg endian CPU. So it might fix Bug# 17358, submitted by fdirosa
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-6/+0
|
* Whitespace and indenting cleanup.Jon Schlueter2010-04-291-10/+10
| | | | | In bits.c gpsd.c gpsd_json.c and several drivers. Regression tests passing.
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-4/+4
|
* Reindent. All regression tests pass.Eric S. Raymond2010-04-261-43/+43
| | | | | Most of the bulk of this one is the xgpsspeed code, which was not formerly incldecd in reindenting.
* Ckean up Garmin driver. Gary E. Miller2010-04-201-1/+4
| | | | Another private copy of gps_tow saved in session->context->gps_tow
* Splint and cppcheck cleanup. All regression tests pass.Eric S. Raymond2010-04-201-3/+7
|
* Comment typo in GarminGary E. Miller2010-04-161-1/+1
|
* Sigh...avoid build lossage on Linux machines without libusb.Eric S. Raymond2010-04-161-2/+2
|
* libusb support lands in the Garmin driver.Eric S. Raymond2010-04-161-1/+69
|
* Tiny tweak to Garmin USB ntpd offset.Gary E. Miller2010-04-151-1/+1
|
* Reindented driver_garmin.c. All regression tests pass.Eric S. Raymond2010-04-141-410/+431
|