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
TCP In from iPad
#1
Hi,

Absolutely loving Openplotter - thanks for all the hard work people have put in.

I have one challenge, I can't get data from iPad (running iSailor) back to Openplotter (mainly autohelm controls so XTE sentances).

I can establish a TCP connection from OP to iPad - works great. If I try to make this bi-directional, it loses connection.

If I try to create a separate TCP connection for iPad to OP (with a unique port), the connection won't establish.

I tried using bidirectional UDP, using the IP address of the iPad and one port (set as both in and out). The OP to iPad connection works and iSailor gets data, but XTE signals aren't sent back (the iSailor trace doesn't even show it).

I can create a separate UDP for OP to iPad UDP  which works, along with a separate iPad to OP connection. On iSailor, this show a trace of XTE being sent (for a period anyway), but on OP Diagnostic it isn't received. This seems to be closest I can get.

Here is my config:


[tcp]
name=wifiout
direction=out
optional=yes
mode=server
address=10.10.10.1
port=10110

[serial]
name=autohelm
direction=in
optional=yes
filename=/dev/ttyOP_autohelm
baud=4800

[serial]
name=gpsais
direction=in
optional=yes
filename=/dev/ttyOP_gpsais
baud=38400

[serial]
name=compass
direction=in
optional=yes
filename=/dev/ttyOP_compass
baud=4800

[udp]
name=out
direction=out
optional=yes
address=10.10.10.154
port=10101

[udp]
name=in
direction=in
optional=yes
address=10.10.10.154
port=10102


Any help - would be greatly appreciated.

THanks





John
Reply


Messages In This Thread
TCP In from iPad - by johnwilde - 2018-10-24, 10:52 PM
RE: TCP In from iPad - by Newt2u - 2018-11-02, 05:38 PM
RE: TCP In from iPad - by Saqqara - 2018-11-02, 05:42 PM
RE: TCP In from iPad - by johnwilde - 2018-11-02, 06:23 PM
RE: TCP In from iPad - by johnwilde - 2018-11-02, 08:48 PM
RE: TCP In from iPad - by Newt2u - 2018-11-03, 12:02 PM
RE: TCP In from iPad - by johnwilde - 2018-11-03, 01:29 PM
RE: TCP In from iPad - by Newt2u - 2018-11-05, 02:33 PM
RE: TCP In from iPad - by Newt2u - 2018-11-05, 05:28 PM
RE: TCP In from iPad - by johnwilde - 2018-11-06, 04:49 PM
RE: TCP In from iPad - by Newt2u - 2018-11-07, 04:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)