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