Parent: c3f7b6733c5fa4881fc27a2bd4d17064db948e2a
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2018-02-22 11:52:15
Tree: e88a5d2d2f451d31fbde5c08281e73e2db3490dc
shared/shell: Add non-interactive mode This detects if any command was given as parameter, execute it and exit disabling all other outputs: bluetoothctl list Controller 00:1B:DC:07:31:88 Vudentz's T460s #1 [default] Controller B8:8A:60:D8:17:D7 BlueZ-1 It is also possible to run interactive command with use of timeout option: bluetoothctl --timeout=10 advertise on Agent registered [CHG] Controller 00:1B:DC:07:31:88 SupportedInstances: 0x04 [CHG] Controller 00:1B:DC:07:31:88 ActiveInstances: 0x01 Advertising object registered Tx Power: off Name: off Apperance: off
Diffstat
| M | src/shared/shell.c | | | 37 | +++++++++++++++++++++++++++++++++++- - |
1 files changed, 35 insertions(+), 2 deletions(-)