Diff between 1a737d6a320a8bb25a8181d65ed1a96cf781f18c and 4f9260d1171169b5656568b3f2104bddc5c6c250
Changed Files
| File | Additions | Deletions | Status |
| emulator/phy.h | +11 | -0 | modified |
Full Patch
diff --git a/emulator/phy.h b/emulator/phy.h
index 6225bfb..9abfd68 100644
--- a/emulator/phy.h
+++ b/emulator/phy.h
@@ -57,3 +57,14 @@ struct bt_phy_pkt_adv {
uint8_t adv_data_len;
uint8_t scan_rsp_len;
} __attribute__ ((packed));
+
+#define BT_PHY_PKT_CONN 0x0002
+struct bt_phy_pkt_conn {
+ uint8_t link_type;
+ uint8_t tx_addr_type;
+ uint8_t tx_addr[6];
+ uint8_t rx_addr_type;
+ uint8_t rx_addr[6];
+ uint8_t features[8];
+ uint8_t id;
+} __attribute__ ((packed));