summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhihai Xu <zhihaixu@google.com>2013-06-10 20:23:45 -0700
committerZhihai Xu <zhihaixu@google.com>2013-06-10 20:23:45 -0700
commita17b75bb173c48d0aa37466607faa767690eae2b (patch)
treec644cea10c052d8226ded7520c7104210cc1f183
parent55ca246b2c4c32308d1d5a5649e9e59ae17669d3 (diff)
downloadhardware_libhardware-a17b75bb173c48d0aa37466607faa767690eae2b.zip
hardware_libhardware-a17b75bb173c48d0aa37466607faa767690eae2b.tar.gz
hardware_libhardware-a17b75bb173c48d0aa37466607faa767690eae2b.tar.bz2
Add debug menu to enable btsnoop
bug: 8059358 Change-Id: Ib28ffe12d9b42726a0c12ecb144624862745e9ca
-rwxr-xr-xinclude/hardware/bluetooth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index 2741332..c00a8f7 100755
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -451,6 +451,8 @@ typedef struct {
/* opcode MUST be one of: LE_Receiver_Test, LE_Transmitter_Test, LE_Test_End */
int (*le_test_mode)(uint16_t opcode, uint8_t *buf, uint8_t len);
+ /* enable or disable bluetooth HCI snoop log */
+ int (*config_hci_snoop_log)(uint8_t enable);
} bt_interface_t;
/** TODO: Need to add APIs for Service Discovery, Service authorization and