The Plist file is somthing like a registry file, only for iOS. You should be able to view much more once you open it with the tools in Xcode. In addition to the methods you mentioned above, there is a regular "tcp" protocol described in the file.
The only other thing I can think of is if there is some sort of handshake that happens between the app and wifi box before it will read the nmea stream over wifi, but I doubt that also, as Digital Yacht mentions somewhere on their page that Navionics works with their (more expensive) legacy wifi adapters, not just the sonar server.
I may have to get wireshark installed on the pi and see if the Navionics app is searching for anything.
It's also possible that it's UDP. I tried getting UDP going on kplex and didn't have any luck with inavx linking up to it (changed tcp flag in the config to UDP). Do you have a config file you could share for UDP?
Quick note - although it's working and I'm not going to touch it for a bit - are there any potential problems caused by the above configuration defining [tcp] and [udp] both to port 2000 and the same interface?
Has anything in relation to send the NMEA data to Navionics changed with the latest version of Kplex? Last season with the older version of Kplex I followed your instruction and I got everything to work with Navioncs. This season I started updating my Kplex to the latest version and it seems I'm not able to read NMEA data on Navionics. Is there anything that I need to be aware of?
Thanks
Kind regards
Behzad
dhcpd
sudo nano /etc/dhcp/dhcpd.conf
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.129.0 netmask 255.255.255.0 {
range 192.168.129.129 192.168.129.191;
}
sudo nano /etc/network/interfaces
#loopback
auto lo
iface lo inet loopback
#wired connection
iface eth0 inet dhcp
#wifi hot spot
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.129.1
netmask 255.255.255.0
post-up /usr/local/bin/startap
pre-down /usr/local/bin/stopap
Sudo nano /etc/kplex.conf
#Multiplexer
[serial]
filename=/dev/ttyUSB0
direction=both
baud=4800
optional=yes
#Nexus server
[serial]
filename=/dev/ttyUSB1
direction=both
baud=4800
optional=yes
[serial]
filename=/dev/ttyUSB2
direction=both
baud=4800
optional=yes
[tcp]
mode=server
port=2000
direction=both
[udp]
device=wlan0
port=2000
direction=both
Thank you in advance
At one point I made a back-up of the kplex v. 1-3-1 in my computer, so I replaced kplex 1-3-3 with 1-3-1 on my sd and now everything is working again with navionics.
I use navionics on my iphone and ipad, so is there anything on the latest udp update that might be conflicting with apple devices?
Thanks
At one point I made a back-up of the kplex v. 1-3-1 in my computer, so I replaced kplex 1-3-3 with 1-3-1 on my sd and now everything is working again with navionics.
I use navionics on my iphone and ipad, so is there anything on the latest udp update that might be conflicting with apple devices?
Thanks for the answer. I have tried with the address as you suggested. However, still no nmea data send out. One more time I removed kplex 1.3.3 and installed it again and still nothing came out.
In iNavx I can monitor if any data is sending out on the udp port 2000, however, on the iNavx data screen appears "-->connecting (UDP)-waiting for NMEA...".
Now I'm back to v.1.3.1 and no hurries as things are working fine. But I'm interested to hear about your feedback.
Thanks for looking into this.
That is correct I'm using raspberry pi.
Following as requested:
sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:40:7a:ff
inet addr:192.168.0.185 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:345 errors:0 dropped:0 overruns:0 frame:0
TX packets:75 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22407 (21.8 KiB) TX bytes:7382 (7.2 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76 (76.0 B) TX bytes:76 (76.0 B)
wlan0 Link encap:Ethernet HWaddr 74:da:38:58:3c:4d
inet addr:192.168.129.1 Bcast:192.168.129.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2302 errors:0 dropped:4 overruns:0 frame:0
TX packets:3571 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124244 (121.3 KiB) TX bytes:449516 (438.9 KiB)
sudo kplex -d3
kplex DEBUG: Using config file /etc/kplex.conf
kplex DEBUG: kplex starting, config file /etc/kplex.conf
kplex DEBUG: _serial-id1: opened serial device /dev/ttyUSB0 for input/output
Could not stat /dev/ttyUSB1: No such file or directory
Failed to initialize Interface _serial-id2
Could not stat /dev/ttyUSB2: No such file or directory
Failed to initialize Interface _serial-id3
Failed to open tcp server for (null)/10110: Address already in use
Failed to initialize Interface _tcp-id4
kplex DEBUG: Cleaning up data for exiting output interface _serial-id1 id 10000
kplex DEBUG: Cleaning up data for exiting output interface _serial-id1 id 10000
I just want to let you know that I changed my config. to the following (without any "optional" and only with one serial to usb connection from a gps to the pi) and still no data from UDP port.
#Multiplexer
[serial]
filename=/dev/ttyUSB0
direction=both
baud=4800
[tcp]
mode=server
port=10110
direction=both
[udp]
device=wlan0
port=2000
direction=out
I just want to let you know that I changed my config. to the following (without any "optional" and only with one serial to usb connection from a gps to the pi) and still no data from UDP port.
/etc/kplex.conf
#Multiplexer
[serial]
filename=/dev/ttyUSB0
direction=both
baud=4800
[tcp]
mode=server
port=10110
direction=both
[udp]
device=wlan0
port=2000
direction=out
-------------------------------------------------------------
sudo kplex -d3
kplex DEBUG: Using config file /etc/kplex.conf
kplex DEBUG: kplex starting, config file /etc/kplex.conf
kplex DEBUG: _serial-id1: opened serial device /dev/ttyUSB0 for input/output
Failed to open tcp server for (null)/10110: Address already in use
Failed to initialize Interface _tcp-id2
By the way, I ran "-d3" while kplex was not running in the background and without "optional" in config. Following is the outcome, if it can help for some reason.
kplex -d3
kplex DEBUG: Using config file /etc/kplex.conf
kplex DEBUG: kplex starting, config file /etc/kplex.conf
kplex DEBUG: _serial-id1: opened serial device /dev/ttyUSB0 for input/output
kplex DEBUG: _tcp-id2: initialised
kplex DEBUG: _udp-id3: BINDTODEVICE failed on device wlan0
kplex DEBUG: _udp-id3: output address 192.168.129.255, port 10110
Thanks for the answer. Unfortunately I'm not so familiar with git and coloning etc. but I will try to see if there is a guideline for that somewhere.
By the way, I ran "-d3" while kplex was not running in the background and without "optional" in config. Following is the outcome, if it can help for some reason.
kplex -d3
kplex DEBUG: Using config file /etc/kplex.conf
kplex DEBUG: kplex starting, config file /etc/kplex.conf
kplex DEBUG: _serial-id1: opened serial device /dev/ttyUSB0 for input/output
kplex DEBUG: _tcp-id2: initialised
kplex DEBUG: _udp-id3: BINDTODEVICE failed on device wlan0
kplex DEBUG: _udp-id3: output address 192.168.129.255, port 10110
I haven't tried compiling from source, but it doesn't seem to be complicated.
Yes my udp port in config has 2000.
Thanks
I haven't tried compiling from source, but it doesn't seem to be complicated.