summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorSzymon Czapracki <szymon.czapracki@codecoup.pl>2020-01-08 12:47:50 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2020-01-09 11:36:05 +0100
commite0eaaa45d879d3a15df180ec6b788be6025643e7 (patch)
treefdc2a42cb36eb2fb28e539dfd4ede29dc38c9a29 /monitor/bt.h
parent9e9ad8ec1c776ecd733894aee8ba9594828bf6b6 (diff)
downloadbluez-e0eaaa45d879d3a15df180ec6b788be6025643e7.tar.gz
monitor: Decode LE Set Periodic Adv Sync Transfer Parameterers command
< HCI Command: LE Periodic Advertising Sync Transfer Parameters (0x08|0x005c) plen 8 Connection handle: 1 Mode: Disabled (0x00) Skip: 0x00 Sync timeout: 0 msec (0x0000) Sync CTE type: 0x0000 > HCI Event: Command Status (0x0f) plen 4 LE Periodic Advertising Sync Transfer Parameters (0x08|0x005c) ncmd 1 Status: Unknown HCI Command (0x01)
Diffstat (limited to 'monitor/bt.h')
-rw-r--r--monitor/bt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index f8422ccc9..2ec2ea0a7 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2481,6 +2481,15 @@ struct bt_hci_cmd_periodic_adv_set_info_trans {
uint16_t adv_handle;
} __attribute__ ((packed));
+#define BT_HCI_CMD_PERIODIC_ADV_SYNC_TRANS_PARAMS 0x205c
+struct bt_hci_cmd_periodic_adv_sync_trans_params {
+ uint16_t handle;
+ uint8_t mode;
+ uint16_t skip;
+ uint16_t sync_timeout;
+ uint8_t cte_type;
+} __attribute__ ((packed));
+
#define BT_HCI_EVT_INQUIRY_COMPLETE 0x01
struct bt_hci_evt_inquiry_complete {
uint8_t status;