From owner-freebsd-bluetooth@FreeBSD.ORG Tue Mar 28 15:10:31 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F11F16A448 for ; Tue, 28 Mar 2006 15:10:31 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from mail09.svc.cra.dublin.eircom.net (mail09.svc.cra.dublin.eircom.net [159.134.118.25]) by mx1.FreeBSD.org (Postfix) with SMTP id DC63543D48 for ; Tue, 28 Mar 2006 15:10:30 +0000 (GMT) (envelope-from plunky@rya-online.net) Received: (qmail 98420 messnum 2872225 invoked from network[83.70.176.191/unknown]); 28 Mar 2006 15:10:28 -0000 Received: from unknown (HELO rya-online.net) (83.70.176.191) by mail09.svc.cra.dublin.eircom.net (qp 98420) with SMTP; 28 Mar 2006 15:10:28 -0000 Received: (nullmailer pid 3711 invoked by uid 1000); Tue, 28 Mar 2006 15:09:08 -0000 Date: Tue, 28 Mar 2006 16:09:08 +0100 (BST) To: =?ISO-8859-1?Q?Carlos_Fern=E1ndez_Herranz?= In-Reply-To: <44294D1D.4010901@udc.es> References: <4423D096.2010205@udc.es> <44248823.3040907@savvis.net> <44291782.8010003@udc.es> <1143546159.980113.1641.nullmailer@galant.ukfsn.org> <44292470.5020803@udc.es> <1143547703.630752.2338.nullmailer@galant.ukfsn.org> <44294D1D.4010901@udc.es> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-571369511-1143558548=:3517" Message-Id: <1143558548.478651.3242.nullmailer@galant.ukfsn.org> From: Iain Hibbert Cc: freebsd-bluetooth@freebsd.org Subject: Re: About Inquiry_with_RSSI X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 15:10:31 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-571369511-1143558548=:3517 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 28 Mar 2006, Carlos Fern=E1ndez Herranz wrote: > I didn't try the "Read_Inquiry_Mode" command yet (because I have to imple= ment > it), but the response I get from > > *if* (rp.status !=3D 0x00) { > fprintf(stdout, "Status: %s [%#02x]\n", > hci_status2str(rp.status), rp.status); > *return* (FAILED); > } > > > at the end of the hci_write_inquiry_mode function is: > > Status: Unsupported feature or parameter value [0x11] Looks like your Bluetooth controller does not support RSSI with Inquiry. Um, I'm not sure how FreeBSD hccontrol works, but it looks that you can get the device features list with 'read_local_supported_features' command to hccontrol? The version I have here doesnt look to know about the "RSSI with Inquiry" feature, which would be indicated by bit 6 (0x40) in byte 3 of the features report. Note, that "RSSI with Inquiry" is not the same as "RSSI" - I think the latter is just for the Read_RSSI command and you must be already connected for that (need connection handle) iain --0-571369511-1143558548=:3517--