1 # Sample AIVDM data sentences provided from real data by Kurt Schwehr
2 # Mike Greene, Neal Arundale, and AISHub.
4 # This file is Copyright (c) 2010 by the GPSD project
5 # BSD terms apply: see the file COPYING in the distribution root for details.
8 # From Kurt Schwehr. Dump was attached. Checked using the noaadata tools.
9 !AIVDM,1,1,,A,15RTgt0PAso;90TKcjM8h6g208CQ,0*4A
17 # longitude: -123.395383333
18 # latitude: 48.38163333333
26 # state_slottimeout: 2
27 # state_slotoffset: 1249
30 # From Kurt Schwehr. Dump was attached. Checked using the noaadata tools.
31 !AIVDM,1,1,,A,16SteH0P00Jt63hHaa6SagvJ087r,0*42
48 # stare_slottimeout: 2
49 # state_slotoffset: 506
52 # From Kurt Schwehr. Dump was attached. Checked using the noaadata tools.
53 # I had to regenerate the CRC32 for this one myself, it was missing in
55 !AIVDM,1,1,,B,25Cjtd0Oj;Jp7ilG7=UkKBoB0<06,0*60
63 # longitude: -71.62614333333333333333333333
64 # latitude: 40.39235833333333333333333333
72 # state_slottimeout: 3
76 # From Kurt Schwehr. Dump was attached. Checked using the noaadata tools.
77 !AIVDM,1,1,,A,38Id705000rRVJhE7cl9n;160000,0*40
85 # longitude: -76.32753333333333333333333333
94 # state_slottimeout: 0
98 # From Kurt Schwehr. Dump was attached. Checked using the noaadata tools.
99 !AIVDM,1,1,,A,403OviQuMGCqWrRO9>E6fE700@GO,0*4D
109 # PositionAccuracy: 1
110 # Position_longitude: -76.35236166666666666666666667
111 # Position_latitude: 36.88376666666666666666666667
116 # state_slottimeout: 4
117 # state_slotoffset: 1503
120 # From Kurt Schwehr. Dump was attached. Checked using the noaadata tools.
121 !AIVDM,2,1,1,A,55?MbV02;H;s<HtKR20EHE:0@T4@Dn2222222216L961O5Gf0NSQEp6ClRp8,0*1C
122 !AIVDM,2,2,1,A,88888888880,2*25
141 # destination: NEW YORK
147 # Text decode for this one came from regrouping the binary data dump from Kurt's
148 # ais_msg_6.py on one of his test sentences. It's unknown what's in the binary
150 !AIVDM,1,1,,B,6B?n;be:cbapalgc;i6?Ow4,2*4A
155 # DestinationID: 313240222
156 # RetransmitFlag: False
160 # Data: 48:eb2f118f7ff1
162 # From AISHub. This type 6 has no data. It's paired with the
163 # following type 7; both are verified by the match in the MMSI fields
164 !AIVDM,1,1,,A,63u?;TP0`QJ<06P000,4*43
166 # Repeat Indicator : 0
168 # Sequence Number : 0
169 # Destination MMSI : 2655651
170 # Retransmit flag : 0
175 # FIX-ME: We need a type 6 test case that requires more than one AIVDM fragment.
178 # From AISHub - reported immediately after the preceding type 6,
179 # which matches it. One destination MMSI. noaadata-0.43 fails
180 # on this message (Kurt says his decoder only handles the longest case).
181 !AIVDM,1,1,,A,702R5`hwCjq8,0*6B
183 # Repeat Indicator : 0
185 # MMSI number 1 : 265538450
188 # From Kurt Schwehr. Three destination MMSIs.
189 # noaadata-04.2 fails on this message
190 !AIVDM,1,1,,A,7IiQ4T`UjA9lC;b:M<MWE@,4*01
191 # SourceMMSI: 655901842
198 # This was from Mike Greene and had a dump attached. Decode is known good.
199 # noaadata-0.43 fails on this message
200 !AIVDM,1,1,,B,7`0Pv1L:Ac8rbgPKHA8`P,2*56
203 # SourceMMSI: 537411077
209 # Text decode for this one came from regrouping the binary data dump from Kurt's
210 # ais_msg_8.py on one of his test sentences. It's unknown what's in the binary
212 !AIVDM,1,1,,A,85Mwp`1Kf3aCnsNvBWLi=wQuNhA5t43N`5nCuI=p<IBfVqnMgPGs,0*47
216 # ApplicationID: 23480
219 # Data: 256:3a53dbb7be4a773137f87d7b0445f040dea05d93f593783194ae9b9d9dbe05fb
222 # From Kurt Schwehr. Spans more than one AIVDM fragment. Known good.
223 # Analyzed in <4BE6A423.8000007@ccom.unh.edu>, seems to be military traffic
224 # with a mis-entered MMSI.
225 !AIVDM,2,1,6,A,8>qc9wiKf>d=Cq5r0mdew:?DLq>1LmhHrsqmBCKnJ50,0*30
226 !AIVDM,2,2,6,A,3OLc=UCRp,0*4A,b003660465
232 # Data 256:eb0d4f917a035b2dfca3d4739381735c18ebbe754936f66850037dcacd9538b8
235 # From AISHub. Checked with the noaadata tools.
236 !AIVDM,1,1,,A,91b77=h3h00nHt0Q3r@@07000<0b,0*69
238 # Repeat Indicator : 0
242 # Position Accuracy : 0
243 # Longitude : 7128960
244 # Latitude : 34667073
245 # Course Over Ground : 0
247 # Regional reserved : 0
251 # Radio status : 24597
254 # From Kurt Schwehr. Two destination MMSIs. Checked with the noaadata tools.
255 !AIVDM,1,1,,B,:5MlU41GMK6@,0*6C
264 # From Mike Greene. One destination MMSI. Decode is known good.
265 !AIVDM,1,1,,B,:6TMCD1GOS60,0*5B,s36310,d-081,T59.01777335
267 # Repeat Indicator: 0
269 # Destination MMSI: 366972000
272 # From Kurt Schwehr. Checked with the noaadata tools.
273 # Message has Coast Guard extended fields following
274 !AIVDM,1,1,,B,;4R33:1uUK2F`q?mOt@@GoQ00000,0*5D,s28089,d-103,T39.44353985,x147521,r08TPHI1,1242958962
284 # PositionAccuracy: 1
285 # Position_longitude: -94.40768333333333333333333333
286 # Position_latitude: 28.40911666666666666666666667
291 # state_slottimeout: 0
292 # state_slotoffset: 0
295 # From AIS Hub via Neal Arundale. Dumps by ais.py.
296 # Verified by the text being readable.
297 !AIVDM,1,1,,A,<02:oP0kKcv0@<51C5PB5@?BDPD?P:?2?EB7PDB16693P381>>5<PikP,0*37
299 # Repeat Indicator : 0
301 # Sequence Number : 0
302 # Destination MMSI : 215724000
303 # Retransmit flag : 0
304 # Text : PLEASE REPORT TO JOBOURG TRAFFIC CHANNEL 13
305 !AIVDM,1,1,,A,<5?SIj1;GbD07??4,0*38
307 # Repeat Indicator : 0
309 # Sequence Number : 0
310 # Destination MMSI : 316123456
311 # Retransmit flag : 0
313 !AIVDM,1,1,,A,<5?SIj5Cp;NPD81>H0,4*4C
315 # Repeat Indicator : 0
317 # Sequence Number : 1
318 # Destination MMSI : 351809000
319 # Retransmit flag : 0
321 !AIVDM,1,1,,A,<42Lati0W:Ov=C7P6B?=Pjoihhjhqq0,2*2B
323 # Repeat Indicator : 0
325 # Sequence Number : 0
326 # Destination MMSI : 271002111
327 # Retransmit flag : 1
328 # Text : MSG FROM 271002099
329 !AIVDM,1,1,,A,<CR3B@<0TO3j5@PmkiP31BCPphPDB13;CPihkP=?D?PmP3B5GPpn,0*3A
331 # Repeat Indicator : 1
333 # Sequence Number : 3
334 # Destination MMSI : 2391100
335 # Retransmit flag : 1
336 # Text : EP 531 CARS 80 TRACKS 103 MOTO 5 CREW 86
337 !AIVDM,1,1,,A,<9NS8O1ROcS0>9P81?f31<<PD5CD,0*46
339 # Repeat Indicator : 0
341 # Sequence Number : 0
342 # Destination MMSI : 413118000
343 # Retransmit flag : 0
344 # Text : NI HAO.CALL TEST
346 !AIVDM,2,1,1,A,<39KdV8jIGtP7E4P@=PjEP>P81@9P>5GPI9BP?<P4P25CP6B=P1<P6E:19B1,0*02
347 !AIVDM,2,2,1,A,80,4*1B
349 # Repeat Indicator : 0
351 # Sequence Number : 2
352 # Destination MMSI : 211378120
353 # Retransmit flag : 0
354 # Text : GUD PM 2U N HAPI NEW YIR OL D BES FRM AL FUJAIRAH
356 # From AISHub. This message was shipped to acknowledge the last type 12 and is
357 # verified by the fact that the MMSI fields are right.
358 !AIVDM,1,1,,A,=39UOj0jFs9R,0*65
360 # Repeat Indicator : 0
362 # MMSI number 1 : 211217560
365 # From AIS Hub via Neal Arundale. Dumps by ais.py.
366 # Verified by the text being readable.
367 !AIVDM,1,1,,A,>5?Per18=HB1U:1@E=B0m<L,2*51
369 # Repeat Indicator : 0
371 # Text : RCVD YR TEST MSG
372 !AIVDM,1,1,,A,>3R1p10E3;;R0USCR0HO>0@gN10kGJp,2*7F
374 # Repeat Indicator : 0
376 # Text : EP228 IX48 FG3 DK7 PL56.
377 !AIVDM,1,1,,A,>4aDT81@E=@,2*2E
379 # Repeat Indicator : 0
384 # From Mike Greene. This is the 88-bit variant with one MMSI,
385 # message type and offset. Decode is known good.
386 !AIVDM,1,1,,A,?5OP=l00052HD00,2*5B
388 # Repeat Indicator: 0
390 # Destination MMSI: 5158
391 # First Message Type: 5
392 # First Slot Offset: 0
395 # From Kurt Schwehr. This is the 108/112-bit variant with one MMSI and two
396 # message types. Includes USCG metadata. Decode is known good.
397 !AIVDM,1,1,,B,?h3Ovn1GP<K0<P@59a0,2*04,d-077,S1832,t004248.00,T48.85520485,r07RPAL1,1272415370
399 # Repeat Indicator : 3
401 # First interrogated MMSI : 367014320
402 # First message type : 3
403 # First slot offset : 516
404 # Second message type : 5
405 # Second slot offset : 617
406 # Second interrogated MMSI : 0
410 # FIX-ME: Need an example of the 160-bit variant of type 15 with two MMSIs.
413 # From AISHub. These are only a regression test to check that the C and Python
414 # decoders do the same thing, not yet checked against other
417 # This is the 96-bit version addressing just one destination MMSI.
418 !AIVDM,1,1,,A,@01uEO@mMk7P<P00,0*18
420 # Repeat Indicator : 0
422 # Interrogated MMSI 1 : 224251000
423 # First slot offset : 200
424 # First slot increment : 0
426 # FIX-ME: Need an example of the 144-bit variant of type 16 with two MMSIs, g.
429 # From AISHub. This is only a regression test to check that the C and Python
430 # decoders do the same thing, not yet checked against other
432 !AIVDM,2,1,5,A,A02VqLPA4I6C07h5Ed1h<OrsuBTTwS?r:C?w`?la<gno1RTRwSP9:BcurA8a,0*3A
433 !AIVDM,2,2,5,A,:Oko02TSwu8<:Jbb,0*11
439 DGNSS data : 376:7c0556c07031febbf52924fe33fa2933ffa0fd2932fdb7062922fe3809292afde9122929fcf7002923ffd20c29aaaa
442 # From Kurt Schwehr. Checked with the noaadata tools.
443 # I had to regenerate the CRC32 for this one myself, it was missing
444 # in Kurt's original..
445 !AIVDM,1,1,,A,B52K>;h00Fc>jpUlNV@ikwpUoP06,0*4C
451 # PositionAccuracy: 0
452 # longitude: -74.07213166666666666666666667
457 # RegionalReserved: 0
460 # CommStateSelector: 1
463 # From Kurt Schwehr. Checked with the noaadata tools.
464 !AIVDM,1,1,,A,B52KB8h006fu`Q6:g1McCwb5oP06,0*00
470 # PositionAccuracy: 0
471 # longitude: -70.8111966
472 # latitude: 43.11555833
476 # RegionalReserved: 0
479 # CommStateSelector: 1
482 # From Kurt Schwehr. Checked with the noaadata tools.
483 !AIVDM,1,1,,B,B5O6hr00<veEKmUaMFdEow`UWP06,0*4F
485 # Repeat Indicator: 0
487 # Speed Over Ground: 51
488 # Position Accuracy: 1
489 # Longitude: -72.2338483333
490 # Latitude: 39.480925
491 # Course Over Ground: 349
499 # Assigned-Mode Flag: 0
506 # From Mike Greene. Checked with the noaadata tools. Decode is known good.
507 !AIVDM,1,1,,B,C5N3SRgPEnJGEBT>NhWAwwo862PaLELTBJ:V00000000S0D:R220,0*0B
513 # PositionAccuracy: 0
514 # longitude: -88.8103916667
515 # latitude: 29.543695
532 # From Mike Greene. Checked with the noaadata tools.
533 !AIVDM,1,1,,A,Dh3OvjB8IN>4,0*1D
535 # Repeat Indicator: 3
538 # Reserved Slots 1: 5
542 # Type 20 (3 offsets):
544 !AIVDM,1,1,,B,D030p8@2tN?b<`O6DmQO6D0,2*5D
546 # Repeat Indicator: 0
549 # Reserved Slots 1: 1
553 # Reserved Slots 2: 1
557 # Reserved Slots 3: 5
562 # Has a Name Extension field
563 # From Mike Greene. Decode is verified by the text being readable.
564 !AIVDM,2,1,5,B,E1mg=5J1T4W0h97aRh6ba84<h2d;W:Te=eLvH50```q,0*46
565 !AIVDM,2,2,5,B,:D44QDlp0C1DU00,2*36
567 # Repeat Indicator: 0
570 # Name: CHINA ROSE MURPHY EXPRESS ALERT
571 # Position Accuracy: 0
572 # Longitude: -122.698591667
573 # Latitude: 47.9206183333
574 # Dimension to Bow: 5
575 # Dimension to Stern: 5
576 # Dimension to Port: 5
577 # Dimension to Starboard: 5
580 # Off-Position Indicator: 0
581 # Regional Reserved: 165
583 # Virtual-Aid Flag: 0
584 # Assigned-Mode Flag: 0
587 # From AISHub. Broadcast case: we won't count this as a full test by
588 # itself because the bit layout of the addressed case is different.
589 # (The addressed form seems to be rare or nonexistent in the wild; none
590 # showed up in a three-hour sample from AISHub, while many broadcasts did.)
591 # Verified only by the fact that the Python and C decoders get consistent
592 # results, we haven't actually seen an independent dump of these fields.
593 # (The noaadata 0.42 dumper for this type doesn't seem to work.)
594 !AIVDM,1,1,,A,F030ot22N2P6aoQbhe4736L20000,0*1A
596 # Repeat Indicator : 0
602 # NE Longitude : -44100
603 # NE Latitude : 27330
604 # SW Longitude : -48100
605 # SW Latitude : 25400
612 # From AISHub. Only a regression test to check that the C and Python decoders
613 # do the same thing, not yet checked against other decoders.
614 !AIVDM,1,1,,B,G02:Kn01R`sn@291nj600000900,2*12
616 # Repeat Indicator : 0
618 # NE Longitude : 1578
619 # NE Latitude : 30642
620 # SW Longitude : 1096
621 # SW Latitude : 30408
625 # Reporting interval : 9
630 # One pair of type A and Type B messages.
631 !AIVDM,1,1,,A,H42O55i18tMET00000000000000,2*6D
637 !AIVDM,1,1,,A,H42O55lti4hhhilD3nink000?050,0*40
651 ##############################################################################
652 # Invalid packet tests:
653 ##############################################################################
655 # That fragment misses part 1, yields nothing:
656 AIVDM,2,2,1,B,00000000000,2*26
659 ##############################################################################
660 # Type 24 collisions:
661 ##############################################################################
663 # 24B from 271041815:
664 # This sentence is missing 24A and is discarded
665 !AIVDM,1,1,,A,H42O55lti4hhhilD3nink000?050,0*40
666 # gpsdecode: AIVDM message type 24 collision on channel A: 24B sentence from 271041815 without 24A.
668 # 24A from mmsi 271041511:
670 !AIVDM,1,1,,A,H42O3qiA8U10Tp0000000000000,2*37
672 # 24A from mmsi 271040660:
673 # Previous 24A from 271041511 is discarded, context is updated
674 !AIVDM,1,1,,A,H42O0U0Lu`@Dno4000000000000,2*18
675 # gpsdecode: AIVDM message type 24 collision on channel A : Discarding previous sentence 24A from 271041511.
677 # 24B from mmsi 271020195:
678 # Mmsi mismatch: That packet is discarded and context still hold data from 271040660
679 !AIVDM,1,1,,A,H42Mh`lUi2hhljiI=mikk000B050,0*17
680 # gpsdecode: AIVDM message type 24 collision on channel A: MMSI mismatch: 271040660 vs 271020195.
682 # 24B from mmsi 271040660:
684 !AIVDM,1,1,,A,H42O0U4Ui3hhhlmI=mmhl000H060,0*2E
686 ##############################################################################
687 # Channel multiplexing test:
688 ##############################################################################
689 # simultaneous use of buffers of channels A & B
690 !AIVDM,2,1,6,B,542M92h00001@<7;?G0PD4i@R0<tqA8tj37>220o0h:2240Ht50000000000,0*3B
691 !AIVDM,2,1,2,A,542M92h00001@<7;?G0PD4i@R0<tqA8tj37>220o0h:2240Ht500000000000000,0*3C
692 !AIVDM,2,2,2,A,0000002,2*24
693 !AIVDM,2,2,6,B,00000000000,2*21