Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-02-2014, 07:13   #1
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 427
Write from PI to com(AIS) port

A friend did ask me if it would be possible to write a plugin for programming the static voyage data in a class A AIS tranceiver from OCPN.
This data can be changed by sending a simple nmea sentence to the AIS.

$--VSD,x.x,x.x,x.x,c--c,hhmmss.ss,xx,xx,x.x,x.x*hh<CR><LF>
1 x.x Type of ship and cargo category, 0 to 255
2 x.x Maximum present static draught, 0 to 25.5 metre
3 x.x Persons on-board, 0 to 8191
4 c--c Destination, 1-20 characters
5 hhmmss.ss Estimated time of arrival at destination (UTC)
6 xx Estimated day of arrival at destination, 00 to 31 (UTC)
7 xx Estimated month of arrival at destination, 00 to 12 (UTC)
8 x.x Navigational status, 0 to 15
9 x.x Regional application flags, 0 to 15

Can I send this message from my (to be written PI) to the AIS or is it blocked by the connection filters?

Dirk
rooiedirk is offline   Reply With Quote
Reply

Tags
ais

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Advertise Here


All times are GMT -7. The time now is 13:43.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.