All pastes #58041 Raw Edit

nytr8

public text v1 · immutable
#58041 ·published 2006-05-22 16:05 UTC
rendered paste body

****when its not bound.


localhost bluetooth # rfcomm connect 0 00:16:20:53:60:E2 1
Can't create RFCOMM TTY: Address already in use

localhost bluetooth # rfcomm release channel 1

localhost bluetooth # rcomm connect 0 00:16:20:53:60:E2 1
bash: rcomm: command not found

localhost bluetooth # rfcomm connect 0 00:16:20:53:60:E2 1
Connected /dev/rfcomm0 to 00:16:20:53:60:E2 on channel 1
Press CTRL-C for hangup
Disconnected


localhost bluetooth # wvdial
--> WvDial: Internet dialer version 1.54.0
--> Cannot open /dev/rfcomm0: No such file or directory
--> Cannot open /dev/rfcomm0: No such file or directory
--> Cannot open /dev/rfcomm0: No such file or directory


***When its bound.
localhost bluetooth # rfcomm bind 0 00:16:20:53:60:E2 1

localhost bluetooth # rfcomm show
rfcomm0: 00:16:20:53:60:E2 channel 1 clean

localhost bluetooth # rfcomm connect 0 00:16:20:53:60:E2 1
Can't create RFCOMM TTY: Address already in use

localhost bluetooth # wvdial
--> WvDial: Internet dialer version 1.54.0
--> Cannot open /dev/rfcomm0: Cannot get information for serial port.
--> Cannot open /dev/rfcomm0: Input/output error
--> Cannot open /dev/rfcomm0: Cannot get information for serial port.

localhost bluetooth # rfcomm show
rfcomm0: 00:16:20:53:60:E2 channel 1 closed


****dmesg output 
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.7
rfcomm_tty_ioctl: TIOCGSERIAL is not supported
rfcomm_tty_ioctl: TIOCGSERIAL is not supported
rfcomm_tty_ioctl: TIOCGSERIAL is not supported
rfcomm_tty_ioctl: TIOCGSERIAL is not supported
rfcomm_tty_ioctl: TIOCGSERIAL is not supported

*****************rfcomm.conf
#
# RFCOMM configuration file.
#

rfcomm0 {
        # Automatically bind the device at startup
        bind yes ;

     # Bluetooth address of the device
       device 00:16:20:53:60:E2;

}