From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: Disconnect eSCO link from Command line From: Marcel Holtmann To: sreevani medhahal Cc: linux-bluetooth@vger.kernel.org In-Reply-To: References: <1233121193.18259.6.camel@violet> Content-Type: text/plain Date: Wed, 28 Jan 2009 10:57:47 +0100 Message-Id: <1233136667.2139.1.camel@violet> Mime-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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. you might wanna try bluetooth-testing.git since the SCO/eSCO connection reject patch might do exactly what you expect here. Regards Marcel