* [Bluez-users] Signification of the state term
@ 2006-11-15 22:51 Michel Leconte
2006-11-16 10:30 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Michel Leconte @ 2006-11-15 22:51 UTC (permalink / raw)
To: bluez-users
[-- Attachment #1.1: Type: text/plain, Size: 834 bytes --]
Hi all,
I search the signification of the "state" term given for each connection
by the "hcitool con" command.
1. First, I have an ACL connection between 2 bluetooth kits : the state of the ACL connection is 1
2. I create an SCO connection on this ACL connection : the state of the ACL connection stills 1
3. I make an HCI_disconnect on one side of the connection.
With hcidump, after the HCI_disconnect command, I see consecutively two events of complete deconnection :
- the first one for the SCO link,
- the second one for the ACL link.
But, the "hcitool con" command shows again the ACL connection with 8 value for the "state".
When I try to disconnect this link I have a disconnect error.
Does someone have an idea ? What is the signification of a 8 value for the "state" ?
regards.
Michel
[-- Attachment #1.2: Type: text/html, Size: 2495 bytes --]
[-- Attachment #2: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
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
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] Signification of the state term
2006-11-15 22:51 [Bluez-users] Signification of the state term Michel Leconte
@ 2006-11-16 10:30 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-11-16 10:30 UTC (permalink / raw)
To: BlueZ users
Hi,
> I search the signification of the "state" term given for each
> connection
> by the "hcitool con" command.
>
>
> 1. First, I have an ACL connection between 2 bluetooth kits : the
> state of the ACL connection is 1
>
> 2. I create an SCO connection on this ACL connection : the
> state of the ACL connection stills 1
>
> 3. I make an HCI_disconnect on one side of the connection.
>
> With hcidump, after the HCI_disconnect command, I see consecutively
> two events of complete deconnection :
>
> - the first one for the SCO link,
> - the second one for the ACL link.
>
> But, the "hcitool con" command shows again the ACL connection with 8
> value for the "state".
>
> When I try to disconnect this link I have a disconnect error.
>
> Does someone have an idea ? What is the signification of a 8 value for
> the "state" ?
it is the connection state. Check /usr/include/bluetooth/bluetooth.h and
its enum for all possible states.
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-16 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 22:51 [Bluez-users] Signification of the state term Michel Leconte
2006-11-16 10:30 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.