From 4f9260d1171169b5656568b3f2104bddc5c6c250 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 21 Dec 2014 02:17:55 +0100 Subject: [PATCH] emulator: Add PHY packet type for connection establishment --- emulator/phy.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/emulator/phy.h b/emulator/phy.h index 6225bfb3a..9abfd6897 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)); -- 2.47.3