diff options
author | Christian Gagneraud <chgans@gna.org> | 2012-05-23 00:27:04 +0100 |
---|---|---|
committer | Christian Gagneraud <cgagneraud@techworks.ie> | 2012-05-23 21:36:34 +0100 |
commit | f2ba497b7ebe1158bb2e0088ad828c45600938ee (patch) | |
tree | 5abb21afc08b3465844c628639923840ceea9a04 /ais_json.c | |
parent | 6041bdbf72c9b92d50b5bad8a7e7ced9ef65678f (diff) | |
download | gpsd-f2ba497b7ebe1158bb2e0088ad828c45600938ee.tar.gz |
[AIS] Add UK/ROI AtoN monitoring data message handling
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -216,6 +216,12 @@ int json_ais_read(const char *buf, imo = true; } } + else if (strstr(buf, "\"dac\":235,") != NULL || strstr(buf, "\"dac\":250,") != NULL) { + if (strstr(buf, "\"fid\":10,") != NULL) { + status = json_read_object(buf, json_ais6_fid10, endptr); + imo = true; + } + } if (!imo) { status = json_read_object(buf, json_ais6, endptr); if (status == 0) |