diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-04 06:27:56 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-04 06:27:56 -0400 |
commit | 3429bc24f73ac88124960c370f830f7954ad6e80 (patch) | |
tree | b20a716ffd843d74dafeac01cd6b0ce69c2d965f /ais_json.c | |
parent | 4ca34dc763685581683de04c1b754141b6b62b67 (diff) | |
download | gpsd-3429bc24f73ac88124960c370f830f7954ad6e80.tar.gz |
In AIS, support for IMO236 type 8 DAC = 1 FID = 15
Diffstat (limited to 'ais_json.c')
-rw-r--r-- | ais_json.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -224,6 +224,10 @@ int json_ais_read(const char *buf, } imo = true; } + else if (strstr(buf, "\"fid\":15,") != NULL) { + status = json_read_object(buf, json_ais8_fid15, endptr); + imo = true; + } else if (strstr(buf, "\"fid\":29,") != NULL) { status = json_read_object(buf, json_ais8_fid29, endptr); imo = true; |