LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Junior Member
 
First recorded activity by BoatBanter: Aug 2012
Location: Le Mans
Posts: 3
Default

Quote:
Originally Posted by Meindert Sprang View Post
"Larry Tonnade" JUNK wrote in message
...

Hello all,
I'm trying to understand AIS messages that are passed around between
boats.
My sotware job is requiring I write or reuse a parser.
I've read some documentation by Eric S Raymond but he's not all that
clear for a beginner like me.
Now to begin with the messages are typically in a NMEA0183 format, which
I wont explain here. In the case of AIS they begin with
AIVDM or AIVDO, then there are three fields:
1) a number that indicates the number of NMEA messages that are used to
send one AIS message


No, it is the number of NMEA *sentences* to send one message

2) a number that indicates the message number (must be less or equal to
the previous)


Again, the *sentence* number

3) a sequence number for multi-sentence messages.


This is indeed the *message* number.

An AIS message can be spread over more than one sentence, this is taken case
of with the first to fields and an AIS message can also have a sequence
number, which is represented by the third field.

From the top down:
You can have message 0 to 9 (rolling over) and each message can have up to 9
sentences.

Meindert
Thankyou for driving the point home, Meindert.
Now if only I could have an idea why there might be a sequence number for AIS
messages. You see with the possibly incorrect sample AIS data I got there was a sequence number that was 9 in a sentence, preceded by a message of another type with no sequence number.
Larry
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pelican Dive Sequence Wayne.B General 24 March 2nd 09 03:14 AM
Pelican Dive Sequence Wayne.B Cruising 0 February 28th 09 06:54 PM
The Dream Sequence Always Rings Twice Renee ASA 0 July 27th 07 06:06 AM
Error in starting sequence martin rheaume General 1 July 4th 05 11:11 PM
messages otnmbrd General 1 March 20th 05 01:15 AM


All times are GMT +1. The time now is 07:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 BoatBanter.com.
The comments are property of their posters.
 

About Us

"It's about Boats"

 

Copyright © 2017