Diff between 56fb98f3b675a10284a8ea2027454293d7392917 and 657958bdc4caf43b8a71f6afb24a0bdf50c77143

Changed Files

File Additions Deletions Status
src/shared/btsnoop.h +7 -0 modified

Full Patch

diff --git a/src/shared/btsnoop.h b/src/shared/btsnoop.h
index 30a4dc6..08aee90 100644
--- a/src/shared/btsnoop.h
+++ b/src/shared/btsnoop.h
@@ -42,6 +42,13 @@
 #define BTSNOOP_OPCODE_SCO_TX_PKT	6
 #define BTSNOOP_OPCODE_SCO_RX_PKT	7
 
+struct btsnoop_opcode_new_index {
+	uint8_t  type;
+	uint8_t  bus;
+	uint8_t  bdaddr[6];
+	char     name[8];
+} __attribute__((packed));
+
 struct btsnoop;
 
 struct btsnoop *btsnoop_open(const char *path);