Re: Disconnect eSCO link from Command line

sreevani medhahal
2009-01-28T09:37:08Z

hi Marcel,
On Wed, Jan 28, 2009 at 11:09 AM, Marcel Holtmann <marcel@holtmann.org> wrote:
> Hi Sreevani,
>
>> After the headset has created the eSCO link. The Profile Tuning
>> Suite asks for Closing the Audio Connection from AG. Is there any
>> command line utiility to disable the eSCO link & not the service level
>> connection(ACL).[The eSCO link is visible on giving hcitool con ]
>
> not that I know of except hcitool cmd ;)
>
I tried modifying hcitool.c function cmd_dc by changing type of link
to ESCO_LINK(instead of ACL_LINK). i got the error as disconnect
failed operation not permitted.
> You should also not be sheeting with sending a HCI command when it comes
> to PTS tests. You program has to be able to disconnect eSCO by itself.
>
BlueZ is getting sco_connect result as Connection timed out. but where
as when i list the connections using hcitool con, i see that there is
a eSCO link.
Regards,
Sreevani M