Re: serial port for bluetooth gps



schreier-kim@xxxxxx wrote:

I am trying to read data from a bluetooth gps device on a serial port.
I receive the NMEA strings in the bluetooth terminal of kbluetoothd,
but cannot read these string from a serial port.

What I am using is
- opensuse 10.1
- bluetooth USB Stick (IVT Bluesoleil) on a laptop
- Royaltek RBT1000 GPS mouse

When I open the GPS mouse in the kbluetoothd browser, it asks "open
sdp://00:02:c7:7d...f9&rfcommchannel=1?' Type: Bluetooth Serial Port
Profile". Clicking OK, the NMEA strings are displayed.

Now I type and get:
linux:~> sdptool add --channel=1 SP
Serial Port service registered
linux:~> rfcomm listen 0 1
Waiting for connection on channel 1

Try "rfcomm bind 0 00:02:c7:7d...f9 1" instead. That should create a
/dev/rfcomm0. If you try using it with minicom and opening of the file
fails, just try starting minicom again.

You can also put

rfcomm0 {
bind no;
device 00:02:c7:7d...f9;
channel 1;
comment "GPS";
}

in /etc/bluetooth/rfcomm.conf, so you can use "rfcomm bind 0" without
the device address and channel.

Regards...
Michael
.