summaryrefslogtreecommitdiff
path: root/net_gnss_dispatch.c
Commit message (Collapse)AuthorAgeFilesLines
* Now that the transition is done we can restore the gpsd_report name.Eric S. Raymond2014-08-271-1/+1
| | | | All regression tests pass.
* The big leap. Most instances of gpsd_report are replaced...Eric S. Raymond2014-08-271-1/+1
| | | | | | | | | | | | | | | | ...with calls to gps_notify(), which indirects to its output method through a slot in an errout structure. Usually the errout structure lives inside the session context, but because struct errout_t is its own thing this does not have to be the case. One large clique of gpsd_notify() calls, in packet.c and isgps.c, looks at a struct errout_t copy in a lexer control block This change is not complete. Remnant gpsd_report calls need to be changed, and gpsmon needs to be tweaked so that the struct_error_t in its context is a non-defaukt hook updating the cuses display rather than simply dumping to stderr. Also the report label functionality needs to be added. All regression tests pass.
* Change gpsd_report to no longer use a global. All regression tests pass.Eric S. Raymond2013-09-291-1/+1
| | | | | | | | 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.
* Yet more code slimming. All regression tests pass, code splints clean.Eric S. Raymond2011-06-111-23/+0
|
* Make extra sure Ntrip correction state is correctly initialized.Eric S. Raymond2011-03-031-1/+3
|
* Eliminate the ntrip_state global.Eric S. Raymond2011-02-261-5/+6
|
* Eliminate the context->netgnss_service member.Eric S. Raymond2011-02-241-2/+2
| | | | | | | | | 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.
* Eliminate the dsock member in the context structure.Eric S. Raymond2011-02-241-13/+2
| | | | | | | | | | | | Another step towards integrating NTRIP support in a way that's actually correct for the daemon architecture. This involved conditioning out code for DGPSIP server lookups, a feature which was never documented and has probably been broken forever. It's actually not even clear there are still any DGPSIP servers still running; the dgpsip package was removed from Debiann at maintainer request in 2008 (see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392666). I may yet just rip out that code entirely.
* NTRIP fixes from Andre Naujoks.Eric S. Raymond2011-02-211-4/+4
| | | | I fixed them up to splint clean.
* Bug fixes and improvements for the NTRIP code.Andre Naujoks2011-02-131-19/+0
| | | | | | | | | | | | | | | | | | | | | | The first thing I had to do to make RTCM work at all, was to remove the separate poll for the socket (the change in gpsd.c). The same stuff is done in consume_packet, so there is no loss here. In fact the duplicated read caused constant lock losses on the RTCM stream because of missing data, which was already read by the now removed read. Add RTCM2 passthrough to the UBX driver: versions of the firmware since 7.0 can handle this. The change in net_ntrip.c adds another string to the valid strings for rtcm2 to be recognized. See: http://www.sapos-ni-ntrip.de:2101/sourcetable.htm for the sourcetable of the server. The mountpoint I am using is EPS_NI. The problem is the RTCM1_ data format. The people from sapos confirmed, that this is a RTCM2 stream and so far it works. All regression tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-1/+0
|
* More header portability auditing by deheader.Eric S. Raymond2010-12-221-0/+2
|
* Taking SuS seriously some more.Eric S. Raymond2010-12-141-7/+1
|
* More header rationalizations,Eric S. Raymond2010-12-141-1/+3
|
* More header simplification. All regression tests pass.Eric S. Raymond2010-12-141-2/+3
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-1/+0
|
* More indent pragmas.Eric S. Raymond2010-04-141-1/+6
|
* Follow previous commit by removing a cast that is no longer needed.Eric S. Raymond2010-04-141-3/+2
| | | | Codebase splints clean.
* Type cleanup: rtcmbyyes should bre a size_t.Eric S. Raymond2010-04-141-5/+7
| | | | All regressions pass. All splint chexcks pass.
* Reindent the network support. All regression tests pass.Eric S. Raymond2010-04-141-14/+19
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+7
|
* David Ludlow's housekeeping and type-cleanup patch.Eric S. Raymond2010-01-021-1/+5
| | | | All regression tests pass,
* 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.
* Guard some inclusions that splint doesn't like. Eric S. Raymond2009-09-101-1/+1
| | | | No effect on compilation. All regression tests pass.
* Dyke out the remotegpsd code. Eric S. Raymond2009-09-101-5/+0
| | | | | | The proxying concept is OK but the design is broken and the implementation has at least two bugs that are crash landings. Chris can do better than this.
* GPSD can now be a gpsd clientChris Kuethe2009-07-051-3/+1
| | | | | | | | 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
* change the dgnss_ prefix to netgnss_Chris Kuethe2009-07-041-20/+27
| | | | | this more accurately reflects that this is now becoming a generic network gnss interface
* create a net_ namespace for gpsd-as-a-client protocols. currently these areChris Kuethe2009-07-041-0/+103
dgpsip and ntrip. eventually, gpsd will be able to connect to a remote gpsd.