diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-09-22 02:55:44 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-09-22 02:55:44 +0000 |
commit | b5a8d504b74a2c8973fffef246c6a2b9f64966e5 (patch) | |
tree | 8b9c97916455d3d6b95a74c2f12a7f73adb46bdc /sirf.c | |
parent | 8342fd43d72c6a3f3e1cf6c74cb33e2b9d87417c (diff) | |
download | gpsd-b5a8d504b74a2c8973fffef246c6a2b9f64966e5.tar.gz |
Document two more messages, and adjust the debug level.
Diffstat (limited to 'sirf.c')
-rw-r--r-- | sirf.c | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 */ |