LinuxQuestions.org
Help answer threads with 0 replies.
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, 05: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, 09:54 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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, 10: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-30-2008 12:49 AM
how to make a Bluetooth serial port? alek66 SUSE / openSUSE 4 03-16-2006 10:35 AM
Could not connect to Bluetooth device through the serial port dubrick_vit Linux - Hardware 0 01-16-2006 08:57 AM
Bluetooth serial port secprovider Linux - Hardware 2 08-23-2005 07:00 PM
How to access the second serial port cheema Programming 2 07-29-2004 02:26 PM

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

All times are GMT -5. The time now is 10:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration