diff --git a/emulator/bthost.c b/emulator/bthost.c
index faabbaa..9f9538d 100644
--- a/emulator/bthost.c
+++ b/emulator/bthost.c
send_command(bthost, BT_HCI_CMD_LE_CREATE_BIG, &cp, sizeof(cp));
}
+void bthost_terminate_big(struct bthost *bthost, uint8_t reason)
+{
+ struct bt_hci_cmd_le_term_big cp;
+
+ memset(&cp, 0, sizeof(cp));
+ cp.handle = 0x01;
+ cp.reason = reason;
+
+ send_command(bthost, BT_HCI_CMD_LE_TERM_BIG, &cp, sizeof(cp));
+}
+
bool bthost_search_ext_adv_addr(struct bthost *bthost, const uint8_t *addr)
{
const struct queue_entry *entry;
diff --git a/emulator/bthost.h b/emulator/bthost.h
index 4061c0b..ce6bd82 100644
--- a/emulator/bthost.h
+++ b/emulator/bthost.h
void bthost_past_set_info(struct bthost *bthost, uint16_t handle);
void bthost_create_big(struct bthost *bthost, uint8_t num_bis, uint8_t enc,
const uint8_t *bcode);
+void bthost_terminate_big(struct bthost *bthost, uint8_t reason);
bool bthost_search_ext_adv_addr(struct bthost *bthost, const uint8_t *addr);
void bthost_set_cig_params(struct bthost *bthost, uint8_t cig_id,