OSDN Git Service

Add debug menu to enable btsnoop
authorZhihai Xu <zhihaixu@google.com>
Tue, 11 Jun 2013 03:23:45 +0000 (20:23 -0700)
committerZhihai Xu <zhihaixu@google.com>
Tue, 11 Jun 2013 03:23:45 +0000 (20:23 -0700)
bug: 8059358
Change-Id: Ib28ffe12d9b42726a0c12ecb144624862745e9ca

include/hardware/bluetooth.h

index 2741332..c00a8f7 100755 (executable)
@@ -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