public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] immediate unsolicited disconnect after hcitool cc
@ 2007-02-18 12:25 Choi Sonim
  2007-02-18 12:44 ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Choi Sonim @ 2007-02-18 12:25 UTC (permalink / raw)
  To: BlueZ development

hi list,

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.

who sends this disconnect ? why is that ?

thanks alot
choi

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] immediate unsolicited disconnect after hcitool cc
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2007-02-18 12:44 UTC (permalink / raw)
  To: BlueZ development

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.

Regards

Marcel



-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] immediate unsolicited disconnect after hcitool cc
  2007-02-18 12:44 ` Marcel Holtmann
@ 2007-02-18 13:46   ` Choi Sonim
  2007-02-18 16:58     ` Marcel Holtmann
  0 siblings, 1 reply; 5+ messages in thread
From: Choi Sonim @ 2007-02-18 13:46 UTC (permalink / raw)
  To: BlueZ development; +Cc: Marcel Holtmann

hi Marcel,

On 2/18/07, Marcel Holtmann <marcel@holtmann.org> 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.

are there command line utilities I can use to test file transfers
(like in OPP or FTP) ?

thank you very very much for the help
choi

>
> Regards
>
> Marcel
>
>
>
> -------------------------------------------------------------------------
> 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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] immediate unsolicited disconnect after hcitool cc
  2007-02-18 13:46   ` Choi Sonim
@ 2007-02-18 16:58     ` Marcel Holtmann
  0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2007-02-18 16:58 UTC (permalink / raw)
  To: Choi Sonim; +Cc: BlueZ development

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.
> 
> are there command line utilities I can use to test file transfers
> (like in OPP or FTP) ?

the obex CVS repository of BlueZ contains btobex and btftp command line
utilities.

Regards

Marcel



-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Bluez-devel] immediate unsolicited disconnect after hcitool cc
@ 2008-05-26  5:09 Yuchih Liu
  0 siblings, 0 replies; 5+ messages in thread
From: Yuchih Liu @ 2008-05-26  5:09 UTC (permalink / raw)
  To: bluez-devel


[-- 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-26  5:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2008-05-26  5:09 Yuchih Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox