From: amateur <ztl.post@gmail.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Immediate disconnect after doing "hcitool cc"
Date: Thu, 14 Dec 2006 17:25:46 +0800 [thread overview]
Message-ID: <20061214092546.GA6244@163.com> (raw)
In-Reply-To: <1166076796.3984.9.camel@localhost>
On Thu, Dec 14, 2006 at 01:13:16AM -0500, Jon Barnett wrote:
> hcidump -X -V results for a hcitool cc command:
> < HCI Command: Create Connection (0x01|0x0005) plen 13
> bdaddr 00:12:EE:E0:AB:CA ptype 0xcc18 rswitch 0x01 clkoffset 0x0000
> Packet type: DM1 DM3 DM5 DH1 DH3 DH5
> > HCI Event: Command Status (0x0f) plen 4
> Create Connection (0x01|0x0005) status 0x00 ncmd 1
> > HCI Event: Connect Complete (0x03) plen 11
> status 0x00 handle 12 bdaddr 00:12:EE:E0:AB:CA type ACL encrypt 0x00
> < HCI Command: Read Remote Supported Features (0x01|0x001b) plen 2
> handle 12
> > HCI Event: Command Status (0x0f) plen 4
> Read Remote Supported Features (0x01|0x001b) status 0x00 ncmd 1
> < HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
> handle 12 policy 0x0f
> Link policy: RSWITCH HOLD SNIFF PARK
> > HCI Event: Read Remote Supported Features (0x0b) plen 11
> status 0x00 handle 12
> Features: 0xff 0xfd 0x29 0x78 0x18 0x18 0x00 0x80
> > HCI Event: Command Complete (0x0e) plen 6
> Write Link Policy Settings (0x02|0x000d) ncmd 1
> status 0x00 handle 12
> < HCI Command: Remote Name Request (0x01|0x0019) plen 10
> bdaddr 00:12:EE:E0:AB:CA mode 2 clkoffset 0x0000
> > HCI Event: Command Status (0x0f) plen 4
> Remote Name Request (0x01|0x0019) status 0x00 ncmd 1
> > 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.
--
An honest tale speeds best being plainly told.
-- William Shakespeare, "Henry VI"
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2006-12-14 9:25 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 [this message]
2006-12-15 2:05 ` Jon Barnett
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=20061214092546.GA6244@163.com \
--to=ztl.post@gmail.com \
--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