Commit abef3d30 authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufi
Browse files

Bluetooth: Audio: Removed unused cmd_mcc_ots functions

The functions were not used, and MCC doen not use OTS, but
rather OTC.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 312b06a1
Loading
Loading
Loading
Loading
+0 −49
Changes for subsys/bluetooth/shell/mcc.c: 0 added lines, 49 removed lines.
Original line number Diff line number Diff line
@@ -1759,57 +1759,8 @@ static int cmd_mcc_otc_read_current_group_object(const struct shell *sh,
	}
	return result;
}

static int cmd_mcc_ots_select_first(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;

	result = bt_ots_client_select_first(0, default_conn);
	if (result) {
		shell_error(sh, "Fail: %d", result);
	}
	return result;
}

static int cmd_mcc_ots_select_last(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;

	result = bt_ots_client_select_last(0, default_conn);
	if (result) {
		shell_error(sh, "Fail: %d", result);
	}
	return result;
}

static int cmd_mcc_ots_select_next(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;

	result = bt_ots_client_select_next(0, default_conn);
	if (result) {
		shell_error(sh, "Fail: %d", result);
	}
	return result;
}

static int cmd_mcc_ots_select_prev(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;

	result = bt_ots_client_select_prev(0, default_conn);
	if (result) {
		shell_error(sh, "Fail: %d", result);
	}
	return result;
}
#endif /* CONFIG_BT_MCC_OTS */


static int cmd_mcc(const struct shell *sh, size_t argc, char **argv)
{
	shell_error(sh, "%s unknown parameter: %s", argv[0], argv[1]);