shared/shell: Add option to print to monitor
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 20 Nov 2018 13:23:49 +0000 (15:23 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 14 Jan 2020 08:53:35 +0000 (14:23 +0530)
commit9d011cc13445d77855ba2b47933ac38870e90cec
treedf5008f03b580a560f2810ccd066c8983d599645
parent8dbae05558c03e306f44674a6eab8742951d14bd
shared/shell: Add option to print to monitor

This adds option -m/--monitor which send output to btmon using
libshared bt_log:

= bluetoothctl: power on
= bluetoothctl: Changing power on succeeded

Change-Id: If99dc6a7090ed9b477beafe4b90fa59f357fb8b3
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/shared/shell.c