echo ""$reset
fi
done
+ sdb push $PWD/release/binary-$ARCH/org.example.widget-1.0.0-$ARCH_TYPE.tpk /tmp
+ echo ""$reset
+ echo $green"Installing Package $MOD_NAME"
+ sdb shell su -c "pkgcmd -i -t tpk -p /tmp/org.example.widget-1.0.0-$ARCH_TYPE.tpk" $EXECUTION_USER
+ echo ""$reset
elif [ "$MOD_NAME" = "multiclass" ]; then
eval launcher=(`sdb shell "app_launcher -l | grep org.example.$MOD_NAME"`)
val=${launcher[1]}
sdb shell su -c "pkgcmd -i -t tpk -p /tmp/org.tizen.$MOD_NAME-1.0.0-$ARCH_TYPE.tpk" $EXECUTION_USER
echo ""$reset
fi
+ fi
+ echo "$MOD_NAME"
+ if [ "$MOD_NAME" = "tbtcoreapp-dali" ]; then
+ sdb push $PWD/release/binary-$ARCH/org.example.widget-1.0.0-$ARCH_TYPE.tpk /tmp
+ echo ""$reset
+ echo $green"Installing Package $MOD_NAME"
+ sdb shell su -c "pkgcmd -i -t tpk -p /tmp/org.example.widget-1.0.0-$ARCH_TYPE.tpk" $EXECUTION_USER
+ echo ""$reset
+ fi
+
echo ""$reset
echo $yellow"Pushing media files"
sdb push $PWD/release/binary-$ARCH/dog_1024_960.gif /home/$EXECUTION_USER/media/Images
sdb shell chsmack -e "User::App::Shared" /home/$EXECUTION_USER/apps_rw/org.tizen.$MOD_NAME/data/iotcon-test-svr-db-server.dat
echo ""$reset
- fi
sdb root off
}
ui_utils_guide_instruction_popup_button(navi, "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Create Bonding callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed<br/><b>Note:You can also refer info section");
char resultc[256] ={0,};
+ sprintf(resultc, "result = %s", "Maually ON bluetooth and invoke create bond callback");
+ ui_utils_label_set_text(this->create_label, resultc, "left");
ret = bt_device_set_bond_created_cb(Bluetooth_bt_device_bond_created_cb_p, this);
DBG("bt_device_set_bond_created_cb %d", ret);
RETVM_IF(ret != BT_ERROR_NONE && ret != BT_ERROR_NOT_SUPPORTED, NULL, "bt_device_set_bond_created_cb failed : %s", get_bluetooth_error(ret));
elm_object_text_set(popup, "Bluetooth is not supported");
RETVM_IF(!this->view, NULL,"Bluetooth is not supported");
}
- ret = bt_device_create_bond(remote_address);
- DBG("bt_device_create_bond %d", ret);
- sprintf(resultc, "result = %s", get_bluetooth_error(ret));
- ui_utils_label_set_text(this->create_label, resultc, "left");
+ //ret = bt_device_create_bond(remote_address);
+ //DBG("bt_device_create_bond %d", ret);
+ //sprintf(resultc, "result = %s", get_bluetooth_error(ret));
+ //ui_utils_label_set_text(this->create_label, resultc, "left");
}
else if (this->view->tbt_info->apptype == TBT_APP_BT_CALLBACK_DESTROY_BOND_TEST)
ui_utils_guide_instruction_popup_button(navi, "Instructions:<br/>Test Type One<br/>1.Bluetooth On<br/>2. Destroy Bonding callback Invoked<br/><br/>Test Type Two<br/>1. Bluetooth Off<br/>2. Correct Error Message Displayed<br/><b>Note:You can also refer info section");
char resultc[256] ={0,};
+ sprintf(resultc, "result = %s", "Maually ON bluetooth and invoke destroy bond callback");
+ ui_utils_label_set_text(this->create_label, resultc, "left");
ret = bt_device_set_bond_destroyed_cb(Bluetooth_bt_device_bond_destroyed_cb_p, this);
RETVM_IF(ret != BT_ERROR_NONE && ret != BT_ERROR_NOT_SUPPORTED, NULL, "bt_device_set_bond_created_cb failed : %s", get_bluetooth_error(ret));
elm_object_text_set(popup, "Bluetooth is not supported");
RETVM_IF(!this->view, NULL,"Bluetooth is not supported");
}
- ret = bt_device_create_bond(remote_address);
- DBG("bt_device_create_bond %d", ret);
- sprintf(resultc, "result = %s", get_bluetooth_error(ret));
- ui_utils_label_set_text(this->create_label, resultc, "left");
-
- ret = bt_device_destroy_bond(remote_address);
- sprintf(resultc, "result = %s", get_bluetooth_error(ret));
- ui_utils_label_set_text(this->create_label, resultc, "left");
+ //ret = bt_device_create_bond(remote_address);
+ //DBG("bt_device_create_bond %d", ret);
+ //sprintf(resultc, "result = %s", get_bluetooth_error(ret));
+ //ui_utils_label_set_text(this->create_label, resultc, "left");
+
+ //ret = bt_device_destroy_bond(remote_address);
+ //sprintf(resultc, "result = %s", get_bluetooth_error(ret));
+ //ui_utils_label_set_text(this->create_label, resultc, "left");
}
else if (this->view->tbt_info->apptype == TBT_APP_BT_CALLBACK_DISCOVER_DEVICES_TEST)