summaryrefslogtreecommitdiff
path: root/gpsd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactoring step. Eric S. Raymond2009-07-241-51/+52
| | | | | We may want to re-wrap JSON responses with a prefix length, and this makes the code cleaner even if we don't.
* Fix the ?DEVICES response.Eric S. Raymond2009-07-241-2/+2
|
* Add and document the device_class member, so we can do ?DEVICES properly.Eric S. Raymond2009-07-241-13/+44
|
* Remove ! introducer for responses.Eric S. Raymond2009-07-241-1/+1
| | | | | | We now hand back pure JSON objects. Also, get rid of device IDs as separate entities, the string-space savings are not worth the hassle. Design document updated.
* AIS dumping is now under the control of the watcher variable.Eric S. Raymond2009-07-241-0/+8
|
* Un-break the build.Eric S. Raymond2009-07-231-1/+1
|
* Add AIS as a supported type for the 'G' command.Eric S. Raymond2009-07-231-1/+5
| | | | (Note, this is not actually implemented yet, that's the next step.
* Reverse the breakout of gpsd_output.Eric S. Raymond2009-07-221-6/+616
| | | | | I want struct subscriber_t and all policy knowledge to be contained in one module.
* Fix buglet in control notifications.Eric S. Raymond2009-07-211-1/+1
|
* refactor the output routines.Chris Kuethe2009-07-111-752/+10
| | | | | the two gpsd protocol handlers are pretty big and they're only going to get bigger as the new format becomes richer.
* Define a configuratrion switch for NG protocol support.Eric S. Raymond2009-07-091-8/+12
| | | | Bring the Hacking Guide description (mostly) up to date.
* system call failure should be tested against -1, rather than "< 0"Chris Kuethe2009-07-091-12/+12
|
* Use boolean JSON values where appropriate.Eric S. Raymond2009-07-091-2/+2
|
* Oops, fix JSON syntax - uses Python-style dictionary notation.Eric S. Raymond2009-07-091-23/+23
|
* First step towards new protocol. Implement ?TPV and ?SAT.Eric S. Raymond2009-07-091-1/+141
|
* GPSD can now be a gpsd clientChris Kuethe2009-07-051-5/+6
| | | | | | | | that is, it can connect to and relay data from other gpsd instances. Sample usage # gpsd -S 12000 -n 'gpsd://localhost:2947/?raw' # cgps 127.0.0.1:12000
* strange. somehow HAVE_SYS_STAT_H was being definedChris Kuethe2009-07-051-1/+0
| | | | even though we weren't checking for it. let's fix that properly, shall we?
* change the dgnss_ prefix to netgnss_Chris Kuethe2009-07-041-7/+7
| | | | | this more accurately reflects that this is now becoming a generic network gnss interface
* missing header, and whitespaceChris Kuethe2009-07-041-2/+3
|
* 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.
* Clean up splint and compilation warnings, fix minor gpsdecode option bugs.Eric S. Raymond2009-05-281-2/+2
|
* Fix for incorrect hex-transmission code.Eric S. Raymond2009-05-221-4/+6
|
* Patch by Petr Slansky to avoid both splint and compiler warnings.Eric S. Raymond2009-03-281-1/+1
|
* Splint and compiler-warning cleanup.Eric S. Raymond2009-03-251-3/+7
|
* Even more delayed allocation on wait-for-connect.Eric S. Raymond2009-03-251-6/+39
| | | | | | | | Now, we stash each device name given on the command line or presented over the control port in the channels array, but don't open the device and sniff packets from it until a user tries to allocate a channel. At that point we actually need to test each attached device for the type of data it ships.
* Delayed device close is working.Eric S. Raymond2009-03-201-3/+4
|
* First cut at implementing Matthias Urlich's suggestion about a release timeout.Eric S. Raymond2009-03-201-17/+36
|
* Restore wait-for connect as an accessible mode and the default.Eric S. Raymond2009-03-201-1/+1
| | | | | This is not a finasl decision, but both modes need to be available for testing so we can decide what the right default is.
* splint cleanup.Eric S. Raymond2009-03-181-3/+4
|
* Fix code for RTCM distribution.Eric S. Raymond2009-03-171-1/+2
|
* Enable passing of RTCM data to rtcm_writer() methods.Eric S. Raymond2009-03-161-2/+0
| | | | Not sure when this got disabled...
* fix some sign warningsChris Kuethe2009-03-101-3/+3
|
* Hush a compiler warning.Eric S. Raymond2009-03-091-1/+1
|
* Improve error detection from gpsd_hexpack().Eric S. Raymond2009-03-091-4/+9
|
* .cycle_chars is gone, replaced by min_cycle.Eric S. Raymond2009-03-071-6/+4
|
* Remove 'cycle' member from device structure. Eric S. Raymond2009-03-071-4/+4
| | | | | | | 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.
* Simplify the way ALLOW_RECONFIGURE works.Eric S. Raymond2009-03-061-0/+8
| | | | | | | | | | 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.
* Add an -l option to gpsd that lists its compiled-in drivers and exits.Eric S. Raymond2009-03-051-1/+19
|
* An explict cast to match the format.Eric S. Raymond2009-03-041-1/+1
|
* Quiet down the compiler.Eric S. Raymond2009-03-041-1/+1
|
* Use %d to print difference of pointers, rather than %ld.Greg Troxel2009-03-041-1/+1
| | | | | | thanks to gcc for complaining: gpsd.c:571: warning: format '%ld' expects type 'long int', but argument 4 has type 'int'
* Process mode arguments a bit more forgivingly.Eric S. Raymond2009-03-021-1/+1
|
* Full support for setting parity and stop bits.Eric S. Raymond2009-03-021-9/+29
| | | | | Needs to be tested for non-8N1 modes on the devices that can support it: SiRF, UBX, Zodiac.
* Create infrastructure for allowing changes of parity and stop bits.Eric S. Raymond2009-02-281-1/+4
| | | | | Mainly useful for debugging odd stuff like Trimbles, most things run 8N1 these days. Don't expose it to the user yet.
* New channel allocation policy: seek fix quality.Eric S. Raymond2009-02-261-4/+17
|
* Refactor channel allocation policy.Eric S. Raymond2009-02-261-16/+13
| | | | We're going to try to make it pick devices with better fixes, next.
* Knock the rust off the D-Bus code.Eric S. Raymond2009-02-241-2/+3
|
* Magic-number elimination and compiler hushing.Eric S. Raymond2009-02-241-4/+4
|
* Major and minor API revision numbers need to be returned by L command.Eric S. Raymond2009-02-121-1/+1
|
* All driver method tables are now const.Eric S. Raymond2009-02-121-5/+5
| | | | | | | This required moving one field, the modifiable cycle time, into the session structure; the driver type field is now the default value set on switching to that driver, if the field has not already been set during a previous activation.