hide the "smscb-command" vty command; people should use osmo-cbc

Many years prior to the implementation of osmo-cbc, we introduced
a way how raw RSL SMSCB COMMANMD can be injected from the VTY.

These days, people should use the CBSP interface with osmo-cbc or any
other CBC.  We should not advertise the VTY command hack
as a standard feature anymore.

Change-Id: If5ddc3db989763a1f47d4cbc026e293e3134d8ef
Related: OS#4753
This commit is contained in:
Harald Welte 2021-02-06 12:57:52 +01:00 committed by laforge
parent ea8d6939e6
commit c72c853a96
1 changed files with 4 additions and 2 deletions

View File

@ -5796,8 +5796,9 @@ DEFUN(bts_resend_power_ctrl_params,
return CMD_SUCCESS;
}
DEFUN(smscb_cmd, smscb_cmd_cmd,
/* this command is now hidden, as it's a low-level debug hack, and people should
* instead use osmo-cbc these days */
DEFUN_HIDDEN(smscb_cmd, smscb_cmd_cmd,
"bts <0-255> smscb-command (normal|schedule|default) <1-4> HEXSTRING",
"BTS related commands\n" BTS_NR_STR
"SMS Cell Broadcast\n"
@ -5861,6 +5862,7 @@ DEFUN(smscb_cmd, smscb_cmd_cmd,
return CMD_WARNING;
}
/* SDCCH4 might not be correct here if the CBCH is on a SDCCH8? */
rsl_sms_cb_command(bts, RSL_CHAN_SDCCH4_ACCH, cb_cmd, false, buf, rc);
return CMD_SUCCESS;