summaryrefslogtreecommitdiff
path: root/serial.c
Commit message (Collapse)AuthorAgeFilesLines
* Move and improve a comment.Eric S. Raymond2013-11-271-1/+4
|
* Fix a minor layerring violation. All regression tests pass.Eric S. Raymond2013-10-301-7/+0
|
* Make all hex-dumping truly thread-safe.Eric S. Raymond2013-10-131-2/+5
|
* splint cleanup.Eric S. Raymond2013-10-091-4/+4
|
* Give drivers a way to query the currewntly set stopbits and parity.Eric S. Raymond2013-10-081-0/+20
|
* We can now monitor low-level string sends through gpsmon.Eric S. Raymond2013-10-041-1/+2
| | | | Now we'll know exactly what's being sent on a UBX mode change.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-15/+24
| | | | | | | | 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.
* cppcheck ckeanup. All regression tests pass.Eric S. Raymond2013-09-171-1/+1
|
* Some GPSes use the USB ACM driver (/dev/ttyACM*, major number 166) on Linux.Michael Tatarinov2013-09-041-3/+3
| | | | | This patch makes them classify as USB source and fixes typos for bluetooth device.
* Move an assignment to pacify splint.Eric S. Raymond2013-05-011-1/+1
|
* Clean up more static-analysis warnings.Eric S. Raymond2013-04-301-6/+4
|
* Don't check exclusion for bluetooth devices.Michael Tatarinov2012-10-101-1/+3
| | | | Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Lose the assumption that socket_t is an integer.Eric S. Raymond2012-09-221-1/+1
|
* gpsd_get_speed_old usage was lost on exitJon Schlueter2012-09-091-1/+1
| | | | | | | in the gpsd_get_speed conversion where we lost resetting the speed to the old speed on exit in serial.c Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-9/+9
|
* Change the API so the yermios strucytture is not publicly exposed.Eric S. Raymond2012-09-071-3/+13
| | | | | | | | Becauser this changed the libgpsd API but not the libgps one, libgpsd now has its own version number. (Doing otherwise would have inflicted a gratuitous binary-compatibility break on application developers). All regression tests pass. Audit check runs clean.
* Minor cleanup for bluez code suggested by ukyg9e5r6k7gubiekd6,Eric S. Raymond2012-09-071-2/+2
|
* Clean up initial rate-setting when port speeits are fixed.Eric S. Raymond2012-09-051-2/+14
|
* Accept Freescale UARTS as RS232 devices.Stephen Cavilia2012-06-221-1/+2
| | | | | | | The on-chip UARTs on Freescale i.MX processors use device names /dev/ttymxc[012] and major number 207 on linux. These will get classified as an unknown source type by gpsd. Attached patch makes them classify as standard RS232 devices.
* Make sure an invariant is preserved.Eric S. Raymond2012-06-201-1/+1
|
* Split gpsd_hexdump() so AIS dumping will be invertible.Eric S. Raymond2012-06-201-1/+1
|
* splint gets confused by declarations after statements.Eric S. Raymond2012-06-191-1/+3
|
* More cppcheck warning fixups. All regression tests pass.Eric S. Raymond2012-05-181-0/+1
|
* Typo fix.Eric S. Raymond2012-05-071-1/+1
|
* Attempt to fix the Bluetooth socket leak reported by Eckhart Woerner.Eric S. Raymond2012-02-261-0/+1
|
* Added B230400 as a baud rate.Eric S. Raymond2012-02-171-5/+9
| | | | I didn't know the termios.h standard set went that high!
* serial: use cfgetispeed helpersManuel Lauss2012-01-131-8/+1
| | | | | | | | | | Rather than poking c_ispeed directly, use the cfgetispeed helper. This is part of POSIX, and we already use cfsetispeed, so there shouldn't be any portability issues here. Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Try to forestall buggy kernels from holding an exclusion lock...Eric S. Raymond2012-01-101-0/+1
| | | | ...after device close.
* c_ispeed is missing in the termios struct on some architectures.Bernd Zeimetz2011-11-141-0/+7
| | | | So set the serial parameters always in case we can't read c_ispeed.
* Verified fix for Savannah bug #34562: error in json encoded device list.Eric S. Raymond2011-10-241-0/+5
|
* Attempted fix for Savannah bug #34562: error in json encoded device list.Eric S. Raymond2011-10-231-1/+9
|
* Don't try to revert serial parameters on exit if we didn't have to change them.Eric S. Raymond2011-10-121-8/+16
|
* Fix up fusercount() to work correctly.Eric S. Raymond2011-08-231-6/+4
|
* Now that fusecount() is working, it turns out to be dangerous. Disable it...Eric S. Raymond2011-08-231-5/+5
| | | | ...until we figure out what's going on. All regression tests pass.
* Fix some coding errors in fusercount().Eric S. Raymond2011-08-231-2/+3
|
* Add fixed_stop_bits option.Eric S. Raymond2011-06-221-1/+10
|
* Improve the code for making sensor data and command strings visible...Eric S. Raymond2011-06-171-2/+2
| | | | | ...and remove some const declarations that could have spelled trouble in the future.
* Remove gpsd_hexdump_wrapper() from everything outside the packet sniffer.Eric S. Raymond2011-06-171-3/+4
|
* Code slimming.Eric S. Raymond2011-06-111-4/+1
|
* Fix the minimal build.Eric S. Raymond2011-03-291-1/+1
|
* Squeeze out some more code in the fixed-port-speed case.Eric S. Raymond2011-03-291-0/+10
|
* Documentation update. All regression tests pass.Eric S. Raymond2011-03-241-1/+1
|
* Try to move NTP link activation and deactivation up to the disparcher layer.Eric S. Raymond2011-03-241-16/+0
|
* Give timestamps their own typedef. No logic changes.Eric S. Raymond2011-03-101-1/+1
| | | | All regression tests pass, splint and cppcheck pass.
* Remove pass_rtcm(),Eric S. Raymond2011-02-271-1/+1
| | | | | Replace it wuth what it calls, gpsd_write(). Requiresd only a prototype tweak and some casts, no logic changes. All regression tests pass.
* Split an excessively long function. No logic changes. All regression tests pass.Eric S. Raymond2011-02-241-62/+2
|
* Abolish device->is_serial. Replaced by device->servicetype.Eric S. Raymond2011-02-241-3/+0
|
* Eliminate the context->netgnss_service member.Eric S. Raymond2011-02-241-0/+3
| | | | | | | | | This is more global context that really needed to be per-device state. Instead, create a per-devicd servicetype member to carry this information. Practically apeaking, this means gpsd can now watch multiple NTRIP and DGPS sessions without getting confused. All regressuin tests pass.
* Refactor device opening. No logic changes. All regression tests pass.Eric S. Raymond2011-02-231-0/+61
|
* More deheader testing. All regressions pass, codebase splints clean.Eric S. Raymond2011-01-131-3/+3
|