Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-06-2016, 06:13   #1
Registered User

Join Date: Jun 2016
Posts: 3
OpenCPN plugin API

Hello everyone,
I currently work for a little compagny, and i have to made a plugin for OpenCPN.
My plugin target OpenCPN 4.2.0.
I have to send and receive NMEA3008 data from the AIS.
My plugin can read data from the AIS (using SetNMEASentence() event)
but i didnt find any function in the API that allow me to send NMEA data to the AIS.
Is there any example of this ?
Thank in advance, and sorry for my bad english.
Creekorful
__________________
creekorful is offline   Reply With Quote
Old 08-06-2016, 01:58   #2
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,823
Re: OpenCPN plugin API

what is nmea3008 and what messages are you sending to the AIS?
__________________
boat_alexandra is offline   Reply With Quote
Old 08-06-2016, 07:09   #3
Registered User

Join Date: Jun 2016
Posts: 3
Re: OpenCPN plugin API

My bad i use NMEA0183 protocol.
I've recently found the PushNMEABuffer( wxString buf ) function in ocpn_plugin
can i use this function to send NMEA data to the AIS ?
Thank in advance
__________________
creekorful is offline   Reply With Quote
Reply

Tags
enc, opencpn, plug

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Plugin API Documentation / Routes dachancellor OpenCPN 6 09-03-2016 14:49
Plugin API and documentation rgleason OpenCPN 2 06-11-2015 11:09
Waterlevel API plugin stedy OpenCPN 3 16-06-2015 07:03
Technical: API to query heading(s)? bushtor OpenCPN 4 03-06-2013 08:38
Plugin api coding rooiedirk OpenCPN 6 03-04-2013 09:49



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 22:32.


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.