Cruisers Forum
 


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 07-08-2015, 09:30   #1
Registered User

Join Date: Aug 2015
Posts: 2
Linux bluetooth receiver

To the admin first.
Please, read this intro, feel free to edit-add-delete whatever here is written in order to make other easier understanding this article
Also, it is highly prefereable to stick it to the root of according forum or even here in the root of the forum itself. I understand that this will be more of use.
---------------------------------------------------------------------------------------

Now here it is.

I have installed OPENCPN in my comp, added CM93 map, and what now. No GPS receiver I had to pair with it.
But...
...the other day I have one of these fine bluetooth gps devices previously used with on of my earlyier smartphones and tablets which were without gps at all.
I found it lying in it's original box and now came to idea to pair it with comp.
But, as we all know, there is no easy meal anywhere so it was here as well.
After I paired that device it sat to the rfcomm0 port, (more or less all bluetooth gps-es will), and I had to deal with it.
It would be pretty nice if this would work out of the box, but it is how it is.
After some time, (a weeks), of workarround I found this nice way to do it without significant effort at all.

I did it in Ubuntu 12.04, 13.04, and now in 14.04. so presumably it will work in any given ubuntu after until developers manage to give us choice to put the serial port on our choice in bluetooth stack.

the procedure :

-1 get one of bluetooth gps receivers, (in order to do it in this particular way).
-2 install bluetooth manager, and other bluetooth applets from ubuntu software center.




-3 pair your bluetooth gps receiver with computer, (do it from bluetooth manager in settings part of ubuntu).
-go to the terminal and type sudo mc, aparently you will be asked to give your administrator password, so in order to do it have it handy somewhere if there is no one remembered, then to to the root/etc/bluetooth, where is lying file "rfcomm.conf", select it and hit the F3, or edit button. Chose Your editor and start editing Your file, copy following text and paste it in the end of line:

rfcomm3 {
bind yes;
device 00:1C6:FD:17:9F;
channel 1;
comment "Serial Port";
}

-4 instead device number, (the one that looks like NIC hw address), there needs to be typed one found in bluetooth manager as well. Ports can be changed as you will, (rfcommx, where x stays for desired serial port)
save file


- install opencpn
- go to the setup, connections, chose serial port and add following :

/dev/rfcomm3

where number 3 should be changed to coresponding port given in the editor
click apply and close window. I'd recomend to close opencpn then open it regardles what it might work automaticly


--------------------------------------------------------------------------------------
I have been working with this for a months now, (i am seaman and been using this one to plot the courses, and record tracks of my vessel), have a lot experimenting, and trying other setups as well, but in the end this one works like charm. And if for any peculiar reason this one stops working, (highly unlikely), just reset the GPS receiver and sometime reboot the comp.
-------------------------------------------------------------------------------------

Any help needed in this. Just ask, there is mail, but I'd prefer not to choke my mailbox with the questions.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-08-07 18:19:07.png
Views:	171
Size:	171.9 KB
ID:	106897   Click image for larger version

Name:	Screenshot from 2015-08-07 18:10:14.png
Views:	114
Size:	45.1 KB
ID:	106898  

Click image for larger version

Name:	Screenshot from 2015-08-07 18:11:32.png
Views:	192
Size:	111.2 KB
ID:	106899   Click image for larger version

Name:	Screenshot from 2015-08-07 18:11:51.png
Views:	150
Size:	118.5 KB
ID:	106900  

Click image for larger version

Name:	Screenshot from 2015-08-07 18:12:07.png
Views:	174
Size:	119.1 KB
ID:	106901   Click image for larger version

Name:	Screenshot from 2015-08-07 18:12:40.png
Views:	146
Size:	66.1 KB
ID:	106902  

cedo.maric is offline   Reply With Quote
Old 07-08-2015, 11:26   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Linux bluetooth receiver

cedo.maric...
Very good guide. It would be much better to put it into the documentation wiki at opencpn.org as here it will get lost, guaranteed.

Pavel
nohal is offline   Reply With Quote
Old 07-08-2015, 12:25   #3
Registered User

Join Date: Aug 2015
Posts: 2
Re: Linux bluetooth receiver

will do certanly, as soon as I make it in some usable file and as I make some video of this.
I know that this is "nightmare" some sort of for the people working with the linux and wanting to stay stick in this, but do not have basic knowledge.
cedo.maric is offline   Reply With Quote
Reply

Tags
linux


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
SR161 AIS receiver for OpenCPN under Linux Mint arell OpenCPN 12 26-08-2013 03:57
Trouble with NMEA data from Bluetooth gps receiver Lovinit OpenCPN 5 03-06-2013 15:49
Nokia E52 GPS over USB or Bluetooth . . . How ? Petros OpenCPN 1 27-10-2010 14:52
Bluetooth GPS Units Meck Navigation 10 21-12-2009 22:06

Advertise Here


All times are GMT -7. The time now is 16:54.


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.