platform/core/connectivity/bluetooth-frwk.git
9 years agoEnable to use USB bluetooth dongle 67/40867/2
seungku kim [Wed, 10 Jun 2015 04:51:07 +0000 (13:51 +0900)]
Enable to use USB bluetooth dongle

Change-Id: I914991d1bf7e289f070462de2ac67ed64c652fdc

9 years ago3.0 specific patch: change dbus_g to g_dbus 32/40832/2
seungku kim [Tue, 9 Jun 2015 11:54:13 +0000 (20:54 +0900)]
3.0 specific patch: change dbus_g to g_dbus

Change-Id: I547990108d860e1fbcbdae04296d07b4bade992c
TODO: __bt_service_check_privilege() should be resolved

9 years ago3.0 specific patch: fix build error 91/40791/2
seungku kim [Tue, 9 Jun 2015 05:47:11 +0000 (14:47 +0900)]
3.0 specific patch: fix build error

Change-Id: I5133e9ed92abbda3588bdb5d52107c34226e116d

9 years ago3.0 specific patch: fix build error 28/40728/1 submit/tizen_mobile/20150609.051101 submit/tizen_tv/20150609.051113 submit/tizen_wearable/20150609.051121
seungku kim [Mon, 8 Jun 2015 11:06:18 +0000 (20:06 +0900)]
3.0 specific patch: fix build error

Change-Id: I6c5ea3c9272e68fa2de2509375d8457d7ab21a3a

9 years ago3.0 specific patch: classify mobile and the others to enable BT 23/40723/1
seungku kim [Mon, 8 Jun 2015 10:14:47 +0000 (19:14 +0900)]
3.0 specific patch: classify mobile and the others to enable BT

Change-Id: I9a7441b8e915d14eb07ca217518f9b8b44fbafb2

9 years ago3.0 specific patch: change security service 70/40670/1
seungku kim [Mon, 8 Jun 2015 05:28:49 +0000 (14:28 +0900)]
3.0 specific patch: change security service

security-server API -> cynara API

Change-Id: Idf262c49ab1e264e13a37cd0ef17ab5c4d70c1e6

9 years ago3.0 specific patch: enable to build after tizen 2.4 code sync. 69/40669/1
seungku kim [Mon, 8 Jun 2015 04:47:30 +0000 (13:47 +0900)]
3.0 specific patch: enable to build after tizen 2.4 code sync.

Appied patch list:
1> Enable to build arm 64bit
2> Remove eventsystem related code
3> Add libnotify and libnotification related code
4> Remove journal related code
5> Disable BLE related vconfkey values

Change-Id: Ib002e0cd8a4f4fe3de1092b4404e6be51c6946b2

9 years agoCody sync.: merge tizen 2.4 code from spin git 68/40668/1
seungku kim [Fri, 5 Jun 2015 06:27:12 +0000 (15:27 +0900)]
Cody sync.: merge tizen 2.4 code from spin git

---------------------------------------------------------
commit 423c7287ecde33358e7fcb97ca4ed6d35ea5285b
Author: Taejin Woo <tt.woo@samsung.com>
Date:   Fri Jun 5 13:39:08 2015 +0900

    Sync the vconf label from slp

    Change-Id: Id1cfe6ed873c21df05356207834f6d8017fb7c2e
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
---------------------------------------------------------

Change-Id: I12b5952695a4d6848fd74b93f3750c08b036df84

9 years agoRemove rpm installation dependency of bluetooth-tools 86/39386/2 tizen_3.0.2015.q2_common accepted/tizen/mobile/20150514.135928 submit/tizen_common/20150604.888888 submit/tizen_mobile/20150514.064614 submit/tizen_mobile/20150514.064627
seungku kim [Thu, 14 May 2015 06:11:29 +0000 (15:11 +0900)]
Remove rpm installation dependency of bluetooth-tools

Change-Id: I1e468a89686459417ddbd067689e99c0e0effee8
Signed-off-by: seungku kim <seungku.kim@samsung.com>
9 years agoApply the security policy 20/37920/7 accepted/tizen/common/20150521.125353 accepted/tizen/mobile/20150420.084928 accepted/tizen/tv/20150420.084816 accepted/tizen/wearable/20150420.063510 submit/tizen_common/20150520.888882 submit/tizen_mobile/20150415.104705 submit/tizen_mobile/20150417.050528 submit/tizen_mobile/20150417.071159 submit/tizen_mobile/20150420.045515 submit/tizen_tv/20150415.104711 submit/tizen_tv/20150417.050536 submit/tizen_tv/20150417.071202 submit/tizen_tv/20150420.045531 submit/tizen_wearable/20150415.104715 submit/tizen_wearable/20150417.050541 submit/tizen_wearable/20150417.071207 submit/tizen_wearable/20150420.045539
DoHyun Pyun [Wed, 8 Apr 2015 10:43:52 +0000 (19:43 +0900)]
Apply the security policy

Using cynara API we can check the client's privelege.

Change-Id: I758e4b74e181c21361aa25db504ac6a4231b972f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
9 years agoModify frwk test to reflect correct Test Case number in Menu 63/37863/3
Anupam Roy [Tue, 7 Apr 2015 13:00:33 +0000 (09:00 -0400)]
Modify frwk test to reflect correct Test Case number in Menu

Change-Id: I21e13e410528b0e2dd59e4fadd93639df606fa35
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
9 years agoModify to enable bluetooth adapter for mobile device 15/37615/2 submit/tizen_mobile/20150402.062401 submit/tizen_tv/20150402.062409 submit/tizen_wearable/20150402.062413
seungku kim [Wed, 1 Apr 2015 06:28:58 +0000 (15:28 +0900)]
Modify to enable bluetooth adapter for mobile device

vconf set doesn't work properly. This issue should be solved later.

Change-Id: Iea4912ba66117e873f96a690d921ddb40f809e96

9 years agoRevert "Rollback changes to submit TIZEN:COMMON project" 40/37640/1 submit/tizen_mobile/20150401.134006 submit/tizen_tv/20150401.134011 submit/tizen_wearable/20150401.134015
DoHyun Pyun [Wed, 1 Apr 2015 13:33:44 +0000 (22:33 +0900)]
Revert "Rollback changes to submit TIZEN:COMMON project"

This reverts commit 25986f9247de588fc3bb272c5acf6544434f46bf.

Change-Id: I7b4660e4fa378a8f95f0472386bd971dbff5c9b2

9 years agoRollback changes to submit TIZEN:COMMON project 37/37637/1 accepted/tizen/common/20150401.142412 accepted/tizen/mobile/20150402.021326 accepted/tizen/tv/20150402.021241 accepted/tizen/wearable/20150402.021256 submit/tizen/20150401.125341
DoHyun Pyun [Wed, 1 Apr 2015 12:47:39 +0000 (21:47 +0900)]
Rollback changes to submit TIZEN:COMMON project

Previous 3 commits was verified Mobile / TV / Wearable.
But in now we should remove security-service dependency for all profiles.
So in first rollback changes and submit change, and will revert it.

Change-Id: Iae3e595799f04a49e6cb78288d7ddbbf0e82a22b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
9 years agoRemove security-server dependency 36/37636/1
DoHyun Pyun [Wed, 1 Apr 2015 12:34:48 +0000 (21:34 +0900)]
Remove security-server dependency

There was no codes for security-server API, in later we will apply synara APIs.

Change-Id: I6eb2d1fa022143d17c143421d775da49b3690f4d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
9 years agoEnable to build arm 64bit 23/37423/1 submit/tizen_mobile/20150401.025717 submit/tizen_tv/20150401.025721 submit/tizen_wearable/20150401.025725
seungku kim [Thu, 26 Mar 2015 09:34:26 +0000 (18:34 +0900)]
Enable to build arm 64bit

Change-Id: I7fe60fabbd5b522eb01cf78c6afe965e49c9a976

9 years agoFix issues in the merged Tizen 3.0 code 28/36528/3
Sudha Bheemanna [Mon, 9 Mar 2015 14:01:20 +0000 (19:31 +0530)]
Fix issues in the merged Tizen 3.0 code

1> Fix issues in the call back handling.
2> Did the required code changes to fix the merged 2.4 code in the Tizen 3.0 branch.
3> Only Basic test cases verified like BT enable/disable, discovery and pair device.

Change-Id: Ib730a786488ae50eaeae55fd02757b7bd99839e1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
9 years agoCode Merge [Tizen3.0]: Applied tizen.org patches 25/35625/3
h.sandeep [Thu, 19 Feb 2015 13:48:29 +0000 (19:18 +0530)]
Code Merge [Tizen3.0]: Applied tizen.org patches

Applied the tizen branch patches
1> Implement User Space SMACK
2> Fix for x86_64 compatibility.
3> Fix rpmlint errors
4> packaging: remove explicit requires on sys-assert
5> Add a libnotify/gtk popup system to bluetooth-frwk.
6> Add notifications in bt-service
7> Upgrade Bluetooth-frwk to match Bluez5.X
8> Fix build for x64 arch: Remove harcoded path
9> Set bt-core status to match IVI
10> Fix build errors
11> Remove bt-core label access in the manifest file
12> Remove 'smack request' lines
13> Fixed build and remove hardcoding of libdir
14> resetting manifest requested domain to floor
15> Tethering: Remove register NAP service for ConnMan tethering
16> Add a condition on X for BuildRequire of UtilX.
17> PTREL-140: Remove bogus Requires on eglibc
18> Reland fixes to spec that were clobbered by recent downgrade
19> Add the condition to register media player
20> Modify the condition of checking BT enabled
21> Update deprecated libprivilege-control API functions.
22> remove syspopup dependency
23> add bt icon file to package when using notifications
24> launch bt-service as 'guest' user instead of 'app'
25> make sure priv->adapter exists before unref it when freeing gap agent
26> correcly fill device_info struct when parsing device properties
27> use bluez dbus api to enable/disable adapter
28> Remove initscripts
29> do not retrieve adapter path from dbus message
30> set 'User' smack label to bluetooth vconf keys
31> remove bt_status logic from bt-core
32> clean spec file
33> packaging: improvement of dependencies
34> check bt adapter state from bt-service daemon
35> offer __launch_bt_service() function only for Mobile profile
36> remove some bt enable checks
37> Remove obsolete systemd .wants target symlink
38> test/bluetooth-frwk-test: Fix format specifier issue
39> bt-api/bt-adapter: Fix unused variable issues

Change-Id: I277d354aaf0d2f14a535a453dbc3791c3c3682f8
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
9 years agoCode Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org 04/35604/3
h.sandeep [Wed, 18 Feb 2015 05:24:16 +0000 (10:54 +0530)]
Code Sync [Tizen3.0]: Merged the tizen_2.4 Spin code to tizen.org

 Spin code from
 project: framework/connectivity/bluetooth-frwk
 branch: tizen_2.4
 change-id: Ibbe6db4cccd67a127bbb5b2f6596220d07a18072

1. Merged the tizen_2.4 Spin code to tizen branch
2. Fixed the build errors
3. Package dependencies are commented under ENABLE_TIZEN_2_4 macro

Change-Id: I44ff6a65151b11a82c0f48e5efe0b63cd96e9bad
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
9 years agobt-api/bt-adapter: Fix unused variable issues 76/34976/1
Gowtham Anandha Babu [Thu, 5 Feb 2015 07:22:42 +0000 (12:52 +0530)]
bt-api/bt-adapter: Fix unused variable issues

Fixed the following warning:
[bt-api/bt-adapter.c:228]: (style) Variable 'timeout' is assigned a value that is never used.

Change-Id: Ifd3eeb6e164d55439db95c83ff7caff776a8c67a
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
9 years agotest/bluetooth-frwk-test: Fix format specifier issue 75/34975/1
Gowtham Anandha Babu [Thu, 5 Feb 2015 07:20:58 +0000 (12:50 +0530)]
test/bluetooth-frwk-test: Fix format specifier issue

Fixed the following warning:
[test/bluetooth-frwk-test.c:755]: (warning) %d in format string (no. 3) requires a signed integer given in the argument list.

Change-Id: I152ac0097966edbeec3100740f2248bc022a64f3
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
9 years agoMerge "bt-service/bt-service-avrcp: Fix unused variable errors" into tizen
wu zheng [Thu, 5 Feb 2015 06:50:15 +0000 (22:50 -0800)]
Merge "bt-service/bt-service-avrcp: Fix unused variable errors" into tizen

9 years agoRemove fix the error info is sent when removing paired devices
wu zheng [Thu, 5 Feb 2015 06:37:29 +0000 (14:37 +0800)]
Remove fix the error info is sent when removing paired devices

Not sure that it is the root cause.

Change-Id: I4c7103edcd7aab2983fea8710e792dc5a42b954e
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agobt-service/bt-service-avrcp: Fix unused variable errors 38/34838/2
Gowtham Anandha Babu [Tue, 3 Feb 2015 12:02:35 +0000 (17:32 +0530)]
bt-service/bt-service-avrcp: Fix unused variable errors

Fix the following unused variable errors:
[bt-service/bt-service-avrcp.c:160]: (style) Unused variable: error
[bt-service/bt-service-avrcp.c:161]: (style) Unused variable: value
[bt-service/bt-service-avrcp.c:162]: (style) Unused variable: status

Change-Id: Ifb9d145c6bd5b572c529cd0f069b8502fe447a66
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
9 years agoFix the error info is sent when removing paired devices 13/34113/1
wu zheng [Wed, 21 Jan 2015 09:11:02 +0000 (17:11 +0800)]
Fix the error info is sent when removing paired devices

Paired devices should not be added to list when searching.
When removing paired devices, if paired devices are in list,
the disappeared info is sent not remove device info.

Change-Id: I0f5b3c020b795723cce6e3a8bb3d20e29579203c
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoRemove obsolete systemd .wants target symlink 88/33488/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20150114.102955 accepted/tizen/ivi/20150114.120846 accepted/tizen/mobile/20150114.120904 accepted/tizen/tv/20150114.113240 accepted/tizen/wearable/20150114.124634 submit/tizen/20150114.071906 tizen_3.0_ivi_release
Mikko Ylinen [Mon, 12 Jan 2015 07:33:59 +0000 (09:33 +0200)]
Remove obsolete systemd .wants target symlink

bluetooth-frwk-service is dbus startable so the symlink
to tizen-middleware.target.wants is not needed.

Change-Id: Ief742950f1800de02436f844059555e67ff28d27
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoremove some bt enable checks 47/32347/2 accepted/tizen/common/20141222.111329 accepted/tizen/ivi/20141223.020116 accepted/tizen/mobile/20141222.135414 accepted/tizen/tv/20141222.133837 accepted/tizen/wearable/20141222.134738 submit/tizen/20141222.094713
Corentin Lecouvey [Wed, 10 Dec 2014 17:18:06 +0000 (18:18 +0100)]
remove some bt enable checks

bluetooth adapter doesn't need to be powered on for gettting
adapter properties.

Remove those checks allows to retrieve adapter properties from
tizen.bluetooth.getDefaultAdapter() Web API call even if adapter
is powered off.

It helps to fix TC-1994.

Change-Id: If41ca8ac5a23a73c22e776cf2a19e4c4b0a819c9
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoremove dbus matches when unregistering events 58/32158/1 accepted/tizen/common/20141218.170318 accepted/tizen/ivi/20141220.084353 accepted/tizen/mobile/20141219.010510 accepted/tizen/tv/20141219.010338 accepted/tizen/wearable/20141219.141820 submit/tizen/20141218.031627
Corentin Lecouvey [Mon, 15 Dec 2014 15:33:32 +0000 (16:33 +0100)]
remove dbus matches when unregistering events

While running TCT tests, the dbus match limit seems to be reached
and then TCT application crashes.

Change-Id: I15ec5493f1d8b6ad733ea5b852216b124ec5ec78
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agofix build issue 08/32108/1 accepted/tizen/common/20141216.093438 accepted/tizen/ivi/20141216.072436 accepted/tizen/mobile/20141217.085945 accepted/tizen/tv/20141217.013140 accepted/tizen/wearable/20141217.020808 submit/tizen/20141216.020535 submit/tizen_ivi/20141216.161616 submit/tizen_ivi/20141216.171717
Corentin Lecouvey [Mon, 15 Dec 2014 14:59:39 +0000 (15:59 +0100)]
fix build issue

Change-Id: Ib61eeeffb9a15b466610de3b323f21cfda38e0e1
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agofix destroy bonding device use case 33/31833/2 submit/tizen/20141215.095932 submit/tizen_ivi/20141215.151515
Corentin Lecouvey [Wed, 10 Dec 2014 17:15:47 +0000 (18:15 +0100)]
fix destroy bonding device use case

9319c8 "add device disappear event" commit brings a regression.
It added a logic of storing paired device in glist which is not good and check
paired device in glist before sending a 'destroy bond' or 'disappear device' events.

It results that if a device was already paired before starting bt-service daemon,
the paired device was not listed in the glist and so 'destroy bond' event
was never triggered in case of unbonding request.

To fix it, let's consider that if device is present in glist, we trig 'disappear device'
event and otherwise we trig 'destroy bond' event.

Change-Id: I202cdeea48af7e3168c089c4164c7d7ef4711b2c
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agobt-service/bt-service-event-receiver: Fix performance and style issues 34/31934/1
Vikrampal Yadav [Fri, 12 Dec 2014 10:15:02 +0000 (15:45 +0530)]
bt-service/bt-service-event-receiver: Fix performance and style issues

Change-Id: I682dc2ab84ae44fef604f627338a3e39be343d09

9 years agoMerge changes I9d4640ac,Iaf9170a7,I05dcd3ef,I7d6816f0 into tizen accepted/tizen/common/20141215.134656 submit/tizen_common/20141212.162305
wu zheng [Wed, 10 Dec 2014 05:51:51 +0000 (21:51 -0800)]
Merge changes I9d4640ac,Iaf9170a7,I05dcd3ef,I7d6816f0 into tizen

* changes:
  offer __launch_bt_service() function only for Mobile profile
  keep current bluetooth state when starting bt-service
  check bt adapter state from bt-service daemon
  remove bt_status logic from bt-core

9 years agoMerge "bt-api/bt-event-handler: Fix array index issue" into tizen
wu zheng [Wed, 10 Dec 2014 05:47:32 +0000 (21:47 -0800)]
Merge "bt-api/bt-event-handler: Fix array index issue" into tizen

9 years agobt-api/bt-event-handler: Fix array index issue 56/31756/1
Gowtham Anandha Babu [Tue, 9 Dec 2014 12:39:43 +0000 (18:09 +0530)]
bt-api/bt-event-handler: Fix array index issue

Array index 'i' is used before limits check.

Change-Id: I008cde77339b4d68aa11bcecccf15543906234e5

9 years agoRemove extraneous statements. 44/31744/1
Vikrampal Yadav [Tue, 9 Dec 2014 10:19:54 +0000 (15:49 +0530)]
Remove extraneous statements.

Change-Id: Ic3f83c8530b1b948169abb07a3aade8914326829

9 years agooffer __launch_bt_service() function only for Mobile profile 71/30971/3
Corentin Lecouvey [Thu, 27 Nov 2014 16:13:08 +0000 (17:13 +0100)]
offer __launch_bt_service() function only for Mobile profile

Change-Id: I9d4640ac7ede87726c019e6a3eacda3d7b765271
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agokeep current bluetooth state when starting bt-service 70/30970/2
Corentin Lecouvey [Thu, 27 Nov 2014 16:10:04 +0000 (17:10 +0100)]
keep current bluetooth state when starting bt-service

Previsouly when bt-service was started, it always tries to enable the bluetooth.
Therefore when the bluetooth is already enabled when starting bt-service,
it was not clean.

This patch allows to keep consistency between bluez and tizen bluetooth states.
By this way, if bluetooth is enabled when starting bt-service, bt-service just set vconf
and other variables. Following same logic, if bluetooth is down when starting
bt-service, we keep it down and align vconf status.

Change-Id: Iaf9170a739aa4a4c0ac37f1d98caafea1df50643
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agocheck bt adapter state from bt-service daemon 69/30969/2
Corentin Lecouvey [Thu, 27 Nov 2014 14:29:49 +0000 (15:29 +0100)]
check bt adapter state from bt-service daemon

By this way if bt-service is not running when calling
bt_adapter_get_state() CAPI, bt-service will be started
by dbus activation.

Change-Id: I05dcd3ef1aa9201042bd403c5e357c1126244f7c
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoMerge "bt-service/bt-popup: Fix memory leak issue" into tizen accepted/tizen/common/20141209.075817 accepted/tizen/mobile/20141216.071717 accepted/tizen/tv/20141210.193216 accepted/tizen/wearable/20141215.104328 submit/tizen/20141209.052034 submit/tizen_mobile/20141216.000000
wu zheng [Tue, 9 Dec 2014 04:33:04 +0000 (20:33 -0800)]
Merge "bt-service/bt-popup: Fix memory leak issue" into tizen

9 years agopackaging: improvement of dependencies 47/31647/1
José Bollo [Mon, 8 Dec 2014 11:06:32 +0000 (12:06 +0100)]
packaging: improvement of dependencies

Change-Id: I27ff5f634eb6f1f25128efaaef09603ef1e0961d
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agobt-service/bt-popup: Fix memory leak issue 24/31624/1
Vikrampal Yadav [Mon, 8 Dec 2014 09:45:30 +0000 (15:15 +0530)]
bt-service/bt-popup: Fix memory leak issue

Change-Id: Ic60b32a648a4f6e28e71659c0eedc629297cfd8f

9 years agoclean spec file 91/31191/1 accepted/tizen/common/20141205.181504 accepted/tizen/mobile/20141208.013932 submit/tizen/20141204.024227
Ronan Le Martret [Tue, 2 Dec 2014 10:26:01 +0000 (11:26 +0100)]
clean spec file

 - remove bashism

Change-Id: I0971a374da886d59c4f1bf057c24da15d7188908
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoremove bt_status logic from bt-core 68/30968/2
Corentin Lecouvey [Thu, 27 Nov 2014 14:07:00 +0000 (15:07 +0100)]
remove bt_status logic from bt-core

This is no more relevant since enable/disable function is done through dbus.
Now a changed power state is acknowledged in bluez event receiver.
Moreover bt-core could stay in a wrong BT_ACTIVATING or BT_DEACTIVATING state
if bluetooth state is modified by an external way.

Keep Tizen Mobile compatibility using __TIZEN_MOBILE__ macro in calling scripts
to enable/disable bt adapter. Those scripts allows to also stop/start other Tizen
bluetooth components (i.e. bluetooth-share, bluetooth-agent,...).

Change-Id: I7d6816f0a750f775f1b5a659174a63d663d81c3f
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoset 'User' smack label to bluetooth vconf keys 97/30897/1 accepted/tizen/common/20141127.143440 accepted/tizen/ivi/20141202.021016 accepted/tizen/mobile/20141201.013830 submit/tizen/20141127.110445
Corentin Lecouvey [Wed, 26 Nov 2014 15:59:01 +0000 (16:59 +0100)]
set 'User' smack label to bluetooth vconf keys

As bt-service is run as a user (app or guest), vconf keys needs to
be labelled as 'User' in order to be checked/modified by bt-service.

Change-Id: Ifcd44b0855ca4939fc8f2c5ce5d6c6a8eaedd39a
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoenable/disable bluetooth through ConnMan instead of BlueZ 20/30820/2 accepted/tizen/common/20141126.215848 accepted/tizen/mobile/20141128.013213 submit/tizen/20141126.105856
Corentin Lecouvey [Tue, 25 Nov 2014 14:05:58 +0000 (15:05 +0100)]
enable/disable bluetooth through ConnMan instead of BlueZ

Bluetooth can not be enabled on Tizen Common because of RFkill
blocks bluetooth. ConnMan manages RFkill and so call its DBus API
to enable/disable bluetooth adapter fixes this problem.

Change-Id: I277bf12536b6ae95a2d4a4a086b3d2dd63b69f40
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoadd device disappear event 74/29474/2 accepted/tizen/common/20141030.230104 accepted/tizen/ivi/20141107.010905 submit/tizen/20141030.031347 submit/tizen/20141030.072151 submit/tizen_mobile/20141119.000000 submit/tizen_mobile/20141120.000000
Corentin Lecouvey [Tue, 28 Oct 2014 09:57:21 +0000 (10:57 +0100)]
add device disappear event

When BlueZ removes some scanned devices, it previously always trigs the
bond destroy event which is sent by API layer.

This fix consists of adding paired devices to g_list and verify paired
device status when removing device interface and so fire device disappeared
or bond destroy events.

This patch is combined with ea4787499cb21d2bfc744aad7b8ba103efe67845 from
platform/core/api/bluetooth API component.

It also removes static attribute from _bt_adapter_set_status() function in
order to update adapter power status in bt-service-event-receiver.

Change-Id: Idd7406b7add402689edaad06590f7c0b4a14bee5
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoMerge "remove bonded device from glist" into tizen accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/3.0.2014.q3/common/20141027.140548 accepted/tizen/3.0.m14.3/ivi/20141027.134150 accepted/tizen/common/20141027.101149 submit/tizen/20141027.023732 submit/tizen_3.0.2014.q3_common/20141027.140426 submit/tizen_3.0.m14.3_ivi/20141027.073643 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
wu zheng [Mon, 27 Oct 2014 02:22:59 +0000 (19:22 -0700)]
Merge "remove bonded device from glist" into tizen

10 years agoremove bonded device from glist 13/29213/3
Corentin Lecouvey [Fri, 24 Oct 2014 09:33:17 +0000 (11:33 +0200)]
remove bonded device from glist

It prevents from sending wrong paired/connected states to API
when scanning.

Change-Id: Icb12e5fff0af615d76c10071b19efbb7231afaf4
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoMerge "do not retrieve adapter path from dbus message" into tizen accepted/tizen/common/20141023.082250 submit/tizen/20141023.060536
wu zheng [Thu, 23 Oct 2014 05:50:46 +0000 (22:50 -0700)]
Merge "do not retrieve adapter path from dbus message" into tizen

10 years agodo not retrieve adapter path from dbus message 08/29208/1
Corentin Lecouvey [Wed, 22 Oct 2014 11:49:01 +0000 (13:49 +0200)]
do not retrieve adapter path from dbus message

Every where, bluetooth-frwk checks the adapter state before doing an action.
Adapter state is retrieved from parsing dbus message from 'GetManagedObjects' method.
This is only needed to get adapter path from dbus message.
As adapter path is always '/org/bluez/hci0' using Bluez5, define it improves performance.

For example, it fixes a bug in Modello UI when getting default adapter with
bonded devices.

Change-Id: I19e86c0ac269b60773ac3b3e3f62d802ebd40013
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoDon't set DBUS_SESSION_BUS_ADDRESS 13/29113/1 accepted/tizen/common/20141023.082232 submit/tizen/20141023.022748
Maciej Wereski [Fri, 10 Oct 2014 12:43:44 +0000 (14:43 +0200)]
Don't set DBUS_SESSION_BUS_ADDRESS

This variable is specific for user and used not only by bt-service.
Since systemd v212 package this variable is set in user@.service, thus
it can be removed from here.

Change-Id: I9f66241a2c6a4edfe52f89e388e4565b47feddb4
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agoRemove initscripts 12/29112/1
Maciej Wereski [Fri, 10 Oct 2014 13:28:17 +0000 (15:28 +0200)]
Remove initscripts

Change-Id: I69a9bec9e2abeec14a5b8211d05c12e0fd696a97
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
10 years agofix unbond feature 07/28907/2 accepted/tizen/3.0.2014.q3/common/20141022.093401 accepted/tizen/3.0.m14.3/ivi/20141022.104124 accepted/tizen/common/20141021.112507 accepted/tizen/ivi/20141022.015301 submit/tizen/20141021.071750 submit/tizen_3.0.2014.q3_common/20141021.112639 submit/tizen_3.0.m14.3_ivi/20141021.112858 submit/tizen_common/20141021.111902 submit/tizen_ivi/20141021.113442
Corentin Lecouvey [Thu, 16 Oct 2014 15:08:30 +0000 (17:08 +0200)]
fix unbond feature

Currently bt-fwk asks for unbonding device once it catches InterfaceRemoved event
from bluez whatever the dbus interface.
This patch allows to unbond device only when bluez removes device interface.

Change-Id: Ie0b44b851f2507e06e67fa6bf785a291db3c29a6
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agouse bluez dbus api to enable/disable adapter 69/28869/2
Corentin Lecouvey [Thu, 16 Oct 2014 13:36:24 +0000 (15:36 +0200)]
use bluez dbus api to enable/disable adapter

It was previously done invoking bluetooth-tools scripts.
For example, to disable adapter, one of the script kills bluez daemon process.
Now we just modify 'Powered' adapter property.

The patch also removes the timeout callback when enabling adapter since it can
disable adapter if the status is not correct. This adapter status is handled
by bluez4 adapter dbus api code which needs to be adapted.

Change-Id: I4bb5c4c03462a7fe9957e32dd8b196d37f358d30
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agofix wrong 'Paired' dbus property typo 68/28868/1 submit/tizen/20141021.025611
Corentin Lecouvey [Thu, 16 Oct 2014 12:36:05 +0000 (14:36 +0200)]
fix wrong 'Paired' dbus property typo

related to TC-1712

Change-Id: Id4e3d29bf6a94982d007a2920c165dbcf2ac4151
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agocorrecly fill device_info struct when parsing device properties 73/28773/1 accepted/tizen/common/20141016.143853 submit/tizen/20141016.080707
Corentin Lecouvey [Wed, 15 Oct 2014 17:02:35 +0000 (19:02 +0200)]
correcly fill device_info struct when parsing device properties

Change-Id: Ibf35a2f7cab622b35035e0344f22919f84e6bc68
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agomake sure priv->adapter exists before unref it when freeing gap agent 00/28700/1 accepted/tizen/common/20141015.065241 submit/tizen/20141015.022242
Corentin Lecouvey [Tue, 14 Oct 2014 08:45:18 +0000 (10:45 +0200)]
make sure priv->adapter exists before unref it when freeing gap agent

It fixes such error :
GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

Also it makes no sense to reference priv->adapter pointer before setting it
to NULL. So unref priv->adapter it instead.

Change-Id: I0b27d0d16192e8e647ffc00fd9704a90700417b2
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agolaunch bt-service as 'guest' user instead of 'app' 11/28611/2 accepted/tizen/3.0.2014.q3/common/20141020.094323 accepted/tizen/common/20141013.105514 submit/tizen/20141013.073414 submit/tizen/20141013.104150 submit/tizen_3.0.2014.q3_common/20141020.093726
Corentin Lecouvey [Fri, 10 Oct 2014 11:57:56 +0000 (13:57 +0200)]
launch bt-service as 'guest' user instead of 'app'

'app' user is no more present on Tizen Common.
So we can run bt-service as 'guest' user for the moment
(e.g. TZ_SYS_DEFAULT_USER macro refers to 'guest' user)

Add a workaround in spec file to keep compatibility with IVI
that still needs to run bt-service by 'app' user even
if there is a 'guest' user.

Change-Id: I5d1e48cd5352852074f9eda220ffacf0405fbc63
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoadd bt icon file to package when using notifications 10/28610/1
Corentin Lecouvey [Fri, 10 Oct 2014 11:28:44 +0000 (13:28 +0200)]
add bt icon file to package when using notifications

Change-Id: I34cba413756af80927d3530c272b5a6722eefbd5
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoremove debian packaging folder 09/28609/1
Corentin Lecouvey [Fri, 10 Oct 2014 11:15:37 +0000 (13:15 +0200)]
remove debian packaging folder

Change-Id: I6936d78544ef6149c7321caf3e60068518ef0aaa
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoremove syspopup dependency 07/28207/1
Corentin Lecouvey [Tue, 30 Sep 2014 09:11:41 +0000 (11:11 +0200)]
remove syspopup dependency

Even if %bluetooth_frwk_libnotification OBS build macro is defined,
there was still some dependency on syspopup. So fix it.

Bug-Tizen: related to TC-1476

Change-Id: I5d9a7272f2176e86e4cffeea3730ec3365569d1f
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoMerge "Fix minor issues on adapter name property" into tizen accepted/tizen_generic tizen_3.0.m14.2_ivi accepted/tizen/3.0.2014.q3/common/20141020.112645 accepted/tizen/common/20141008.091146 accepted/tizen/generic/20140415.104738 submit/tizen/20140414.072437 submit/tizen/20141008.053857 submit/tizen_3.0.2014.q3_common/20141020.111623 tizen_3.0.m14.2_ivi_release
wu zheng [Fri, 11 Apr 2014 08:49:24 +0000 (01:49 -0700)]
Merge "Fix minor issues on adapter name property" into tizen

10 years agoFix minor issues on adapter name property 27/19327/1
Corentin Lecouvey [Thu, 10 Apr 2014 10:13:02 +0000 (12:13 +0200)]
Fix minor issues on adapter name property

- catch 'Alias' dbus adapter property changed event
instead of 'Name' which is a readonly property.

- remove a useless hash table that brings a GLib-CRITICAL issue

Change-Id: I56d2924bb1c534117ea2ebfb1035e932fded02c2
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
10 years agoUpdate deprecated libprivilege-control API functions. 78/19178/1
Marcin Lis [Mon, 7 Apr 2014 11:45:59 +0000 (13:45 +0200)]
Update deprecated libprivilege-control API functions.

Change-Id: I454bb0d61cf4bc52f132f92a80205b2595027a94
Signed-off-by: Marcin Lis <m.lis@samsung.com>
10 years ago[Bluetooth-FRWK] change bug at event handler 98/18798/3 accepted/tizen_ivi_panda accepted/tizen/generic/20140403.101658 accepted/tizen/ivi/20140409.182041 accepted/tizen/ivi/panda/20140403.193323 submit/tizen/20140403.051404
seungku kim [Wed, 2 Apr 2014 00:15:26 +0000 (09:15 +0900)]
[Bluetooth-FRWK] change bug at event handler

Dbus property handler is changed.

Change-Id: I66f0fa8d726abb08115a5e9a3f3f7f4b647d1ba2
Signed-off-by: seungku kim <seungku.kim@samsung.com>
10 years agoRemove hardcoded path for multiuser support 64/18264/1 accepted/tizen/generic/20140325.191842 accepted/tizen/ivi/20140325.183459 accepted/tizen/ivi/panda/20140326.234455 submit/tizen/20140325.023152
Sabera Djelti (sdi2) [Wed, 19 Mar 2014 16:57:10 +0000 (17:57 +0100)]
Remove hardcoded path for multiuser support

Bug-Tizen: PTREL-365

Change-Id: I1496814e5ae4b691f7a459a76b8959538f943715
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
10 years agoAdd a condition on X for BuildRequire of UtilX. 84/16184/1 accepted/tizen/generic accepted/tizen/ivi accepted/tizen/mobile accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140212.084239 accepted/tizen/generic/20140312.094952 accepted/tizen/ivi/20140212.184832 accepted/tizen/ivi/panda/20140312.111823 accepted/tizen/ivi/release/20140312.121153 accepted/tizen/mobile/20140225.043803 submit/tizen/20140212.085334 submit/tizen/20140312.070651 submit/tizen_ivi_release/20140312.071126
Ronan Le Martret [Mon, 10 Feb 2014 11:07:46 +0000 (12:07 +0100)]
Add a condition on X for BuildRequire of UtilX.

Change-Id: If9dc0cc716d1237d2d6f2d648c4c0fe2f5d305dd
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
10 years agoBluetooth-Frwk: modify the error audio UUID connection/disconnection 49/15449/2 accepted/tizen/generic/20140128.081211 accepted/tizen/ivi/20140128.174135 accepted/tizen/mobile/20140128.171051 submit/tizen/20140128.081945
Wu Zheng [Tue, 21 Jan 2014 09:50:33 +0000 (04:50 -0500)]
Bluetooth-Frwk: modify the error audio UUID connection/disconnection

Normally, mobile/ivi will conn/discon headset/headfree device.
headset/headfree should be sink role.

Therefore, audio sink UUID is used to conn/discon.

Change-Id: I5393140f7bb23d61af57900e4647ec3b1a99451d
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoSet bt-core status to match IVI 46/14346/1 accepted/tizen/generic/20140114.103813 accepted/tizen/generic/20140117.092121 accepted/tizen/ivi/20140114.191349 accepted/tizen/ivi/20140116.230214 accepted/tizen/mobile/20140113.182117 accepted/tizen/mobile/20140117.163028 submit/tizen/20140113.064440 submit/tizen/20140116.221107
Wu Zheng [Fri, 3 Jan 2014 07:55:27 +0000 (02:55 -0500)]
Set bt-core status to match IVI

On IVI, bluetooth is enabled defaultly.

Therefore, bt-core doesn't know the BT status.
It results in that bt-core can't close BT.

The patch will fix the bug on IVI.

Change-Id: Ic16b0430fe0cb65856b84e0e2f9f903ecf800cbe

10 years agoMerge "Modify the condition of checking BT enabled" into tizen
Wu zheng [Wed, 20 Nov 2013 02:37:19 +0000 (18:37 -0800)]
Merge "Modify the condition of checking BT enabled" into tizen

10 years agoMerge "Fix build for x64 arch: Remove harcoded path" into tizen
wu zheng [Tue, 19 Nov 2013 07:45:56 +0000 (23:45 -0800)]
Merge "Fix build for x64 arch: Remove harcoded path" into tizen

10 years agoFix build for x64 arch: Remove harcoded path 78/12478/1
Jean-Benoit MARTIN [Fri, 15 Nov 2013 10:49:32 +0000 (11:49 +0100)]
Fix build for x64 arch: Remove harcoded path

Change-Id: I4310f1914a9adfbf42b10fd4b59715e87c858007
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@eurogiciel.fr>
10 years agoModify the condition of checking BT enabled 58/12358/1 accepted/tizen/20131120.213454 accepted/tizen/20131204.185412 accepted/tizen/generic/20140115.081851 accepted/tizen/ivi/20140114.223037 accepted/tizen/mobile/20140116.162338 submit/tizen/20131114.044854 submit/tizen/20131118.024159 submit/tizen/20131120.024558 submit/tizen/20140114.215644
Wu zheng [Thu, 14 Nov 2013 03:37:00 +0000 (11:37 +0800)]
Modify the condition of checking BT enabled

BT chip is enabled after IVI startup.

It is different with mobile.

It results in that the condition of checking BT enabled
need to be modified on IVI.

Change-Id: Ie4d41c763284b0faa4a063da680321ecffa790d4

10 years agoAdd the device lists of scanning to fix the crash issue 65/12265/1
Wu zheng [Wed, 13 Nov 2013 07:06:33 +0000 (15:06 +0800)]
Add the device lists of scanning to fix the crash issue

Add the device lists of scanning.
So that providing the device lists when UI is needed.

Bluetooth-frwk is stable when it own the list by itself.

If getting from Bluez. Bluetooth-frwk will crash sometime.
The root cause is  message format issues.

Thefefore, Bluetooth-frwk owner the device lists.
Bluetooth-frwk will be more stable.

Change-Id: If69def056791303fdb06f898259f78024607a5fd

10 years agoFix RegisterPlayer fail issue 63/12263/1
Wu zheng [Wed, 13 Nov 2013 07:01:35 +0000 (15:01 +0800)]
Fix RegisterPlayer fail issue

Change-Id: Ief2fe9443c833811c37a4fc0a38469e6d8275fdd

10 years agoAdd the condition to register media player 98/11898/3 accepted/tizen/20131114.173824 accepted/tizen/20131118.185452 submit/tizen/20131114.045037
Wu zheng [Mon, 11 Nov 2013 03:23:46 +0000 (11:23 +0800)]
Add the condition to register media player

IVI is AVRCP CT role.
Mobile is AVRCP TG role.

Therefore, add the condition to decide if
register media player or not.

Change-Id: Iebe3ec084f1424b3107dd58e5502cf3eb8be2dc3

10 years agoFix that bt-serivce can't find DBUS_SESSION_BUS_ADDRESS 33/11933/3
Wu zheng [Mon, 11 Nov 2013 03:23:06 +0000 (11:23 +0800)]
Fix that bt-serivce can't find DBUS_SESSION_BUS_ADDRESS

Add the related env param when bt-service start.

The param still is needed.

After then, the bug can be fixed.

Change-Id: I5f05df3dc73c3683ddf735f6d813e9409eddd0de

11 years agoFix dbus service file 14/7914/2 36/11636/1 accepted/tizen/20131101.181503 accepted/tizen/20131105.192330 accepted/tizen/20131112.015049 accepted/tizen_ivi_stable/20131119.040508 submit/tizen/20131101.065014 submit/tizen/20131101.065241 submit/tizen_ivi_stable/20131119.032118
Chengwei Yang [Mon, 12 Aug 2013 05:54:16 +0000 (13:54 +0800)]
Fix dbus service file

There are quite several errors in the dbus service file.

* it's not necessary to export DBUS_SESSION_BUS_ADDRESS, dbus activation
  will do that, and more important, it's a totally wrong path, what's
  the $UID?
* do not touch system-wide log policy because in fact we can't. These
  debug settings are managed by dlogctl.

Change-Id: I0522fed5d5053a49884dc78ab4054d2dfa780b0e
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoFix the build error in capi-network-bluetooth 02/11502/1 accepted/tizen/20131029.090052 accepted/tizen/20131029.175620 submit/tizen/20131029.071534
DoHyun Pyun [Tue, 29 Oct 2013 05:26:40 +0000 (14:26 +0900)]
Fix the build error in capi-network-bluetooth

After upgrading bluez 5.x version, some enum value and structure
variables were removed. Because of this there was a build break
in capi-network-bluetooth. So in now rollback removed values.
In later, capi-network-bluetooth will apply bluez 5.x values.
And then we can remove previous values.

Change-Id: Ia13e86310fffdf058d5db0ed1668e3dba49237b8
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
11 years agoReland fixes to spec that were clobbered by recent downgrade accepted/tizen/20131023.233340 accepted/tizen/20131025.151117 submit/tizen/20131023.195847 submit/tizen/20131023.232651
Rusty Lynch [Wed, 23 Oct 2013 18:24:40 +0000 (11:24 -0700)]
Reland fixes to spec that were clobbered by recent downgrade

Change-Id: I043697347eb5a908ffa44488a8bc7a1c84bf5ba5

11 years agoPTREL-140: Remove bogus Requires on eglibc 84/11284/1
Rusty Lynch [Wed, 23 Oct 2013 17:47:31 +0000 (10:47 -0700)]
PTREL-140: Remove bogus Requires on eglibc

Change-Id: I49edf22fb8ad1d839676c3727d6fd7059acfd206
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
11 years agoTemp devicefound events are sent after DISCOVERY_STARTED accepted/tizen/20131023.171040 submit/tizen/20131023.044737
Wu zheng [Wed, 23 Oct 2013 03:36:39 +0000 (11:36 +0800)]
Temp devicefound events are sent after DISCOVERY_STARTED

Before temp device found events are sent before DISCOVERY_STARTED.

It is not right. The patch will modify it.

The patch has been approved.

Change-Id: I54da96c21eca318f1f6e72d5694b1c8cae8216f0

11 years agoUpgrade Bluetooth-frwk to match Bluez5.X
Wu zheng [Tue, 15 Oct 2013 09:32:13 +0000 (17:32 +0800)]
Upgrade Bluetooth-frwk to match Bluez5.X

The following patches have been merged.

1.Modify the Tizen config files
2.Tethering: Remove register NAP service for ConnMan tethering
3.packaging: remove explicit requires on sys-assert
4.Fixes Tizen bluetooth device api fails to work for web apps TIVI-1275
5.Add a libnotify/gtk popup system to bluetooth-frwk
6.Start bt-service with systemd user with multi-user option
7.Add notifications in bt-service
8.Change the agent interface name to org.bluez.Agent1

11 years agoAdd notifications in bt-service 36/10136/2 tizen_ivi_genivi accepted/tizen/20130920.214306 accepted/tizen/20130920.214356 accepted/tizen/20130920.214404 accepted/tizen/20130923.030153 accepted/tizen/20131023.232451 accepted/tizen/ivi/genivi/20140131.062302 accepted/tizen_ivi_release/20131120.050430 ivi_oct_m2 submit/tizen/20130920.214118 submit/tizen/20131023.214908 submit/tizen_ivi_genivi/20140131.061517 submit/tizen_ivi_release/20131120.030000
Corentin Lecouvey [Thu, 19 Sep 2013 14:30:32 +0000 (16:30 +0200)]
Add notifications in bt-service

- use LIBNOTIFICATION_SUPPORT build option
- bt-service-agent-notification.c source code sends bluetooth notifications to
the notification daemon.

This fix is a part of TIVI-1690 (bluetooth pairing) since it just sends requests
to the notification daemon. Homescreen part should display the notification themselves.

Change-Id: Id82dee9de9199a37b700d27c0d0804c3e11bdd1a

11 years agoFix permission denied on open dev node /dev/rfcomm 64/8564/1 accepted/tizen/20130912.081752 accepted/tizen/20130912.085012 accepted/tizen/20130912.093642 submit/tizen/20130826.082059 submit/tizen/20130912.075604
Victor Hakoun [Fri, 23 Aug 2013 14:02:49 +0000 (16:02 +0200)]
Fix permission denied on open dev node /dev/rfcomm

The permission denied issue was due to early access to the /dev/rfcomm.
By adding a sleep time (10ms) and 3 retry, bt-service can now open this dev
node.

- Fix part of TZPC-3937

Signed-off-by: Victor Hakoun <victor.hakoun@eurogiciel.fr>
11 years agoStart bt-service with systemd user with multi-user option 95/8495/2 submit/tizen/20130822.094138
Victor Hakoun [Wed, 21 Aug 2013 09:26:59 +0000 (11:26 +0200)]
Start bt-service with systemd user with multi-user option

In multi-user environment bt-service cannot be launch by dbus-activation or
systemd-dbus activation.

- Add bcond_with multi-user option
- Add MULTI_USER_SUPPORT build option
- Remove rc.d/init.d in multi-user environment because done with systemd
user and  bluetooth-frwk-service scprit is for app user.
- Change dbus policy for multi-user
- Fix systemd unit file Install section
- Fix TZPC-4380

Signed-off-by: Victor Hakoun <victor.hakoun@eurogiciel.fr>
11 years agoAdd a libnotify/gtk popup system to bluetooth-frwk. 25/6125/5 submit/tizen/20130809.082724
Victor Hakoun [Fri, 9 Aug 2013 08:09:51 +0000 (10:09 +0200)]
Add a libnotify/gtk popup system to bluetooth-frwk.

This is helping having Bluetooth popups with no OSP application dependencies (bt-syspopup and osp-launcher) and libnotify/gtk on the patform.

- Add bcond_whith bluetooth_frwk_libnotify in bluetooth-frwk.spec.
- Add requires to bluetooth-tools needed for bt-core/bt_core.c (calls to /usr/etc/bluetooth/bt-*.sh)
- Add compilation directive LIBNOTIFY_SUPPORT.
- Remove  bt-syspopup dependencies with LIBNOTIFY_SUPPORT directive.
- Modify bt-service/bt-service-agent.c in order to use bt-syspopup or libnotify (with compilation directive)
- Add bt-service/bt-popup.c to display libnotify/gtk popups.
- Add errno to bt-service/bt-service-rfcomm-client.c.

https://bugs.tizen.org/jira/browse/TWFD-3

Signed-off-by: Victor Hakoun <victor.hakoun@eurogiciel.fr>
11 years agoFixes Tizen bluetooth device api fails to work for web apps TIVI-1275 88/7788/2 submit/tizen/20130809.031242
Jimmy Huang [Fri, 9 Aug 2013 02:23:25 +0000 (19:23 -0700)]
Fixes Tizen bluetooth device api fails to work for web apps TIVI-1275

- Fixes issue where calling any bluetooth device web apis will result in seeing "The name org.projectx.bt was not provided by any .service files" error.

- Moving the dbus service files for bt-core and bt-service to /usr/share/dbus-1/system-services/ so the wrt can activite the daemon.

- Change DBUS_SESSION_BUS_ADDRESS to use UID instead of user name.

- Added dbus policy conf files for bt-core and bt-service to add permission to run on the system, since the default policy blocks everything.

Change-Id: Iceb9a4a507f71dfa781c102030801b3d9c8353c7
Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
11 years agopackaging: remove explicit requires on sys-assert 70/5470/3
Patrick McCarty [Fri, 28 Jun 2013 23:23:32 +0000 (16:23 -0700)]
packaging: remove explicit requires on sys-assert

Change-Id: I4c293a85a52c503f32c4106614e93360ef89fb6a

11 years agoTethering: Remove register NAP service for ConnMan tethering 68/5668/1
Liu, Guoqiang [Mon, 8 Apr 2013 05:24:23 +0000 (13:24 +0800)]
Tethering: Remove register NAP service for ConnMan tethering

When bluetooth adapter is added, NAP service register should be
moved to ConnMan to handle tethering.

Signed-off-by: Liu, Guoqiang <guoqiangx.liu@intel.com>
11 years agoresetting manifest requested domain to floor 19/4519/1 accepted/tizen/20130710.221452 submit/tizen/20130710.103152
Alexandru Cornea [Fri, 28 Jun 2013 15:13:42 +0000 (18:13 +0300)]
resetting manifest requested domain to floor

11 years agoUpdate Changelog 48/4248/1 accepted/tizen/20130626.122853 submit/tizen/20130625.153422
Victor Hakoun [Tue, 25 Jun 2013 15:32:26 +0000 (17:32 +0200)]
Update Changelog

11 years agoUse macro %{_unitdir_user} unstead of %{_libdir}/systemd/user in specfile 47/4247/1
Victor Hakoun [Tue, 25 Jun 2013 15:24:14 +0000 (17:24 +0200)]
Use macro %{_unitdir_user} unstead  of %{_libdir}/systemd/user in specfile

11 years agoUpdate Changelog 88/4188/1 submit/tizen/20130621.103930
Baptiste DURAND [Fri, 21 Jun 2013 10:38:31 +0000 (12:38 +0200)]
Update Changelog

11 years agoReplace manifest with default floor 87/4187/1
Baptiste DURAND [Fri, 21 Jun 2013 10:32:14 +0000 (12:32 +0200)]
Replace manifest with default floor

11 years agoFixed build and remove hardcoding of libdir accepted/tizen/20130529.191100 submit/tizen/20130529.113410
Anas Nashif [Wed, 29 May 2013 11:34:07 +0000 (07:34 -0400)]
Fixed build and remove hardcoding of libdir

11 years agoFix rpmlint errors 14/3614/1 accepted/tizen/20130522.164550 submit/tizen/20130521.163048
Rusty Lynch [Tue, 21 May 2013 16:29:17 +0000 (09:29 -0700)]
Fix rpmlint errors

11 years agoImplement User Space SMACK tizen_2.1 accepted/tizen/20130520.101020 submit/tizen/20130517.044858 submit/tizen_2.1/20130514.051354
DoHyun Pyun [Fri, 3 May 2013 04:13:56 +0000 (13:13 +0900)]
Implement User Space SMACK

To control OSP privileges implement the codes

Change-Id: Id52f99b3cb1533d00e0ac6197e6aa822a13eeb63

11 years agoSynchronize the manifest file with private git
DoHyun Pyun [Fri, 3 May 2013 04:05:37 +0000 (13:05 +0900)]
Synchronize the manifest file with private git

Change-Id: I6a73608c01be48f890afc352a4542c6a991992b9

11 years agoFix the bug in HFP API
DoHyun Pyun [Thu, 2 May 2013 00:34:02 +0000 (09:34 +0900)]
Fix the bug in HFP API

If we call bluetooth_telephony_audio_open API in next step 6,
the API call fails.

bluetooth-audio.c: bt_ag_open_sco(259) > ALREADY_DONE(0xffff8103)

1. bt_audio_initialize();
2. bt_ag_open_sco();
3. bt_ag_close_sco();
4. bt_audio_deinitialize();
5. bt_audio_initialize();
6. bt_ag_open_sco();

The cause was the headset state was not initailized.
(Because telephony library could not get the event
 - bt_audio_deinitailize also remove the event handler)

Change-Id: Ia724205e394dda8ee956805e951fb40385e623d2