platform/upstream/bluez.git
7 years agoClean up the previous build result for re-configuration 46/140246/1 submit/tizen/20170724.081454 submit/tizen/20170725.090318
DoHyun Pyun [Mon, 24 Jul 2017 08:00:55 +0000 (17:00 +0900)]
Clean up the previous build result for re-configuration

Change-Id: I113814cd46c1249e93594d110d135da3b451d6ec
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the bluez extension packages for BREDR / LE only mode 14/140114/1 submit/tizen/20170724.025554
DoHyun Pyun [Mon, 24 Jul 2017 02:31:55 +0000 (11:31 +0900)]
Add the bluez extension packages for BREDR / LE only mode

Without extension package bluetoothd will be installed for normal
mode. So there is no side effect to the original image.

Change-Id: I2e649c8e170248506dfd0b9547ffe3f6b658bb76
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[GATT Client] Deliver ATT error code to higher layer 75/139375/3 accepted/tizen/unified/20170721.201844 submit/tizen/20170721.013619
Gowtham Anandha Babu [Tue, 18 Jul 2017 13:25:08 +0000 (18:55 +0530)]
[GATT Client] Deliver ATT error code to higher layer

[Problem] ATT error code is not passed to application.

[Cause & Measure] GATT application need to know ATT
error code to handling error case. Specially application
error code defined by a higher layer specification.

[Checking Method] GATT error handling

Change-Id: I6b8b689866f630fd40acbc822ca215807534ee60
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoMerge "Modify the generated file permission to 0644" into tizen accepted/tizen/unified/20170721.024500 submit/tizen/20170719.005005
DoHyun Pyun [Tue, 18 Jul 2017 02:36:02 +0000 (02:36 +0000)]
Merge "Modify the generated file permission to 0644" into tizen

7 years agoModify the generated file permission to 0644 60/139060/1
DoHyun Pyun [Mon, 17 Jul 2017 06:11:14 +0000 (15:11 +0900)]
Modify the generated file permission to 0644

Tizen will handle the access permission to the file
using group and privilege.

Change-Id: I7ea181fa92cff5d0489503eed62f9ed593ffd1b6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[OTP] Handle CCC Improperly Configured ATT ecode 69/138969/1
Gowtham Anandha Babu [Fri, 14 Jul 2017 12:05:00 +0000 (17:35 +0530)]
[OTP] Handle CCC Improperly Configured ATT ecode

Change-Id: Ic3519eade6c8108d7ee28dcb6a557a1db60113ea
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoRemove libbluetooth-extension-TM1 package 06/138606/2 accepted/tizen/unified/20170713.153738 submit/tizen/20170713.052302
DoHyun Pyun [Thu, 13 Jul 2017 02:41:43 +0000 (11:41 +0900)]
Remove libbluetooth-extension-TM1 package

This patchset handles TM1 extension functionality such as
QoS control at the runtime. So don't need to use other package.

Change-Id: I9f2b4a3006046a6f05c0ec662e9ce146d5db6abd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the AVRCP SetAbsoluteVolume handler 68/136768/7
Hyuk Lee [Mon, 3 Jul 2017 06:28:17 +0000 (15:28 +0900)]
Add the AVRCP SetAbsoluteVolume handler

Change-Id: I5d8d770c3c155bfb3b7e2369afe4d9fe14b9e68e
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoThe BCM43438 on the Rpi3 needs a delay after firmware download. 12/135412/1 accepted/tizen/unified/20170711.180531 submit/tizen/20170710.052629
Hackseung [Thu, 22 Jun 2017 07:47:11 +0000 (16:47 +0900)]
The BCM43438 on the Rpi3 needs a delay after firmware download.
Followed the Tizen's coding style.
Thanks for reminder.

Change-Id: If89df08fbd5d1fe0744e7d6b2eb0b4f63e799212

7 years agoFix dbus error in GATT read/write request 95/134095/2
Gowtham Anandha Babu [Wed, 14 Jun 2017 12:11:54 +0000 (17:41 +0530)]
Fix dbus error in GATT read/write request

The below error is captured on bt-frwk.
Error : GDBus.Error:org.bluez.Error.Failed: Error return with body of type '(sy)':

Bluez sends the reply in (sy). But what we want is only att_ecode.
After fix, the application will get the proper att_ecode for
GATT read/write request.

Change-Id: Ib6abf0acd44fa70740913308b2d9748e34f39fab
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoAdd the EV_ABS key for AVRCP 33/134033/1
Hyuk Lee [Wed, 14 Jun 2017 08:41:25 +0000 (17:41 +0900)]
Add the EV_ABS key for AVRCP

Change-Id: Iad4cb4f268f6044efa4b983ab9df68f7cc27354c
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoModify the uid and gid of obexd to network_fw 70/131570/2 accepted/tizen/unified/20170613.194443 submit/tizen/20170613.061600
DoHyun Pyun [Tue, 30 May 2017 05:18:36 +0000 (14:18 +0900)]
Modify the uid and gid of obexd to network_fw

The uid of tizen's bt-service will be changed to network_fw from owner.
'network_fw' is a no app user, so it can't use the session bus connection.
Because of this, tizen obexd's dbus connection also change to system bus.

Change-Id: I73f66e8a451a2b3b62c9f03a8468b824813d8767
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[OTP] Fix sending OtcDisconnected signal 19/131519/1
Gowtham Anandha Babu [Mon, 29 May 2017 13:19:21 +0000 (18:49 +0530)]
[OTP] Fix sending OtcDisconnected signal

Change-Id: Ia68dbecf8ca0acf9422a5b5d6b7318b8fa864f0b
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoMerge "[OTP] Add support for Object Transfer Channel" into tizen
Pyun DoHyun [Mon, 29 May 2017 03:45:59 +0000 (03:45 +0000)]
Merge "[OTP] Add support for Object Transfer Channel" into tizen

7 years ago[Gatt-Client]: Fix Notification callback issue. 07/130907/2
h.sandeep [Wed, 24 May 2017 22:35:39 +0000 (04:05 +0530)]
[Gatt-Client]: Fix Notification callback issue.

This patch fixes the notification callback issue
when gatt client clone logic is used.

Change-Id: I2f15256ab27dd401d93bdb49ae16199fed00bff5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years ago[OTP] Add support for Object Transfer Channel 77/130877/2
Gowtham Anandha Babu [Wed, 24 May 2017 08:04:58 +0000 (13:34 +0530)]
[OTP] Add support for Object Transfer Channel

Expose below DBus APIs:
* ConnectOtc - bt_io_connect()
* DisconnectOtc - shutdown()
* ListenOtc - bt_io_listen()

Change-Id: Ifa4379508e0d35500b141b597f30a9429d2e695a
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoGATT-Clinet: Fix the Write and read dbus reply parameter mismatch. 99/130599/4
h.sandeep [Tue, 23 May 2017 17:03:21 +0000 (22:33 +0530)]
GATT-Clinet: Fix the Write and read dbus reply parameter mismatch.

This patch fixes the dbus reply parameter mismatch issue, in the
case where the att request reply is success.

Change-Id: I8abc38f55ce94cb0fc1621912ac8a3ac293aff18
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoModify the service file 35/130635/1 accepted/tizen/unified/20170531.082453 submit/tizen/20170523.092719
Hyuk Lee [Tue, 23 May 2017 07:05:04 +0000 (16:05 +0900)]
Modify the service file

Change-Id: If124243661007327256587fce820a39d74457f95
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoFix Web TCT issue for GATT client write callback 46/130546/1 accepted/tizen/unified/20170523.153442 submit/tizen/20170523.013340 submit/tizen/20170523.020648 tizen_4.0.m1_release
DoHyun Pyun [Tue, 23 May 2017 01:31:39 +0000 (10:31 +0900)]
Fix Web TCT issue for GATT client write callback

Change-Id: Ib02828785381e9f72598c8b1bdcc77a16faed13b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the dbus interface for LE OOB pairing 06/124906/1 accepted/tizen/unified/20170418.072738 submit/tizen/20170418.011550
DoHyun Pyun [Thu, 13 Apr 2017 04:09:48 +0000 (13:09 +0900)]
Add the dbus interface for LE OOB pairing

To use LE OOB pairing, we should assign BD address type in kernel MGMT.
This patchset adds BD address type in the remote oob data setting dbus API.

Change-Id: Ie1c47e43ce8dab9878977aea450b5c2d2e1a5401
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[Bluetooth][OTP] Handle OTP specific ATT error codes 11/121711/3 accepted/tizen/unified/20170410.155737 submit/tizen/20170410.040751
Gowtham Anandha Babu [Tue, 28 Mar 2017 12:39:09 +0000 (18:09 +0530)]
[Bluetooth][OTP] Handle OTP specific ATT error codes

Refer OTS specification, section 1.10 Application
Error Codes.

Change-Id: Id91b4788ccd9ac22885412e4808040e4c1ab343c
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoFix the svace issue (146010) 64/123064/1 accepted/tizen/unified/20170406.054757 submit/tizen/20170405.055649
DoHyun Pyun [Tue, 4 Apr 2017 09:27:54 +0000 (18:27 +0900)]
Fix the svace issue (146010)

Change-Id: I1dc1a50946b1734d80c267e4901a6f72ee4b01c4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoBluez 5.43 Upgrade: Apply Tizen patches 79/121679/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.151746 accepted/tizen/ivi/20170330.223808 accepted/tizen/mobile/20170330.223718 accepted/tizen/tv/20170330.223738 accepted/tizen/unified/20170330.223834 accepted/tizen/wearable/20170330.223751 submit/tizen/20170330.042352
h.sandeep [Thu, 2 Feb 2017 11:19:57 +0000 (16:49 +0530)]
Bluez 5.43 Upgrade: Apply Tizen patches

Change-Id: I5d5a9d9e2e7811af3dd3878b4f740e1f1a019d51
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoBluez 5.43 Upgrade: Fix build errors 78/121678/1
h.sandeep [Tue, 31 Jan 2017 11:09:02 +0000 (16:39 +0530)]
Bluez 5.43 Upgrade: Fix build errors

Change-Id: Ibfdf9a50a642c6917d7f0db4ff3f2f0104c3b811
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoBluez Upgrade: Add Bluez 5.43 open source code. 77/121677/1
h.sandeep [Tue, 28 Mar 2017 10:53:30 +0000 (16:23 +0530)]
Bluez Upgrade: Add Bluez 5.43 open source code.

Change-Id: Ife8b8b7b7163ca2d6c521cdb7f99c2ae90b14ba0
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoGATT-Client: Fix Primary list overwrite issue. 41/120841/1 accepted/tizen/common/20170327.142440 accepted/tizen/ivi/20170327.052058 accepted/tizen/mobile/20170327.052009 accepted/tizen/tv/20170327.052022 accepted/tizen/unified/20170327.052111 accepted/tizen/wearable/20170327.052042 submit/tizen/20170326.234938
h.sandeep [Fri, 24 Mar 2017 10:42:18 +0000 (16:12 +0530)]
GATT-Client: Fix Primary list overwrite issue.

This patch fixes the primary list getting overwrite while
registering the gatt services in client role of bluez code
when the gatt plugins are enabled.
This isuue was leading to CAPI layer failure to fetch the
primary service after connection.

Change-Id: Ib8bceab634c23520828d10010641647243a6aac5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoAdd the Auto Connection mode for headless device 25/120225/3
Lee Hyuk [Wed, 22 Mar 2017 06:37:38 +0000 (15:37 +0900)]
Add the Auto Connection mode for headless device

Change-Id: I08207bba60628d92d63a424cb3e1302d11182f67
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoSupport old storage format 46/118246/1
Seungyoun Ju [Tue, 13 Sep 2016 13:00:59 +0000 (22:00 +0900)]
Support old storage format

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] Old storage has BR/EDR/LE information in one RPA directory. So
 dbus object path is made as RPA. If we pass IDA when upper layer
 requests, it cannot be used because there is no matched dbus object
 path.
[Cause & Measure] Current storage policy separates BR/EDR and LE
 information to each addresses. So both dbus object paths are created. So
 in this case, IDA should be passed to upper layer. But in case of old
 version's paired device, RPA should be passed to upper layer.
[Checking Method] The device which has old storage (e.g. R730 VP1) makes
 pairing with iOS -> FOTA to new storage (e.g. VP2)

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I3dd1a1afad93a38ee2b3bfd2bb6cc371cc066dc2

7 years agoApply rotated file writing to hcidump 30/118230/1
Seungyoun Ju [Wed, 8 Mar 2017 08:09:12 +0000 (17:09 +0900)]
Apply rotated file writing to hcidump

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] Change was missing. Without this option, hci logging file
could be increased infinitely.
[Cause & Measure] Apply change
[Checking Method] hcidump -c 2 -s 10 -w hci_log.cfa

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I24bade6d0893c399ae10d7efa9ca3bb42a3a3b70

7 years agoFix btsnoop crash when handling btmon 29/118229/1
Seungyoun Ju [Wed, 8 Mar 2017 07:28:52 +0000 (16:28 +0900)]
Fix btsnoop crash when handling btmon

[Model] Solis
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] btsnoop is crashed since new kernel is introduced because it
 brings new opcode.
[Cause & Measure] it should be skipped properly to make compatible btnsoop.
[Checking Method] Build and verification on target

[Team] System Connectivity
[Developer] Chanyeol Park
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I245dbb1bedbab99e5a5e05289b42353ba76195b6

7 years agoIgnore probe_service even if the service is already added. 01/118201/1
Deokhyun Kim [Thu, 9 Mar 2017 06:27:13 +0000 (15:27 +0900)]
Ignore probe_service even if the service is already added.

Cause : Issue happened when,
 0. Gear doesn't have pairing information about remote device.
 1. Remote device initiates HFP connection to Gear
 2. Paired
 3. Gear's Reverse service discovery timer (1s) is expired before HFP
    connection request comes. So device_browse_sdp() is called and
    service resolving is almost done.
 4. HFP connection request comes. So HFP service has been probed here
 5. SDP is done. Because there is HFP in profiles_added, HFP service
    probe happens once more. This causes the issue. Normally,
    duplication checking is done in update_record() by SDP logic.
    But In the issue case, SDP happens first and there is no logic
    to check duplication in incoming connection case (ext_confirm ->
    create_conn -> btd_device_add_uuid). Measure : Ignore probe_service
    even if the service is already added.

Change-Id: I68fbbe3bf510c1e7668cf12f0477cc4385ea710c
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
7 years agoAdd the A2DP runtime role change API 27/117127/2
Lee Hyuk [Fri, 3 Mar 2017 02:14:23 +0000 (11:14 +0900)]
Add the A2DP runtime role change API

Change-Id: Iae6501fa86ef18e2bb69c0f9b54ab26084d8d46f
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoModify the comparing statement for storing local irk 09/116109/3 accepted/tizen/common/20170303.090649 accepted/tizen/ivi/20170302.121731 accepted/tizen/mobile/20170302.121420 accepted/tizen/tv/20170302.121528 accepted/tizen/unified/20170309.035126 accepted/tizen/wearable/20170302.121638 submit/tizen/20170302.014914 submit/tizen_unified/20170308.100411
DoHyun Pyun [Thu, 23 Feb 2017 04:29:20 +0000 (13:29 +0900)]
Modify the comparing statement for storing local irk

store_local_irk function's return type is bool. It can't return the
negative value. So the error logic will not work.

Change-Id: Idbf919de8db1ed56054a6d6fbe862d3315364c37
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoKeep local IRK in permanent storage 55/115655/1
Seungyoun Ju [Fri, 10 Feb 2017 08:42:11 +0000 (17:42 +0900)]
Keep local IRK in permanent storage

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] When local IRK is changed, iOS rejects re-pairing request (iOS issue).
 This issue happens in below scenario.
 1. Pair with iOS
 2. Factory-reset DUT
 3. Try to pair with iOS again without unpairing on iOS
 4. iOS sends SMP pairing error with "Unspecified reason". So until user
   unpairs DUT on iOS, re-pairing is not possible.

 And when local IRK is not distributed at BLE pairing with some android
 devices, those devices cannot connect to DUT again via BLE (Android issue).
 1. Pair with Galaxy A5 2016 / Note 4 via BLE
 2. Disconnect
 3. Try to connect again via BLE
 4. A5 2016 / Note 4 try to connect to DUT using 00:00:00:00:00:00
   address. So it is failed.

 To solve these issues, DUT distributes a IRK. And after resetting DUT,
 retain the IRK.
[Cause & Measure] Compatibility issues with other OS's.
[Checking Method]
 ===
 1. Pair with iOS
 2. Factory-reset DUT
 3. Try to pair with iOS again without unpairing on iOS
 4. iOS sends SMP pairing error with "Unspecified reason". So until user
   unpairs DUT on iOS, re-pairing is not possible.
 ===
 1. Pair with Galaxy A5 2016 / Note 4 via BLE
 2. Disconnect
 3. Try to connect again via BLE
 4. A5 2016 / Note 4 try to connect to DUT using 00:00:00:00:00:00
 ===

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: Ib8d2d2746d27583aa1ed36be785f0df44a95918e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoSet the adv flag as per address type 33/114333/1 submit/tizen/20170220.233016
Injun Yang [Mon, 13 Feb 2017 02:51:18 +0000 (11:51 +0900)]
Set the adv flag as per address type

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurence Version] N/A

[Problem] Regardless of address type, set adv flag as BLE only
[Cause & Measure] Set the adv flag as per address type
[Checking Method] Scan adv

[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I865c4461a0ec79667da4b195a0b9d85cbb69aed5
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoUpdate white list properly 32/114332/1
Injun Yang [Fri, 10 Feb 2017 01:44:44 +0000 (10:44 +0900)]
Update white list properly

[Model] SM-R360
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurence Version] N/A

[Problem] Unable BLE auto connection with remote device
[Cause & Measure] Address type is wrong of white list.
 Set address type properly
[Checking Method] BLE auto connection with remote device

[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I6ebb875bd9b552c4183296c3f1a88b98ad3f8948
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoRemove capi-system-info package dependency 28/113828/1
DoHyun Pyun [Thu, 9 Feb 2017 04:46:09 +0000 (13:46 +0900)]
Remove capi-system-info package dependency

Bluez is GPL license code, so we can't use the tizen specific library
in the bluetoothd process. This patchset gets the profile information
from model config file directly.

Change-Id: I0541943b7bc30bd90b5c829b232ef58e5b2d2386
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace issue (WGID: 168473) 23/113623/1
DoHyun Pyun [Wed, 8 Feb 2017 05:10:37 +0000 (14:10 +0900)]
Fix the svace issue (WGID: 168473)

This patchset prevents the memory leak in the gatt operation.

Change-Id: I94b0c6b1cd9fa8eebdaf7d7155a4d4a32f4aaf61
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix: Crash occured when HID deactived 85/113485/1
Injun Yang [Wed, 8 Feb 2017 01:14:43 +0000 (10:14 +0900)]
Fix: Crash occured when HID deactived

[Model] All
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurence Version] N/A

[Problem] When HID deactived, crash occured
[Cause & Measure] Access the invalid memory
[Checking Method] Check the validation of variable.

[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: Ifd88e39c98cccb29f3b4eaad23b1fa53b669da47
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge latest tizen_3.0 bug fix codes 33/113233/1
DoHyun Pyun [Tue, 7 Feb 2017 01:23:58 +0000 (10:23 +0900)]
Merge latest tizen_3.0 bug fix codes

----------------------------------------------------
commit 385eeab470fd6a0f79a001095df02d6948135ad8
Author: Anupam Roy <anupam.r@samsung.com>
Date:   Fri Jan 6 18:06:38 2017 +0530
----------------------------------------------------

Change-Id: I38052f22d141bf780dab8f7258abd5fa740a64b9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[4.0] Remove Repository Dependency 65/110365/1
hk57.kim [Mon, 16 Jan 2017 06:00:36 +0000 (15:00 +0900)]
[4.0] Remove Repository Dependency

- This is for Tizen 4.0

- We are going to unify repositories as well as build projects.

- When you SR this, you need to create JIRA-TRE issue of:

  : add mobileap-agent-extension-TM1 for TM1 (mobile)

Change-Id: I3fcb866035ea2a5a02d28d0574858d1d5e746aeb
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years agoGATT Server : Provide a response necessity 76/102476/1 submit/tizen/20161219.111502 submit/tizen/20170112.021958 submit/tizen/20170116.115935
Seungyoun Ju [Fri, 2 Dec 2016 05:40:41 +0000 (14:40 +0900)]
GATT Server : Provide a response necessity

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] Applications couldn't know whether this write request require a
 response or not
[Cause & Measure] There was no information about a response necessity.
 And reply required dbus call is always used unnecessarily. This patch
 provides a reponse necessity to above layer and uses no reply dbus call
 for Write Without Response command.
[Checking Method] Add some writable characteristics to GATT Server ->
Send some Write Without Reponse or Write Reqest from a remote device

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I2da48f92537ac337940d9e763b4d866f2b963fef
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRemove Profile Build Dependency: do it at runtime 04/93404/5
MyungJoo Ham [Tue, 29 Nov 2016 08:22:50 +0000 (17:22 +0900)]
Remove Profile Build Dependency: do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

  : It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

  : Options not distinguished at runtime:
    TM1
    (Product only) Wearable.
    For non-production, the profile==wearable is not required.

- When you send SR of this commit, you need to create
JIRA-TRE issue of:

  . Add bluez-profile_mobile for mobile profile if it has bluez
  . Add bluez-profile_wearable for wearble profile if it has bluez
  . Add bluez-profile_tv for tv profile if it has bluez
  . Add bluez-profile_ivi for ivi profile if it has bluez
  . Add bluez-profile_common for common profile if it has bluez

Change-Id: Ia4cf6c31f574dd3c0323e5695e09b46b4472352d
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoCall adapter_start on idle after adapter_register is completed. 42/101642/1 submit/tizen/20161205.050350
Deokhyun Kim [Thu, 1 Dec 2016 11:07:16 +0000 (20:07 +0900)]
Call adapter_start on idle after adapter_register is completed.

  adapter_register is NOT completed yet, but tries to emit a signal in
  adapter_start. Modified to call adapter_start on idle after adapter_register
  is completed.

Change-Id: I51a99954e330b40c244794b6d000698e4636cedf
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
7 years agoCheck NULL for dev->disconnect 95/101495/1
Deokhyun Kim [Wed, 30 Nov 2016 05:33:00 +0000 (14:33 +0900)]
Check NULL for dev->disconnect

[Problem] bluez crashes when disconnecting hid fails
[Cause & Measure] dev->disconnect is already unrefed but tries again with NULL
[Checking Method] Launch VR Controller App wihtout GearVR

Change-Id: Iee9cd0d6793fac6c2c4f7ec54040293321383e7a
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoDo not load a dev info if no technology has 94/101494/1
Seungyoun Ju [Wed, 30 Nov 2016 05:30:12 +0000 (14:30 +0900)]
Do not load a dev info if no technology has

[Problem] Old storage could have invalid directory. It causes paired
list corrupted
[Cause & Measure] Old bluez has some issues to store CSRK. It makes
invalid directory. It should be ignored when devices are loaded from
storage.

Change-Id: Ib18a4050f1d86145b2f53f8fff7629aebdff43ff
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoCode clean up 93/101493/1
Injun Yang [Wed, 30 Nov 2016 05:25:03 +0000 (14:25 +0900)]
Code clean up

Change-Id: Ibe562feb31431ca9936f7c5ceafdd2e8d938efea
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoHandling non-flag adv data 92/101492/1
Injun Yang [Wed, 30 Nov 2016 05:21:58 +0000 (14:21 +0900)]
Handling non-flag adv data

[Problem] Unable to find scan result which have non flag adv data
[Cause & Measure] Even though the adv flag field is not included,
  deliver it to bt service. Same with android behavior
[Checking Method] BLE Scanning

Change-Id: Ifbc85bedbe3edb38c5a2f0f588465ffc2ca07fcc
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoSynchronize file system 91/101491/1
Injun Yang [Wed, 30 Nov 2016 05:19:20 +0000 (14:19 +0900)]
Synchronize file system

Change-Id: I3e98506ea01212d8ff8cd7125a1499701bc3cc92
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoAdd the missed patch config in LE scan 76/101476/1
Lee Hyuk [Thu, 1 Dec 2016 08:37:47 +0000 (17:37 +0900)]
Add the missed patch config in LE scan

Change-Id: Ia5d21f10b9fc96145f8cb640a8df0690b04a0d70
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoSet IRK always 73/101173/1
Seungyoun Ju [Wed, 30 Nov 2016 06:34:59 +0000 (15:34 +0900)]
Set IRK always

[Problem] Android 6.x devices which don't support privacy 1.2 couldn't
 make LE connection to the device which doesn't distribute IRK when pairing.
[Cause & Measure] Android 6.x devices which don't support privacy 1.2
 use wrong address type when it tries to connect if remote device doesn't
 distributes IRK. This is Android 6.x device's bug but for compatibility
 Tizen need to distribute IRK even though Privacy feature is disabled.
[Checking Method] Pair BLE with A3 / A5 phones of Android version 6.x ->
 Disconnect -> Try connect BLE again

Change-Id: I63d60721d6c2b7472110d09ceda51ca04e898029
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
7 years agoRemove the LE scan trigger when the LE scan stop is called 35/100835/1
Lee Hyuk [Tue, 29 Nov 2016 10:21:15 +0000 (19:21 +0900)]
Remove the LE scan trigger when the LE scan stop is called

Change-Id: Ia54b94de659a0f063441454cc4f8a2717c16bd7e
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoAdd Ford carkit on except START_TIMEOUT list. 03/100703/1
Minkyung Jo [Wed, 28 Sep 2016 04:17:16 +0000 (13:17 +0900)]
Add Ford carkit on except START_TIMEOUT list.

[Problem] Gear make a noise when carkit initiate connection.
[Cause & Measure] Pulseaudio acquire is delayed, because request of
  AVDTP_OPEN from cakir didn't come.
[Checking Method] Gear - Ford carkit connection -> carkit power off ->
  power on

Change-Id: I95129e935bb120ec9abb150368af3e8c82c07c1e
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoDisable un-verified codes in obex ftp 75/99575/1 accepted/tizen/common/20161124.170004 accepted/tizen/ivi/20161125.003314 accepted/tizen/mobile/20161125.003218 accepted/tizen/tv/20161125.003233 accepted/tizen/wearable/20161125.003256 submit/tizen/20161123.084000
DoHyun Pyun [Wed, 23 Nov 2016 09:15:27 +0000 (18:15 +0900)]
Disable un-verified codes in obex ftp

Change-Id: I2ed8d55ba85b55dc79a95d81774d17d824ebd174
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoModify missed build option naming rules 48/99548/1
DoHyun Pyun [Tue, 22 Nov 2016 08:05:53 +0000 (17:05 +0900)]
Modify missed build option naming rules

Change-Id: I446adb8669fc844790cf1e21d04f31fb06c5d6ba
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRemove the obexd ps command 31/99431/2
Lee Hyuk [Wed, 23 Nov 2016 01:39:42 +0000 (10:39 +0900)]
Remove the obexd ps command

Change-Id: I1985aa236984de0bf0814b491e464cd417084ef3
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoAdd the LE discovery timeout function 52/99452/1
Lee Hyuk [Wed, 23 Nov 2016 02:21:54 +0000 (11:21 +0900)]
Add the LE discovery timeout function

Change-Id: Iae06c0f073f1e023e71c688e1e3848207e5b443f
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoModify build feature names as Tizen 3.0 build option naming rule 80/98880/1 accepted/tizen/common/20161122.193043 accepted/tizen/ivi/20161123.000102 accepted/tizen/mobile/20161123.000015 accepted/tizen/tv/20161123.000032 accepted/tizen/wearable/20161123.000045 submit/tizen/20161122.051739
DoHyun Pyun [Mon, 21 Nov 2016 05:46:12 +0000 (14:46 +0900)]
Modify build feature names as Tizen 3.0 build option naming rule

Change-Id: Id474f0db7668bbc4a0d8a4cdafa77fbd4b941a3c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoDisconnect HID device service when HID profile is removed. 60/98160/1 accepted/tizen/common/20161117.085347 accepted/tizen/common/20161118.090639 accepted/tizen/ivi/20161121.012013 accepted/tizen/mobile/20161121.011732 accepted/tizen/tv/20161121.011827 accepted/tizen/wearable/20161121.011917 submit/tizen/20161117.015745 submit/tizen/20161118.002314
Deokhyun Kim [Wed, 16 Nov 2016 05:49:42 +0000 (14:49 +0900)]
Disconnect HID device service when HID profile is removed.

 - Even though App which registered HID device profile is terminated abnoramlly,
   HID is still connected. If trying to connect HID again then it fails always.
 - A profile of device structure & a profile registered by App are different.
   A profile of device structure maintains connceted status.
 - If a HID profile registered by App is removed in status of connected,
   disconnect the connection of the profile intentionally.

Change-Id: Ic507032ba46e864e23c142177d9a7ba35ebe5d15
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
7 years agoiBeacon: Remove ibeaconReport signal logic. 95/97495/2
h.sandeep [Mon, 14 Nov 2016 09:05:00 +0000 (14:35 +0530)]
iBeacon: Remove ibeaconReport signal logic.

This patch removes the ibeacon report filter logic
and removes the signal iBeaconReport.
iBeacon filter logic is handled in CAPI.

Change-Id: Iecc1b82be967e70a5f2a9d497b5f791d5d092edf
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoLoad local IRK regardless of privacy setting 45/97545/1 accepted/tizen/common/20161115.200529 submit/tizen/20161115.034359
Seungyoun Ju [Thu, 3 Nov 2016 01:54:54 +0000 (10:54 +0900)]
Load local IRK regardless of privacy setting

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] IRK is changed every time it turns BT on
[Cause & Measure] When privacy is disabled, it doesn't load IRK. But
 regardless of privacy setting we need to distribute IRK to remote
 device because of compatibility reason with Android devices
[Checking Method] Turn BT off and on -> Check IRK

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Ifa3299277f3df5f1f5631e281921812c15458f22

7 years agoSet IRK always 42/97542/1
Seungyoun Ju [Mon, 31 Oct 2016 08:18:54 +0000 (17:18 +0900)]
Set IRK always

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Convergence team
[Occurrence Version] N/A

[Problem] Android 6.x devices which don't support privacy 1.2 couldn't
 make LE connection to the device which doesn't distribute IRK when pairing.
[Cause & Measure] Android 6.x devices which don't support privacy 1.2
 use wrong address type when it tries to connect if remote device doesn't
 distributes IRK. This is Android 6.x device's bug but for compatibility
 Tizen need to distribute IRK even though Privacy feature is disabled.
[Checking Method] Pair BLE with A3 / A5 phones of Android version 6.x ->
 Disconnect -> Try connect BLE again

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Ic1cde4eb35c913fa497cff24b09212aca0937fb5

7 years agoFix critical issues of SVACE 36/97536/1
Deokhyun Kim [Fri, 21 Oct 2016 06:30:08 +0000 (15:30 +0900)]
Fix critical issues of SVACE

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] SVACE
[Occurrence Version] N/A

[Problem] There are some critical issues which are reported from SVACE
[Cause & Measure] N/A
[Checking Method] N/A

[Team] Basic connection
[Developer] Deokhyun Kim
[Solution company] Samsung
[Change Type] Specification change

Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: I24e5124a69dcbb159a8ccb4afda04e3ca16341f7

7 years ago[PXP Reporter]: Port proximity profiles to new GATT arch 08/94208/5 accepted/tizen/common/20161110.190144 accepted/tizen/ivi/20161111.001149 accepted/tizen/mobile/20161111.001055 accepted/tizen/tv/20161111.001109 accepted/tizen/wearable/20161111.001132 submit/tizen/20161110.000647
Gowtham Anandha Babu [Thu, 27 Oct 2016 12:20:38 +0000 (17:50 +0530)]
[PXP Reporter]: Port proximity profiles to new GATT arch

1) Ported to new GATT architecure
2) Added RegisterProximty and UnregisterProximity DBus methods
   on org.bluez.ProximityReporter1 interface.
3) Since TxPower in not implemented in BlueZ, commented for now.

Change-Id: I749de3345639dfeab05384df950ea6918376092a
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoActivate Proximity profile 94/86794/7
Taejin Woo [Mon, 5 Sep 2016 02:21:24 +0000 (11:21 +0900)]
Activate Proximity profile

This patch enables proximity profile with
Reporter/Monitor roles.

Change-Id: I84e43c4df9a64258596db79623cdc17fda11606f
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoMerge the code from private 07/95807/1 accepted/tizen/ivi/20161108.001310 accepted/tizen/mobile/20161108.001224 accepted/tizen/tv/20161108.001241 accepted/tizen/wearable/20161108.001255 submit/tizen/20161107.085724
DoHyun Pyun [Wed, 2 Nov 2016 05:05:49 +0000 (14:05 +0900)]
Merge the code from private

branch:devel/bluetooth/master
=================================================
commit ecfa1d0dd2543caa510f1692ae06e40df77f30f1
Author: Biman Paul <biman.paul@samsung.com>
Date:   Wed Jun 29 16:27:07 2016 +0530

pbap: clear cache if name header is present

=================================================

Change-Id: I3694ac497121e02759427669843a13d61a4af875
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoiBeacon: Add support to filter the iBeacon reports 39/90939/4
h.sandeep [Wed, 5 Oct 2016 05:07:35 +0000 (10:37 +0530)]
iBeacon: Add support to filter the iBeacon reports

Change-Id: I94c1911418783be65995995abcc4899c16dee0dc
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoGAP:LE Scan Filter as Platform feature. 36/83836/12
h.sandeep [Fri, 12 Aug 2016 10:10:29 +0000 (15:40 +0530)]
GAP:LE Scan Filter as Platform feature.

Basic code for LE scan filter.
1. Add scan filters.
2. Filter the scan result.
3. Delete the filters.

Change-Id: I8998540f1092a333d28e7ff810d2f309f7bf4d0b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoSupport the bcm43xx firmware download using the hciattach tool 64/94764/3
DoHyun Pyun [Tue, 1 Nov 2016 05:50:58 +0000 (14:50 +0900)]
Support the bcm43xx firmware download using the hciattach tool

Change-Id: I20c2a45eac92b98cee11af5b454a17b73d484cbc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoCode Clean: RPMLINK warning from % in #. 03/93403/1
MyungJoo Ham [Mon, 24 Oct 2016 06:40:36 +0000 (15:40 +0900)]
Code Clean: RPMLINK warning from % in #.

RPM may act strangely if there is % in #-comment.

Removed or modified to negate such effects.

Change-Id: I2690f978f25bf6ffb17454d4777d2034c8c09b9e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
8 years agoCode Clean: bluez.spec, unnecessary config. 78/93378/1
MyungJoo Ham [Mon, 24 Oct 2016 04:41:42 +0000 (13:41 +0900)]
Code Clean: bluez.spec, unnecessary config.

bluez$ grep -r "able-network" *
packaging/bluez.spec: --enable-network \
Binary file packaging/.bluez.spec.swp matches
bluez$ grep "network" configure.ac
bluez$

[   47s] configure: WARNING: unrecognized options: --enable-serial, --enable-input, --enable-usb, --disable-bccmd, --enable-pcmcia, --enable-hid2hci, --enable-alsa, --enable-gstreamer, --disable-dfutool, --enable-health, --enable-dbusoob, --with-telephony, --enable-gatt, --enable-network

--enable-network appears to be irrelevant

Change-Id: Iecc368da3044012457c971264976f6c8ee049693
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
8 years agoAdd the handsfree device class bit for IVI 38/93038/1
DoHyun Pyun [Thu, 20 Oct 2016 06:28:44 +0000 (15:28 +0900)]
Add the handsfree device class bit for IVI

Change-Id: I482dfab71f07e500b1cf3f3828221bc2c5cca37b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoUse the car audio COD(class of device) for IVI targets 17/93017/1
DoHyun Pyun [Thu, 20 Oct 2016 04:48:13 +0000 (13:48 +0900)]
Use the car audio COD(class of device) for IVI targets

Change-Id: I6a1b03dd8e45d56b580929938b18dac75396786e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoRevert "Check if the vendor command supports or not for HFP audio setting commands" 40/92540/1 accepted/tizen/3.0/ivi/20161028.151357 accepted/tizen/3.0/mobile/20161028.143228 accepted/tizen/3.0/tv/20161028.143545 accepted/tizen/3.0/wearable/20161028.150852 accepted/tizen/common/20161017.170426 accepted/tizen/ivi/20161018.021453 accepted/tizen/mobile/20161018.021358 accepted/tizen/tv/20161018.021412 accepted/tizen/wearable/20161018.021429 submit/tizen/20161017.102112 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
DoHyun Pyun [Mon, 17 Oct 2016 09:43:38 +0000 (18:43 +0900)]
Revert "Check if the vendor command supports or not for HFP audio setting commands"

This reverts commit a964a310b7ad0b2d289e32bb866715d4ffdd0d82.

Change-Id: I8f38ffc7e8e3721c09e42ece1bf2e0bca58dc02d

8 years agoMerge "Check if the vendor command supports or not for HFP audio setting commands...
DoHyun Pyun [Mon, 17 Oct 2016 05:57:51 +0000 (22:57 -0700)]
Merge "Check if the vendor command supports or not for HFP audio setting commands" into tizen

8 years agoCheck if the vendor command supports or not for HFP audio setting commands 50/92450/1
DoHyun Pyun [Mon, 17 Oct 2016 05:10:42 +0000 (14:10 +0900)]
Check if the vendor command supports or not for HFP audio setting commands

Change-Id: I6c09577b2cfc25363865d3db15dad28fffcb8d43
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoNULL check add in response of the MGMT command 22/92222/5
Hyuk Lee [Fri, 14 Oct 2016 04:38:45 +0000 (13:38 +0900)]
NULL check add in response of the MGMT command

Change-Id: I402f8797f4323f1e5a80472034a5d035c9498b2a
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoInclude the method call for naroow and wide band setting method 20/91720/1 accepted/tizen/common/20161011.154224 accepted/tizen/ivi/20161011.234126 accepted/tizen/mobile/20161011.234121 accepted/tizen/tv/20161011.234059 accepted/tizen/wearable/20161011.234116 submit/tizen/20161011.045858 submit/tizen/20161011.051821
DoHyun Pyun [Tue, 11 Oct 2016 04:53:57 +0000 (13:53 +0900)]
Include the method call for naroow and wide band setting  method

Change-Id: I5ed2a97d10b8bcc2e388287792f1f3aa957420a6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoModify the media root directory path 85/89985/1 accepted/tizen/3.0/ivi/20161011.053523 accepted/tizen/3.0/mobile/20161015.032357 accepted/tizen/3.0/tv/20161016.003539 accepted/tizen/3.0/wearable/20161015.080416 accepted/tizen/common/20160928.164314 accepted/tizen/ivi/20160929.002011 accepted/tizen/mobile/20160929.001908 accepted/tizen/tv/20160929.001920 accepted/tizen/wearable/20160929.002047 submit/tizen/20160928.062430 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
DoHyun Pyun [Wed, 28 Sep 2016 03:02:53 +0000 (12:02 +0900)]
Modify the media root directory path

Change-Id: I22cab6e07f2fe8eda682689fdf417d451f53c5c1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoRevert "Fix UTC fail issue for tv profile" 10/88910/1 accepted/tizen/common/20160922.120619 accepted/tizen/ivi/20160922.233149 accepted/tizen/mobile/20160922.233127 accepted/tizen/tv/20160922.233142 accepted/tizen/wearable/20160922.233134 submit/tizen/20160922.015934
DoHyun Pyun [Wed, 21 Sep 2016 05:41:32 +0000 (14:41 +0900)]
Revert "Fix UTC fail issue for tv profile"

This reverts commit 12aac29eb27cfd070ba1ebbaebb59b4f47edb442.

Change-Id: I7d7d8887ec8d1bca94caada5c1d21398bf514649
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix UTC fail issue for tv profile 39/88639/1 accepted/tizen/common/20160920.132128 accepted/tizen/ivi/20160920.231930 accepted/tizen/mobile/20160920.231850 accepted/tizen/tv/20160920.231858 accepted/tizen/wearable/20160920.231912 submit/tizen/20160920.054624
DoHyun Pyun [Tue, 20 Sep 2016 05:41:51 +0000 (14:41 +0900)]
Fix UTC fail issue for tv profile

UX3 kernel task is not complete, so MGMT value is different.
Before completing kernel's task, we need to return the dummy scan status.

Change-Id: I9ba9517aa71659361cc06f7414983386a7a2b269
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoRestricted connection when request come from remoted audio device 42/87642/4 accepted/tizen/common/20160912.181444 accepted/tizen/ivi/20160913.041814 accepted/tizen/mobile/20160913.041719 accepted/tizen/tv/20160913.041732 accepted/tizen/wearable/20160913.041753 submit/tizen/20160912.033649 submit/tizen/20160912.055637
Hyuk Lee [Fri, 9 Sep 2016 03:55:46 +0000 (12:55 +0900)]
Restricted connection when request come from remoted audio device

Change-Id: Ic9bf302bdf3af5355979e781c9ef2a3bf1a5e019
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoModfy the restricted profile state value 09/87609/2
Hyuk Lee [Fri, 9 Sep 2016 00:55:24 +0000 (09:55 +0900)]
Modfy the restricted profile state value

Change-Id: I8261cdd6a2174c43673fd26b3ebb0b2777f52f7b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoAudio : Add the method for setting/getting the restricted connection 22/87222/1
Hyuk Lee [Wed, 7 Sep 2016 05:48:57 +0000 (14:48 +0900)]
Audio : Add the method for setting/getting the restricted connection

Change-Id: I6d47dc5effd0e21629060ca88967b26bd9a69312
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
8 years agoAdd the script file for 3.0 OS upgrade 26/86926/2 accepted/tizen/common/20160907.154510 accepted/tizen/ivi/20160908.004149 accepted/tizen/mobile/20160908.004055 accepted/tizen/tv/20160908.004112 accepted/tizen/wearable/20160908.004126 submit/tizen/20160907.050933
DoHyun Pyun [Mon, 5 Sep 2016 12:35:45 +0000 (21:35 +0900)]
Add the script file for 3.0 OS upgrade

Change-Id: I5d36724fea4e71a063dc28b9c4c698ce57d3105a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoRemove Unused files : cscope.out 81/86781/1
Taejin Woo [Mon, 5 Sep 2016 00:54:36 +0000 (09:54 +0900)]
Remove Unused files : cscope.out

Change-Id: Ia43fe9cf5873fe9d837554c1ea972454fd1405a2
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoModify bluetooth.service file for XU3 44/86244/1 accepted/tizen/common/20160901.143342 accepted/tizen/ivi/20160901.072650 accepted/tizen/mobile/20160901.072602 accepted/tizen/tv/20160901.072613 accepted/tizen/wearable/20160901.072631 submit/tizen/20160901.003334
DoHyun Pyun [Wed, 31 Aug 2016 08:19:01 +0000 (17:19 +0900)]
Modify bluetooth.service file for XU3

Change-Id: I65dc2d03384c0d53b625b049f54ffa7be41fd06c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoModify the default root directory for obexd 30/85130/1 accepted/tizen/common/20160825.062840 accepted/tizen/ivi/20160829.041711 accepted/tizen/mobile/20160829.041614 accepted/tizen/tv/20160829.041634 accepted/tizen/wearable/20160829.041649 submit/tizen/20160825.004351
DoHyun Pyun [Wed, 24 Aug 2016 02:00:29 +0000 (11:00 +0900)]
Modify the default root directory for obexd

Change-Id: I0d0fdddf97083accfff46aac907a7e1559ebdd53
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoCreate RPA device structure separately from others 38/84938/1
Seungyoun Ju [Thu, 18 Aug 2016 05:38:01 +0000 (14:38 +0900)]
Create RPA device structure separately from others

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] Paired remote device's address is changed after BR/EDR pairing
-> LE pairing when it uses RPA address for LE
[Cause & Measure] When LE is paired, BR/EDR device structure is merged
to LE RPA device structure. It causes address change of BR/EDR device
and applications cannot track that device.
[Checking Method] BR/EDR Pairing -> LE Pairing with M OS Android device

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: Ia7afff8151c1f10024bae8826c0ecaf1ee25a26d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoMerge the code from private 36/83936/1
DoHyun Pyun [Fri, 12 Aug 2016 08:51:55 +0000 (17:51 +0900)]
Merge the code from private

branch:devel/bluetooth/master
=================================================
commit 2fca83fc8992b0475434b40f911eba47e623935e
Author: Anurag Biradar <biradar.a@samsung.com>
Date:   Fri Aug 5 15:11:55 2016 +0530

HID: Adding support for dual HID Roles

==================================================

Change-Id: I06b445bddbba372d3977904e5225d6ca54b12cb7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoIPSP : Tie connected info and Interface Info 49/83349/6 accepted/tizen/common/20160812.141000 accepted/tizen/ivi/20160812.065435 accepted/tizen/mobile/20160812.065418 accepted/tizen/tv/20160812.065430 accepted/tizen/wearable/20160812.065424 submit/tizen/20160812.010225
Taejin Woo [Thu, 11 Aug 2016 05:03:05 +0000 (14:03 +0900)]
IPSP : Tie connected info and Interface Info

When connected between two device, they already know Interface info

Change-Id: I53800bb80868d69159f4291eaf4a462e3a7433c4
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
8 years agoRemove the code for setting smack labeling 97/81097/1 accepted/tizen/common/20160809.184123 accepted/tizen/ivi/20160809.232800 accepted/tizen/mobile/20160809.232826 accepted/tizen/tv/20160809.232643 accepted/tizen/wearable/20160809.232855 submit/tizen/20160809.064342
DoHyun Pyun [Fri, 22 Jul 2016 05:01:03 +0000 (14:01 +0900)]
Remove the code for setting smack labeling

Change-Id: Ic9c08bdad83e17756fc8ace77da73ea7af8d555e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoRemove unused installing scripts 84/77084/1 accepted/tizen/common/20160703.125938 accepted/tizen/ivi/20160629.021342 accepted/tizen/mobile/20160629.021426 accepted/tizen/tv/20160629.021247 accepted/tizen/wearable/20160629.021404 submit/tizen/20160628.115841 submit/tizen_common/20160701.180000
DoHyun Pyun [Tue, 28 Jun 2016 11:17:34 +0000 (20:17 +0900)]
Remove unused installing scripts

Change-Id: Iba1cb82d0c83900c63b5db45968e94625f008bb6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoGATT-Server:Support Service Change Indication on reconnect. 69/76469/1
h.sandeep [Fri, 24 Jun 2016 04:51:25 +0000 (10:21 +0530)]
GATT-Server:Support Service Change Indication on reconnect.

This patch handles sending service changed indication
to client device after reconnection, if the client
had already registered for service changed indication.

Change-Id: If0fa76d05ddc4b668f71c5b1080966e5f5b6e35c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
8 years agoAllow owners group for bluetoothd dbus method call 56/73456/1 accepted/tizen/common/20160610.175837 accepted/tizen/ivi/20160609.090545 accepted/tizen/mobile/20160609.090520 accepted/tizen/tv/20160609.090605 accepted/tizen/wearable/20160609.090529 submit/tizen/20160608.073857
DoHyun Pyun [Wed, 8 Jun 2016 07:27:02 +0000 (16:27 +0900)]
Allow owners group for bluetoothd dbus method call

Change-Id: I94d3d79f8bd9bcc7c81a297c059f0e6400120d26
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoProvide BLE pairing method as best effort way 02/72402/1 accepted/tizen/common/20160603.150602 accepted/tizen/ivi/20160602.231152 accepted/tizen/mobile/20160602.231206 accepted/tizen/tv/20160602.231142 accepted/tizen/wearable/20160602.231140 submit/tizen/20160602.084111
Seungyoun Ju [Mon, 30 May 2016 12:56:40 +0000 (21:56 +0900)]
Provide BLE pairing method as best effort way

[Model] SM-Z300F
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Operator
[Occurrence Version] BPE5

[Problem] Basis Peak watch disconnects BLE connection if remote device
doesn't make BLE pairing within 5 seconds. But BLE service discovery requires
over 5 seconds so it is always disconnected.
[Cause & Measure] There is no way to make BLE pairing without BLE service
discovery. So it needs to provide BLE pairing way as best effort way.
[Checking Method] Make BLE connection with Basis Peak

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I8930a9546cfa8d66ade64c8d42a29155232bda43
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoIPSP : Add support to get BT Inteface information after IPSP connection 78/58178/3
Taejin Woo [Tue, 31 May 2016 01:00:36 +0000 (10:00 +0900)]
IPSP : Add support to get BT Inteface information after IPSP connection

This patch adds a property to emit the BT interface information to upper layer,
the BT interface information would be required for Application to
create TCP-IP/UDP socket & send IPv6 data.

Change-Id: I12de25bd22ae6abc08a000657f073fb04c28e40d
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
8 years agoRemove libnl-1 dependency 42/69142/1 accepted/tizen/common/20160513.123209 accepted/tizen/ivi/20160513.003827 accepted/tizen/mobile/20160513.003742 accepted/tizen/tv/20160513.003811 accepted/tizen/wearable/20160513.003800 submit/tizen/20160512.025844
DoHyun Pyun [Thu, 12 May 2016 02:39:34 +0000 (11:39 +0900)]
Remove libnl-1 dependency

Change-Id: Id40c180a667671fe63584cb07b35c53f40f28874
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoFix the crash when SET_PATH command is recieved 67/69067/2
DoHyun Pyun [Wed, 11 May 2016 09:57:16 +0000 (18:57 +0900)]
Fix the crash when SET_PATH command is recieved

This patchset is related with TC_MSE_MMB_BV_09_I PTS testcase.

Change-Id: I96cbea2d315182bc934e9684e6be447c2bdaf351
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
8 years agoMerge "Modify the GattConnected signal emit sequence" into tizen accepted/tizen/common/20160511.141750 accepted/tizen/ivi/20160512.050143 accepted/tizen/mobile/20160512.050135 accepted/tizen/tv/20160512.050133 accepted/tizen/wearable/20160512.050114 submit/tizen/20160510.081415
Pyun DoHyun [Tue, 10 May 2016 08:13:16 +0000 (01:13 -0700)]
Merge "Modify the GattConnected signal emit sequence" into tizen