diff options
author | Jaganath Kanakkassery <jaganath.k.os@gmail.com> | 2018-06-14 17:51:20 +0530 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-06-18 17:21:06 +0300 |
commit | 32339501a1258ddba1ccec6d4e313d02c41b6eea (patch) | |
tree | 65724cdeb046f131d5553870a933acdd6446037b /emulator/bthost.h | |
parent | 6d012fec79b4672edd9395af5b79c102ca28c3b3 (diff) | |
download | bluez-32339501a1258ddba1ccec6d4e313d02c41b6eea.tar.gz |
emulator: Add 5.0 feature support
This adds new hciemu for BT 5.0. Also adds extended advertising,
scanning and connection support in btdev and bthost
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r-- | emulator/bthost.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h index 553865a89..b5f36964d 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -56,6 +56,9 @@ void bthost_set_connect_cb(struct bthost *bthost, bthost_new_conn_cb cb, void bthost_hci_connect(struct bthost *bthost, const uint8_t *bdaddr, uint8_t addr_type); +void bthost_hci_ext_connect(struct bthost *bthost, const uint8_t *bdaddr, + uint8_t addr_type); + void bthost_hci_disconnect(struct bthost *bthost, uint16_t handle, uint8_t reason); @@ -83,6 +86,10 @@ void bthost_set_adv_data(struct bthost *bthost, const uint8_t *data, uint8_t len); void bthost_set_adv_enable(struct bthost *bthost, uint8_t enable); +void bthost_set_ext_adv_data(struct bthost *bthost, const uint8_t *data, + uint8_t len); +void bthost_set_ext_adv_enable(struct bthost *bthost, uint8_t enable); + void bthost_write_ssp_mode(struct bthost *bthost, uint8_t mode); void bthost_write_le_host_supported(struct bthost *bthost, uint8_t mode); |