Hi all,

I have a problem in a PAN network when I establish an SCO link before the disconnection of two entities.

Topology of the network : One Bluetooth kit is GN (configured in master) the other one is PANU (configured in slave), these two entities constitute a Bluetooth IP network (using Bnep interfaces and PAN daemons).


First test :
----------
The PANU wish to make a disconnection with the GN, it applies a bnep_kill_connection().
With hcidump, one can see a disconnection complete event.
Then with "hcitool con" command, we don't see any ACL connection.

Second test :
----------

The PANU and the GN establish an SCO connection on the ACL link.
The PANU wishes to make a disconnection with the GN, it applies a bnep_kill_connection().
With hcidump, one can see two disconnection complete events.
The first one for the SCO connection the second one for the ACL link.

In despite of these two deconnection events, the "hcitool con" command
shows always an ACL connection with a state 8. These state value corresponds to a
disconnection state. My goal is to have a real complete disconnection of the link as
in the first test.

Does anyone has an idea to fully disconnect these link without seeing it with the "hcitool con"
command ?

How a link can be in a disconnection state and always visible with these later command ?


thanks for any idea or suggestion.

regards.

Michel




----------------------------------------------------------------