public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Jon Barnett <jbarnett@pobox.com>
To: amateur <ztl.post@gmail.com>,
	BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] Immediate disconnect after doing "hcitool cc"
Date: Thu, 14 Dec 2006 21:05:09 -0500	[thread overview]
Message-ID: <1166148309.3279.6.camel@localhost> (raw)
In-Reply-To: <20061214092546.GA6244@163.com>


[-- Attachment #1.1: Type: text/plain, Size: 1316 bytes --]

On Thu, 2006-12-14 at 17:25 +0800, amateur wrote:
> On Thu, Dec 14, 2006 at 01:13:16AM -0500, Jon Barnett wrote:
> > hcidump -X -V results for a hcitool cc command:
> > > HCI Event: Max Slots Change (0x1b) plen 3
> >     handle 12 slots 5
> > > HCI Event: Remote Name Req Complete (0x07) plen 255
> >     status 0x00 bdaddr 00:12:EE:E0:AB:CA name 'HBH-610a'
> > < HCI Command: Disconnect (0x01|0x0006) plen 3
> >     handle 12 reason 0x13
> >     Reason: Remote User Terminated Connection
> > > HCI Event: Command Status (0x0f) plen 4
> >     Disconnect (0x01|0x0006) status 0x00 ncmd 1
> > > HCI Event: Disconn Complete (0x05) plen 4
> >     status 0x00 handle 12 reason 0x16
> >     Reason: Connection Terminated by Local Host
> > 
> How long does it takes for your computer to send the disconnect
> request? Maybe it is that bluez will automatically disconnect a
> connection after some idle time.
> 

No. The disconnect happens at most maybe a couple of seconds after the
cc command has completed. I've tried:
hcitool cc 00:12:EE:E0:AB:CA; hcitool auth 00:12:EE:E0:AB:CA

And it disconnects before I can even enter the pin at the
gnome-bluetooth prompt.

As I said, it doesn't happen if I use the Kensington USB dongle. So
there is something different about the BCM2045 USB device.

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2006-12-15  2:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  6:13 [Bluez-devel] Immediate disconnect after doing "hcitool cc" Jon Barnett
2006-12-14  9:25 ` amateur
2006-12-15  2:05   ` Jon Barnett [this message]
2006-12-17 12:43     ` Marcel Holtmann
2006-12-17 17:37       ` Jon Barnett
2006-12-18  8:00       ` Lauri Lubi
2006-12-18  9:36         ` Marcel Holtmann
2006-12-18  9:52           ` Lauri Lubi
2006-12-18 11:55             ` Marcel Holtmann

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=1166148309.3279.6.camel@localhost \
    --to=jbarnett@pobox.com \
    --cc=bluez-devel@lists.sourceforge.net \
    --cc=ztl.post@gmail.com \
    /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