summaryrefslogtreecommitdiff
path: root/driver_ubx.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop the obsolete tag field from JSON output. Bump the minor protocol number.Eric S. Raymond2014-08-241-4/+0
| | | | | | | Required a regression-test rebuild, of course. The field is still set by the TSIP and SiRF drivers; the SiRF driver actually uses it. It may be possible to eliminate the TSIP uses, but so far attempting this has produced odd regression-test failures.
* Fix ubx_mode link error when reconfigure=falseSimon Dawson2014-01-031-0/+4
| | | | | | | | | | | | | | | | When reconfigure is false, the link step fails as follows. /scratch/peko/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -o gpsd -pthread --sysroot=/scratch/peko/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot gpsd.o ntpshm.o shmexport.o dbusexport.o -L. -L/scratch/peko/host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lrt -lbluetooth -ldbus-1 -lgpsd -lusb-1.0 -lbluetooth -lgps -lm -ldbus-1 -lpthread -lrt ./libgpsd.so: undefined reference to `ubx_mode' collect2: error: ld returned 1 exit status scons: *** [gpsd] Error 1 scons: building terminated because of errors. The problem appears to be a failure to guard a call to ubx_mode with a RECONFIGURE_ENABLE ifdef. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Silence compiler warning.Eric S. Raymond2013-11-271-1/+1
|
* Get vertical error position and speed estimates from the u-blox driver.Pavel Kirienko2013-11-261-3/+28
| | | | | That is, rather than having to interpolate them. This required two regression-test rebuilds in obvious places.
* Minor correction to use UBX error estimstes.Pavel Kirienko2013-11-201-0/+1
| | | | | | | | | | | Before this patch, the implementation of the u-blox driver parsed the EPX/EPY/EPS values properly, but did not update bitfields SPEEDERR_SET and HERR_SET. Since the mask was not being updated, the estimated accuracy was being immediately overwritten from gpsd_error_model(). Three regression tests were affected and had to be rebuilt.
* gpsctl ID now gets basic version info from u-blox receivers.Eric S. Raymond2013-11-131-0/+5
|
* More consistent ise of LOG_PROG.Eric S. Raymond2013-11-121-1/+1
| | | | This logging level is intended to directly explain accompanying I/O messages.
* Reduce gpsd log verbosity a lot.Eric S. Raymond2013-11-121-35/+35
| | | | | | | | | | Way too much logging was happening at LOG_IO level, which is intended for watching data traffic in and out of the daemon rather than all the minutiae of data analysis - that's LOG_DATA. Also, LOG_DATA gets pushed down two levels. The effect is that -D 5 means exactly what it did, but for purposes other than driver debugging -D 4 now suffices.
* Rename and rationalize driver table instances. No logic changes.Eric S. Raymond2013-11-121-3/+3
|
* Virtuous code removal.Eric S. Raymond2013-11-121-18/+0
| | | | | The can't-turn-off-NMEA bug went away. I think it was the port ID fix to the u-blox driver, though I don't see how. I'll take it....
* We can now change baud rates on the GR601-W.Eric S. Raymond2013-11-121-12/+34
| | | | | | | This required some unfortunate klugery because the GR601-W is a USB device that nevertheless has port ID 1 in the u-blox CFG-PRT message (associated with the primary USART) rather than port ID 3 which is what u-blox USB would give it.
* Fix a truly stupid u-blox driver bug. Make baud rate change effective.Eric S. Raymond2013-11-111-54/+54
|
* u-blox name cleanup. All regression tests pass, PPS is live.Eric S. Raymond2013-11-091-2/+2
|
* Typo fixes.Eric S. Raymond2013-11-091-2/+2
|
* Typo fix.Eric S. Raymond2013-11-091-1/+1
|
* uBlox -> u-blox; the company does not biicapitalize its name.Eric S. Raymond2013-11-091-4/+4
|
* Typo fixes. All regression test pass. PPS is live.Eric S. Raymond2013-11-081-1/+1
|
* Improve the UBX sentence mix in NMEA mode.Eric S. Raymond2013-11-081-0/+76
|
* Better solution to the flapping problem.Eric S. Raymond2013-11-081-0/+27
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-051-2/+3
|
* Contain the assumption that time hinting is done to NTPD.Eric S. Raymond2013-10-311-3/+3
| | | | | | | Because it might be going to chrony. Or something else. No logic changes, just name changes and one new derived #define, TIMEHINT_ENABLE.
* Revert "Separate ntpd support from chrony support, step 1."Eric S. Raymond2013-10-301-3/+3
| | | | We'll have to sneak up on this change more slowly.
* Separate ntpd support from chrony support, step 1.Eric S. Raymond2013-10-301-3/+3
| | | | | | | | | | | | | ntp_offset becomes time_offset. There is a new config symbol CHRONY_ENABLE; most time service code is npw controlled by TIMESERVICE_ENABLE. The file ntpshm.c becomes timeexport.c This change is not complete. More disentanglement has to be done inside timeexport.c itself; at the moment enabling one but not both of ntpshm or chrony will probably break its compile. The point of getting this commit out is so Gary will see the new baseline code ASAP. All regression tests pass.
* More efficiebt sticky-flagging.Eric S. Raymond2013-10-151-1/+1
|
* OK, visualize as a method was a bad idea. All regression tests pass.Eric S. Raymond2013-10-141-3/+0
|
* Create driver slot and scons option for a visualizer driver method.Eric S. Raymond2013-10-131-0/+3
|
* Deal with the Macx-1's quirk of not being able to turn off ASCII.Eric S. Raymond2013-10-131-1/+13
|
* splint cleanup.Eric S. Raymond2013-10-121-1/+1
|
* Compiler warning cleanup.Eric S. Raymond2013-10-121-1/+1
|
* Correct a comment.Eric S. Raymond2013-10-111-5/+6
|
* Add a caveat.Eric S. Raymond2013-10-101-1/+9
|
* Yet another bug due to wacky CFG-PRT semantics.Eric S. Raymond2013-10-091-26/+25
|
* Remove a mistaken optimization.Eric S. Raymond2013-10-091-1/+1
|
* Fixed UBX baud-rate switching.Eric S. Raymond2013-10-091-2/+2
|
* splint cleanup.Eric S. Raymond2013-10-091-5/+5
|
* Introduce a mode option so gpscotl can be less intrusive than gpsd.Eric S. Raymond2013-10-091-1/+1
|
* Switch UBX to binary mode when it's identified.Eric S. Raymond2013-10-091-9/+4
| | | | We no longer need to ask it for a CFG-PRT response before doing this.
* New, simpler UBX mode switching with synthesized config blocks works.Eric S. Raymond2013-10-081-208/+97
|
* Cosmetic fixes.Eric S. Raymond2013-10-071-8/+11
|
* gpsmon switching to UBX binary is now working.Eric S. Raymond2013-10-071-28/+31
|
* Actually setting up a config block now.Eric S. Raymond2013-10-071-4/+6
|
* Comment typo fixes.Eric S. Raymond2013-10-071-1/+1
|
* Try another config synthesis. All regression tests pass.Eric S. Raymond2013-10-061-79/+129
|
* splint cleanup. All regression tests pass.Eric S. Raymond2013-10-051-1/+2
|
* Condition out the code that trues to synthesize ta CONFIG-PRT block.Eric S. Raymond2013-10-051-15/+65
| | | | | | The uBlox documentation on this is maddenly obscure and doesn't match the behavior I observe from the chip. Maybe if I can get on the horn with a uBlox engineer.
* Slightly more sophisticated try at a synthetic config block.Eric S. Raymond2013-10-051-1/+69
|
* Clarifying comment.Eric S. Raymond2013-10-051-1/+2
|
* The trigger-string UBX detection was unnecessary; remove it.Eric S. Raymond2013-10-041-1/+1
| | | | | | | It was actually interfereing with the firing of an identify even when the MON_VER packet came in. All regression tests pass.
* Change the logic for managing the drive mode bit to report reality...Eric S. Raymond2013-10-041-8/+3
| | | | ...rather than setting it ad-hoc on a per-driver basis.
* uBlox 6 no longer sends model info in $GPTXT (observed on TCX0)...Eric S. Raymond2013-10-041-23/+1
| | | | ...so remove the trigger event - we can't rely on it.