summaryrefslogtreecommitdiff
path: root/monitor/bt.h
diff options
context:
space:
mode:
authorSzymon Czapracki <szymon.czapracki@codecoup.pl>2020-01-08 12:47:51 +0100
committerSzymon Janc <szymon.janc@codecoup.pl>2020-01-09 11:36:05 +0100
commitec7781244241d71448eb93b3685c36f9c7d7d06e (patch)
treef2ef0cefd8e4fc4037f433c687d7686e237f5c84 /monitor/bt.h
parente0eaaa45d879d3a15df180ec6b788be6025643e7 (diff)
downloadbluez-ec7781244241d71448eb93b3685c36f9c7d7d06e.tar.gz
monitor: Decode LE Set Default Periodic Adv Sync Transfer Params. command
< HCI Command: LE Set Default Periodic Advertisng Sync Transfer Parameters (0x08|0x005d) plen 6 Mode: Enabled with report events disabled (0x01) Skip: 0x00 Sync timeout: 0 msec (0x0000) Sync CTE type: 0x0000 > HCI Event: Command Status (0x0f) plen 4 LE Set Default Periodic Advertisng Sync Transfer Parameters (0x08|0x005d) ncmd 1 Status: Unknown HCI Command (0x01)
Diffstat (limited to 'monitor/bt.h')
-rw-r--r--monitor/bt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h
index 2ec2ea0a7..1859dfb21 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2490,6 +2490,14 @@ struct bt_hci_cmd_periodic_adv_sync_trans_params {
uint8_t cte_type;
} __attribute__ ((packed));
+#define BT_HCI_CMD_DEFAULT_PERIODIC_ADV_SYNC_TRANS_PARAMS 0x205d
+struct bt_hci_cmd_default_periodic_adv_sync_trans_params {
+ 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;