OSDN Git Service

monitor: Add structure for writing inquiry tx power level
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Aug 2013 01:56:32 +0000 (18:56 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 28 Aug 2013 01:56:32 +0000 (18:56 -0700)
monitor/bt.h

index 298d29c..865f032 100644 (file)
@@ -757,6 +757,11 @@ struct bt_hci_rsp_read_inquiry_resp_tx_power {
        int8_t   level;
 } __attribute__ ((packed));
 
+#define BT_HCI_CMD_WRITE_INQUIRY_TX_POWER      0x0c59
+struct bt_hci_cmd_write_inquiry_tx_power {
+       int8_t   level;
+} __attribute__ ((packed));
+
 #define BT_HCI_CMD_ENHANCED_FLUSH              0x0c5f
 struct bt_hci_cmd_enhanced_flush {
        uint16_t handle;