From 1824f1f7e85b21325076aa825212158bb8686500 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 3 Oct 2013 01:09:57 -0400 Subject: We can now monitor low-level string sends through gpsmon. Now we'll know exactly what's being sent on a UBX mode change. --- gpsdecode.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gpsdecode.c') diff --git a/gpsdecode.c b/gpsdecode.c index 27137cb9..61db9f74 100644 --- a/gpsdecode.c +++ b/gpsdecode.c @@ -27,6 +27,14 @@ static unsigned int typelist[32]; * **************************************************************************/ +ssize_t gpsd_write(struct gps_device_t *session, + const char *buf, + const size_t len) +/* pass low-level data to devices straight through */ +{ + return gpsd_serial_write(session, buf, len); +} + void gpsd_report(const int debuglevel, const int errlevel, const char *fmt, ...) { -- cgit v1.2.1