summaryrefslogtreecommitdiff
path: root/gpsctl.c
Commit message (Collapse)AuthorAgeFilesLines
* More header cleanup.Eric S. Raymond2010-12-131-7/+7
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-4/+0
|
* Carry through and document the poll() -> read() change.Eric S. Raymond2010-07-141-1/+1
|
* First round of changes for API major version 5:Eric S. Raymond2010-07-131-1/+1
| | | | | * gps_open() becomes reentrant, what gps_open_r() used to be. * gps_poll() is removed in favor of gps_read().
* Introduce the gps_read() entry point and use it internally.Eric S. Raymond2010-06-081-2/+2
| | | | | | This is as per the roadmap. Clients can still use gps_poll(). All regression tests pass. Clients run correectly live.
* Splint cleanup. All regression tests pass.Eric S. Raymond2010-06-081-2/+0
|
* Use gps_open_r() in gpsctl.Eric S. Raymond2010-06-071-36/+39
|
* Stop trying to special-case terminating whitespace in gpsd_report().Eric S. Raymond2010-05-051-1/+1
|
* Comment improvements.Eric S. Raymond2010-04-131-1/+1
|
* Make the client library and daemon use different sets of state-flag masks.Eric S. Raymond2010-04-091-2/+2
| | | | | | | | | | | | | | | | | Large patch, no actual executable code changes except in three debug dumpers. Breaks up the *_SET status macros so the client side continues to use them, but the daemon uses a similarly-named set with an _IS suffix. This frees up two mask bits in both sets - the client side no longer needs to have REPORT_SET and CLEAR_SET bits, and the daemon side no longer needs to have VERSION_SET and POLICY_SET. The only actual code change is that the maskdump.c module, generated by maskaudit.py, splits in half - one child now dumps client-side flags, the other daemon-side flags. One other function call in a debug dumper in libgps_core.c changes. All regression tests pass.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+1
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* David Ludlow's housekeeping and type-cleanup patch.Eric S. Raymond2010-01-021-1/+4
| | | | All regression tests pass,
* Arrgh. I confused ERR_SET with ERROR_SET in a couple of places.Eric S. Raymond2009-12-181-3/+3
| | | | | | | | | ERR_SET is now gone entirely, so in the extremely unlikely even that an app developer got caught by this (could never happen unless they shipped a bad command via the deprecated gps_send() entry point) the code will break noisily. All regression tests pass.
* Proper conditionalization in case CLIENTDEBUG_ENABLE is off.Eric S. Raymond2009-12-061-0/+2
|
* More tweaks to make -V do the right thing.Eric S. Raymond2009-12-011-1/+3
|
* stopbits is integer, not string.Gary E. Miller2009-12-011-1/+1
|
* Fix typo in last svn.Gary E. Miller2009-12-011-1/+1
|
* Fix up gpsctl's code for setting serial parameters.Eric S. Raymond2009-12-011-1/+1
|
* Make gpssctl debug output go to stderr.Gary E. Miller2009-12-011-3/+3
| | | | Fix stopbits error output.
* Allow gpsctl -D to enable json debug.Gary E. Miller2009-12-011-0/+1
|
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* Fixes for generated DEVICE calls.Eric S. Raymond2009-11-161-3/+3
|
* Make it possible to pass a cycle change to gpsctl.Eric S. Raymond2009-11-161-1/+1
|
* Splint cleanup. All regression tests pass.Eric S. Raymond2009-11-111-0/+2
|
* mode -> native.Eric S. Raymond2009-11-111-2/+2
|
* Correct DEVICE invocations for gpsctl.c.Eric S. Raymond2009-11-111-5/+5
|
* Dump the returned erro when ERR_SET is raised.Eric S. Raymond2009-11-111-1/+1
|
* At least report when an error JSON is received.Gary E. Miller2009-11-111-1/+7
|
* Improve logging a tad.Gary E. Miller2009-11-111-1/+4
|
* gps_query() is removed.Eric S. Raymond2009-09-231-0/+16
|
* Simplify the API. The second argument of gpsd_activate() was a fossil.Eric S. Raymond2009-09-181-1/+1
|
* Bride of the Splint Cleanup. All regression tests pass.Eric S. Raymond2009-09-101-2/+3
|
* Yet more splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-6/+6
|
* More splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-5/+5
|
* Add gps_errstr() to the client API so client code doesn't have toEric S. Raymond2009-08-261-11/+2
| | | | reinvent it all the time. Use it in gpsmon.
* Unify CONFIGDEV and DEVICE responses.Eric S. Raymond2009-08-251-5/+5
|
* Add character type to JSON parser.Eric S. Raymond2009-08-251-41/+30
| | | | | Make gpsctl work with new protocol (only the device ID function is tested at this point).
* Major rearrangement of device members in struct gpsdata_t... Eric S. Raymond2009-08-231-24/+24
| | | | | ...documented in the protocol-transition white paper. All regression tests pass.
* Move some struct gpsdata_t members around to get better space economy.Eric S. Raymond2009-08-181-6/+6
| | | | | | Change the way device lists are represented so they can carry attributes from the new protocol. No more variable sizes by configure option, all that stuff gets swallowed up in the union member now.
* Add cycle-time reporting and setting to new protocol. Eric S. Raymond2009-08-171-3/+31
| | | | | | Steps towards making gpsctl work with new protocol. Incidentally, fixes a bug where min_cycle was not reported correctly in the C command.
* Comment fix.Eric S. Raymond2009-08-131-2/+3
|
* Fix typo. From Matt RoberdsChris Kuethe2009-06-051-1/+1
|
* Support --disable-controlsendEric S. Raymond2009-03-061-2/+11
|
* Simplify the way ALLOW_RECONFIGURE works.Eric S. Raymond2009-03-061-2/+26
| | | | | | | | | | 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.
* Support changing cycle time with gpctl and gpsmon, if the device supports it.Eric S. Raymond2009-03-051-3/+32
|
* Yikes! Change to -x and 'x'.Eric S. Raymond2009-03-051-4/+4
| | | | | -c and the c command shouldn't be "send arbitrary hex bytes" when there's a change-cycle-time method in the standard driver table.
* Process mode arguments a bit more forgivingly.Eric S. Raymond2009-03-021-4/+4
|
* Full support for setting parity and stop bits.Eric S. Raymond2009-03-021-20/+85
| | | | | 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-3/+4
| | | | | Mainly useful for debugging odd stuff like Trimbles, most things run 8N1 these days. Don't expose it to the user yet.