diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-17 12:44:16 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-12-17 12:44:16 +0200 |
commit | 905fe3f84cdf3513ca60756d0e8b179dbccb27c6 (patch) | |
tree | dc4747110d2752d23c7f9ba11919d42d55a762ab /emulator/bthost.c | |
parent | 2d66b6f85f12557f5a55c8b431889e49ceffe303 (diff) | |
download | bluez-905fe3f84cdf3513ca60756d0e8b179dbccb27c6.tar.gz |
emulator: Provide API to enable LE host support
Diffstat (limited to 'emulator/bthost.c')
-rw-r--r-- | emulator/bthost.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emulator/bthost.c b/emulator/bthost.c index c4d78696b..0dbaa2f63 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -815,6 +815,8 @@ static void evt_cmd_complete(struct bthost *bthost, const void *data, break; case BT_HCI_CMD_WRITE_SIMPLE_PAIRING_MODE: break; + case BT_HCI_CMD_WRITE_LE_HOST_SUPPORTED: + break; case BT_HCI_CMD_WRITE_SECURE_CONN_SUPPORT: break; case BT_HCI_CMD_IO_CAPABILITY_REQUEST_REPLY: @@ -2192,6 +2194,11 @@ void bthost_write_ssp_mode(struct bthost *bthost, uint8_t mode) send_command(bthost, BT_HCI_CMD_WRITE_SIMPLE_PAIRING_MODE, &mode, 1); } +void bthost_write_le_host_supported(struct bthost *bthost, uint8_t mode) +{ + send_command(bthost, BT_HCI_CMD_WRITE_LE_HOST_SUPPORTED, &mode, 1); +} + void bthost_request_auth(struct bthost *bthost, uint16_t handle) { struct btconn *conn; |