diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> | 2014-05-19 12:53:41 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-05-19 14:14:14 +0300 |
commit | 1a4cb1a2072b240edf55db9d4e5eecc02819a48e (patch) | |
tree | e95d6066a9b9142cdb50916c6cc8d6dec1f6d4f6 /emulator/bthost.h | |
parent | 889c3c03ad7f4da36925e490e20f78f729562d5b (diff) | |
download | bluez-1a4cb1a2072b240edf55db9d4e5eecc02819a48e.tar.gz |
emulator/bthost: Add support to set auth_req for bthost
This patch makes possible to set Authentication_Requirements to be used
in io_capa_request_reply when replying for io_capa_request_evt.
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r-- | emulator/bthost.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h index 4933b33cc..b00bcd65e 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -87,6 +87,7 @@ void bthost_add_l2cap_server(struct bthost *bthost, uint16_t psm, void bthost_set_pin_code(struct bthost *bthost, const uint8_t *pin, uint8_t pin_len); void bthost_set_io_capability(struct bthost *bthost, uint8_t io_capability); +void bthost_set_auth_req(struct bthost *bthost, uint8_t auth_req); void bthost_set_reject_user_confirm(struct bthost *bthost, bool reject); typedef void (*bthost_rfcomm_connect_cb) (uint16_t handle, uint16_t cid, |