summaryrefslogtreecommitdiff
path: root/emulator/bthost.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-09-22 21:07:13 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-12-03 16:32:48 +0200
commit4fe7df6972530285f4bd96fffb11ae0ecfd3cd38 (patch)
treecb3ec076958e2138b871c7fbf30e0fb79b1eded8 /emulator/bthost.h
parent920c1ca1cce056680d6226ac986c8f0d94a6ca51 (diff)
downloadbluez-4fe7df6972530285f4bd96fffb11ae0ecfd3cd38.tar.gz
emulator/bthost: Add API to enable SC support
Diffstat (limited to 'emulator/bthost.h')
-rw-r--r--emulator/bthost.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulator/bthost.h b/emulator/bthost.h
index c0fa41041..6295c1380 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
@@ -91,6 +91,8 @@ typedef void (*bthost_l2cap_connect_cb) (uint16_t handle, uint16_t cid,
void bthost_add_l2cap_server(struct bthost *bthost, uint16_t psm,
bthost_l2cap_connect_cb func, void *user_data);
+void bthost_set_sc_support(struct bthost *bthost, bool enable);
+
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);