summaryrefslogtreecommitdiff
path: root/emulator/bthost.h
diff options
context:
space:
mode:
authorTedd Ho-Jeong An <tedd.an@intel.com>2021-06-22 21:49:43 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-06-23 11:51:11 -0700
commit468d6f1191161f544c509494652f55810e3ac81c (patch)
tree80fef2589c25dc2f497f1ae292d32a7282157042 /emulator/bthost.h
parentd9979f26e6711295e13b4c643089802acfae8e76 (diff)
downloadbluez-468d6f1191161f544c509494652f55810e3ac81c.tar.gz
emulator/bthost: Create ext adv params before setting adv data
Based on the SPEC 5.2 Vol 4, Part E, Section 7.8.54, the LE_Set_Extended_Advertising_Data_Command may be issued after an advertising set identifed by the Advertising_Handle has been created using the HCI_LE_Set_Extended_Advertising_Parameters command.
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r--emulator/bthost.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h
index 7e5286df3..5a85b7232 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
@@ -80,6 +80,7 @@ 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_params(struct bthost *bthost);
void bthost_set_ext_adv_enable(struct bthost *bthost, uint8_t enable);
void bthost_write_ssp_mode(struct bthost *bthost, uint8_t mode);