From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 6 Feb 2008 18:11:48 +0530 (IST) From: Andrew William To: bluez-devel@lists.sourceforge.net MIME-Version: 1.0 Message-ID: <181244.61376.qm@web94001.mail.in2.yahoo.com> Subject: [Bluez-devel] Can't connect RFCOMM socket: Connection refused Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0166594131==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0166594131== Content-Type: multipart/alternative; boundary="0-1862842156-1202301708=:61376" --0-1862842156-1202301708=:61376 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable hi All=0AI am using kernel 2.6.15, bluez 3.25(libs, utils) =0Atrying to con= nect to mobile...=0A[root@localhost ~]# /usr/local/bin/rfcomm connect 0 00:= 0E:6D:E0:E5:13 1=0ACan't connect RFCOMM socket: Connection refused=0A=0A# H= CI daemon configuration file.=0A# HCId options=0Aoptions {=0A autoi= nit yes;=0A security user;=0A pairing multi;=0A# pass= key "0000";=0A} =0A=0Adevice {=0A name "MyBD";=0A class 0x000= 100;=0A #pkt_type DH1,DM1,HV1;=0A iscan enable; pscan enable;= =0A lp rswitch,hold,sniff,park;=0A}=0A=0AI have no pin file specifie= d as pin_helper.....=0A=0AThese are the log when i do=0A[root@localhost Pra= mod]# /usr/local/sbin/hcid -f /etc/bluetooth/hcid.conf=0A[root@localhost Pr= amod]# /usr/local/sbin/hciconfig hci0 up=0A[root@localhost ~]# /usr/local/b= in/rfcomm connect 0 00:0E:6D:E0:E5:13 1=0A=0AFeb 6 17:46:20 localhost hcid= [15010]: Bluetooth HCI daemon=0AFeb 6 17:46:20 localhost hcid[15010]: HCI = dev 0 registered=0AFeb 6 17:46:20 localhost hcid[15010]: Created local ser= ver at unix:abstract=3D/var/run/dbus-a5T4GfFoIo,guid=3D14a5a94738c59b0fec46= ed95331ff200=0AFeb 6 17:46:20 localhost hcid[15010]: HCI dev 0 up=0AFeb 6= 17:46:20 localhost hcid[15010]: Device hci0 has been added=0AFeb 6 17:46:= 20 localhost hcid[15010]: Starting security manager 0=0AFeb 6 17:46:20 loc= alhost input[15012]: Bluetooth Input daemon=0AFeb 6 17:46:20 localhost inp= ut[15012]: Registered input manager path:/org/bluez/input=0AFeb 6 17:46:20= localhost input[15012]: Failed to listen on control channel=0AFeb 6 17:46= :20 localhost hcid[15010]: Device hci0 has been activated=0AFeb 6 17:48:11= localhost hcid[15010]: pin_code_request (sba=3D00:0B:0D:33:9E:FB, dba=3D00= :0E:6D:E0:E5:13)=0AFeb 6 17:50:41 localhost hcid[15010]: pin_code_request = (sba=3D00:0B:0D:33:9E:FB, dba=3D00:0E:6D:E0:E5:13)=0AFeb 6 18:05:12 localh= ost hcid[15010]: pin_code_request (sba=3D00:0B:0D:33:9E:FB, dba=3D00:0E:6D:= E0:E5:13)=0A=0ASome one please help me?=0AThank you in advance=0AAndrew=0A= =0A=0A=0A=0A 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 --0-1862842156-1202301708=:61376 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
hi All
I am using kernel 2.6.15, bluez 3.25(libs, u= tils)
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: Co= nnection refused

# HCI daemon configuration file.
# HCId options<= br>options {
         autoinit y= es;
          security user= ;
        pairing multi;
# &n= bsp;     passkey "0000";
}

device {
 = ;       name "MyBD";
   &nb= sp;    class 0x000100;
     &nbs= p;  #pkt_type DH1,DM1,HV1;
        iscan enable; p= scan 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/sb= in/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]: Blu= etooth HCI daemon
Feb  6 17:46:20 localhost hcid[15010]: HCI dev 0 = registered
Feb  6 17:46:20 localhost hcid[15010]: Created local ser= ver at unix:abstract=3D/var/run/dbus-a5T4GfFoIo,guid=3D14a5a94738c59b0fec46= ed95331ff200
Feb  6 17:46:20 localhost hcid[15010]: HCI dev 0 upFeb  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 daemonFeb  6 17:46:20 localhost input[15012]: Registered input manager pat= h:/org/bluez/input
Feb  6 17:46:20 localhost input[15012]: Failed t= o 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=3D00:0B:0D:33:9E:FB, dba=3D00:0E:6D:E0:E5:13)
F= eb  6 17:50:41 localhost hcid[15010]: pin_code_request (sba=3D00:0B:0D= :33:9E:FB, dba=3D00:0E:6D:E0:E5:13)
Feb  6 18:05:12 localhost hcid[= 15010]: pin_code_request (sba=3D00:0B:0D:33:9E:FB, dba=3D00:0E:6D:E0:E5:13)=

Some one please help me?
Thank you in advance
Andrew

=0A=0A=0A
Unlimited freedom, unl= imited storage. Get it now= --0-1862842156-1202301708=:61376-- --===============0166594131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============0166594131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0166594131==--