4 # Script for turning on Bluetooth (EDUTM)
7 if /usr/sbin/hciconfig | grep hci; then
8 /usr/etc/bluetooth/bt-stack-down.sh
13 /usr/etc/bluetooth/bt-dev-start.sh
15 if !(/usr/sbin/hciconfig | grep hci); then
16 echo "BT EDUTM failed. Registering BT device is failed."
20 # Execute BlueZ BT stack
26 /usr/sbin/hciconfig hci0 name TIZEN-Mobile
28 /usr/sbin/hciconfig hci0 piscan
30 if [ -e "/sys/devices/hci0/idle_timeout" ]
33 echo 0> /sys/devices/hci0/idle_timeout