public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] "ACL Connection Already Exists" while using only DBus calls
@ 2007-05-09 15:59 Pierre-Yves Paulus
  2007-05-09 17:57 ` Pierre-Yves Paulus
  0 siblings, 1 reply; 2+ messages in thread
From: Pierre-Yves Paulus @ 2007-05-09 15:59 UTC (permalink / raw)
  To: BlueZ development

Hello,

I've a system with several dongles, which are driven by a custom app, 
using only DBus calls to hcid.

Using dongle hci4, I connected to a device, performed some operations, 
and disconnected:

2007-05-09 17:11:23,997 hci4  < HCI Command: Disconnect (0x01|0x0006) plen 3
2007-05-09 17:11:23,997 hci4      handle 11 reason 0x13
2007-05-09 17:11:23,997 hci4      Reason: Remote User Terminated Connection
2007-05-09 17:11:23,999 hci4  > HCI Event: Command Status (0x0f) plen 4
2007-05-09 17:11:23,999 hci4      Disconnect (0x01|0x0006) status 0x00 
ncmd 1
2007-05-09 17:11:24,031 hci4  > HCI Event: Disconn Complete (0x05) plen 4
2007-05-09 17:11:24,031 hci4      status 0x00 handle 11 reason 0x16
2007-05-09 17:11:24,032 hci4      Reason: Connection Terminated by Local 
Host

A very few seconds later,  the app tried to reconnect (requesting a SDP 
record) using another dongle, hci3. And I got that error:

2007-05-09 17:11:26,892 hci3  < HCI Command: Create Connection 
(0x01|0x0005) plen 13
2007-05-09 17:11:26,892 hci3      bdaddr 00:60:57:BB:4D:92 ptype 0xcc18 
rswitch 0x00 clkoffset 0x0000
2007-05-09 17:11:26,892 hci3      Packet type: DM1 DM3 DM5 DH1 DH3 DH5
2007-05-09 17:11:26,908 hci3  > HCI Event: Command Status (0x0f) plen 4
2007-05-09 17:11:26,908 hci3      Create Connection (0x01|0x0005) status 
0x0b ncmd 1
2007-05-09 17:11:26,908 hci3      Error: ACL Connection Already Exists

It tried again 30s latter, with the same result.


2007-05-09 17:11:56,623 hci3  < HCI Command: Create Connection 
(0x01|0x0005) plen 13
2007-05-09 17:11:56,623 hci3      bdaddr 00:60:57:BB:4D:92 ptype 0xcc18 
rswitch 0x00 clkoffset 0x0000
2007-05-09 17:11:56,623 hci3      Packet type: DM1 DM3 DM5 DH1 DH3 DH5
2007-05-09 17:11:56,638 hci3  > HCI Event: Command Status (0x0f) plen 4
2007-05-09 17:11:56,638 hci3      Create Connection (0x01|0x0005) status 
0x0b ncmd 1
2007-05-09 17:11:56,638 hci3      Error: ACL Connection Already Exists

At that point, I did shut the application down.

How can such a thing happen?

Thanks in advance,
Best Regards

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] "ACL Connection Already Exists" while using only DBus calls
  2007-05-09 15:59 [Bluez-devel] "ACL Connection Already Exists" while using only DBus calls Pierre-Yves Paulus
@ 2007-05-09 17:57 ` Pierre-Yves Paulus
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre-Yves Paulus @ 2007-05-09 17:57 UTC (permalink / raw)
  To: BlueZ development

Hello again,

I forgot to mention 3 things in my last message about the same subject:

-the last signal received about the device I want to connect to is a 
"RemoteDeviceDisconnected", and no "RemoteDeviceConnected" signal has 
been received afterwards.

-this is confirmed by the output of a call to adapter.ListConnections, 
which tells that no connections exist at all.

-Sometimes, the error I get (exactly the same circumstances) in hcidump is

   < HCI Command: Create Connection (0x01|0x0005) plen 13
       bdaddr 00:60:57:4F:EB:37 ptype 0xcc18 rswitch 0x00 clkoffset 0x0000
       Packet type: DM1 DM3 DM5 DH1 DH3 DH5
   > HCI Event: Command Status (0x0f) plen 4
       Create Connection (0x01|0x0005) status 0x09 ncmd 1
       Error: Connection Limit Exceeded


So for me it clearly looks like a bug. What can I do to help get it fixed?

Regards,
Pierre-Yves



Pierre-Yves Paulus wrote:
> Hello,
> 
> I've a system with several dongles, which are driven by a custom app, 
> using only DBus calls to hcid.
> 
> Using dongle hci4, I connected to a device, performed some operations, 
> and disconnected:
> 
> 2007-05-09 17:11:23,997 hci4  < HCI Command: Disconnect (0x01|0x0006) plen 3
> 2007-05-09 17:11:23,997 hci4      handle 11 reason 0x13
> 2007-05-09 17:11:23,997 hci4      Reason: Remote User Terminated Connection
> 2007-05-09 17:11:23,999 hci4  > HCI Event: Command Status (0x0f) plen 4
> 2007-05-09 17:11:23,999 hci4      Disconnect (0x01|0x0006) status 0x00 
> ncmd 1
> 2007-05-09 17:11:24,031 hci4  > HCI Event: Disconn Complete (0x05) plen 4
> 2007-05-09 17:11:24,031 hci4      status 0x00 handle 11 reason 0x16
> 2007-05-09 17:11:24,032 hci4      Reason: Connection Terminated by Local 
> Host
> 
> A very few seconds later,  the app tried to reconnect (requesting a SDP 
> record) using another dongle, hci3. And I got that error:
> 
> 2007-05-09 17:11:26,892 hci3  < HCI Command: Create Connection 
> (0x01|0x0005) plen 13
> 2007-05-09 17:11:26,892 hci3      bdaddr 00:60:57:BB:4D:92 ptype 0xcc18 
> rswitch 0x00 clkoffset 0x0000
> 2007-05-09 17:11:26,892 hci3      Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> 2007-05-09 17:11:26,908 hci3  > HCI Event: Command Status (0x0f) plen 4
> 2007-05-09 17:11:26,908 hci3      Create Connection (0x01|0x0005) status 
> 0x0b ncmd 1
> 2007-05-09 17:11:26,908 hci3      Error: ACL Connection Already Exists
> 
> It tried again 30s latter, with the same result.
> 
> 
> 2007-05-09 17:11:56,623 hci3  < HCI Command: Create Connection 
> (0x01|0x0005) plen 13
> 2007-05-09 17:11:56,623 hci3      bdaddr 00:60:57:BB:4D:92 ptype 0xcc18 
> rswitch 0x00 clkoffset 0x0000
> 2007-05-09 17:11:56,623 hci3      Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> 2007-05-09 17:11:56,638 hci3  > HCI Event: Command Status (0x0f) plen 4
> 2007-05-09 17:11:56,638 hci3      Create Connection (0x01|0x0005) status 
> 0x0b ncmd 1
> 2007-05-09 17:11:56,638 hci3      Error: ACL Connection Already Exists
> 
> At that point, I did shut the application down.
> 
> How can such a thing happen?
> 
> Thanks in advance,
> Best Regards
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2007-05-09 17:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 15:59 [Bluez-devel] "ACL Connection Already Exists" while using only DBus calls Pierre-Yves Paulus
2007-05-09 17:57 ` Pierre-Yves Paulus

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