shell: fix command bt scan
Command scan fixed in the way that it can take one mandatory parameter and one optional. Previously it accepted only 2 mandatory parameters. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
4557b6b2d1
commit
41ad9b716c
1 changed files with 1 additions and 1 deletions
|
@ -1340,7 +1340,7 @@ SHELL_STATIC_SUBCMD_SET_CREATE(bt_cmds,
|
|||
#if defined(CONFIG_BT_OBSERVER)
|
||||
SHELL_CMD_ARG(scan, NULL,
|
||||
"<value: on, passive, off> <dup filter: dups, nodups>",
|
||||
cmd_scan, 3, 0),
|
||||
cmd_scan, 2, 1),
|
||||
#endif /* CONFIG_BT_OBSERVER */
|
||||
#if defined(CONFIG_BT_BROADCASTER)
|
||||
SHELL_CMD_ARG(advertise, NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue