2018-03-22, 11:13 PM
(2018-03-16, 02:48 PM)holgerw Wrote:(2018-03-16, 12:23 AM)robertyj Wrote: from Openplotter. Both are attached to the same network by Ethernet are up and running with IP addresses assigned by DHCP from the AP/Router.
Question is how SignalK looks at network ports - Openplotter appears to use port 3000. iKommunicate doesn't specify but seems use port 2000. Neither show any options to change.
Am I understanding this correctly? If so how do I get the ports to match so that iKommunicate is listening in the right place.
Add another outport like the :3000 to openplotter | nmea for your ikommuncate. :2000
Looks like iKommunicate will send NMEA data on port 2000 but not receive - it expects to get NMEA data from the custom interfaces that it provides. SignalK data is available through a rest API of port 80.
The underlying question is how you get two signalk devices to talk to each other. In a different test, I set up a second Raspberry PI to which I connected some sensors and then specified port 10112 for UDP output. On the primary PI, I specified port 10112 as UDP input expecting/hoping that it would see the signalK data related to the sensors - but nothing.