OSDN Git Service

Incorrect RSSI value in onlost/onfound
authorSatya Calloji <satyac@broadcom.com>
Tue, 24 Mar 2015 01:18:13 +0000 (18:18 -0700)
committerPrerepa Viswanadham <dham@google.com>
Fri, 27 Mar 2015 16:42:37 +0000 (09:42 -0700)
Fix for signed value in onlost/onfound

Bug: 19891550
Change-Id: Idee4c566fe0d6f10a87c92f5bf03743fddbe2261

include/hardware/bt_common_types.h

index f1e0984..e30ac24 100644 (file)
@@ -32,7 +32,7 @@ typedef struct
     uint8_t  advertiser_info_present;
     uint8_t  addr_type;
     uint8_t  tx_power;
-    uint8_t  rssi_value;
+    int8_t  rssi_value;
     uint16_t time_stamp;
     bt_bdaddr_t bd_addr;
     uint8_t  adv_pkt_len;