summaryrefslogtreecommitdiffstats
path: root/include/hci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hci.h')
-rw-r--r--include/hci.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h
index dfb866bd..af2e0dd1 100644
--- a/include/hci.h
+++ b/include/hci.h
@@ -1152,6 +1152,31 @@ typedef struct {
} __attribute__ ((packed)) evt_read_remote_ext_features_complete;
#define EVT_READ_REMOTE_EXT_FEATURES_COMPLETE_SIZE 13
+#define EVT_SYNC_CONN_COMPLETE 0x2C
+typedef struct {
+ uint8_t status;
+ uint16_t handle;
+ bdaddr_t bdaddr;
+ uint8_t link_type;
+ uint8_t trans_interval;
+ uint8_t retrans_window;
+ uint16_t rx_pkt_len;
+ uint16_t tx_pkt_len;
+ uint8_t air_mode;
+} __attribute__ ((packed)) evt_sync_conn_complete;
+#define EVT_SYNC_CONN_COMPLETE_SIZE 17
+
+#define EVT_SYNC_CONN_CHANGED 0x2D
+typedef struct {
+ uint8_t status;
+ uint16_t handle;
+ uint8_t trans_interval;
+ uint8_t retrans_window;
+ uint16_t rx_pkt_len;
+ uint16_t tx_pkt_len;
+} __attribute__ ((packed)) evt_sync_conn_changed;
+#define EVT_SYNC_CONN_CHANGED_SIZE 9
+
#define EVT_TESTING 0xFE
#define EVT_VENDOR 0xFF