drivers: sensor: shell: Improved shell support for sensors

Added autocompletion to 'sensor get' command. After this change
device and channels are autocompleted. It is possible to provide
multiple channels for reading.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2020-01-03 11:16:30 +01:00 committed by Anas Nashif
commit 95b4d37230
2 changed files with 102 additions and 106 deletions

View file

@ -22,6 +22,8 @@ config SENSOR_INIT_PRIORITY
config SENSOR_SHELL
bool "Enable sensor shell"
depends on SHELL
default y
help
This shell provides access to basic sensor data.