summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/sample.aivdm27
-rw-r--r--test/sample.aivdm.chk1
-rw-r--r--test/synthetic-ais.json1
3 files changed, 29 insertions, 0 deletions
diff --git a/test/sample.aivdm b/test/sample.aivdm
index b95622a7..fc9bed6f 100644
--- a/test/sample.aivdm
+++ b/test/sample.aivdm
@@ -159,6 +159,33 @@
# FID 11
# Data: 48:eb2f118f7ff1
#
+# Type 6, DAC 235, FID 10 (GLA, Rep. Ireland)
+# From Christian Gagneraud:
+# Decoding with Kanaton software.
+# !AIVDM,1,1,4,B,6>jR0600V:C0>da4P106P00,2*02
+# AIS channel:1
+# Message ID=6
+# Repeat Indicator=0
+# Source ID (MMSI)=992509976
+# Sequence number=0
+# Destination ID (MMSI)=2500912
+# Retransmit flag =0
+# Spare =0
+# Binary Data
+# Application identifier=0x3ACA(15050)
+# DAC=235(Specific)
+# Function identifier =10(GLA)
+# Application data:
+# Analogue internal=0x112->13.700V
+# Analogue input1=0x1->0.050V
+# Analogue input2=0x1->0.050V
+# AtoN status=0x14:Racon status=2(RACON operational), Ligth
+# status=2(light OFF), Good health=0(good health)
+# Digital status=0x00:In7=0,In6=0,In5=0,In4=0,In3=0,In2=0,In1=0,In0=0
+# Off position=0x00
+# Spare=0x00
+!AIVDM,1,1,4,B,6>jR0600V:C0>da4P106P00,2*02
+#
# From AISHub. This type 6 has no data. It's paired with the
# following type 7; both are verified by the match in the MMSI fields
!AIVDM,1,1,,A,63u?;TP0`QJ<06P000,4*43
diff --git a/test/sample.aivdm.chk b/test/sample.aivdm.chk
index 7841c6f6..3a0fd493 100644
--- a/test/sample.aivdm.chk
+++ b/test/sample.aivdm.chk
@@ -5,6 +5,7 @@
4|0|003669702|2007-05-14T19:57:39Z|1|-45811417|22130260|7|0|0x105df
5|0|351759000|9134270|0|3FOF8|EVER DIADEM|70|225|70|1|31|1|05-15T14:00Z|122|NEW YORK|0
6|1|150834090|3|313240222|0|669|11|48:eb2f118f7ff1
+6|0|992509976|0|2500912|0|235|10|274|1|1|2|2|0|0|0
6|0|265538450|0|2655651|0|1|40|16:0000
7|0|002655651|265538450|0|0|0
7|1|655901842|158483613|321823389|836359488|0
diff --git a/test/synthetic-ais.json b/test/synthetic-ais.json
index bf7d5606..4d9e77fc 100644
--- a/test/synthetic-ais.json
+++ b/test/synthetic-ais.json
@@ -12,6 +12,7 @@
{"class":"AIS","type":4,"repeat":0,"mmsi":3669702,"scaled":false,"timestamp":"2007-05-14T19:57:39Z","accuracy":true,"lon":-45811417,"lat":22130260,"epfd":7,"raim":false,"radio":67039}
{"class":"AIS","type":5,"repeat":0,"mmsi":351759000,"scaled":false,"imo":9134270,"ais_version":0,"callsign":"3FOF8","shipname":"EVER DIADEM","shiptype":70,"to_bow":225,"to_stern":70,"to_port":1,"to_starboard":31,"epfd":1,"eta":"05-15T14:00Z","draught":122,"destination":"NEW YORK","dte":0}
{"class":"AIS","type":6,"repeat":1,"mmsi":150834090,"scaled":false,"seqno":3,"dest_mmsi":313240222,"retransmit":false,"dac":669,"fid":11,"data":"48:eb2f118f7ff1"}
+{"class":"AIS","device":"stdin","type":6,"repeat":0,"mmsi":992509976,"scaled":false,"seqno":0,"dest_mmsi":2500912,"retransmit":false,"dac":235,"fid":10,"off_pos":false,"alarm":false,"stat_ext":0,"ana_int":274,"ana_ext1":1,"ana_ext2":1,"racon":2,"light":2}
{"class":"AIS","type":6,"repeat":0,"mmsi":265538450,"scaled":false,"seqno":0,"dest_mmsi":2655651,"retransmit":false,"dac":1,"fid":40,"data":"16:0000"}
{"class":"AIS","type":7,"repeat":0,"mmsi":2655651,"scaled":false,"mmsi1":265538450,"mmsi2":0,"mmsi3":0,"mmsi4":0}
{"class":"AIS","type":7,"repeat":1,"mmsi":655901842,"scaled":false,"mmsi1":158483613,"mmsi2":321823389,"mmsi3":836359488,"mmsi4":0}