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
#5
(2021-06-07, 03:56 PM)SCarns Wrote: Ahhh, now I see what you are trying to do... and the answer is, it's complicated.

You'll need to set up a new connection in "Data Connections" to receive data FROM OpenCPN. Set it to put output into NMEA0183output to insert that data into the NMEA0183 data stream. How does your 0183 autopilot connect to SignalK? Same as your VHF?

For the VHF, go back into your configuration in nmea0183-to-nmea0183 and your vhf out setting and turn on RMC. Once OpenCPN starts sending that, that event will update the radio.

Steve
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
Cordialement
Didier B
Pi4, SSD USB3, OP 3.0 Touch SK 3.2.1 OpenCPN  5.8.4 :  Thank you  Thank you  Thank you


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: 2 Guest(s)