diff options
author | Szymon Czapracki <szymon.czapracki@codecoup.pl> | 2020-01-08 12:47:48 +0100 |
---|---|---|
committer | Szymon Janc <szymon.janc@codecoup.pl> | 2020-01-09 11:36:05 +0100 |
commit | b73d4bb9e3c9a31dfbe1a079b9582b9d8a78dd7b (patch) | |
tree | 15a54ffa39ecfa0db794b211256234c41d4cd3cf /monitor/bt.h | |
parent | 5a97b877f2ad1e949da06c2c9fa77711405eb2a2 (diff) | |
download | bluez-b73d4bb9e3c9a31dfbe1a079b9582b9d8a78dd7b.tar.gz |
monitor: Decode LE Periodic Advertising Sync Transfer command
< HCI Command: LE Periodic Advertising Sync Transfer (0x08|0x005a) plen 6
Connection handle: 1
Service data: 0x0001
Sync handle: 1
> HCI Event: Command Status (0x0f) plen 4
LE Periodic Advertising Sync Transfer (0x08|0x005a) ncmd 1
Status: Unknown HCI Command (0x01)
Diffstat (limited to 'monitor/bt.h')
-rw-r--r-- | monitor/bt.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/monitor/bt.h b/monitor/bt.h index bb373b528..efaf80f55 100644 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2467,6 +2467,13 @@ struct bt_hci_cmd_set_periodic_adv_rec_enable { uint8_t enable; } __attribute__ ((packed)); +#define BT_HCI_CMD_PERIODIC_SYNC_TRANS 0x205a +struct bt_hci_cmd_periodic_sync_trans { + uint16_t handle; + uint16_t service_data; + uint16_t sync_handle; +} __attribute__ ((packed)); + #define BT_HCI_EVT_INQUIRY_COMPLETE 0x01 struct bt_hci_evt_inquiry_complete { uint8_t status; |