summaryrefslogtreecommitdiff
path: root/driver_rtcm2.c
Commit message (Collapse)AuthorAgeFilesLines
* Structure member name change: packet -> lexer. No logic changes.Eric S. Raymond2014-08-271-2/+2
| | | | All regression tests pass.
* Detect endianness on OS X.Greg Troxel2013-11-121-0/+15
| | | | | | | | This commit adds recognizing Darwin-specific endianness defines, and mapping them to the values used on Linux. Tested on OS X 10.7. Signed-off-by: Greg Troxel <gdt@ir.bbn.com> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Fix more build breakage. Partial splint cleanup.Eric S. Raymond2013-11-121-0/+2
|
* Fix endian detection on BSD.Greg Troxel2013-11-101-0/+17
| | | | | | | On BSD, the macro is _BYTE_ORDER, not __BYTE_ORDER. Adapt to the presence of either macro. Error out if the macro is not defined. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* RTCM V2: use scons to determine the location of <endian.h>.Beat Bolli2013-11-101-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | There are three cases to consider: - The compiler has built-in endianness macros. In this case, endian.h is not needed at all. The predefined symols are called __ORDER_BIG_ENDIAN_, __ORDER_LITTLE_ENDIAN__ and __BYTE_ORDER__. - <endian.h> exists. - <sys/endian.h> exists. This commit covers all three cases at configure time, as Greg Troxel wanted it. Relevant discussion can be found on the GCC mailing list: http://gcc.gnu.org/ml/gcc-help/2007-07/msg00342.html Of course, the optimal solution would get rid of the bit field structures and use bits.h to extract the values from the buffer in an endianess-independent way. Signed-off-by: Beat Bolli <bbolli@ewanet.ch> Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Another whack at in-compiler endianness setup.Eric S. Raymond2013-11-081-3/+4
| | | | All regression tests oass, PPS is live.
* Revert "Use a clever test for big-endianness."Eric S. Raymond2013-11-061-2/+27
| | | | Until I can repair it.
* Use a clever test for big-endianness.Eric S. Raymond2013-11-051-27/+2
|
* Exile a grotty endianness check to the only pace it's used.Eric S. Raymond2013-11-021-2/+30
|
* Documentation and port-issue updates.Eric S. Raymond2012-04-211-4/+7
|
* Minor improvements to RTCM2 doc comments.Eric S. Raymond2012-04-171-1/+1
|
* scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-291-1/+2
|
* Scan-build and splint cleanup. All regression tests pass.Eric S. Raymond2011-03-281-1/+1
|
* Minor splint fixes.Eric S. Raymond2011-03-151-3/+3
|
* Documentation update.Eric S. Raymond2011-03-151-5/+11
|
* Dump contents of of RTCM2.3 type 31 as a JSON object rather than hex words.Eric S. Raymond2011-03-151-0/+156
| | | | | | | | | Fix required in order to check the RTCM2 driver logic against the ASCII dump from Andre Naujoks. Remarkably, the check passes - though it appears that in his dump the constant 40 is added to all GLONASS satellite IDs. doubtless so they won't collide with GPS satellite IDs. The naujoks-ntrip.log test had to be rebuilt. All other regression tests pass.
* rangerr -> prc, rangerate -> rrc in RTCM2Eric S. Raymond2011-03-151-27/+27
| | | | | I was unaware of standard terminology/abbreviations. Fixing this now, before Version 5 API freezes.
* issuedata -> iod in RTCM2Eric S. Raymond2011-03-151-9/+9
| | | | | I was unaware of standard terminology/abbreviations. Fixing this now, before Version 5 API freezes.
* Change a structure name to avoid a future API break.Eric S. Raymond2011-03-141-20/+20
| | | | All regression tests pass.
* Comment typo fix.Eric S. Raymond2011-03-121-1/+1
|
* Implement and document RTCM 2.3 message type 13.Eric S. Raymond2011-02-281-2/+49
|
* Implement and document RTCM2.3 message type 14. All regression tests pass.Eric S. Raymond2011-02-281-1/+27
|
* Inline a header that is only used once. No code changes.Eric S. Raymond2011-02-281-1/+442
|
* The old Sager dump function is gone.Eric S. Raymond2011-02-281-5/+3
|
* Remove all support for RTCM2 Sager dump format.Eric S. Raymond2011-02-231-90/+0
| | | | | | Nothing but one regression tests in GPSD used it; that regression test has been rebuilt. All other tests pass. The rtcm-104.xml page now describes the JSON dump format.
* More header portability audting with a new version of deheader.Eric S. Raymond2010-12-221-3/+0
|
* More header portability auditing by deheader.Eric S. Raymond2010-12-221-1/+2
|
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-5/+0
|
* Give up on RTCM2 repack support. It's broken, and unlikely ever to be needed.Eric S. Raymond2010-04-251-218/+0
|
* More GNU indent suppression. All regression tests pass.Eric S. Raymond2010-04-141-2/+2
|
* More stupid GNU indent tricks.Eric S. Raymond2010-04-141-1/+1
|
* Scatter GNU indent pragmas to tell it not to do stupid things.Eric S. Raymond2010-04-141-1/+1
| | | | All regression tests pass.
* Some splint annotations got unstuck by the reindentation.Eric S. Raymond2010-04-141-4/+6
|
* Reindent the RTCM drivers. All regression tesrs pass.Eric S. Raymond2010-04-141-176/+188
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-4/+3
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+3
|
* 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.
* Fix some whitespace glitches found while experimenting with indent(1).Eric S. Raymond2009-11-171-8/+8
| | | | All regression tests pass.
* Guard some inclusions that splint doesn't like. Eric S. Raymond2009-09-101-0/+2
| | | | No effect on compilation. All regression tests pass.
* Bride of the Splint Cleanup. All regression tests pass.Eric S. Raymond2009-09-101-4/+4
|
* Continuing the splint cleanup.Eric S. Raymond2009-09-101-3/+3
|
* Partial splint cleanup. All regression tests pass.Eric S. Raymond2009-09-091-1/+1
|
* Arrange for double quotes in JSON string fields emitted by the daemon...Eric S. Raymond2009-08-311-127/+0
| | | | ...to be properly backslash-escaped.
* Back out a change that broke regression tests. All tests pass.Eric S. Raymond2009-08-301-1/+1
|
* Make string fields that might contain double quotes safe for JSON output.Eric S. Raymond2009-08-301-1/+1
|
* AIS dumper's signature has changed. Integrate AIS parsing on the library side.Eric S. Raymond2009-08-291-6/+6
|
* Regularize some JSON attribute names.Eric S. Raymond2009-08-281-1/+1
| | | | | It's useful for the attribute vocabulary to be consistent across data classes, where possible.
* RTCM2 JSON decoiding is verified and has a full regression test.Eric S. Raymond2009-08-281-5/+7
|
* JSON decoding for RTCM2 types 3, 7, and 16 is verified.Eric S. Raymond2009-08-281-4/+6
|
* Use enumerated string values for the "system" field in RTCM2 type 4 messages.Eric S. Raymond2009-08-281-5/+13
| | | | Register a synthetic test load for checking decoding of unusual message types.