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

Bluetooth: Audio: Add missing `static` for MCC shell commands

Adds the `static` keyword to the MCC shell command functions.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent b12a09ba
Loading
Loading
Loading
Loading
+87 −74
Changes for subsys/bluetooth/shell/mcc.c: 87 added lines, 74 removed lines.
Original line number Diff line number Diff line
@@ -555,7 +555,7 @@ static void mcc_otc_read_current_group_object_cb(struct bt_conn *conn, int err,
#endif /* CONFIG_BT_MCC_OTS */


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

@@ -621,7 +621,8 @@ int cmd_mcc_init(const struct shell *sh, size_t argc, char **argv)
	return result;
}

int cmd_mcc_discover_mcs(const struct shell *sh, size_t argc, char **argv)
static int cmd_mcc_discover_mcs(const struct shell *sh, size_t argc,
				char **argv)
{
	int result;
	int subscribe = 1;
@@ -642,7 +643,7 @@ int cmd_mcc_discover_mcs(const struct shell *sh, size_t argc, char **argv)
	return result;
}

int cmd_mcc_read_player_name(const struct shell *sh, size_t argc,
static int cmd_mcc_read_player_name(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;
@@ -655,7 +656,7 @@ int cmd_mcc_read_player_name(const struct shell *sh, size_t argc,
}

#ifdef CONFIG_BT_MCC_OTS
int cmd_mcc_read_icon_obj_id(const struct shell *sh, size_t argc,
static int cmd_mcc_read_icon_obj_id(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;
@@ -668,7 +669,8 @@ int cmd_mcc_read_icon_obj_id(const struct shell *sh, size_t argc,
}
#endif /* CONFIG_BT_MCC_OTS */

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

@@ -679,7 +681,7 @@ int cmd_mcc_read_icon_url(const struct shell *sh, size_t argc, char *argv[])
	return result;
}

int cmd_mcc_read_track_title(const struct shell *sh, size_t argc,
static int cmd_mcc_read_track_title(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;
@@ -691,7 +693,7 @@ int cmd_mcc_read_track_title(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_read_track_duration(const struct shell *sh, size_t argc,
static int cmd_mcc_read_track_duration(const struct shell *sh, size_t argc,
				       char *argv[])
{
	int result;
@@ -703,7 +705,7 @@ int cmd_mcc_read_track_duration(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_read_track_position(const struct shell *sh, size_t argc,
static int cmd_mcc_read_track_position(const struct shell *sh, size_t argc,
				       char *argv[])
{
	int result;
@@ -715,7 +717,7 @@ int cmd_mcc_read_track_position(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_set_track_position(const struct shell *sh, size_t argc,
static int cmd_mcc_set_track_position(const struct shell *sh, size_t argc,
				      char *argv[])
{
	int result;
@@ -731,7 +733,7 @@ int cmd_mcc_set_track_position(const struct shell *sh, size_t argc,
}


int cmd_mcc_read_playback_speed(const struct shell *sh, size_t argc,
static int cmd_mcc_read_playback_speed(const struct shell *sh, size_t argc,
				       char *argv[])
{
	int result;
@@ -744,7 +746,7 @@ int cmd_mcc_read_playback_speed(const struct shell *sh, size_t argc,
}


int cmd_mcc_set_playback_speed(const struct shell *sh, size_t argc,
static int cmd_mcc_set_playback_speed(const struct shell *sh, size_t argc,
				      char *argv[])
{
	int result;
@@ -757,7 +759,7 @@ int cmd_mcc_set_playback_speed(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_read_seeking_speed(const struct shell *sh, size_t argc,
static int cmd_mcc_read_seeking_speed(const struct shell *sh, size_t argc,
				      char *argv[])
{
	int result;
@@ -771,7 +773,7 @@ int cmd_mcc_read_seeking_speed(const struct shell *sh, size_t argc,


#ifdef CONFIG_BT_MCC_OTS
int cmd_mcc_read_track_segments_obj_id(const struct shell *sh,
static int cmd_mcc_read_track_segments_obj_id(const struct shell *sh,
					      size_t argc, char *argv[])
{
	int result;
@@ -784,8 +786,8 @@ int cmd_mcc_read_track_segments_obj_id(const struct shell *sh,
}


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

@@ -796,7 +798,7 @@ int cmd_mcc_read_current_track_obj_id(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_set_current_track_obj_id(const struct shell *sh, size_t argc,
static int cmd_mcc_set_current_track_obj_id(const struct shell *sh, size_t argc,
					    char *argv[])
{
	int result;
@@ -811,7 +813,7 @@ int cmd_mcc_set_current_track_obj_id(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_read_next_track_obj_id(const struct shell *sh, size_t argc,
static int cmd_mcc_read_next_track_obj_id(const struct shell *sh, size_t argc,
					  char *argv[])
{
	int result;
@@ -823,7 +825,7 @@ int cmd_mcc_read_next_track_obj_id(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_set_next_track_obj_id(const struct shell *sh, size_t argc,
static int cmd_mcc_set_next_track_obj_id(const struct shell *sh, size_t argc,
					 char *argv[])
{
	int result;
@@ -838,7 +840,7 @@ int cmd_mcc_set_next_track_obj_id(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_read_parent_group_obj_id(const struct shell *sh, size_t argc,
static int cmd_mcc_read_parent_group_obj_id(const struct shell *sh, size_t argc,
					    char *argv[])
{
	int result;
@@ -850,8 +852,8 @@ int cmd_mcc_read_parent_group_obj_id(const struct shell *sh, size_t argc,
	return result;
}

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

@@ -862,7 +864,7 @@ int cmd_mcc_read_current_group_obj_id(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_set_current_group_obj_id(const struct shell *sh, size_t argc,
static int cmd_mcc_set_current_group_obj_id(const struct shell *sh, size_t argc,
					    char *argv[])
{
	int result;
@@ -878,7 +880,7 @@ int cmd_mcc_set_current_group_obj_id(const struct shell *sh, size_t argc,
}
#endif /* CONFIG_BT_MCC_OTS */

int cmd_mcc_read_playing_order(const struct shell *sh, size_t argc,
static int cmd_mcc_read_playing_order(const struct shell *sh, size_t argc,
				      char *argv[])
{
	int result;
@@ -890,7 +892,7 @@ int cmd_mcc_read_playing_order(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_set_playing_order(const struct shell *sh, size_t argc,
static int cmd_mcc_set_playing_order(const struct shell *sh, size_t argc,
				     char *argv[])
{
	int result;
@@ -903,8 +905,8 @@ int cmd_mcc_set_playing_order(const struct shell *sh, size_t argc,
	return result;
}

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

@@ -915,7 +917,7 @@ int cmd_mcc_read_playing_orders_supported(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_read_media_state(const struct shell *sh, size_t argc,
static int cmd_mcc_read_media_state(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;
@@ -927,7 +929,7 @@ int cmd_mcc_read_media_state(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_play(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_play(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_PLAY,
@@ -944,7 +946,7 @@ int cmd_mcc_play(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_pause(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_pause(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_PAUSE,
@@ -961,7 +963,8 @@ int cmd_mcc_pause(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_fast_rewind(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_fast_rewind(const struct shell *sh, size_t argc,
			       char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_FAST_REWIND,
@@ -978,7 +981,8 @@ int cmd_mcc_fast_rewind(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_fast_forward(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_fast_forward(const struct shell *sh, size_t argc,
				char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_FAST_FORWARD,
@@ -995,7 +999,7 @@ int cmd_mcc_fast_forward(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_stop(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_stop(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_STOP,
@@ -1012,7 +1016,8 @@ int cmd_mcc_stop(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_move_relative(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_move_relative(const struct shell *sh, size_t argc,
				 char *argv[])
{
	struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_MOVE_RELATIVE,
@@ -1045,7 +1050,8 @@ int cmd_mcc_move_relative(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_prev_segment(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_prev_segment(const struct shell *sh, size_t argc,
				char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_PREV_SEGMENT,
@@ -1062,7 +1068,8 @@ int cmd_mcc_prev_segment(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_next_segment(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_next_segment(const struct shell *sh, size_t argc,
				char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_NEXT_SEGMENT,
@@ -1079,7 +1086,8 @@ int cmd_mcc_next_segment(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_first_segment(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_first_segment(const struct shell *sh, size_t argc,
				 char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_FIRST_SEGMENT,
@@ -1096,7 +1104,8 @@ int cmd_mcc_first_segment(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_last_segment(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_last_segment(const struct shell *sh, size_t argc,
				char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_LAST_SEGMENT,
@@ -1113,7 +1122,8 @@ int cmd_mcc_last_segment(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_goto_segment(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_goto_segment(const struct shell *sh, size_t argc,
				char *argv[])
{
	struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_GOTO_SEGMENT,
@@ -1146,7 +1156,7 @@ int cmd_mcc_goto_segment(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_prev_track(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_prev_track(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_PREV_TRACK,
@@ -1163,7 +1173,7 @@ int cmd_mcc_prev_track(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_next_track(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_next_track(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_NEXT_TRACK,
@@ -1180,7 +1190,8 @@ int cmd_mcc_next_track(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_first_track(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_first_track(const struct shell *sh, size_t argc,
			       char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_FIRST_TRACK,
@@ -1197,7 +1208,7 @@ int cmd_mcc_first_track(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_last_track(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_last_track(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_LAST_TRACK,
@@ -1214,7 +1225,7 @@ int cmd_mcc_last_track(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_goto_track(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_goto_track(const struct shell *sh, size_t argc, char *argv[])
{
	struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_GOTO_TRACK,
@@ -1247,7 +1258,7 @@ int cmd_mcc_goto_track(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_prev_group(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_prev_group(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_PREV_GROUP,
@@ -1264,7 +1275,7 @@ int cmd_mcc_prev_group(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_next_group(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_next_group(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_NEXT_GROUP,
@@ -1281,7 +1292,8 @@ int cmd_mcc_next_group(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_first_group(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_first_group(const struct shell *sh, size_t argc,
			       char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_FIRST_GROUP,
@@ -1298,7 +1310,7 @@ int cmd_mcc_first_group(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_last_group(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_last_group(const struct shell *sh, size_t argc, char *argv[])
{
	const struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_LAST_GROUP,
@@ -1315,7 +1327,7 @@ int cmd_mcc_last_group(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_goto_group(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_goto_group(const struct shell *sh, size_t argc, char *argv[])
{
	struct mpl_cmd cmd = {
		.opcode = BT_MCS_OPC_GOTO_GROUP,
@@ -1348,7 +1360,7 @@ int cmd_mcc_goto_group(const struct shell *sh, size_t argc, char *argv[])
	return err;
}

int cmd_mcc_read_opcodes_supported(const struct shell *sh, size_t argc,
static int cmd_mcc_read_opcodes_supported(const struct shell *sh, size_t argc,
					  char *argv[])
{
	int result;
@@ -1361,7 +1373,8 @@ int cmd_mcc_read_opcodes_supported(const struct shell *sh, size_t argc,
}

#ifdef CONFIG_BT_MCC_OTS
int cmd_mcc_send_search_raw(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_send_search_raw(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;
	struct mpl_search search;
@@ -1377,7 +1390,7 @@ int cmd_mcc_send_search_raw(const struct shell *sh, size_t argc, char *argv[])
	return result;
}

int cmd_mcc_send_search_ioptest(const struct shell *sh, size_t argc,
static int cmd_mcc_send_search_ioptest(const struct shell *sh, size_t argc,
				       char *argv[])
{
	/* Implementation follows Media control service testspec 0.9.0r13 */
@@ -1477,7 +1490,7 @@ int cmd_mcc_send_search_ioptest(const struct shell *sh, size_t argc,
}

#if defined(CONFIG_BT_MCC_LOG_LEVEL_DBG) && defined(CONFIG_BT_TESTING)
int cmd_mcc_test_send_search_iop_invalid_type(const struct shell *sh,
static int cmd_mcc_test_send_search_iop_invalid_type(const struct shell *sh,
						     size_t argc, char *argv[])
{
	int result;
@@ -1499,7 +1512,7 @@ int cmd_mcc_test_send_search_iop_invalid_type(const struct shell *sh,
	return result;
}

int cmd_mcc_test_send_search_invalid_sci_len(const struct shell *sh,
static int cmd_mcc_test_send_search_invalid_sci_len(const struct shell *sh,
						    size_t argc, char *argv[])
{
	/* Reproduce a search that caused hard fault when sent from peer */
@@ -1525,8 +1538,8 @@ int cmd_mcc_test_send_search_invalid_sci_len(const struct shell *sh,
}
#endif /* CONFIG_BT_MCC_LOG_LEVEL_DBG && CONFIG_BT_TESTING */

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

@@ -1538,7 +1551,7 @@ int cmd_mcc_read_search_results_obj_id(const struct shell *sh, size_t argc,
}
#endif /* CONFIG_BT_MCC_OTS */

int cmd_mcc_read_content_control_id(const struct shell *sh, size_t argc,
static int cmd_mcc_read_content_control_id(const struct shell *sh, size_t argc,
					   char *argv[])
{
	int result;
@@ -1552,7 +1565,7 @@ int cmd_mcc_read_content_control_id(const struct shell *sh, size_t argc,


#ifdef CONFIG_BT_MCC_OTS
int cmd_mcc_otc_read_features(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_read_features(const struct shell *sh, size_t argc,
				     char *argv[])
{
	int result;
@@ -1565,7 +1578,7 @@ int cmd_mcc_otc_read_features(const struct shell *sh, size_t argc,
	return result;
}

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

@@ -1577,7 +1590,7 @@ int cmd_mcc_otc_read(const struct shell *sh, size_t argc, char *argv[])
	return result;
}

int cmd_mcc_otc_read_metadata(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_read_metadata(const struct shell *sh, size_t argc,
				     char *argv[])
{
	int result;
@@ -1591,7 +1604,7 @@ int cmd_mcc_otc_read_metadata(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_otc_select(const struct shell *sh, size_t argc, char *argv[])
static int cmd_mcc_otc_select(const struct shell *sh, size_t argc, char *argv[])
{
	int result;
	uint64_t id;
@@ -1611,7 +1624,7 @@ int cmd_mcc_otc_select(const struct shell *sh, size_t argc, char *argv[])
	return result;
}

int cmd_mcc_otc_select_first(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_select_first(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;
@@ -1624,7 +1637,7 @@ int cmd_mcc_otc_select_first(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_otc_select_last(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_select_last(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;
@@ -1637,7 +1650,7 @@ int cmd_mcc_otc_select_last(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_otc_select_next(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_select_next(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;
@@ -1650,7 +1663,7 @@ int cmd_mcc_otc_select_next(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_otc_select_prev(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_select_prev(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;
@@ -1663,7 +1676,7 @@ int cmd_mcc_otc_select_prev(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_otc_read_icon_object(const struct shell *sh, size_t argc,
static int cmd_mcc_otc_read_icon_object(const struct shell *sh, size_t argc,
					char *argv[])
{
	/* Assumes the Icon Object has already been selected by ID */
@@ -1677,7 +1690,7 @@ int cmd_mcc_otc_read_icon_object(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_otc_read_track_segments_object(const struct shell *sh,
static int cmd_mcc_otc_read_track_segments_object(const struct shell *sh,
						  size_t argc, char *argv[])
{
	/* Assumes the Segment Object has already been selected by ID */
@@ -1691,7 +1704,7 @@ int cmd_mcc_otc_read_track_segments_object(const struct shell *sh,
	return result;
}

int cmd_mcc_otc_read_current_track_object(const struct shell *sh,
static int cmd_mcc_otc_read_current_track_object(const struct shell *sh,
						 size_t argc, char *argv[])
{
	/* Assumes the Curent Track Object has already been selected by ID */
@@ -1705,7 +1718,7 @@ int cmd_mcc_otc_read_current_track_object(const struct shell *sh,
	return result;
}

int cmd_mcc_otc_read_next_track_object(const struct shell *sh,
static int cmd_mcc_otc_read_next_track_object(const struct shell *sh,
					      size_t argc, char *argv[])
{
	/* Assumes the Next Track Object has already been selected by ID */
@@ -1719,7 +1732,7 @@ int cmd_mcc_otc_read_next_track_object(const struct shell *sh,
	return result;
}

int cmd_mcc_otc_read_parent_group_object(const struct shell *sh,
static int cmd_mcc_otc_read_parent_group_object(const struct shell *sh,
						size_t argc, char *argv[])
{
	/* Assumes the Parent Group Object has already been selected by ID */
@@ -1733,7 +1746,7 @@ int cmd_mcc_otc_read_parent_group_object(const struct shell *sh,
	return result;
}

int cmd_mcc_otc_read_current_group_object(const struct shell *sh,
static int cmd_mcc_otc_read_current_group_object(const struct shell *sh,
						 size_t argc, char *argv[])
{
	/* Assumes the Current Group Object has already been selected by ID */
@@ -1747,7 +1760,7 @@ int cmd_mcc_otc_read_current_group_object(const struct shell *sh,
	return result;
}

int cmd_mcc_ots_select_first(const struct shell *sh, size_t argc,
static int cmd_mcc_ots_select_first(const struct shell *sh, size_t argc,
				    char *argv[])
{
	int result;
@@ -1759,7 +1772,7 @@ int cmd_mcc_ots_select_first(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_ots_select_last(const struct shell *sh, size_t argc,
static int cmd_mcc_ots_select_last(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;
@@ -1771,7 +1784,7 @@ int cmd_mcc_ots_select_last(const struct shell *sh, size_t argc,
	return result;
}

int cmd_mcc_ots_select_next(const struct shell *sh, size_t argc,
static int cmd_mcc_ots_select_next(const struct shell *sh, size_t argc,
				   char *argv[])
{
	int result;
@@ -1783,7 +1796,7 @@ int cmd_mcc_ots_select_next(const struct shell *sh, size_t argc,
	return result;
}

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