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
Miniplex data to SignalK
#12
Yes, Signal K can receive broadcast UDP messages.

Yes, you need to restart the server to make connection settings take effect.

Often people have inadvertently configured something else, often OpenCPN, to listen on the same UDP port. Make sure there is nothing there. Use lsof to check:

lsof -i -P | grep 7777

where 7777 is your port number.

With nothing active on the port you can use nc to check that the UDP traffic is actually reaching your server:

nc -l -u 7777
or
nc -l -u -b wlan0 7777

where wlan0 is the network interface the traffic is supposed to be on. If there is incoming UDP traffic this will print it out.

With SK server running with an active UDP connection configured you can enable debug key
Code:
signalk:streams:udp
in server log you can see the incoming UDP traffic in the log. This helps to verify that the traffic is reaching the SK server.

You can verify that the server is receiving UDP properly by sending NMEA0183 data manually with nc:

echo '$GPRMC,210230,A,3855.4487,N,09446.0071,W,0.0,076.2,130495,003.8,E*69' | nc -u 127.0.0.1  7777

and you should see the data in the Server Log (with the debug key active).

(Testing the broadcast address with a single host does not work afaik - at least on a mac listening on a port and sending to the broadcast address does not result in any output.)
Reply


Messages In This Thread
Miniplex data to SignalK - by pacman - 2022-09-20, 06:12 PM
RE: Miniplex data to SignalK - by Techstyle - 2022-09-21, 02:00 PM
RE: Miniplex data to SignalK - by pacman - 2022-09-22, 04:43 PM
RE: Miniplex data to SignalK - by Techstyle - 2022-09-22, 04:52 PM
RE: Miniplex data to SignalK - by pacman - 2022-09-22, 05:07 PM
RE: Miniplex data to SignalK - by Techstyle - 2022-09-22, 05:42 PM
RE: Miniplex data to SignalK - by pacman - 2022-09-23, 07:52 AM
RE: Miniplex data to SignalK - by Sailoog - 2022-09-23, 10:29 AM
RE: Miniplex data to SignalK - by pacman - 2022-09-23, 11:04 AM
RE: Miniplex data to SignalK - by mgrouch - 2022-09-23, 01:55 PM
RE: Miniplex data to SignalK - by Sailoog - 2022-09-23, 12:13 PM
RE: Miniplex data to SignalK - by tkurki - 2022-09-23, 05:07 PM
RE: Miniplex data to SignalK - by pacman - 2022-09-24, 08:31 PM
RE: Miniplex data to SignalK - by dorothymulinix5 - 2022-10-19, 09:47 PM
RE: Miniplex data to SignalK - by Sjoerd02 - 2022-11-11, 07:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)