2021-07-04, 07:53 PM
I'm also trying to share an active route through signalK between different instances of OpenCPN and then possibly to the N2K plotter and AP.
I have a Pi running Openplotter and a windows laptop running OpenCPN.
Connected to the Pi is a USB AIS-GPS receiver which is working correctly, GPS and AIS data are received by signalK and broadcast to all OpenCPN connected.
I'd like to use the laptop to draw routes to be then displayed on the Pi. So far I managed to send RMB,APB,XTE sentences to signalK, I can see them being updated regularly in the data browser, however they don't get forwarded with the rest of the signalK data. I confirmed this by switching the connection type from signalK to TCP on the Pi, so I could see in the NMEA monitor that those sentences were missing. So I guess signalK not forwarding some data would be one problem. The other problem being, I tried to open a direct TCP connection between the two instances of OpenCPN, bypassing completely signalK, filtering RMB,APB,XTE only. This time I could see in the NMEA monitor, OpenCPN on my Pi was receiving those sentences correctly, but it wouldn't use them to draw an active route on the chart.
Am I missing something?
I have a Pi running Openplotter and a windows laptop running OpenCPN.
Connected to the Pi is a USB AIS-GPS receiver which is working correctly, GPS and AIS data are received by signalK and broadcast to all OpenCPN connected.
I'd like to use the laptop to draw routes to be then displayed on the Pi. So far I managed to send RMB,APB,XTE sentences to signalK, I can see them being updated regularly in the data browser, however they don't get forwarded with the rest of the signalK data. I confirmed this by switching the connection type from signalK to TCP on the Pi, so I could see in the NMEA monitor that those sentences were missing. So I guess signalK not forwarding some data would be one problem. The other problem being, I tried to open a direct TCP connection between the two instances of OpenCPN, bypassing completely signalK, filtering RMB,APB,XTE only. This time I could see in the NMEA monitor, OpenCPN on my Pi was receiving those sentences correctly, but it wouldn't use them to draw an active route on the chart.
Am I missing something?