LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2009, 04:40 PM   #1
Jaykob
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
Question Access serial port over Bluetooth


Hi,

I need to access a serial USB GPS device connected to one netbook from another netbook over Bluetooth. Both netbooks are running Ubuntu.
The GPS device opens a RS-232 connection via USB and appears as /dev/ttyACM0. Now I want to connect to that device from another netbook, ideally using it as it was plugged in directly.
I searched a lot on google and only found programs that do the same but over TCP/IP.

Is there anything out that I could use? If not how could I implement it by myself in C / C++?

Thanks in advance!
Jakob
 
Old 02-17-2009, 08:54 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Are you using gpsd? gpsd allows you to connect to another machine over the network and use it's GPS device. You could run that ontop of TCP/IP over Bluetooth.

There may be some trickery with RFCOMM to allow you to tunnel the serial device directly to the remote machine, but if you are using gpsd you might as well make use of the included functionality.
 
Old 02-17-2009, 09:08 AM   #3
Jaykob
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
Are you using gpsd? gpsd allows you to connect to another machine over the network and use it's GPS device. You could run that ontop of TCP/IP over Bluetooth.
No, I'm using a proprietary U-Blox protocol and gpsd need NMEA, right?
I need the proprietary protocol because I need the raw data of the receiver which is not available in NMEA format.
So I would be interested in the RFCOMM trickery if someone knows anything about it
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting a mobile phone to bluetooth serial port gopi.d Slackware 0 01-29-2008 11:49 PM
how to make a Bluetooth serial port? alek66 SUSE / openSUSE 4 03-16-2006 09:35 AM
Could not connect to Bluetooth device through the serial port dubrick_vit Linux - Hardware 0 01-16-2006 07:57 AM
Bluetooth serial port secprovider Linux - Hardware 2 08-23-2005 06:00 PM
How to access the second serial port cheema Programming 2 07-29-2004 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration