bt_shell: fix command bt advertise valid argument count
Changed number of valid arguments from two required to one required and one optional. Command can be called with required <type: off, on, scan, nconn> and optional <mode: discov, non_discov>". Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
fcc7240fbe
commit
f0b19181e0
1 changed files with 1 additions and 1 deletions
|
@ -1333,7 +1333,7 @@ SHELL_CREATE_STATIC_SUBCMD_SET(bt_cmds) {
|
|||
cmd_scan, 3, 0),
|
||||
SHELL_CMD_ARG(advertise, NULL,
|
||||
"<type: off, on, scan, nconn> <mode: discov, non_discov>",
|
||||
cmd_advertise, 3, 0),
|
||||
cmd_advertise, 2, 1),
|
||||
#if defined(CONFIG_BT_CONN)
|
||||
SHELL_CMD_ARG(connect, NULL, HELP_ADDR_LE, cmd_connect_le, 3, 0),
|
||||
SHELL_CMD_ARG(disconnect, NULL, HELP_NONE, cmd_disconnect, 1, 0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue