summaryrefslogtreecommitdiff
path: root/sirf.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2006-09-22 02:55:44 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2006-09-22 02:55:44 +0000
commitb5a8d504b74a2c8973fffef246c6a2b9f64966e5 (patch)
tree8b9c97916455d3d6b95a74c2f12a7f73adb46bdc /sirf.c
parent8342fd43d72c6a3f3e1cf6c74cb33e2b9d87417c (diff)
downloadgpsd-b5a8d504b74a2c8973fffef246c6a2b9f64966e5.tar.gz
Document two more messages, and adjust the debug level.
Diffstat (limited to 'sirf.c')
-rw-r--r--sirf.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/sirf.c b/sirf.c
index 4abb60c1..44daef3d 100644
--- a/sirf.c
+++ b/sirf.c
@@ -365,6 +365,14 @@ gps_mask_t sirf_parse(struct gps_device_t *session, unsigned char *buf, size_t l
gpsd_report(4, "VIS 0x0d\n");
return 0;
+ case 0x0e: /* Almanac Data */
+ gpsd_report(4, "ALM 0x0e: %s\n", gpsd_hexdump(buf, len));
+ return 0;
+
+ case 0x0f: /* Ephemeris Data */
+ gpsd_report(4, "EPH 0x0f: %s\n", gpsd_hexdump(buf, len));
+ return 0;
+
case 0x12: /* OK To Send */
gpsd_report(4, "OTS 0x12: send indicator = %d\n",getub(buf, 1));
return 0;
@@ -414,15 +422,15 @@ gps_mask_t sirf_parse(struct gps_device_t *session, unsigned char *buf, size_t l
return 0;
case 0x1c: /* Navigation Library Measurement Data */
- gpsd_report(3, "NLMD 0x1c: %s\n", gpsd_hexdump(buf, len));
+ gpsd_report(4, "NLMD 0x1c: %s\n", gpsd_hexdump(buf, len));
return 0;
case 0x1e: /* Navigation Library SV State Data */
- gpsd_report(3, "NLSV 0x1e: %s\n", gpsd_hexdump(buf, len));
+ gpsd_report(4, "NLSV 0x1e: %s\n", gpsd_hexdump(buf, len));
return 0;
case 0x1f: /* Navigation Library Initialization Data */
- gpsd_report(3, "NLID 0x1f: %s\n", gpsd_hexdump(buf, len));
+ gpsd_report(4, "NLID 0x1f: %s\n", gpsd_hexdump(buf, len));
return 0;
case 0x29: /* Geodetic Navigation Information */