public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Newbie2
@ 2004-08-20  1:37 Ricky Soh
  2004-08-20  8:18 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Ricky Soh @ 2004-08-20  1:37 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Newbie2
  2004-08-20  1:37 [Bluez-users] Newbie2 Ricky Soh
@ 2004-08-20  8:18 ` Marcel Holtmann
       [not found]   ` <db972f430408202022423be30a@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2004-08-20  8:18 UTC (permalink / raw)
  To: Ricky Soh; +Cc: BlueZ Mailing List

Hi Ricky,

> 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?

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bluez-users] Newbie2
       [not found]   ` <db972f430408202022423be30a@mail.gmail.com>
@ 2004-08-21  7:21     ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2004-08-21  7:21 UTC (permalink / raw)
  To: Ricky Soh; +Cc: bluez-users

Hi Ricky,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-21  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-20  1:37 [Bluez-users] Newbie2 Ricky Soh
2004-08-20  8:18 ` Marcel Holtmann
     [not found]   ` <db972f430408202022423be30a@mail.gmail.com>
2004-08-21  7:21     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox