Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools 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: 300
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
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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:14.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.