2008-05-26 02:33:02

by Yuchih Liu

[permalink] [raw]
Subject: Re: [Bluez-users] [Bluez-devel] immediate unsolicited disconnect after hcitool cc

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


Attachments:
(No filename) (767.00 B)
(No filename) (939.00 B)
(No filename) (228.00 B)
(No filename) (164.00 B)
Download all attachments