[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Patch for blocking hci_read_rssi



This patch makes hci_read_rssi blocking. If it fails, it returns a negative value. If it succeeds, it returns a positive value between 0 and 255. This value has to be cast to a signed char, so it reflects the actual RSSI, which ranges from -128 to 127.

---------------------------------------------------------
Fabrizio Gennari          tel. +39 039 203 7816
Philips Research Monza    fax. +39 039 203 7800
via G. Casati 23          fabrizio.gennari@xxxxxxx.com
20052 Monza (MI) Italy    http://www.research.philips.com


(See attached file: rssi_patch)


rssi_patch