Skip to contentSkip to conversation

Newbie2

Bluez-users Ricky Soh 2 participants 3 messages Aug 20, 2004 – Aug 21, 2004 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

Ricky Soh

author
#0 lore raw

I have bought a bluetooth dongle and is working in linux environment. However, i have problem getting rfcomm and hcitool to work. I did a hciconfig and see that the device is up and working. However when i try to connect to it using

rfcomm -i hciX connect hci0

I got: can't connect RFcomm socket: Host is down. When i did hcitool cc method:

hcitool -i hci0 cc --role=m 00:01:...
Can't create connection: Connection timed out
or
Can't create connection: Input/output error

Sorry, i am new in this field. Could anyone give me some pointers?

Sincerely
Ric

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Ricky,

Quoted 7 lines

I have bought a bluetooth dongle and is working in linux environment. However, i have problem getting rfcomm and hcitool to work. I did a hciconfig and see that the device is up and working. However when i try to connect to it using

rfcomm -i hciX connect hci0

Quoted 8 lines

I got: can't connect RFcomm socket: Host is down. When i did hcitool cc method:

hcitool -i hci0 cc --role=m 00:01:...
Can't create connection: Connection timed out
or
Can't create connection: Input/output error

Sorry, i am new in this field. Could anyone give me some pointers?

read the manpages of these tools and be aware of that you never can connect back to your dongle. Loopback connections are not possible with Bluetooth.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

A message that is not in the archive (sent off-list or not yet received): [email protected]

maintainer
#3 lore raw

Hi Ricky,

Quoted 6 lines

I do not understand what you mean my loopback connection. I just trying to ping my bluetooth phone or pda using a laptop with bluetooth dongle. When i did a hcitool info (PDA's add), i got "can't create
connection: Input/output error."

Sorry, i know this is a simple question but i really need some assistance here.

so don't use "hcitool cc ...", because this is for testing purpose only. Use the rfcomm tool. Read the manpage for it and follow the examples from the various howtos on the internet.

Regards

Marcel

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users