4 # Script for turning on Bluetooth EDUTM
8 /usr/etc/bluetooth/bt-dev-start.sh
10 if !(/usr/sbin/hciconfig | grep hci); then
11 echo "BT EDUTM failed. Registering BT device is failed."
15 # Execute BlueZ BT stack
21 /usr/sbin/hciconfig hci0 name TIZEN-Mobile
23 /usr/sbin/hciconfig hci0 piscan
25 if [ -e "/sys/devices/hci0/idle_timeout" ]
28 echo 0> /sys/devices/hci0/idle_timeout
31 if [ -e /usr/etc/bluetooth/TIInit_* ]
34 hcitool cmd 0x3 0xFD0C
37 echo "Configure BT device"
38 hcitool cmd 0x3 0x0005 0x02 0x00 0x02
40 echo "Send BT edutm command"
41 hcitool cmd 0x06 0x0003