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: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
312b06a130
commit
abef3d3001
1 changed files with 0 additions and 49 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue