2008-06-26 18:27:57

by Jui-Hao Chiang

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

Hi, dear all:
I am currently using Cyber-Blue Bluetooth USB adapter and Motorola
Razr V3 for experiments.
My goal is to use one adapter to open 3 SCO connections with 3 V3 cell phones.
The chan_mobile in Asterisk gives me the way to connect the adapter to
one phone. But when I use hcitool -i hci1 con to show the connections,
I don't know how to explain the output (00:19:2C:D5:90:DF is cell
phone's address):

Connections:
> 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??

Hope some one can give some hint.
Best regards

-------------------------------------------------------------------------
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-26 21:07:54

by Marcel Holtmann

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

Hi,

> I am currently using Cyber-Blue Bluetooth USB adapter and Motorola
> Razr V3 for experiments.
> My goal is to use one adapter to open 3 SCO connections with 3 V3 cell phones.
> The chan_mobile in Asterisk gives me the way to connect the adapter to
> one phone. But when I use hcitool -i hci1 con to show the connections,
> I don't know how to explain the output (00:19:2C:D5:90:DF is cell
> phone's address):
>
> Connections:
> > 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



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