summaryrefslogtreecommitdiff
path: root/rtcm.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-16 15:33:08 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-16 15:33:08 +0000
commit887417f0261b1c0b34a8a77bbc07d1b31cbae2fd (patch)
treee1fb753216287353faeff3b03bab6ed39eeb6862 /rtcm.c
parentd1857588cfcf0644fd84467e1b4853c0e45946a2 (diff)
downloadgpsd-887417f0261b1c0b34a8a77bbc07d1b31cbae2fd.tar.gz
Step two in RTCM merge: it no longer has a separate header.
Diffstat (limited to 'rtcm.c')
-rw-r--r--rtcm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/rtcm.c b/rtcm.c
index 4261beb4..530ce2ff 100644
--- a/rtcm.c
+++ b/rtcm.c
@@ -189,7 +189,13 @@ void rtcm_init(/*@out@*/struct gps_device_t *session)
}
/*
- * Here are the constants and structures used for decoding
+ * Structures for interpreting words in an RTCM-104 message (after
+ * parity checking and removing inversion).
+ *
+ * The RTCM words are 30-bit words. We will lay them into memory into
+ * 30-bit (low-end justified) chunks. To write them out we will write
+ * 5 Magnavox-format bytes where the low 6-bits of the byte are 6-bits
+ * of the 30-word msg.
*/
#define ZCOUNT_SCALE 0.6 /* sec */