Return-Path: Message-ID: Date: Wed, 13 Jun 2007 08:31:45 +0200 From: "=?ISO-8859-2?Q?Przemys=B3aw_Jakubowski?=" To: "BlueZ users" In-Reply-To: <1181703539.6872.95.camel@aeonflux.holtmann.net> MIME-Version: 1.0 References: <1181703539.6872.95.camel@aeonflux.holtmann.net> Subject: Re: [Bluez-users] hci_inquiry Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net 2007/6/13, Marcel Holtmann : > Hi Przemek, > > > I'm writing aplication in Java using Avetana library. Sometimes > > inquiry hangs up, and I want to stop it. There is native method in > > library cancelInquiry but it's not implemented. I need to stop > > existing inquiry. Function hci_inquiry implemented in hci.c starts > > inquiry, but i don't find there any function that cancels it. > > I'll be very thankful for any help > > if you would use the new D-Bus API for BlueZ you would be able to cancel > it. With the C only API it is not possible. That specific call is > blocking. > > Regards > > Marcel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users > Hi. Marcel I'm little new in bluetooth software, so I've got some more questions. Where can I find this D-BUS API (is it in new versions of bluez-libs, bluez-utils or in kernel). Yesterday I generated this code: hci_send_req(dev_id, &rq, 100) where rq is hci_request struct and i set rq.ogf = OGF_LINK_CTL; rq.ocf = OCF_INQUIRY_CANCEL; If this code would be proper if I have new D-Bus API. I'll be very thankful for every help. Greetings, Przemek ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users