2018-08-06, 08:57 AM
Had to sudo apt-get install lsof, then
kplex conf >
Did some testing , I have a barometer NMEA created in node-red going in to port 10111. This looks like it goes into SigK through TCP30330.
Just turned off the node-red nmea creation, this is where some strange things were happening before and kplex was maxing out a core. I'll do another lsof if and when it happens again. Kplex author is a friend so I'll email him, see if any of this means anything to him.
Thanks for your help!!!!!
Code:
pi@openplotter:~ $ lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
vncserver 1030 pi 10u IPv4 17556 0t0 TCP localhost:42565->localhost:54068 (ESTABLISHED)
kplex 1424 pi 4u IPv4 15356 0t0 UDP *:10110
kplex 1424 pi 5u IPv4 15359 0t0 TCP *:30330 (LISTEN)
kplex 1424 pi 6u IPv4 19457 0t0 UDP 10.10.10.1:50000
kplex 1424 pi 7u IPv4 19459 0t0 UDP 10.10.10.1:10111
kplex 1424 pi 9u IPv4 17334 0t0 TCP 10.10.10.1:30330->10.10.10.1:60504 (ESTABLISHED)
kplex 1424 pi 11u IPv4 17376 0t0 TCP localhost:30330->localhost:56864 (ESTABLISHED)
signalk-s 13715 pi 3u IPv6 159745 0t0 TCP *:3000 (LISTEN)
kplex conf >
Code:
[udp]
name=system
direction=in
port=10110
[tcp]
name=signalk
direction=out
mode=server
port=30330
###end of defaults
###OpenPlotter GUI settings
[udp]
name=tablet
direction=in
optional=yes
address=10.10.10.1
port=50000
[udp]
name=nodered
direction=in
optional=yes
address=10.10.10.1
port=10111
[serial]
name=gps
direction=in
optional=yes
filename=/dev/ttyOP_gps
baud=4800
Did some testing , I have a barometer NMEA created in node-red going in to port 10111. This looks like it goes into SigK through TCP30330.
Just turned off the node-red nmea creation, this is where some strange things were happening before and kplex was maxing out a core. I'll do another lsof if and when it happens again. Kplex author is a friend so I'll email him, see if any of this means anything to him.
Thanks for your help!!!!!