This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
choose UDP ports
#9
(2021-06-07, 04:59 PM)Didier B Wrote: In fact I want to route the position (RMC) to a VHF (NMEA interface), and the pilot control (APB, XTE) to a Pilot NMEA interface.

1st in opencpn, I created 2 outgoing UDP connections with the proper sentences : OUT1 to Pilot, UDP 10116, and OUT 2 to VHF, UDP 10118 ;

In the in nmea0183-to-nmea0183 plugin I also selected the proper NMEA sentences attached to 2 newly created output events (for both pilot and VHF ) ;

Then in Signal K, I created 2 connections : to the UDP 10116 to (the RS422 USB device linking) the Pilots' output event, and to UDP 10118 to the  RS422 USB device linking the) VHF's output event 's ;

I selected the port numbers (10116 & 10118) with a blindfold,  Confused  and by pure luck it is working, so far ! Cool

I would feel much more relax if a skilled person could bless this choice (in UDP port numbers) or adversely advise me which numbers should I use ! Angel

Firstly, RMC should come from your GPS device to OCPN through the existing, incoming to OCPN connection. which should look something like below:
   

then setup the outgoing connection from OCPN, notice I only send XTE, APB, RMB - this stops message loops.  your 10116 or 10118 should be fine, but you don't need separate outputs
   

On the Signal K side, add a data connection (Server => Data Connections) per below, make sure the port is whatever you use:
   

now you will have all the data in signal K and be able to see it on the Signal K data browser. 

after that, you can send the sentences out by setting them in SignalK to NMEA0183 plugin and a serial connection to your VHF and AP (which I think you already have)
Reply


Messages In This Thread
choose UDP ports - by Didier B - 2021-06-06, 04:57 PM
RE: choose UDP ports - by SCarns - 2021-06-06, 11:38 PM
RE: choose UDP ports - by Didier B - 2021-06-07, 10:03 AM
RE: choose UDP ports - by SCarns - 2021-06-07, 03:56 PM
RE: choose UDP ports - by Didier B - 2021-06-07, 04:59 PM
RE: choose UDP ports - by Techstyle - 2021-06-08, 02:55 PM
RE: choose UDP ports - by PaddyB - 2021-06-08, 06:02 PM
RE: choose UDP ports - by SCarns - 2021-06-07, 06:19 PM
RE: choose UDP ports - by Didier B - 2021-06-07, 06:50 PM
RE: choose UDP ports - by PaddyB - 2021-06-07, 07:15 PM
RE: choose UDP ports - by Sailoog - 2021-06-08, 06:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)