Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-03-2011, 15:44   #1
Registered User

Join Date: Mar 2011
Posts: 16
OpenCPN Fails to Receive Bluetooth Data Feed

On my boat I have an AIS Transponder with a serial interface.


My Netbook, running Windows 7 Starter does not have a serial interface, but it has bluetooth.


I have installed a serial to bluetooth adapter connected to the AIS transponder serial port. The AIS transponder provides AIS and GPS feed.


The bluetooth adapter is seen by Windows as COM9 port.


Using a serial terminal programme (like putty) I can open the COM9 port and see the NMEA feed.
Also using the AIS transponder configuration programme, I can open COM9, see the AIS feed (on a basic AIS radar window), the GPS status, and communicate with the AIS transponder for configuration. The port can be configured to any bps rate, it does not matter which because the bluetooth adapter matches the serial port bps.


OpenCPN instead fails to receive any data from COM9. I tried several configuration combinations. I configured COM9 in the GPS tab at 38400 bps. I tried also other speeds without success.
I configured also COM9 in the AIS tab. Then I configured the GPS tab to link to AIS, I also tried without the link, still no success. Once on the GPS tab I can tick to show the NMEA window which remains blank. No error is shown by OpenCPN, which means the port is open successfully (to double check I tried too with a non existent port, and with the bluetooth adapter turned off, in which case OpenCPN shows an error that it failed to open the port).


I tried also using a bluetooth GPS (the one I use on my car), which is seen by Windows as COM7. In this case I could get a GPS fix on OpenCPN once or twice, but most of the times, it just does not show any NMEA feed, whilst again, opening the COM port with a serial terminal tool I can receive the GPS feed.


Clearly there is something wrong with OpenCPN and bluetooth COM ports.


I was wondering if this issue is being addressed and if there was a workaround.
haydude is offline   Reply With Quote
Old 15-03-2011, 04:25   #2
Registered User

Join Date: Mar 2011
Posts: 16
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Has everyone been successful in using a bluetooth feed?
haydude is offline   Reply With Quote
Old 15-03-2011, 04:45   #3
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Hi,
did you have a look at http://www.cruisersforum.com/forums/...m40-55347.html ? Quite a few Bluetooth dongles part of the discussion, so could have some useful info.

Pavel
nohal is offline   Reply With Quote
Old 15-03-2011, 05:01   #4
Registered User

Join Date: Mar 2011
Posts: 16
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Quote:
Originally Posted by nohal View Post
Hi,
did you have a look at http://www.cruisersforum.com/forums/...m40-55347.html ? Quite a few Bluetooth dongles part of the discussion, so could have some useful info.

Pavel
Thank you Pavel, yes I read the thread, but I could not find any clue on how to solve my issue. What is particular is that with a normal serial terminal programme like putty I can connect to COM9 any time and get the NMEA feed. With OpenCPN instead i get just silence. No errors, just nothing coming through.

I tried also to rename the port to a more "standard" COM2, using the Device Manager properties, but still the same results.

Clearly there is something wrong with how OpenCPN deals with the "virtual" serial port.

How do I report this as a bug?
haydude is offline   Reply With Quote
Old 15-03-2011, 05:13   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,207
Re: OpenCPN Fails to Receive Bluetooth Data Feed

The right way is to create an issue in OpenCPN::Tracker All Projects: Tasklist
The more info you can provide, the better of course - hardware involved, recorded NMEA stream etc.
nohal is offline   Reply With Quote
Old 15-03-2011, 06:34   #6
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Quote:
Originally Posted by haydudeTake4 View Post
What is particular is that with a normal serial terminal programme like putty I can connect to COM9 any time and get the NMEA feed. With OpenCPN instead i get just silence. No errors, just nothing coming through.
Have you tried PolarCOM? It is for free and you might check with PolarCOM if it is hardware or driver failure or a matter of OpenCPN. When PolarCOM works with your Bluetooth configuration than it might be caused by OpenCPN although my Bluetooth systems works perfectly with OpenCPN. Otherwise there is something wrong with your Bluetooth systems.

Gerhard
CarCode is offline   Reply With Quote
Old 15-03-2011, 13:13   #7
Registered User

Join Date: Mar 2011
Posts: 16
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Quote:
Originally Posted by CarCode View Post
Have you tried PolarCOM?
Just downloaded and installed PolarCOM, it detected the port and installed it automatically within seconds. It receives the NMEA feed.

This confirms that something is really wrong with OpenCPN!
haydude is offline   Reply With Quote
Old 15-03-2011, 13:17   #8
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Thank you for your report. This should help the OpenCPN developers to debug their code.

Gerhard
CarCode is offline   Reply With Quote
Old 17-03-2011, 05:42   #9
Registered User

Join Date: Feb 2011
Location: Pinnacle, NC, USA
Boat: Rosborough RF246, 25'
Posts: 3
Re: OpenCPN Fails to Receive Bluetooth Data Feed

as reported here, my bluetooh/gps device (globalsat BT-821) also fails to be read/heard by OpenCPN while functioning properly in the same platform with Google Earth.
__________________
Aye Afloat
Chris Hayes is offline   Reply With Quote
Old 17-03-2011, 05:47   #10
Registered User

Join Date: Mar 2011
Posts: 16
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Quote:
Originally Posted by Chris Hayes View Post
as reported here, my bluetooh/gps device (globalsat BT-821) also fails to be read/heard by OpenCPN while functioning properly in the same platform with Google Earth.
Thank you for your report! One might be an exception. Two bluetooth devices of different makes begin to be a rule.

Are the developers following this thread?
haydude is offline   Reply With Quote
Old 17-03-2011, 06:03   #11
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Fails to Receive Bluetooth Data Feed

I have made a note in OpenCPN::Tracker All Projects: Tasklist for the developer.

Gerhard
CarCode is offline   Reply With Quote
Old 17-03-2011, 06:33   #12
Registered User

Join Date: Mar 2011
Posts: 16
Re: OpenCPN Fails to Receive Bluetooth Data Feed

CarCode, thank you for doing that. I registered to that site to add more information, but could not do it.

Please could you add the reports in this thread, in particular my initial message, to the notes? Also please could you clarify in the report that it does apply in general to serial bluetooth devices and not just GPSes? In my case I have a Brainboxes BL-819 Serial/Bluetooth interface and a Fuzion Solar Bluetooth GPS (neither work with OpenCPN, but they do with other programmes and simple serial terminal emulators like putty and hyperterminal), another user reported the same issue with a Globalsat BT-821.

Also in my case I am using the stable 2.3 version, not 2.4
haydude is offline   Reply With Quote
Old 17-03-2011, 07:19   #13
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Fails to Receive Bluetooth Data Feed

I will update the FlySpray entry with your further informations. I guess however it is a matter how OpenCPN handles COM ports in general and better routines are needed for it. Usually there are two virtual COM ports generated for a serial Bluetooth device. But the average user does not know which one of them to use. Self detecting software as e.g. PolarCOM or others you have mentioned search and connect mostly to the right one without any user interaction. OpenCPN should do this also. It is not state of the art to fiddle through Windows or other operating systems internals to find out all that.

Gerhard
CarCode is offline   Reply With Quote
Old 17-03-2011, 08:05   #14
Registered User

Join Date: Mar 2011
Posts: 16
Re: OpenCPN Fails to Receive Bluetooth Data Feed

It is not just a matter of finding the ports. In my case the BT GPS only has one port, the BT BL-819 has two, one being the configuration port.

But I know which port to use and I configure it correctly into OpenCPN. Despite that, from OpenCPN I get only total silence.
haydude is offline   Reply With Quote
Old 17-03-2011, 13:37   #15
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: OpenCPN Fails to Receive Bluetooth Data Feed

Yes, I know, it is not so easy. It depends also to the used Bluetooth stack on a Windows PC. Meanwhile the Microsoft Bluetooth stack is not so bad as before but its configuration is still ugly.

We have once manufactured our own Bluetooth devices using Bluetooth parts from Gridconnect. First ones runs also with virtual COM ports and the users have had the known configuration problems. Then our programmer was able to use direct Bluetooth for our soft without virtual COM ports for the Bluetooth stacks of Microsoft, BlueSoleil, Toshiba und Widcomm. There was no user complaints anymore then. But this does not help you, only mentioned by me for curiosity.

Gerhard
CarCode is offline   Reply With Quote
Reply


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
OpenCPN - NMEA Data from TCP Input framen OpenCPN 11 12-10-2012 12:19
OpenCPN Fails to Start Samarang OpenCPN 22 30-04-2011 00:51
Data Upload from OpenCPN to Garmin GPS152 syyabyum Navigation 1 06-11-2010 13:03
OpenCPN Won't Listen to My GPS Data Ima Winner OpenCPN 5 09-09-2010 15:23
OpenCPN Data Very Small and Difficult to View - Help, Please Algarve OpenCPN 30 14-03-2010 12:20

Advertise Here


All times are GMT -7. The time now is 01:18.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.