public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Pierre-Yves Paulus <py@idlum.be>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] "ACL Connection Already Exists" while using only DBus	calls
Date: Wed, 09 May 2007 19:57:57 +0200	[thread overview]
Message-ID: <46420BA5.6080600@idlum.be> (raw)
In-Reply-To: <4641EFF2.5090903@idlum.be>

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

      reply	other threads:[~2007-05-09 17:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46420BA5.6080600@idlum.be \
    --to=py@idlum.be \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox