diff --git a/emulator/bthost.c b/emulator/bthost.c
index c4d7869..0dbaa2f 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
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:
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;
diff --git a/emulator/bthost.h b/emulator/bthost.h
index 8193cdf..e2d683b 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
void bthost_write_ssp_mode(struct bthost *bthost, uint8_t mode);
+void bthost_write_le_host_supported(struct bthost *bthost, uint8_t mode);
+
void bthost_request_auth(struct bthost *bthost, uint16_t handle);
void bthost_le_start_encrypt(struct bthost *bthost, uint16_t handle,