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
Send all signalK event to UDP Port (for using navionics on ipad)
#5
I've tried the plugin.
I've created 2 merge requests for small improvement.

I still have a problem : I only receive message coming from kplex (and I already can send those message to udp).
I suppose this is probably due to the filter ´app.signalk.on('nmea0183', send)´ that only resend message of 'nmea' type. Is it right ?
I'm also interested to receive other TCP or UDP like OPSensor

I've a screenshot of the message in KPlex but I can't upload it in the forum, the error message said that the file name is invalid, even it's a very simple name (screenshot.png or screenshot.jpeg).

    
Code:
    {
            "enabled":true,
            "id":"OPsensors",
            "pipeElements":[
                {
                    "options":{
                        "logging":false,
                        "subOptions":{
                            "port":"55557",
                            "type":"udp"
                        },
                        "type":"SignalK"
                    },
                    "type":"providers/simple"
                }
            ]
        }


When I listen on UDP I only have some message coming from KPlex

Code:
nc -kluvw 0 192.168.1.255 2000 | stdbuf -o0 tr '$' '\n' | grep XDR
Listening on [192.168.1.255] (family 0, port 2000)
APXDR,A,1.285,D,ROLL*67
APXDR,A,-0.44,D,PTCH*66
APXDR,A,1.283,D,ROLL*61
APXDR,A,-0.436,D,PTCH*57
APXDR,A,1.279,D,ROLL*64
APXDR,A,-0.438,D,PTCH*59
APXDR,A,1.273,D,ROLL*6E
APXDR,A,-0.448,D,PTCH*5E
APXDR,A,1.27,D,ROLL*5D
APXDR,A,-0.461,D,PTCH*55


If I do the same but on the signalK TCP connector I have other message coming from other input:

Code:
nc 192.168.1.131 10110 | stdbuf -o0 tr '$' '\n\$' | grep XDR
IIXDR,A,-0.4,D,PTCH,A,1.3,D,ROLL*77
APXDR,A,1.255,D,ROLL*6A
APXDR,A,-0.426,D,PTCH*56
IIXDR,P,0.9042,B,Barometer*18
IIXDR,C,22.38,C,TempAir*1D
IIXDR,A,-0.4,D,PTCH,A,1.3,D,ROLL*77
APXDR,A,1.254,D,ROLL*6B
APXDR,A,-0.427,D,PTCH*57
IIXDR,P,0.9043,B,Barometer*19
IIXDR,C,22.38,C,TempAir*1D
IIXDR,A,-0.4,D,PTCH,A,1.3,D,ROLL*77
APXDR,A,1.251,D,ROLL*6E
APXDR,A,-0.427,D,PTCH*57
IIXDR,P,0.9041,B,Barometer*1B
IIXDR,C,22.38,C,TempAir*1D

Is it possible to retrieve the missing message ?
Reply


Messages In This Thread
RE: Send all signalK event to UDP Port (for using navionics on ipad) - by pkernevez - 2019-01-22, 10:58 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)