2008-06-26 22:42:47

by Jui-Hao Chiang

[permalink] [raw]
Subject: Re: [Bluez-devel] Meaning of hcitool -i dev con

Marcel Holtmann <marcel <at> holtmann.org> writes:

> > > SCO 00:19:2C:D5:90:DF handle 2 state 1 lm SLAVE
> > < ACL 00:19:2C:D5:90:DF handle 1 state 1 lm MASTER ENCRYPT
> >
> > Does this mean that the USB adapter is playing TWO roles (master and
> > slave) at the same moment??
>
> that is for the SCO connection. The ACL connection is the one that
> counts. The SCO depends on the ACL connection.
>
> Actually the the SCO/eSCO connections don't have a link mode. It is an
> issue how these information are presented.
>
> Regards
>
> Marcel
>
Thank you for the explanation.
This explains the output from hci command and hcidump.
Your words also reminds me that standard has said "before creating SCO, a ACL
link must exist".
But I am still confused about the handle.
If ACL first use handle 0, does that mean the upcoming SCO will use handle 0?
Or another one?

If you have some time, please also try to look at my previous post "Multiple SCO
connections".

Sincerely,
Jui-Hao




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


2008-06-27 02:51:38

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Meaning of hcitool -i dev con

Hi,

> > > > SCO 00:19:2C:D5:90:DF handle 2 state 1 lm SLAVE
> > > < ACL 00:19:2C:D5:90:DF handle 1 state 1 lm MASTER ENCRYPT
> > >
> > > Does this mean that the USB adapter is playing TWO roles (master and
> > > slave) at the same moment??
> >
> > that is for the SCO connection. The ACL connection is the one that
> > counts. The SCO depends on the ACL connection.
> >
> > Actually the the SCO/eSCO connections don't have a link mode. It is an
> > issue how these information are presented.
> >
> Thank you for the explanation.
> This explains the output from hci command and hcidump.
> Your words also reminds me that standard has said "before creating SCO, a ACL
> link must exist".
> But I am still confused about the handle.
> If ACL first use handle 0, does that mean the upcoming SCO will use handle 0?
> Or another one?

the handle 0 is invalid first of all. The ACL link gets a handle and the
SCO link gets its own handle. Like you see it in the example above.

Regards

Marcel



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel