platform/core/connectivity/bluetooth-frwk.git
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

10 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>
10 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>
10 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

10 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>
10 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

10 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

10 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

10 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>
10 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>
10 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>
10 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>
10 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

10 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>
10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

11 years agoRevert "Fix OSP TC fail cases in discovering" 2.1b_release accepted/tizen_2.1/20130425.035327 submit/tizen_2.1/20130424.231111
DoHyun Pyun [Mon, 15 Apr 2013 09:46:46 +0000 (18:46 +0900)]
Revert "Fix OSP TC fail cases in discovering"

This reverts commit 736fc1598dd52fe5553f3141b3c56e4538d59053

11 years agoFix OSP TC fail cases in discovering
DoHyun Pyun [Thu, 11 Apr 2013 09:18:08 +0000 (18:18 +0900)]
Fix OSP TC fail cases in discovering

There is a patch in bluez that BT don't restart the discovery.
Because of this code application have a delay by receiving
discovery finished callback. So it also had a problem.

Change-Id: I0dcb2208258d7c91540a45d3740f3d101516de2c

11 years agoIncrease the version number to upload
DoHyun Pyun [Wed, 10 Apr 2013 11:52:48 +0000 (20:52 +0900)]
Increase the version number to upload

Change-Id: Ifb1c9b16b890c91f532293658677ae0a021adda5

11 years agoReplaced deprecated Notification API
Sunil Kumar Behera [Wed, 27 Mar 2013 10:44:20 +0000 (16:14 +0530)]
Replaced deprecated Notification API

Change-Id: Ie71a07309b01c04e547c084c3b2956cbe57bfadb

11 years agoFix the JIRA issue (TREL-8)
DoHyun Pyun [Tue, 9 Apr 2013 12:39:09 +0000 (21:39 +0900)]
Fix the JIRA issue (TREL-8)

[M0] Can't power on device any more after reboot device
     with Bluetooth/NFC enabled

Change-Id: I83b125011be7f32dc5a6eb1c3e75bd27353993c7

11 years agoJIRA issue S1-13098 - Fix dbus add match rule overflow
Divya Yadav [Tue, 26 Mar 2013 12:58:33 +0000 (18:28 +0530)]
JIRA issue S1-13098 - Fix dbus add match rule overflow

Issue- In bluetooth telephony library dbus_bus_add_match was
used everytime BT activated. Once the number of match
reach the MAX limit crash was observed.

Fix- Removed multiple use of dbus_bus_add_match and also
added use of dbus_bus_remove_match in
bluetooth_telephony_deinit API.

Change-Id: Ifa0a38ab387f3076a199d167c9fc467fffaf64c6

11 years agoKlocwork issue: NULL variable dereference
Divya Yadav [Tue, 19 Mar 2013 12:22:47 +0000 (17:52 +0530)]
Klocwork issue: NULL variable dereference

Change-Id: I132e6a2bfea560fc233b12073e09b7720374a907

11 years agoMerge "Fix for x86_64 compatibility." into tizen_2.1
Junfeng [Wed, 3 Apr 2013 02:37:56 +0000 (11:37 +0900)]
Merge "Fix for x86_64 compatibility." into tizen_2.1

11 years agoRemove 'smack request' lines
DoHyun Pyun [Mon, 1 Apr 2013 00:47:11 +0000 (09:47 +0900)]
Remove 'smack request' lines

Change-Id: I815a2d8a8d0dbdd19919324fed2822c4d3ab80ac

11 years agoRemove bt-core label access in the manifest file
DoHyun Pyun [Sun, 31 Mar 2013 01:46:41 +0000 (10:46 +0900)]
Remove bt-core label access in the manifest file

Change-Id: I3e6751a447e5777236bc01a73cbffc151dd59d07

11 years agoFix for x86_64 compatibility.
Junfeng [Thu, 21 Mar 2013 13:11:44 +0000 (21:11 +0800)]
Fix for x86_64 compatibility.

- Adapt CFLAGS & LDFLAGS for x86-64.
- Fix hardcoding library path.

Change-Id: I36df4134d391b958f904ddbbd183e5f97e6820b9

11 years agoFix the issue that we can't see the dlog message
DoHyun Pyun [Wed, 27 Mar 2013 07:18:00 +0000 (16:18 +0900)]
Fix the issue that we can't see the dlog message

The environment variable did not set in dbus auto-activation.

Change-Id: I25ea708ab2f2ae7910918ea8eb06948046f3230e

11 years agoMerge branch 'master' into tizen_2.1
DoHyun Pyun [Tue, 19 Mar 2013 06:04:57 +0000 (15:04 +0900)]
Merge branch 'master' into tizen_2.1

Change-Id: Iaae67b4019fd0604bcd60a7df10fcc5189c0532b

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:13:07 +0000 (01:13 +0900)]
merge with master

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:47:08 +0000 (01:47 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:36 +0000 (21:59 +0900)]
Initial empty repository