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 |
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. |
Quote:
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 ;) |
All times are GMT -5. The time now is 08:58 AM. |