Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-04-2019, 09:16   #1
Registered User

Join Date: Jun 2016
Posts: 296
Open CPN won't receive XB-8000 Data over WiFi

I have a Vesper XB-8000 AIS with both WiFi and USB at the nav station. When I connect it via USB OpenCPN picks up my position and AIS targets just fine (and any other NMEA data). When I connect to the WiFi network, it will pick up the data for just a moment, usually 1-3 seconds, then it stops.

Not a problem with the wifi because I can use iNavX on iPad via wifi all day long.

Any ideas how to address this problem? I'm on the latest version of OpenCPN.
__________________

sailingunity is offline   Reply With Quote
Old 16-04-2019, 12:43   #2
Registered User

Join Date: Feb 2019
Location: Cadiz, Spain
Boat: Furia 372 - 11.20m
Posts: 57
Re: Open CPN won't receive XB-8000 Data over WiFi

iNavx uses a WiFi TCP / IP connection. In the manual of the Vesper XB-8000 AIS there is no mention of the type of connection, but if it is working with iNavx it is using the same type.
Verify that the connection with Ocpn is also TCP / IP (Not UDP).

Josť Luis
__________________

Tehani is offline   Reply With Quote
Old 16-04-2019, 15:23   #3
Registered User

Join Date: Jun 2016
Posts: 296
Re: Open CPN won't receive XB-8000 Data over WiFi

Quote:
Originally Posted by Tehani View Post
iNavx uses a WiFi TCP / IP connection. In the manual of the Vesper XB-8000 AIS there is no mention of the type of connection, but if it is working with iNavx it is using the same type.
Verify that the connection with Ocpn is also TCP / IP (Not UDP).

Josť Luis
Yes I'm using TCP/IP with open CPN.
sailingunity is offline   Reply With Quote
Old 16-04-2019, 15:38   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 5,180
Re: Open CPN won't receive XB-8000 Data over WiFi

Can we see a screenshot of your connection settings and your logfile?
nohal is offline   Reply With Quote
Old 16-04-2019, 15:42   #5
Sponsoring Vendor
 
Neptune's Gear's Avatar

Community Sponsor

Join Date: Oct 2012
Location: Gulf Harbour, New Zealand
Boat: Farr Phase 4, 12.8m
Posts: 1,096
Re: Open CPN won't receive XB-8000 Data over WiFi

Ive done quite a few of these setups (although not on V5 opencpn) and had no issues. It works fine. It will be your setup. As above, settings and log files should show the issue...
__________________
Matt Paulin
Neptunes Gear Ltd
www.neptunes-gear.com
Neptune's Gear is offline   Reply With Quote
Old 18-04-2019, 04:05   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 12,643
Re: Open CPN won't receive XB-8000 Data over WiFi

Read:
https://support.vespermarine.com/hc/...bile_site=true
rgleason is offline   Reply With Quote
Old 18-04-2019, 09:25   #7
Registered User

Join Date: Jun 2016
Posts: 296
Re: Open CPN won't receive XB-8000 Data over WiFi

Yep I have all of those configurations correct, but I didn't think to look at the log file. I'll get that.
sailingunity is offline   Reply With Quote
Old 18-04-2019, 09:51   #8
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 12,643
Re: Open CPN won't receive XB-8000 Data over WiFi

If you have not figured it out from the instructions,

when you send the log files and the config files, also include a screenshot of your connection too please.



Quote:
Originally Posted by sailingunity View Post
Yep I have all of those configurations correct, but I didn't think to look at the log file. I'll get that.
rgleason is offline   Reply With Quote
Old 18-04-2019, 10:54   #9
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 5,220
Re: Open CPN won't receive XB-8000 Data over WiFi

Consider whether the Windows firewall is blocking the TCP connection. You may have some firewall rule that prevents that port #.
transmitterdan is offline   Reply With Quote
Old 05-05-2019, 16:42   #10
Registered User

Join Date: Jun 2016
Posts: 296
Re: Open CPN won't receive XB-8000 Data over WiFi

Sorry for the delay. Here are the requested files. I already tried disabling firewall, no luck there.

It wouldn't let me attach the txt files because they were over 1kb. Here is the log file from today.

6:29:31 PM: Opening NMEA Datastream Serial:COM4
6:29:31 PM: Opening NMEA Datastream TCP:192.168.15.1:39150
6:29:31 PM: NMEA input device open failed: COM4
6:29:31 PM: PlugInManager: plugins loading from C:\Program Files (x86)\OpenCPN\plugins
6:29:31 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
6:29:31 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
6:29:32 PM: PlugInManager: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
API Version detected: 113
PlugIn Version detected: 103
6:29:32 PM: chartdldr_pi: C:\Users\Mike\Documents\Charts
6:29:32 PM: chartdldr_pi: C:\Users\Mike\Documents\Charts
6:29:32 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
6:29:32 PM: PlugInManager: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
API Version detected: 106
PlugIn Version detected: 102
6:29:33 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\wmm_pi.dll
6:29:33 PM: PlugInManager: C:\Program Files (x86)\OpenCPN\plugins\wmm_pi.dll
API Version detected: 108
PlugIn Version detected: 101
6:29:33 PM: WMM: WMM model data loaded from file C:\Program Files (x86)\OpenCPN\plugins\wmm_pi\data\WMM.COF.
6:29:34 PM: Opencpn language load for: en_US
6:29:34 PM: Loading catalog for: opencpn-chartdldr_pi
6:29:34 PM: Loading catalog for: opencpn-dashboard_pi
6:29:34 PM: Loading catalog for: opencpn-wmm_pi
6:29:34 PM: Loading catalog for opencpn core.
6:29:34 PM: Getting DefaultSystemLocale...
6:29:34 PM: Found LanguageInfo for: English
6:29:43 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:29:43 PM: Changing NMEA Datasource for GPRMC to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPVTG to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPGGA to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPGSA to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPGSV to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPGLL to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPGST to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIMTW to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIHDG to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIVHW to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIXDR to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIMDA to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIDPT to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for AIVDO to TCP:192.168.15.1:39150 (Priority: 0)
6:29:51 PM: options: got device count: 1
6:30:02 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:04 PM: ***GPS Watchdog timeout at Lat:29.9902 Lon: -81.6611
6:30:07 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:30:15 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:17 PM: ***GPS Watchdog timeout at Lat:29.9901 Lon: -81.6611
6:30:20 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:30:25 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:30 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:30:32 PM: LOGBOOK: 2019-05-05 23:30:32 UTC DR Lat 29.99015 Lon -81.66114
6:30:35 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:40 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:30:50 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:52 PM: ***GPS Watchdog timeout at Lat:29.9901 Lon: -81.6611
6:30:56 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:31:20 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
Attached Thumbnails
Click image for larger version

Name:	Network.jpg
Views:	33
Size:	309.4 KB
ID:	191488  
sailingunity is offline   Reply With Quote
Old 05-05-2019, 16:55   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 12,643
Re: Open CPN won't receive XB-8000 Data over WiFi

You've configured correctly according to Vesper Directions
https://support.vespermarine.com/hc/...bile_site=true

And you have checked "receive input" only, which is fine.


It looks like it connected ok


6:29:43 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:29:43 PM: Changing NMEA Datasource for GPRMC to TCP:192.168.15.1:39150 (Priority: 0)
6:29:44 PM: Changing NMEA Datasource for GPVTG to TCP:192.168.15.1:39150 (Priority: 0)


What is happening on the screen is your location shown?



Then the log shows one device is found, the Vesper, I guess, and you are getting Long / Lat at each gps timeout.


6:29:51 PM: options: got device count: 1
6:30:02 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:04 PM: ***GPS Watchdog timeout at Lat:29.9902 Lon: -81.6611
6:30:07 PM: TCP Datastream connection established: TCP:192.168.15.1:39150
6:30:15 PM: TCP Datastream watchdog timeout: TCP:192.168.15.1:39150
6:30:17 PM: ***GPS Watchdog timeout at Lat:29.9901 Lon: -81.6611


Which should be fine. I think it should be working now.

Didn't the boat move to Lat:29.9901 Lon: -81.6611 on the chart?

--------
Glad you cut the log down. You can simply add .doc at the end which can be bigger and works, or .pdf (and say to take the .pdf off) which is allowed to be even bigger, which is what we generally do.
rgleason is offline   Reply With Quote
Old 05-05-2019, 17:25   #12
Registered User

Join Date: Jun 2016
Posts: 296
Re: Open CPN won't receive XB-8000 Data over WiFi

It does locate the boat, and the boat turns red, and the instruments start recording, but only for a moment, then it turns grey again and everything stops logging.

It seems to repeat this behavior, connecting for 3 or 4 seconds, then disconnecting for 10-20 seconds.
sailingunity is offline   Reply With Quote
Old 05-05-2019, 17:39   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 12,643
Re: Open CPN won't receive XB-8000 Data over WiFi

So it is doing what it is told to do, and Opencpn is too.
Where is your timeout created?
Perhaps the Vesper?
Maybe Opencpn, but that is just recieving.


Get into your Vesper manual, I think.
rgleason is offline   Reply With Quote
Old 05-05-2019, 17:45   #14
Registered User

Join Date: Jun 2016
Posts: 296
Re: Open CPN won't receive XB-8000 Data over WiFi

You've lost me there but I will try to find it.
sailingunity is offline   Reply With Quote
Old 06-05-2019, 02:05   #15
Registered User

Join Date: Dec 2010
Location: Auckland, New Zealand
Boat: Nordic 40
Posts: 231
Re: Open CPN won't receive XB-8000 Data over WiFi

Your connection parameters look correct so I don't know why it is reconnecting every 10 seconds or so. But you can see that in the log with the repeated TCP connection established messages and I don't think that's normal.

Have you had a look at the NMEA debug window (a check box at the top of the connections setup tab). You should see a stream of $GPxxx sentences coming once a second.

Not sure I'm being much help but maybe the NMEA debug window will tell us something.
__________________

__________________
Jeff Robbins, Nordic 40 "Vesper", New Zealand
jeffrobbins is offline   Reply With Quote
Reply

Tags
open cpn, wifi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crew Wanted: open cpn on tablet won't read charts 72harley1000 Crew Positions: Wanted & Available 1 04-04-2019 05:50
Missing data from Open CPN Maps pblackuk OpenCPN 4 05-01-2019 23:50
Vesper Marine XB-8000 AIS with NMEA WiFi colemj Marine Electronics 44 08-06-2015 17:06
How to import dKart fishing pro user created data into Open CPN program Mottetu Navigation 0 03-11-2013 06:40
Garmin Colorado 400c as NMEA data source for Open CPN elleandi355 Navigation 2 16-03-2011 22:11



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:28.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.