summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorSzymon Czapracki <szymon.czapracki@codecoup.pl>2020-01-08 12:47:47 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2020-01-09 11:36:05 +0100
commit5a97b877f2ad1e949da06c2c9fa77711405eb2a2 (patch)
tree94098bedf54651e5a906280c7830b4d9930e6bcd /monitor/bt.h
parent228c945a93a48ffd2f6cb830951d054278f6da91 (diff)
downloadbluez-5a97b877f2ad1e949da06c2c9fa77711405eb2a2.tar.gz
monitor: Decode LE Set Periodic Advertising Receive Enable command
< HCI Command: LE Periodic Advertising Receive Enable (0x08|0x0059) plen 3 Sync handle: 0 Reporting: Enabled (0x01) > HCI Event: Command Status (0x0f) plen 4 LE Periodic Advertising Receive Enable (0x08|0x0059) ncmd 1 Status: Unknown HCI Command (0x01)
Diffstat (limited to 'monitor/bt.h')
-rw-r--r--monitor/bt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index e14c1771f..bb373b528 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2461,6 +2461,12 @@ struct bt_hci_cmd_le_tx_test_v3 {
uint8_t antenna_ids[0];
} __attribute__ ((packed));
+#define BT_HCI_CMD_SET_PERIODIC_ADV_REC_ENABLE 0x2059
+struct bt_hci_cmd_set_periodic_adv_rec_enable {
+ uint16_t sync_handle;
+ uint8_t enable;
+} __attribute__ ((packed));
+
#define BT_HCI_EVT_INQUIRY_COMPLETE 0x01
struct bt_hci_evt_inquiry_complete {
uint8_t status;