From 92efe8c112f273e468aa74b354a776410bea0945 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 21 Oct 2013 17:42:45 -0400 Subject: Ignore (but log) "Secure SIS" channel C messages. --- drivers.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers.c') diff --git a/drivers.c b/drivers.c index 3de65bda..031e0ec7 100644 --- a/drivers.c +++ b/drivers.c @@ -1233,6 +1233,10 @@ static bool aivdm_decode(const char *buf, size_t buflen, ais_context = &session->driver.aivdm.context[1]; session->driver.aivdm.ais_channel ='B'; break; + case 'C': + gpsd_report(session->context->debug, LOG_INF, + "ignoring AIS channel C (secure AIS).\n"); + return false; default: gpsd_report(session->context->debug, LOG_ERROR, "invalid AIS channel 0x%0X .\n", field[4][0]); -- cgit v1.2.1