hi All
I am using kernel 2.6.15, bluez 3.25(libs, utils)
trying to connect to mobile...
[root@localhost ~]# /usr/local/bin/rfcomm connect 0 00:0E:6D:E0:E5:13 1
Can't connect RFCOMM socket: Connection refused

# HCI daemon configuration file.
# HCId options
options {
         autoinit yes;
          security user;
        pairing multi;
#       passkey "0000";
}

device {
        name "MyBD";
        class 0x000100;
        #pkt_type DH1,DM1,HV1;
        iscan enable; pscan enable;
        lp rswitch,hold,sniff,park;
}

I have no pin file specified as pin_helper.....

These are the log when i do
[root@localhost Pramod]# /usr/local/sbin/hcid -f /etc/bluetooth/hcid.conf
[root@localhost Pramod]# /usr/local/sbin/hciconfig hci0 up
[root@localhost ~]# /usr/local/bin/rfcomm connect 0 00:0E:6D:E0:E5:13 1

Feb  6 17:46:20 localhost hcid[15010]: Bluetooth HCI daemon
Feb  6 17:46:20 localhost hcid[15010]: HCI dev 0 registered
Feb  6 17:46:20 localhost hcid[15010]: Created local server at unix:abstract=/var/run/dbus-a5T4GfFoIo,guid=14a5a94738c59b0fec46ed95331ff200
Feb  6 17:46:20 localhost hcid[15010]: HCI dev 0 up
Feb  6 17:46:20 localhost hcid[15010]: Device hci0 has been added
Feb  6 17:46:20 localhost hcid[15010]: Starting security manager 0
Feb  6 17:46:20 localhost input[15012]: Bluetooth Input daemon
Feb  6 17:46:20 localhost input[15012]: Registered input manager path:/org/bluez/input
Feb  6 17:46:20 localhost input[15012]: Failed to listen on control channel
Feb  6 17:46:20 localhost hcid[15010]: Device hci0 has been activated
Feb  6 17:48:11 localhost hcid[15010]: pin_code_request (sba=00:0B:0D:33:9E:FB, dba=00:0E:6D:E0:E5:13)
Feb  6 17:50:41 localhost hcid[15010]: pin_code_request (sba=00:0B:0D:33:9E:FB, dba=00:0E:6D:E0:E5:13)
Feb  6 18:05:12 localhost hcid[15010]: pin_code_request (sba=00:0B:0D:33:9E:FB, dba=00:0E:6D:E0:E5:13)

Some one please help me?
Thank you in advance
Andrew


Unlimited freedom, unlimited storage. Get it now