platform/upstream/bluez.git
8 years agoModify libdir for systemd 17/46117/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150817.134202 accepted/tizen/tv/20150817.134544 accepted/tizen/wearable/20150817.134834 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 submit/tizen_mobile/20150817.053139 submit/tizen_tv/20150817.053142 submit/tizen_wearable/20150817.053146 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
DoHyun Pyun [Mon, 17 Aug 2015 05:19:43 +0000 (14:19 +0900)]
Modify libdir for systemd

Change-Id: I555d55d7646ffbd372599e988569e3bb15adbc67
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix to get the read oob data 51/45251/1 accepted/tizen/mobile/20150804.111853 accepted/tizen/tv/20150804.111945 accepted/tizen/wearable/20150804.112024 submit/tizen_mobile/20150804.063157 submit/tizen_tv/20150804.063201 submit/tizen_wearable/20150804.063204
Taejin Woo [Fri, 17 Jul 2015 11:32:53 +0000 (20:32 +0900)]
Fix to get the read oob data

Change-Id: Ia459f360eacb1c226d82e61303c892ce8110da3c
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoDisable IPSP feature 80/43880/1 accepted/tizen/mobile/20150716.010917 accepted/tizen/tv/20150716.011013 accepted/tizen/wearable/20150716.011053 submit/tizen_mobile/20150715.060622 submit/tizen_tv/20150715.060634 submit/tizen_wearable/20150715.060637
seungku kim [Wed, 15 Jul 2015 04:17:16 +0000 (13:17 +0900)]
Disable IPSP feature

6lowpan patch in kernel was not applied yet, so IPSP is disabled
until 6lowpan patch applied.

Change-Id: Ib77c34951ec82d079f18ae051c0ea2b5696c1f95

8 years agoChange the excutable path to libexec 69/43469/1 accepted/tizen/mobile/20150710.004306 accepted/tizen/tv/20150710.005534 accepted/tizen/wearable/20150710.005637 submit/tizen_mobile/20150709.114028 submit/tizen_tv/20150709.114031 submit/tizen_wearable/20150709.114035
DoHyun Pyun [Thu, 9 Jul 2015 11:38:23 +0000 (20:38 +0900)]
Change the excutable path to libexec

lib path is different with 64 bit build environment

Change-Id: I49377ab948b7e118d8e63fac920572c7282a53d1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoApply Tizen 3.0 security policy 60/42760/1 accepted/tizen/tv/20150703.015056 accepted/tizen/wearable/20150703.015109 submit/tizen_mobile/20150702.112120 submit/tizen_tv/20150702.112124 submit/tizen_wearable/20150702.112128
Taejin Woo [Thu, 2 Jul 2015 06:34:00 +0000 (15:34 +0900)]
Apply Tizen 3.0 security policy

Change-Id: I53eed5c5e09583ccf604534c5f1dc178e95d7016
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years ago3.0 specific patch: change the "/usr/lib" path for 64bit build 68/41268/1 accepted/tizen/mobile/20150616.011055 accepted/tizen/tv/20150615.001241 accepted/tizen/tv/20150616.011124 accepted/tizen/wearable/20150615.001349 accepted/tizen/wearable/20150616.011152 submit/tizen_mobile/20150612.090403 submit/tizen_mobile/20150615.054440 submit/tizen_tv/20150612.090408 submit/tizen_tv/20150615.054454 submit/tizen_wearable/20150612.090412 submit/tizen_wearable/20150615.054502
seungku kim [Fri, 12 Jun 2015 06:03:55 +0000 (15:03 +0900)]
3.0 specific patch: change the "/usr/lib" path for 64bit build

32bit = /usr/lib
64bit = /usr/lib64

Change-Id: Ic4dac00db88b831e3a9ecad1404d7424f46880b1

8 years agoFix issue in merged code for Tizen 3.0 72/39872/2 submit/tizen_mobile/20150612.045738 submit/tizen_tv/20150612.045742 submit/tizen_wearable/20150612.045746
Anupam Roy [Mon, 25 May 2015 19:08:49 +0000 (15:08 -0400)]
Fix issue in merged code for Tizen 3.0

Check discovery type only if discovery complete
is successful. In case status is not success,
dereferencing rp can lead to crash.

Change-Id: I186dd9a8f02fad7e782afee1146ae391cd82b57b
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
8 years agoModify systemd service option 84/40784/1 submit/tizen_mobile/20150609.051101 submit/tizen_tv/20150609.051113 submit/tizen_wearable/20150609.051121
DoHyun Pyun [Tue, 9 Jun 2015 05:05:57 +0000 (14:05 +0900)]
Modify systemd service option

After applying systemd 219 version, will modify the option again

Change-Id: I4c859c6a1fd0a4ab10f588c8246031abbf851f36
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoUpgrade Bluez 5.28 and synchronize Tizen 2.4's bluez 07/40707/2
DoHyun Pyun [Mon, 8 Jun 2015 08:17:10 +0000 (17:17 +0900)]
Upgrade Bluez 5.28 and synchronize Tizen 2.4's bluez

Change-Id: Ifaf2154ba0ab19b180946e0d92f1817a1d9ed839
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoChange SmackExecLabel to SmackProcessLabel 97/40397/1 tizen_3.0.2015.q2_common accepted/tizen/common/20150604.131151 submit/tizen_common/20150603.000219 submit/tizen_mobile/20150603.102835 submit/tizen_tv/20150603.102841 submit/tizen_wearable/20150603.102850
Maciej Wereski [Fri, 24 Apr 2015 11:45:23 +0000 (13:45 +0200)]
Change SmackExecLabel to SmackProcessLabel

Since systemd v219 Tizen-specific SmackExecLabel option was dropped in
favour of SmackProcessLabel option from upstream.

Change-Id: I7f8d48c52ad2e975400adfe5f356188aa551a842
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
9 years agoEnable to build arm 64bit 91/37491/2 accepted/tizen/common/20150521.125355 accepted/tizen/mobile/20150427.052122 accepted/tizen/mobile/20150505.044756 accepted/tizen/tv/20150505.044050 submit/tizen_common/20150520.888882 submit/tizen_mobile/20150401.025613 submit/tizen_mobile/20150427.013555 submit/tizen_mobile/20150504.080911 submit/tizen_tv/20150401.025622 submit/tizen_tv/20150504.080906 submit/tizen_wearable/20150401.025628
seungku kim [Mon, 30 Mar 2015 02:12:34 +0000 (11:12 +0900)]
Enable to build arm 64bit

Change-Id: I19ad806b9da3bd445a70b5c2559802703b75e7c0

9 years agoTizen 3.0: Fix issues in the merged code 85/36885/6
Sudha Bheemanna [Mon, 16 Mar 2015 14:04:55 +0000 (19:34 +0530)]
Tizen 3.0: Fix issues in the merged code

Fixed issues in the merged code found during testing.
Removed unwanted files.

Change-Id: I978bd815bd5f52b4e1431c85750b502dcb31bd96
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
9 years agoApplied bluez patches present in Tizen branch. The following patches have been applied : 01/35601/1
Abhinav Kumar [Thu, 19 Feb 2015 04:15:59 +0000 (09:45 +0530)]
Applied bluez patches present in Tizen branch. The following patches have been applied :

1> bluetooth player: add searchable value to show cmd
2> add property connected for input device
3> core/service: Add btd_service_get_version
4> core/profile: Add version information to btd_profile
5> core/service: Add btd_service_set_auto_connect
6> core/service: Add btd_service_get_auto_connect
7> core/device: Use service auto_connect flag
8> profiles: Add missing local_uuid
9> core/service: Add btd_service_set_blocked
10> core/service: Add btd_service_is_blocked
11> core/profile: Add authorization UUID information to btd_profile
12> core/device: Add device_is_service_blocked
13> core/adapter: Check if service is blocked before authorizing
14> plugins: Add initial code for service plugin
15> plugins/service: Add initial code
16> Fix bluetoothd core dumped if disable bt tethering
17> Fix Security Static Code Analysis
18> Add param fd into authorize service
19> Modify the param of authorize service
20> Fix the remaining Security Static Code Analysis
21> Fix the length of string
22> Fix the remaining Security Static Code Analysis

Change-Id: I3191182d850b1252248de76d4bd8f70768230b93

9 years agoChanges for successful build after porting of Tizen 2.4 code 00/35600/1
Abhinav Kumar [Wed, 18 Feb 2015 13:16:18 +0000 (18:46 +0530)]
Changes for successful build after porting of Tizen 2.4 code

1> Copied Tizen 2.4 code in tizen branch.
2> Made changes to spec file for successful build. Also added a new file .gbs.conf.

Change-Id: I6e479759454c1978e68340a0f3541fb66b437044

9 years agoFix the Security Static Code Analysis - set the length 14/33814/1 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0_ivi accepted/tizen/common/20150115.110041 accepted/tizen/ivi/20150116.003606 accepted/tizen/mobile/20150116.011331 accepted/tizen/tv/20150116.010710 accepted/tizen/wearable/20150116.010409 submit/accepted/tizen_common/20150115.102016 submit/accepted/tizen_common/20150115.102032 submit/accepted/tizen_common/20150115.102428 submit/accepted/tizen_common/20150115.102714 submit/tizen/20150115.102847 submit/tizen/20150115.103005 tizen_3.0_ivi_release
wu zheng [Thu, 15 Jan 2015 09:42:17 +0000 (17:42 +0800)]
Fix the Security Static Code Analysis - set the length

Fix null terminated issues need to set length+1.

Change-Id: I239c424dc47d6578f2d5845aeff1e88821fd5ff2
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoFix the error array value overflow 99/33799/1 submit/accepted/tizen_common/20150115.053946 submit/tizen/20150115.100801
wu zheng [Thu, 15 Jan 2015 05:23:24 +0000 (13:23 +0800)]
Fix the error array value overflow

The array value overflow in the print function of hcitool.c.
Fix it.

Change-Id: Ic920df935cffc1a4d192244adaaa86ec68fcd203
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoFix the remaining Security Static Code Analysis 28/33728/1 accepted/tizen/common/20150114.145919 accepted/tizen/ivi/20150115.062849 accepted/tizen/mobile/20150115.021557 accepted/tizen/tv/20150115.004531 accepted/tizen/wearable/20150115.004810 submit/tizen/20150114.083556
wu zheng [Wed, 14 Jan 2015 08:20:30 +0000 (16:20 +0800)]
Fix the remaining Security Static Code Analysis

the latest item of array need to be set to 0.

Change-Id: Ibd2ed22830101a664545a949579423f59aa5517c
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoMerge "Fix the length of string" into tizen submit/tizen/20150114.072658
wu zheng [Wed, 14 Jan 2015 07:25:38 +0000 (23:25 -0800)]
Merge "Fix the length of string" into tizen

9 years agoFix the length of string 22/33722/1
wu zheng [Wed, 14 Jan 2015 07:13:47 +0000 (15:13 +0800)]
Fix the length of string

When string is char *, the length need to be set.

Change-Id: I8659442afe939af56ca0fe224cf145012197e8ba
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoMerge "Fix the remaining Security Static Code Analysis" into tizen submit/tizen/20150114.072143
wu zheng [Wed, 14 Jan 2015 07:09:04 +0000 (23:09 -0800)]
Merge "Fix the remaining Security Static Code Analysis" into tizen

9 years agoFix the remaining Security Static Code Analysis 21/33721/1
wu zheng [Wed, 14 Jan 2015 06:59:23 +0000 (14:59 +0800)]
Fix the remaining Security Static Code Analysis

Fix Bug-Tizen: TC-2072

Change-Id: I05bded3b341d718a5d44950923dd7fcc30a520c2
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoRevert "core: Fix unnecessary calls to agent_cancel()" 11/33711/2
Luiz Augusto von Dentz [Tue, 28 Oct 2014 11:31:26 +0000 (13:31 +0200)]
Revert "core: Fix unnecessary calls to agent_cancel()"

agent_cancel calls are necessary since agent_unref only call it in case
the last reference is dropped.

Taken from upstream:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=a67b0480a2c45b0d11e4db4142fc95fb36287dda

Change-Id: Ie50bc59bdb33ea7e711c4ae244c7dcf8c83c0b47
Signed-off-by: Changlong Xie <changlongx.xie@intel.com>
9 years agoobexd/client: Add support for MAP Event Report 1.1 48/32948/1 accepted/tizen/common/20150106.082126 accepted/tizen/ivi/20150112.091102 accepted/tizen/mobile/20150106.115704 accepted/tizen/tv/20150106.115522 accepted/tizen/wearable/20150106.115554 submit/tizen/20150105.030815
Gowtham Anandha Babu [Tue, 30 Dec 2014 14:26:57 +0000 (19:56 +0530)]
obexd/client: Add support for MAP Event Report 1.1

This adds support for Event Report 1.1 of MAP 1.2 which includes the
following atributes: Subject, datetime, sender_name, priority.

Adds null check for event values and fix leaking memory on event attributes.

Taken from upstream:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=bb57098100a9f47b1a0f6e2be8aa0a85a2d33384
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=60ebd27931f2f9241e1ddad521af36c0ed991524
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=7e03d3d92f726176718d855b771c95702726014c

Change-Id: If007c3fb03cfc36295e7424e6585f96b4a09010f

9 years agoobexd: Fix the double check for agent 37/32237/1
Gowtham Anandha Babu [Wed, 17 Dec 2014 05:55:49 +0000 (11:25 +0530)]
obexd: Fix the double check for agent

Removes the check for NULL agent.

Git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cf5361615e4bf2468fe963f690b2c398071e215f

Change-Id: I5c0ab31c1b36de6007cb01ffe688aeafb4c6cebf

9 years agoobexd/client/map: Check msg value is valid 34/32234/1
Gowtham Anandha Babu [Wed, 17 Dec 2014 05:48:50 +0000 (11:18 +0530)]
obexd/client/map: Check msg value is valid

Checks for NULL value before passing to the callback.

Git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=621861cd84d6f4522b35b16b10a347e733808dda

Change-Id: I8927ea737cca05e8025b3d987e7557d259b58027

9 years agotools/sdptool: Add support for MAP service 88/32088/1
Gowtham Anandha Babu [Mon, 15 Dec 2014 13:26:59 +0000 (18:56 +0530)]
tools/sdptool: Add support for MAP service

Add support for MAP service in local SDP server.

The MAP MAS record captured in local SDP server:

Service Name: OBEX Message Access Server
Service RecHandle: 0x1000e
Service Class ID List:
  "Message Access - MAS" (0x1132)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 17
  "OBEX" (0x0008)
Profile Descriptor List:
  "Message Access" (0x1134)
    Version: 0x0100

Now we are able to do sdptool search/add/del/get
for MAP service.

upstream git link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=fce2b49e318a88ab875028561c47e7563d46523e

Change-Id: Ia8251c956d1f7c5176a1ccca6b8409946a0952d4

9 years agoModify the param of authorize service 32/31932/1 accepted/tizen/common/20141218.123503 accepted/tizen/ivi/20141220.084236 accepted/tizen/mobile/20141221.092610 accepted/tizen/tv/20141219.005448 accepted/tizen/wearable/20141221.092543 submit/tizen/20141215.054609
wu zheng [Fri, 12 Dec 2014 09:08:50 +0000 (17:08 +0800)]
Modify the param of authorize service

NTB need to match the current of Bluetooth-Frwk.
Therefore, the param of authorize service is modified.
The test program need to be modified too.

Change-Id: I0d6a17d27f800bbbc112e40c1d113c4907b162dc
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agotools/hciattach: Fix syntax error 17/31617/1 accepted/tizen/common/20141209.075734 accepted/tizen/mobile/20141216.074917 accepted/tizen/tv/20141210.193138 accepted/tizen/wearable/20141210.135901 submit/tizen/20141209.051932
Gowtham Anandha Babu [Mon, 8 Dec 2014 05:39:45 +0000 (11:09 +0530)]
tools/hciattach: Fix syntax error

This error may not be shown during normal compilation, because of
ifdef. Fixed the same.

Change-Id: I7cafed0387c43caecf6bbb866283c13954a1bac8

9 years agotools/csr_usb: Fix resource leak 46/31546/1
Gowtham Anandha Babu [Fri, 5 Dec 2014 13:56:28 +0000 (19:26 +0530)]
tools/csr_usb: Fix resource leak

File opened with fopen() should be
closed by fclose().

Change-Id: I35b96e4087c0a51c6027bd6236543915039d7ebb

9 years agoobexd/client: Fix crash while disconnecting 56/31256/1 accepted/tizen/common/20141205.181642 accepted/tizen/mobile/20141208.023444 submit/tizen/20141204.061729
wu zheng [Wed, 3 Dec 2014 09:45:34 +0000 (17:45 +0800)]
obexd/client: Fix crash while disconnecting

In case the transport is disconnected while disconnect command is pending
the session is freed on disconnect_complete but disconnect callback is
still valid causing the following crash:

Invalid read of size 4
at 0x42682A: obc_session_ref (session.c:132)
by 0x42797B: obc_session_shutdown (session.c:580)
by 0x4139DA: incoming_data (gobex.c:1406)
by 0x59712A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x40D78C: main (main.c:320)
Address 0x728d814 is 4 bytes inside a block of size 120 free'd
at 0x4C28577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x5976F7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4134B9: handle_response (gobex.c:1129)
by 0x4139BD: incoming_data (gobex.c:1403)
by 0x59712A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x40D78C: main (main.c:320)

The patch comes from upstream:
commit ID 765fc36308c8d806a597bb9eae13bdff82e081d8

Change-Id: Id2abc28533d6312c791ec8b9880a4073db529e31
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoMerge "Fix Security Static Code Analysis Bug-Tizen: TC-2072" into tizen accepted/tizen/common/20141124.170312 accepted/tizen/ivi/20141204.033203 accepted/tizen/mobile/20141128.101138 submit/tizen/20141124.114031 submit/tizen_ivi/20141201.222222
wu zheng [Mon, 24 Nov 2014 11:37:46 +0000 (03:37 -0800)]
Merge "Fix Security Static Code Analysis Bug-Tizen: TC-2072" into tizen

9 years agoAdd param fd into authorize service 84/30684/1
Gu Chaojie [Tue, 1 Jul 2014 02:51:59 +0000 (10:51 +0800)]
Add param fd into authorize service

Change-Id: I138b1a9f1e8fca2530d443d461d961a13727bafa
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoFix Security Static Code Analysis 61/30561/2
Gu Chaojie [Sat, 22 Nov 2014 01:12:51 +0000 (09:12 +0800)]
Fix Security Static Code Analysis
Bug-Tizen: TC-2072

Change-Id: I7e92d05aca928992f185e402d6b3fffd0419584c
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoFix bluetoothd core dumped if disable bt tethering. 75/29975/1 accepted/tizen/common/20141107.142341 accepted/tizen/ivi/20141112.024246 submit/tizen/20141107.030536 submit/tizen_mobile/20141120.000000
wu zheng [Thu, 6 Nov 2014 09:54:26 +0000 (17:54 +0800)]
Fix bluetoothd core dumped if disable bt tethering.

If the remote device connected with the current device
and the connection is tethering,
disable bt tethering in the current device,
it results in bluetoothd core dumped.

The related values aren't protected, it results in it.
The patch fixed the issue of TC-1988.

Change-Id: I7ae5d80712c4d9626602e011f9f66ccb992629b4
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoEnable GENIVI service plugin API accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi protex_M14.4 sandbox/mythi/devel tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi accepted/tizen/common/20140930.092521 accepted/tizen/ivi/20141001.180631 submit/tizen/20140930.034120 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
Mikko Ylinen [Tue, 23 Sep 2014 18:53:12 +0000 (21:53 +0300)]
Enable GENIVI service plugin API

A separate service API is needed by GENIVI compliance. This patch
enables it. However, install it to a separate plugins library.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
9 years agoplugins/service: Add Blocked property
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:46:18 +0000 (14:46 +0200)]
plugins/service: Add Blocked property

9 years agoplugins/service: Add AutoConnect property
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:56:41 +0000 (16:56 +0200)]
plugins/service: Add AutoConnect property

9 years agoplugins/service: Add Version property
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:04:32 +0000 (16:04 +0200)]
plugins/service: Add Version property

9 years agoplugins/service: Add Device property
Luiz Augusto von Dentz [Tue, 28 Jan 2014 17:43:53 +0000 (09:43 -0800)]
plugins/service: Add Device property

9 years agoplugins/service: Add implemention of .Disconnect method
Luiz Augusto von Dentz [Mon, 6 Jan 2014 15:11:43 +0000 (17:11 +0200)]
plugins/service: Add implemention of .Disconnect method

9 years agoplugins/service: Add implemention of .Connect method
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:59:36 +0000 (16:59 +0200)]
plugins/service: Add implemention of .Connect method

9 years agoplugins/service: Add LocalUUID property
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:19:39 +0000 (16:19 +0200)]
plugins/service: Add LocalUUID property

9 years agoplugins/service: Add RemoteUUID property
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:13:49 +0000 (16:13 +0200)]
plugins/service: Add RemoteUUID property

9 years agoplugins/service: Add State property
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:02:27 +0000 (16:02 +0200)]
plugins/service: Add State property

9 years agoplugins/service: Add initial code
Luiz Augusto von Dentz [Sun, 5 Jan 2014 17:08:29 +0000 (19:08 +0200)]
plugins/service: Add initial code

Add initial code that creates service objects data.

9 years agoplugins: Add initial code for service plugin
Luiz Augusto von Dentz [Sun, 5 Jan 2014 16:02:56 +0000 (18:02 +0200)]
plugins: Add initial code for service plugin

This plugin will be used to control services individually.

9 years agocore/adapter: Check if service is blocked before authorizing
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:39:35 +0000 (14:39 +0200)]
core/adapter: Check if service is blocked before authorizing

This add a call to device_is_service_blocked before authorizing a
connection.

9 years agocore/device: Add device_is_service_blocked
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:37:20 +0000 (14:37 +0200)]
core/device: Add device_is_service_blocked

This adds device_is_service_blocked which can be used to check if a
service is currently blocked.

9 years agocore/profile: Add authorization UUID information to btd_profile
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:15:33 +0000 (14:15 +0200)]
core/profile: Add authorization UUID information to btd_profile

This is necessary since some profiles may use different UUID for
authorization.

9 years agocore/service: Add btd_service_is_blocked
Luiz Augusto von Dentz [Sat, 8 Feb 2014 11:52:45 +0000 (13:52 +0200)]
core/service: Add btd_service_is_blocked

9 years agocore/service: Add btd_service_set_blocked
Luiz Augusto von Dentz [Sat, 8 Feb 2014 11:49:50 +0000 (13:49 +0200)]
core/service: Add btd_service_set_blocked

9 years agoprofiles: Add missing local_uuid
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:56:22 +0000 (15:56 +0200)]
profiles: Add missing local_uuid

9 years agocore/device: Use service auto_connect flag
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:28:36 +0000 (16:28 +0200)]
core/device: Use service auto_connect flag

This make use of service auto_connect flag to determine if the service
should be included in the list to be connected.

9 years agocore/service: Add btd_service_get_auto_connect
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:28:08 +0000 (16:28 +0200)]
core/service: Add btd_service_get_auto_connect

9 years agocore/service: Add btd_service_set_auto_connect
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:24:53 +0000 (16:24 +0200)]
core/service: Add btd_service_set_auto_connect

9 years agocore/service: Return required version in btd_service_get_version
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:42:51 +0000 (15:42 +0200)]
core/service: Return required version in btd_service_get_version

This makes btd_service_get_version check both local and remote version
and return the required version that the service should operate.

9 years agocore/profile: Add version information to btd_profile
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:40:06 +0000 (15:40 +0200)]
core/profile: Add version information to btd_profile

9 years agocore/service: Add btd_service_get_version
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:23:52 +0000 (15:23 +0200)]
core/service: Add btd_service_get_version

This adds btd_service_get_version which can be use to query service
version.

9 years agocore: Make device_get_path public
Luiz Augusto von Dentz [Mon, 6 Jan 2014 09:38:37 +0000 (11:38 +0200)]
core: Make device_get_path public

This renames device_get_path to btd_device_get_path so external plugin
can use of it as well.

9 years agofix obex systemd service to support multiuser 15/26215/2 accepted/tizen/ivi/20140902.081022 submit/tizen/20140822.031654
tony [Tue, 19 Aug 2014 09:01:52 +0000 (17:01 +0800)]
fix obex systemd service to support multiuser

This created obex root directory before runing obexd
if the directory does not exist.
Adding a shell script to handle this.

Bug-Tizen: TC-1436

Change-Id: I84d678b738c1ebca8966f4bbe123004a4d38e9bb
Signed-off-by: chunqiangx <chunqiangx.tang@intel.com>
9 years agofix obex systemd service to support multiuser 74/25474/1
Corentin Lecouvey [Tue, 5 Aug 2014 14:46:44 +0000 (16:46 +0200)]
fix obex systemd service to support multiuser

This allows to run an obexd daemon per user and set obex root directory
according to home user directory.

Bug-Tizen: TC-1436

Change-Id: I3c7c1da11269bd3d7ab2502e49a370e24588de3a
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoadd NAP network disconnect signal 77/23177/1
Gu Chaojie [Thu, 19 Jun 2014 02:02:53 +0000 (10:02 +0800)]
add NAP network disconnect signal

Change-Id: Ib869d38a192d9848581940538c91e8ede881d135
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoadd input connect signal 48/22748/2 tizen_3.0.m14.2_ivi accepted/tizen/ivi/20140623.084947 submit/tizen/20140613.101940 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140618.000002 submit/tizen_ivi/20140618.000003 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000 submit/tizen_ivi/20140623.000000 tizen_3.0.m14.2_ivi_release
Gu Chaojie [Wed, 11 Jun 2014 08:13:44 +0000 (16:13 +0800)]
add input connect signal

Change-Id: Ife36b2531a588ff458f39fdffcdead52e745109a
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoAdd NAP network signal accepted/tizen/ivi/20140613.100145 submit/tizen/20140610.094033
wu zheng [Tue, 10 Jun 2014 07:58:10 +0000 (03:58 -0400)]
Add NAP network signal

The patch exists in the bluez-5.12 tizen version.
Bluetooth-Frwk need the signal to notify the upper app.

Change-Id: I584a80c7d3970e6e85f3f143a861ae2ca559057f
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoadd property connected for input device 93/22593/1 submit/tizen/20140610.073017
Gu Chaojie [Mon, 9 Jun 2014 06:26:29 +0000 (14:26 +0800)]
add property connected for input device

Change-Id: I2bf22547f81e9a832861e31435d32297e87d4f89
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoprofiles/audio: Fix propagation of EHOSTDOWN error 41/22541/1 submit/tizen/20140606.095742
Andrzej Kaczmarek [Wed, 4 Jun 2014 15:14:45 +0000 (17:14 +0200)]
profiles/audio: Fix propagation of EHOSTDOWN error

EHOSTDOWN error is now overwritten by EIO and once it's passed to
device_profile_connected it triggers connection of another profiles
while it should actually stop connecting them.

Change-Id: I2a2f802c582214170f7a2c8d89a550c72d07efab
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agocore: Fix cleaning pending services when ACL connection failed 40/22540/1
Andrzej Kaczmarek [Wed, 4 Jun 2014 15:14:44 +0000 (17:14 +0200)]
core: Fix cleaning pending services when ACL connection failed

In case ACL connection failed to establish, all pending services shall
be always removed. At the moment it's only done in case there's pending
Connect message which does not take into account reconnect scenario,
i.e. service connection was triggered by reconnection timeout and there
is no pending message.

In such case, when reconnection failed there will be some services on
pending list and subsequent reconnect attempts will fail with EBUSY
immediately.

Change-Id: I785bd791c8623a4452310d410e3dbb524e9976ec
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agopackaging: Add gatttool to bluez-test 38/22538/1
Sebastian Chlad [Thu, 5 Jun 2014 14:08:35 +0000 (16:08 +0200)]
packaging: Add gatttool to bluez-test

Change-Id: Ibb1714c7b774e106deaffcc3d08e3ccdda9f8493
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agopackaging: Add bluemoon to bluez.spec submit/tizen/20140605.113613
Sebastian Chlad [Tue, 27 May 2014 12:22:08 +0000 (14:22 +0200)]
packaging: Add bluemoon to bluez.spec

9 years agoUpdate BlueZ version to 5.19
Sebastian Chlad [Tue, 27 May 2014 10:06:14 +0000 (12:06 +0200)]
Update BlueZ version to 5.19

9 years ago[Bluez] enable bluez for mobile environment
seungku kim [Fri, 28 Mar 2014 06:17:11 +0000 (15:17 +0900)]
[Bluez] enable bluez for mobile environment

1. BROADCOM patchs are applied.
2. hciconfig, hciattach, hcitool, hcidump are changed.

Change-Id: Ia8944ec576830308212b6d7a637152042a9be931
Signed-off-by: seungku kim <seungku.kim@samsung.com>
9 years agoMulti-user compliance
Kévin THIERRY [Tue, 14 Jan 2014 09:40:18 +0000 (10:40 +0100)]
Multi-user compliance

Also update Group Tags and clean spec file.

Bug-Tizen: PTREL-391
Change-Id: Ibe889ab85cde4ecd3be7bb11f348d84df0b8ad81
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
9 years agobluetooth player: check CT for searchable value
Sebastian Chlad [Mon, 20 Jan 2014 11:18:18 +0000 (13:18 +0200)]
bluetooth player: check CT for searchable value

Temporary patch as this should be upstreamed. Simple check for searchable
value of the CT side (AVRCP profile)

Change-Id: Ida1ce01cec3c97e46cc7e6817a70b7fce5f6c3d6
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agobluetooth player: add searchable value to show cmd
Sebastian Chlad [Mon, 20 Jan 2014 09:03:15 +0000 (11:03 +0200)]
bluetooth player: add searchable value to show cmd

Temporary patch as this should be upstreamed. Allows simple check
of the search function for the client of the bluetooth-player

Change-Id: I7cfd678c012721ddc793bfd993241d7cdf66e492
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agoAdd the SmackExecLabel=User to allow rw for userspace apps
Michael Demeter [Tue, 14 Jan 2014 19:07:35 +0000 (11:07 -0800)]
Add the SmackExecLabel=User to allow rw for userspace apps

Change manifest to reflect the User label

Change-Id: Ifa16c42fec7da3702c0b9201545df803d463400e
Signed-off-by: Michael Demeter <michael.demeter@intel.com>
9 years agopackaging: add scotest to bluez-test package
Sebastian Chlad [Fri, 10 Jan 2014 13:08:51 +0000 (15:08 +0200)]
packaging: add scotest to bluez-test package

Change-Id: I56c46c6a9302eb5c61eda92c16f382f6a5249632
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agopackaging: add btmgmt to bluez-test package
Sebastian Chlad [Wed, 8 Jan 2014 13:53:41 +0000 (15:53 +0200)]
packaging: add btmgmt to bluez-test package

Change-Id: Ibf51bcb005a1bc15bbeb420e1708d8151401c37e
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agochange dbus policy to allow app user retrieves BT adapter
Corentin Lecouvey [Wed, 18 Dec 2013 15:57:19 +0000 (16:57 +0100)]
change dbus policy to allow app user retrieves BT adapter

According to bluetooth-frwk, app user needs permission to connect to org.bluez
and access to org.freedesktop.DBus.ObjectManager interface in order to retrieve
bluetooth adapter.

relates to TIVI-2064

Change-Id: Ia72bb55794b97b69b5a32acfb69d6d3b48aeab57
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
9 years agoSetting System label on systemfile object
Sebastian Chlad [Tue, 17 Dec 2013 08:52:28 +0000 (10:52 +0200)]
Setting System label on systemfile object

SMACK requires explicite System label being assigned to:
/var/lib/bluetooth

Change-Id: I0a3077086447e6021e40c205bfeb1ab617051525
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agoUpgrade bluez to 5.12
Wu Zheng [Thu, 12 Dec 2013 09:54:45 +0000 (04:54 -0500)]
Upgrade bluez to 5.12

9 years agoRemoving unused interfaces from config
Sebastian [Tue, 10 Dec 2013 10:06:27 +0000 (12:06 +0200)]
Removing unused interfaces from config

BlueZ 5.x make use of ObjectManager thus config should adhere to
this approach

Change-Id: If3c600a8b301990f11b4a60ea71c59e9c5e1864e
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agoEnable experimental interfaces to active AVRCP
Wu Zheng [Tue, 3 Dec 2013 02:29:38 +0000 (21:29 -0500)]
Enable experimental interfaces to active AVRCP

Only after Enable experimental interfaces,
AVRCP interfaces can be used.

For fixing TIVI-2242, TIVI-869 TIVI-868 TIVI-867 TIVI-866,
experimental interfaces will be enabled in Bluez.

Change-Id: I506217775db538e27b19d9a4abfba136cf4634ae

9 years agospec: install new tool obexctl
Philippe Coval [Wed, 27 Nov 2013 14:56:39 +0000 (15:56 +0100)]
spec: install new tool obexctl

Change-Id: Ieb25b93a40ba12879a158f16c97bcee758aba3dc
Signed-off-by: Philippe Coval <philippe.coval@eurogiciel.fr>
9 years agoAdd the AVRCP and BTIO Bluez test program
Wu Zheng [Wed, 27 Nov 2013 06:28:28 +0000 (01:28 -0500)]
Add the AVRCP and BTIO Bluez test program

Change-Id: I6962c90daa4aecc07bdd349ef1f7662893cff132

9 years agoTIVI-2158: setting-up proper obex serivce
Sebastian [Wed, 27 Nov 2013 09:24:22 +0000 (11:24 +0200)]
TIVI-2158: setting-up proper obex serivce

Required for starting obexd on demand

Change-Id: Icbf146a5534e71c701a124ecf53334be346950b7
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
9 years agoModify Bluez version to 5.11 in bluez.spec
Wu Zheng [Wed, 27 Nov 2013 02:46:26 +0000 (21:46 -0500)]
Modify Bluez version to 5.11 in bluez.spec

Change-Id: Ida624ac67a7c7f13678f08f5a10438f8c61f2bda

9 years agoPTREL-402: Fix build for x64 arch : Remove harcoded path
Jean-Benoit MARTIN [Fri, 15 Nov 2013 13:14:17 +0000 (14:14 +0100)]
PTREL-402: Fix build for x64 arch : Remove harcoded path

Change-Id: Ie87d2eb3b52c293011102d495b7d6c0f4cfd3596
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@eurogiciel.fr>
9 years agoAdd TIZEN obexd config packaging files
Wu zheng [Wed, 23 Oct 2013 03:21:09 +0000 (11:21 +0800)]
Add TIZEN obexd config packaging files

Change-Id: I728cba544250f713c1b45968cc4a5732b14d35c2

9 years agoAdd the Tizen2.2 related PBAP patches
Wu zheng [Wed, 23 Oct 2013 03:19:30 +0000 (11:19 +0800)]
Add the Tizen2.2 related PBAP patches

Change-Id: I75959b997d3c6f02cadb3a3a9581955c9012ce0b

9 years agoAdd the map related patches to Bluez5.X
Wu zheng [Wed, 23 Oct 2013 03:18:32 +0000 (11:18 +0800)]
Add the map related patches to Bluez5.X

MAP need to be supported in Bluez5.X of Tizen.
Bluez4.X MAP idea is following in Bluez5.X.

Therefore, add the all map related patches

Change-Id: I9065230891df24441bf06d535bdaa566d7813263

9 years agoAdd extended obex transfer properties
Wu zheng [Wed, 23 Oct 2013 03:16:12 +0000 (11:16 +0800)]
Add extended obex transfer properties

Change-Id: I03fd1af2c96f4c4554b3b5a2d449ac1bad2fe44c

9 years agoStop and clear the pending transfers in a session if a transfer fails
Wu zheng [Wed, 23 Oct 2013 03:15:31 +0000 (11:15 +0800)]
Stop and clear the pending transfers in a session if a transfer fails

Change-Id: If693de59dada292deffee2dc19019dbbf802ab48

9 years agoTIZEN DBUS configure file
Wu zheng [Wed, 23 Oct 2013 03:14:52 +0000 (11:14 +0800)]
TIZEN DBUS configure file

Change-Id: I19cd4c19dcbe14d3f022378da1a40e7668b70d35

9 years agoUsing TIZEN driver to get/put phonebook in pbap
Wu zheng [Wed, 23 Oct 2013 03:14:09 +0000 (11:14 +0800)]
Using TIZEN driver to get/put phonebook in pbap

Change-Id: I68fa59d0f497a7f0897b34ab390a9a9ad9aea605

9 years agoAdd new functions to phonebook TIZEN driver to control phonebook
Wu zheng [Wed, 23 Oct 2013 03:13:22 +0000 (11:13 +0800)]
Add new functions to phonebook TIZEN driver to control phonebook

Change-Id: I68e83b4642a2484b79688a68b2eb65f156843311

9 years agoAdd phonebook TIZEN driver
Wu zheng [Wed, 23 Oct 2013 03:12:41 +0000 (11:12 +0800)]
Add phonebook TIZEN driver

Change-Id: Ica8125ccf9def4ae26fe322488bdf100e64ba4d8

9 years agoAdd set root folder function
Wu zheng [Wed, 23 Oct 2013 03:12:04 +0000 (11:12 +0800)]
Add set root folder function

Change-Id: Ib3e179d7b8a7b602ea9560e036c77495da9e9d34

9 years agoUsing TIZEN driver to control messages
Wu zheng [Wed, 23 Oct 2013 03:11:11 +0000 (11:11 +0800)]
Using TIZEN driver to control messages

Change-Id: Ie9c581243d31315137002a3ea767bfdfd4906046

9 years agoAdd messages TIZEN driver
Wu zheng [Wed, 23 Oct 2013 03:10:20 +0000 (11:10 +0800)]
Add messages TIZEN driver

Change-Id: I9404203308571f1d03527afd345d0112d6e973be

9 years agoModify the dbus rules to access the bluetoothd
Wu zheng [Wed, 23 Oct 2013 03:07:48 +0000 (11:07 +0800)]
Modify the dbus rules to access the bluetoothd

Author: DoHyun Pyun <dh79.pyun@samsung.com>

We should allow to access only about the permitted user or interface

Change-Id: I826f25c466962325721f6734a4d4d7706ba3a651