From bd8db4124ecbc34986e4e796c325333d3f1efd43 Mon Sep 17 00:00:00 2001 From: Deokhyun Kim Date: Wed, 28 Aug 2019 17:05:59 +0900 Subject: [PATCH] Execute hid-agent in bt-stack-up.sh Change-Id: I8b2734688f0d96a350a4d18512e6df85b9671fc9 Signed-off-by: Deokhyun Kim --- scripts/wearable/bt-stack-down.sh | 2 +- scripts/wearable/bt-stack-up.sh | 16 +--------------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/scripts/wearable/bt-stack-down.sh b/scripts/wearable/bt-stack-down.sh index 6156454..c2e0b75 100755 --- a/scripts/wearable/bt-stack-down.sh +++ b/scripts/wearable/bt-stack-down.sh @@ -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 diff --git a/scripts/wearable/bt-stack-up.sh b/scripts/wearable/bt-stack-up.sh index c3f213d..39ab625 100755 --- a/scripts/wearable/bt-stack-up.sh +++ b/scripts/wearable/bt-stack-up.sh @@ -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 -- 2.7.4