Here explained that the field 4 is a sequential message ID for multi-sentence messages. What does it means? What is the difference between field 4 and field 3?
AIS Sentence Sequential Message ID Usage
1.3k Views Asked by panoet At
2
There are 2 best solutions below
1

maybe it's to late for answer this now, but it could help others... This field 4, the sequential message id, runs from 0 to 9 and then start over 0. It's incremented each time a new multi-sentence message is generated, this is why the vessel A is seq 0, vessel B seq 1, etc because the receiver creates the NMEA messages and each multi-sentence message outputted increases this number no matter the transmitter (the Vessel)
From the website:
Consider a message sent using 2 fragments:
2
, the number of fragments.1
for the first fragment, and2
for the second0
and9
, but will be common for both messages. This number is incremented for each new multi-fragment message sent by a vessel. It allows the decoding program to match together fragments that belong to the same message.Here's one other example:
The message has
2
parts (from field #2), we can see fragments1
and2
(from field #3), and the message_id for both fragments of this message is8
(from field #4).From the same vessels, I had previously received message ID
7
, and right before this message ID6
, etc.