Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 20-12-2011, 11:37   #16
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Using Blue NMEA for Android via bluetooth

Happy...

Lets try some debug for Bluetooth.

Please add the following to your config file

Code:
DebugNMEA=1000
Might then see some interesting output in the log file.

Thanks
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 20-12-2011, 11:43   #17
Registered User
 
familycruisers's Avatar

Join Date: Aug 2011
Location: On the boat
Boat: Westerly Centaur. 26'
Posts: 500
Send a message via Skype™ to familycruisers
Re: Using Blue NMEA for Android via bluetooth

The bt adapter I'm using is a bcm2046b1 (usb adapter)

Are you refering to typing in com10 into the "nmea data source" box. It will let me write com10 but it doesnt stay, it defaults back to none.

Btw, I'm using w7 sorry forgot to answer that earlier.
__________________

__________________
familycruisers is offline   Reply With Quote
Old 20-12-2011, 11:51   #18
Registered User

Join Date: Dec 2011
Location: Santa Barbara CA
Boat: Catalina 36 Mk I
Posts: 73
Re: Using Blue NMEA for Android via bluetooth

Well hmm, I got BlueNMEA to work with my Macbook. It's the only GPS -> Bluetooth app that has successfully connected to nav apps on the Macbook and sent NMEA data.

I found that I had to carefully manage the connection and hit the connect buttons in both apps at roughly the same time so they could find each other and connect, even though the devices were already connecting via bluetooth.

On the OpenCPN side, I found that the 2.6 beta does not exist yet for Mac, d'oh.

The 2.5 seems to load OK but as many have noted the menus are not accessible and the interface is in french. Not sure if there's a way to fix these issues via config.

thanks

Nick
__________________
___________________
1984 Catalina 36 Mk I
Santa Barbara, Calif.
ChannelIslander is offline   Reply With Quote
Old 20-12-2011, 11:55   #19
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Using Blue NMEA for Android via bluetooth

Family...

If you type COM10 in the "NMEA Data Source" box, and immediately hit "OK' button, then what happens?

Should be one of two things:
1. Nothing, apparently, which means the port was successfully opened.
or
2. An error message dialog which says something like
"Could not open serial port "Com10", ....

If (1), then try again, and also click the box "Show GPS/NMEA data stream window" before clicking OK. If the Bluetooth is being received, you should see some output on this window.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 20-12-2011, 11:57   #20
Registered User
 
familycruisers's Avatar

Join Date: Aug 2011
Location: On the boat
Boat: Westerly Centaur. 26'
Posts: 500
Send a message via Skype™ to familycruisers
Re: Using Blue NMEA for Android via bluetooth

any particular place to put that line of code?
__________________
familycruisers is offline   Reply With Quote
Old 20-12-2011, 12:02   #21
Registered User
 
familycruisers's Avatar

Join Date: Aug 2011
Location: On the boat
Boat: Westerly Centaur. 26'
Posts: 500
Send a message via Skype™ to familycruisers
Re: Using Blue NMEA for Android via bluetooth

when i brought up the data stream window it said com10 but no info displayed.

you were right it basically does nothing (port opened?) no error message
__________________
familycruisers is offline   Reply With Quote
Old 20-12-2011, 12:21   #22
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Using Blue NMEA for Android via bluetooth

Family....

The code line goes in the [Settings] section, like this

Code:
[Settings]
DebugNMEA=1000
Dave
__________________
bdbcat is offline   Reply With Quote
Old 20-12-2011, 12:25   #23
Registered User
 
familycruisers's Avatar

Join Date: Aug 2011
Location: On the boat
Boat: Westerly Centaur. 26'
Posts: 500
Send a message via Skype™ to familycruisers
Re: Using Blue NMEA for Android via bluetooth

ok, guessed correct."
Still not getting anything, and for some reason i cant download to the log file, says "cant download"
__________________
familycruisers is offline   Reply With Quote
Old 20-12-2011, 12:32   #24
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Using Blue NMEA for Android via bluetooth

Dave, same question as famil cruiser...I put it as in:
[Settings/NMEADataSource]
DebugNMEA=1000
Source=Serial:COM5
BaudRate=4800
here's a screengrab I think we all are seeing similar?
Click image for larger version

Name:	Clipboard01.png
Views:	111
Size:	25.1 KB
ID:	34971

here's sa disappointing log:
"11:07:32 AM: NMEA Data Source is....Serial:COM9
11:07:45 AM: EnumerateSerialPorts() Found Garmin USB Driver.
11:08:02 AM: EnumerateSerialPorts() Found Garmin USB Driver."

and that's all.
but with xport, emulating Port 5 I get
Click image for larger version

Name:	Clipboard02.png
Views:	95
Size:	29.6 KB
ID:	34972

and log(partial-want more?)
Code:
11:11:34 AM: EnumerateSerialPorts() Found Garmin USB Driver.
11:11:42 AM: NMEA Data Source is....Serial:COM5
11:11:42 AM: OpenPD: 1772, new_count = 1 for COM5
11:11:43 AM: NMEA Sentence received...$GPGGA,191209.000,4929.54616,N,12448.47003,W,1,05,1.4,52.1,M,-17.9,M,,*55


11:11:43 AM: MEH.NMEA Sentence received...$GPGGA,191209.000,4929.54616,N,12448.47003,W,1,05,1.4,52.1,M,-17.9,M,,*55


11:11:43 AM: PostProcess NMEA with valid position
11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPGLL,4929.54616,N,12448.47003,W,191209.000,A,A*44


11:11:43 AM: MEH.NMEA Sentence received...$GPGLL,4929.54616,N,12448.47003,W,191209.000,A,A*44


11:11:43 AM: PostProcess NMEA with valid position
11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPGSA,A,3,05,29,30,21,18,,,,,,,,2.7,1.4,2.3*34


11:11:43 AM: MEH.NMEA Sentence received...$GPGSA,A,3,05,29,30,21,18,,,,,,,,2.7,1.4,2.3*34


11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPGST,191209.000,7.5,22.0,8.3,61.0,11.8,18.0,25.4*59


11:11:43 AM: MEH.NMEA Sentence received...$GPGST,191209.000,7.5,22.0,8.3,61.0,11.8,18.0,25.4*59


11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPGSV,3,1,10,06,01,303,,25,17,186,23,05,40,058,47,29,76,127,40*77


11:11:43 AM: MEH.NMEA Sentence received...$GPGSV,3,1,10,06,01,303,,25,17,186,23,05,40,058,47,29,76,127,40*77


11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPGSV,3,2,10,30,34,298,27,15,09,134,,21,50,259,27,16,17,322,21*7C


11:11:43 AM: MEH.NMEA Sentence received...$GPGSV,3,2,10,30,34,298,27,15,09,134,,21,50,259,27,16,17,322,21*7C


11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPGSV,3,3,10,18,20,198,25,26,15,099,*74


11:11:43 AM: MEH.NMEA Sentence received...$GPGSV,3,3,10,18,20,198,25,26,15,099,*74


11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...


11:11:43 AM: NMEA Sentence received...$GPRMC,191209.000,A,4929.54616,N,12448.47003,W,0.2,149.1,201211,18.8,W,A*35


11:11:43 AM: MEH.NMEA Sentence received...$GPRMC,191209.000,A,4929.54616,N,12448.47003,W,0.2,149.1,201211,18.8,W,A*35


11:11:43 AM: PostProcess NMEA with valid position
11:11:43 AM: NMEA Sentence received...


11:11:43 AM: MEH.NMEA Sentence received...


11:11:43 AM:    Unrecognized NMEA Sentence...
My setup is not greatfor this as I said-pretty unusual,being a pre-smartphone Nokia ..xport doesnt like the fix much either.It says"NMEA Stream| Invalid|5 SV:31" but other apps definitely show a pretty good fix
__________________
HappySeagull is offline   Reply With Quote
Old 20-12-2011, 12:39   #25
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Using Blue NMEA for Android via bluetooth

I did come up with this on a retry from OPCN log(I am

above,just"11:31:35 AM: NMEA Data Source is....Serial:COM9
11:31:36 AM: AIS Data Source is....None"
further down...

"11:31:38 AM: OpenPD: 1832, new_count = 1 for COM9
11:31:38 AM: ***GPS Watchdog timeout...
11:31:38 AM: ***HDx Watchdog timeout...
11:31:38 AM: ***SAT Watchdog timeout..."
after I closed O.

PS I put DebugNMEA in the recommended place but no diff to ouput seen yet
__________________
HappySeagull is offline   Reply With Quote
Old 20-12-2011, 12:53   #26
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Using Blue NMEA for Android via bluetooth

Code:
11:47:47 AM: OpenPD: 1832, new_count = 1 for COM9
11:47:48 AM:    ***GPS Watchdog timeout...
11:47:48 AM:    ***HDx Watchdog timeout...
11:47:48 AM:    ***SAT Watchdog timeout...
11:47:54 AM: EnumerateSerialPorts() Found Garmin USB Driver.
11:48:34 AM: opencpn::MyFrame exiting cleanly.
11:48:34 AM: PlugInManager: UnLoading PlugIn: D:\KEEPERS\Navigation\OPEN CPNinstall+help\OpenCPN261_PORTABLE\plugins/dashboard_pi.dll
11:48:34 AM: PlugInManager: UnLoading PlugIn: D:\KEEPERS\Navigation\OPEN CPNinstall+help\OpenCPN261_PORTABLE\plugins/grib_pi.dll
11:48:34 AM: Stopping Secondary Thread
11:48:35 AM: ClosePD: 1832, count_after_close = 0 for COM9
11:48:35 AM:   and so CloseComPortPhysical
11:48:36 AM: Stopped in 2 sec.
11:48:36 AM: LOGBOOK:  2011-12-20 19:48:36 UTC OFF: etc
11:48:36 AM: opencpn::MyApp exiting cleanly...
__________________
HappySeagull is offline   Reply With Quote
Old 20-12-2011, 14:05   #27
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Using Blue NMEA for Android via bluetooth

Hey Guys....

Bluetooth...Curse of the Devil....

I can't replicate your environment exactly.
I have an Android tablet, with BT but no GPS.

I found an App called BlueTerm, which is simply a dumb terminal allowing the droid to connect to the PC as if through a simple null MODEM wired COM port. If this works, then OCPN should work.

And it does work for me with XP as a virtual under linux host. I can compose NMEA sentences on the Android, send them over the blue, and OCPN jumps to position. Yes....

But I cannot get it to work natively under another XP box. BT will not connect to the COM port. Nothing to do with OCPN here. This is a low level link problem. Of course, MS gives no useful debug log. Grrrr....

I think what is going on the OCPN is that the BT COM port gets set up with unexpected MODEM control line configurations, causing the data flow to stop. OCPN does not care about these lines, and in fact they do not physically exist in a BT link. But the MS COM port drivers do.

So, there may be some trial and error required to get this right. I'll try to build some ugly hack debug version and find a way to allow Happy and/or Family to download for a quick test. Please stand by

Dave
__________________
bdbcat is offline   Reply With Quote
Old 20-12-2011, 14:43   #28
Registered User
 
familycruisers's Avatar

Join Date: Aug 2011
Location: On the boat
Boat: Westerly Centaur. 26'
Posts: 500
Send a message via Skype™ to familycruisers
Re: Using Blue NMEA for Android via bluetooth

Cool, doing the Mr mom thing, will be back to it after
1930.
__________________
familycruisers is offline   Reply With Quote
Old 20-12-2011, 15:08   #29
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Using Blue NMEA for Android via bluetooth

Happy/Family...

OK, I uploaded a hacked version of OCPN 2.6.1220 to

http://opencpn.org/ocpn/downloads/beta/opencpn.exe

Download this sucker and place it over the top of your current Program Files\OpenCPN\opencpn.exe

Should be stable, though it is a "work in process" snapshot.
It tries to be excruciatingly explicit in the setup of COM ports. You should be able to connect to a BT port, and open the GPS/NMEA Data Stream Window, and see output. Also, lots of debug if enabled as above.

Let me know....
Dave
__________________
bdbcat is offline   Reply With Quote
Old 20-12-2011, 16:49   #30
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Using Blue NMEA for Android via bluetooth

ok,Dave.I'll try it twice (on two laptops).Both are just XP(sp2) though.
__________________

__________________
HappySeagull is offline   Reply With Quote
Reply

Tags
nmea

Thread Tools
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
NMEA Connection - Furuno GP-33 to RL-9 Radar Jaden44 Marine Electronics 5 03-11-2011 18:39
Getting NMEA 0183 Data to a Laptop via Raymarine S1 Autopilot night0wl Marine Electronics 9 19-10-2011 08:18
Seatalk NG Autopilot to NMEA 2000 Helimech Marine Electronics 4 03-10-2011 13:49
Android - Blue NMEA - Use Phone as GPS Prescription with PC familycruisers Navigation 1 29-08-2011 20:51
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.