diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-26 07:12:18 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-26 07:12:18 -0400 |
commit | bb242724b92bda67a9bde6be5d6613c4249ec622 (patch) | |
tree | 510592072b128cf624b6a1ffd259bf83623a3a96 /ais_json.c | |
parent | 2a1e058804bb45db4278dd6875dc690d548e1844 (diff) | |
download | gpsd-bb242724b92bda67a9bde6be5d6613c4249ec622.tar.gz |
Add support for AIS Marine Traffic Signal message.
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -228,6 +228,10 @@ int json_ais_read(const char *buf, status = json_read_object(buf, json_ais8_fid15, endptr); imo = true; } + else if (strstr(buf, "\"fid\":19,") != NULL) { + status = json_read_object(buf, json_ais8_fid19, endptr); + imo = true; + } else if (strstr(buf, "\"fid\":29,") != NULL) { status = json_read_object(buf, json_ais8_fid29, endptr); imo = true; |