Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Cant´t connect RFCOMM socket: Device or resource busy
@ 2005-10-14 10:28 Artur Almeida
  2005-10-14 11:22 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Artur Almeida @ 2005-10-14 10:28 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 1773 bytes --]

Dear All

 Im having this problem of getting this error message when i try to run the
following command:

rfcomm -i hci1 connect 1 00:13:FD:BB:22:3F 9

Can't connect RFCOMM socket: Device or resource busy

This happens everytime im downloading a file, i stop the bluetooth on my
cell phone then i reconnect and try to send the same file. Is there a
solution to handle this problem without reseting the hci1 ?

Even if i try to restart the bluetooth daemon the error persists, only
reseting my machine im able to connect again using the rfcomm command. Im
using debian sarge with the bluez packages.

 The output from from hcidump when i try to perform this operation is:

 HCI sniffer - Bluetooth packet analyzer ver 1.17
device: hci1 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 3f 22 bb fd 13 00 18 cc 02 00 00 00 01 ?"...........
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x0c ncmd 1
Error: Command Disallowed
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 3f 22 bb fd 13 00 18 cc 02 00 00 00 01 ?"...........
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x0c ncmd 1
Error: Command Disallowed
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 3f 22 bb fd 13 00 18 cc 02 00 00 00 01 ?"...........
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x0c ncmd 1
Error: Command Disallowed
< HCI Command: Create Connection (0x01|0x0005) plen 13
0000: 3f 22 bb fd 13 00 18 cc 02 00 00 00 01 ?"...........
> HCI Event: Command Status (0x0f) plen 4
Create Connection (0x01|0x0005) status 0x0c ncmd 1
Error: Command Disallowed

Can anyone help?

Regards

[-- Attachment #2: Type: text/html, Size: 1997 bytes --]

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

end of thread, other threads:[~2005-10-15 10:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-14 10:28 [Bluez-devel] Cant´t connect RFCOMM socket: Device or resource busy Artur Almeida
2005-10-14 11:22 ` Marcel Holtmann
2005-10-15 10:19   ` [Bluez-devel] " Artur Almeida

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