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
General help wanted on multiplexing
#10
(2018-10-06, 10:15 AM)Newt2u Wrote: One more query in relation to the wiring diagram above and in the docs. Is the TCP connection from signalk on 10110 bidirectional. E.g. will NMEA sentences generated on one of the devices connected to this link be received in signalk and made available on serial or other 10110 connections? My use case is generating autopilot sentences in isailor connected via port 10110 which I will need to be available to the 10110 connection to opencpn? If not, should they be directed to port 30330, isailor does have the facility for setting multiple network connections?

I notice the standard link in opencpn is input only, how to autopilot sentences generated there sent to the rest of the system?

The Signal K Server's TCP 10110 is currently output only. In fact there is no way today to use SK server as a TCP server accepting NMEA0183 data. Adding this capability is not much work - let us know if you or somebody else needs that, preferable in Github: https://github.com/SignalK/signalk-serve...issues/637

As for filtering the general idea in SK server is that each input, like NMEA0183 from a TCP server/serial line or NMEA2000 data from an adapter,  emits messages as named events. Then you can make an output like a serial connection listen for that particular event and output the event's data.

Then we have a plugin, aptly named nmea0183-to-nmea0183, that listens for a specified event and outputs filtered events under another name. https://www.npmjs.com/package/nmea0183-to-nmea0183

Another option is to use Node-RED for filtering and altering the flow of data, in much the same way as nmea0183-to-nmea0183 works, mapping data from one named event stream to another.
Reply


Messages In This Thread
General help wanted on multiplexing - by Newt2u - 2018-09-16, 12:07 PM
RE: General help wanted on multiplexing - by tkurki - 2018-10-08, 07:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)