Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2006 17:06:20 +0200
From:      =?ISO-8859-1?Q?Carlos_Fern=E1ndez_Herranz?= <cfernandezh@udc.es>
To:        Iain Hibbert <plunky@rya-online.net>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: About Inquiry_with_RSSI
Message-ID:  <4447A36C.8070201@udc.es>
In-Reply-To: <1143558548.478651.3242.nullmailer@galant.ukfsn.org>
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> <1143558548.478651.3242.nullmailer@galant.ukfsn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The problem was in my Bluetooth adapter, D-LINK DBT-122 which are said 
to support Bluetooth 1.2 but it's not true.

Now, I've tried with some Conceptronic BT 2.0 and it works well. I've 
given support for the commands from Bluetooth 1.2:

Write_Inquiry_Mode
Read_Inquiry_Mode

 and the reception of Inquiry results with RSSI.

I'd like to collaborate providing the solutions I've found. How can I do 
it? Posting my code in this list or sending it to Maksim?



Iain Hibbert wrote:

>On Tue, 28 Mar 2006, Carlos Fernández Herranz wrote:
>
>  
>
>>I didn't try the "Read_Inquiry_Mode" command yet (because I have to implement
>>it), but the response I get from
>>
>>       *if* (rp.status != 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
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4447A36C.8070201>