summaryrefslogtreecommitdiff
path: root/test/synthetic-ais.json
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-26 21:40:39 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-26 21:40:39 -0400
commit2542668ccc6f715cee6f0cf74b6d9955a7a6d9ef (patch)
tree2814c6e5c4fefbc034545a03c38e7acdb05e33db /test/synthetic-ais.json
parentb8e01de8f94baa9e73af7d73375215fa6a3a762f (diff)
downloadgpsd-2542668ccc6f715cee6f0cf74b6d9955a7a6d9ef.tar.gz
Extended AIS idempotency test coverage to messages 22, 23, 24.
...and in doing so, fix a bug in AIS parsing.
Diffstat (limited to 'test/synthetic-ais.json')
-rw-r--r--test/synthetic-ais.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/synthetic-ais.json b/test/synthetic-ais.json
index ca3b8168..befd1144 100644
--- a/test/synthetic-ais.json
+++ b/test/synthetic-ais.json
@@ -43,3 +43,6 @@
{"class":"AIS","type":20,"repeat":3,"mmsi":3669705,"scaled":false,"offset1":2182,"number1":5,"timeout1":7,"increment1":225,"offset2":0,"number2":0,"timeout2":0,"increment2":0,"offset3":0,"number3":0,"timeout3":0,"increment3":0,"offset4":0,"number4":0,"timeout4":0,"increment4":0}
{"class":"AIS","type":20,"repeat":0,"mmsi":3160097,"scaled":false,"offset1":47,"number1":1,"timeout1":7,"increment1":250,"offset2":2250,"number2":1,"timeout2":7,"increment2":1125,"offset3":856,"number3":5,"timeout3":7,"increment3":1125,"offset4":0,"number4":0,"timeout4":0,"increment4":0}
{"class":"AIS","type":21,"repeat":0,"mmsi":123456789,"scaled":false,"aid_type":20,"name":"CHINA ROSE MURPHY EXPRESS ALERT","accuracy":false,"lon":-73619155,"lat":28752371,"to_bow":5,"to_stern":5,"to_port":5,"to_starboard":5,"epfd":1,"second":50,"regional":165,"off_position":false,"raim":false,"virtual_aid":false}
+{"class":"AIS","type":22,"repeat":0,"mmsi":3160048,"scaled":false,"channel_a":2087,"channel_b":2088,"txrx":0,"power":false,"ne_lon":-44100,"ne_lat":27330,"sw_lon":-48100,"sw_lat":25400,"addressed":false,"band_a":false,"band_b":false,"zonesize":4}
+{"class":"AIS","type":23,"repeat":0,"mmsi":2268120,"scaled":false,"ne_lon":1578,"ne_lat":30642,"sw_lon":1096,"sw_lat":30408,"stationtype":6,"shiptype":0,"interval":9,"quiet":0}
+{"class":"AIS","type":24,"repeat":2,"mmsi":338085242,"scaled":false,"shipname":"CAPTAIN`S PARADISE","shiptype":54,"vendorid":"ACR1234","callsign":"WDD7883","to_bow":8,"to_stern":3,"to_port":2,"to_starboard":1}