diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2015-05-14 12:50:28 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-05-17 10:39:00 +0300 |
commit | f41312b893d017f4ea2e85b9bb0a06f60ecd7516 (patch) | |
tree | fb1b05e5fd0e3e56a32679e6626fb01aafe9ffce /emulator/bthost.h | |
parent | cf8c7401a0caa237824c2adcdfb428b304a9984e (diff) | |
download | bluez-f41312b893d017f4ea2e85b9bb0a06f60ecd7516.tar.gz |
emulator/bthost: Add support for setting custom ADV data
This allows to set any ADV data and not just flags.
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r-- | emulator/bthost.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h index 6beb1f487..7110db81f 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -79,8 +79,9 @@ bool bthost_l2cap_req(struct bthost *bthost, uint16_t handle, uint8_t req, void bthost_write_scan_enable(struct bthost *bthost, uint8_t scan); -void bthost_set_adv_enable(struct bthost *bthost, uint8_t enable, - uint8_t flags); +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_write_ssp_mode(struct bthost *bthost, uint8_t mode); |