Luiz Augusto von Dentz
76714c1480
Bluetooth: Shell: Make error message for unknown parameter consistent
...
Also simplify it by having the 'unknown parameter:' as part of the
message format.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2018-10-03 09:49:58 +02:00
Jakub Rzeszutko
0eea1ef212
subsys: shell: add int ret_val to command handlers
...
1. Command handler can return command exectution status as int.
2. Existing command handlers rework.
Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2018-10-02 14:44:25 +02:00
Luiz Augusto von Dentz
17558c9382
Bluetooth: shell: Use \r\n to terminate line
...
Shell expects each printed lined to be terminated with \r\n.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2018-10-01 11:10:46 +02:00
Luiz Augusto von Dentz
bcfc9939e4
Bluetooth: shell: Split RFCOMM commands
...
This splits RFCOMM command under 'br' to 'rfcomm' removing 'rfcomm-'
prefix from commands:
rfcomm - Bluetooth RFCOMM shell commands
Options:
-h, --help :Show command help.
Subcommands:
register :<channel>
connect :<channel>
disconnect :[none]
send :<number of packets>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2018-10-01 11:10:46 +02:00