Can't connect RFCOMM socket: Connection refused

Andrew William <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
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




      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.