Diff between 599c76a765c7d404b25c9e71bfa252b390942883 and e4f8701065b422dadfeb58e1ac66a048b9157a98

Changed Files

File Additions Deletions Status
monitor/bt.h +20 -0 modified

Full Patch

diff --git a/monitor/bt.h b/monitor/bt.h
index 78e2a4d..4229643 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -844,6 +844,26 @@ struct bt_hci_rsp_read_data_block_size {
 	uint16_t num_blocks;
 } __attribute__ ((packed));
 
+#define BT_HCI_CMD_READ_LINK_QUALITY		0x1403
+struct bt_hci_cmd_read_link_quality {
+	uint16_t handle;
+} __attribute__ ((packed));
+struct bt_hci_rsp_read_link_quality {
+	uint8_t  status;
+	uint16_t handle;
+	uint8_t  link_quality;
+} __attribute__ ((packed));
+
+#define BT_HCI_CMD_READ_RSSI			0x1405
+struct bt_hci_cmd_read_rssi {
+	uint16_t handle;
+} __attribute__ ((packed));
+struct bt_hci_rsp_read_rssi {
+	uint8_t  status;
+	uint16_t handle;
+	int8_t   rssi;
+} __attribute__ ((packed));
+
 #define BT_HCI_CMD_READ_CLOCK			0x1407
 struct bt_hci_cmd_read_clock {
 	uint16_t handle;