Execute hid-agent in bt-stack-up.sh 32/212932/3
authorDeokhyun Kim <dukan.kim@samsung.com>
Wed, 28 Aug 2019 08:05:59 +0000 (17:05 +0900)
committerDeokhyun Kim <dukan.kim@samsung.com>
Mon, 2 Sep 2019 01:16:33 +0000 (10:16 +0900)
Change-Id: I8b2734688f0d96a350a4d18512e6df85b9671fc9
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
scripts/wearable/bt-stack-down.sh
scripts/wearable/bt-stack-up.sh

index 6156454..c2e0b75 100755 (executable)
@@ -19,7 +19,7 @@ pkill --full obexd-client
 pkill --full bt-syspopup
 pkill --full bluetooth-pb-agent
 pkill --full bluetooth-map-agent
-pkill --full bluetooth-hfp-agent
+pkill --full bluetooth-hid-agent
 pkill --full bluetooth-hf-agent
 pkill --full bluetooth-ag-agent
 pkill --full bluetoothd
index c3f213d..39ab625 100755 (executable)
@@ -2,24 +2,10 @@
 PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 RFKILL=/usr/sbin/rfkill
-GREP=/usr/bin/grep
-HFP_HF=hfp_hf
 
-echo "Check for bcm43012 device - TW2"
-if (${RFKILL} list | ${GREP} bcm43012); then
-       echo "Solis TW2 device"
-       HFP_AG=hfp_ag
-fi
-
-if [ $HFP_HF ]
-then
 /usr/bin/bluetooth-hf-agent &
-fi
-
-if [ $HFP_AG ]
-then
 /usr/bin/bluetooth-ag-agent &
-fi
+/usr/bin/bluetooth-hid-agent &
 
 #
 # Script for executing Bluetooth stack