About Inquiry_with_RSSI
Carlos Fernández Herranz
cfernandezh at udc.es
Thu Apr 20 15:06:26 UTC 2006
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
>
More information about the freebsd-bluetooth
mailing list