From: "Yuchih Liu" <liuyuchih@gmail.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] immediate unsolicited disconnect after hcitool cc
Date: Mon, 26 May 2008 13:09:45 +0800 [thread overview]
Message-ID: <8c8e9de90805252209q6b34ca65g81ec1b8a45c27ee6@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 767 bytes --]
Hi Marcel,
On 2/18/07, Marcel Holtmann <marcel@ho...> wrote:
> Hi Choi,
>
> > after I do "hcitool cc xx:xx:xx:xx:xx:xx" I have a connection
> > I can see with "hcitool con" but after one or two seconds I can
> > see in hcidump that an HCI disconnect command is sent and
> > the connection is disconnected.
>
> don't use this command for piconet creation. Use higher layer like L2CAP
> and RFCOMM. The kernel will create the needed ACL link for you and take
> fully care of it.
I am doing some experience on the HCI level.
Is there any HCI command i could use to maintain connection for a while?
I have tried "Write Link Supervision Timeout Command", but not work.
Shall i do something like unpark and then park the slavers?
Thanks very much for your help,
Yuchih
[-- Attachment #1.2: Type: text/html, Size: 973 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- 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
next reply other threads:[~2008-05-26 5:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-26 5:09 Yuchih Liu [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-02-18 12:25 [Bluez-devel] immediate unsolicited disconnect after hcitool cc Choi Sonim
2007-02-18 12:44 ` Marcel Holtmann
2007-02-18 13:46 ` Choi Sonim
2007-02-18 16:58 ` 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=8c8e9de90805252209q6b34ca65g81ec1b8a45c27ee6@mail.gmail.com \
--to=liuyuchih@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