platform/core/connectivity/bluetooth-frwk.git
6 years ago[httpproxy] Fix invalid memory write 05/138905/1
Anurag Biradar [Fri, 14 Jul 2017 06:37:47 +0000 (12:07 +0530)]
[httpproxy] Fix invalid memory write

[Problem] Invalid memory write when WriteValue follows offset of 10
and than update value from offset 6 with len of 2.

Consider first set char value is called by offset 10 and value length 2.
API Allocates memory of size (10+2) 12 bytes and when set char value is
called again with offset value of 6 and value length of 2.
API reallocates memory of size (6+2) 8 bytes. After allocating it
copies earlier 12 bytes but new allocated one is only of 8 bytes which
leads to memory corruption.

Measure: reallocate only when current value length can't hold requested
offset + value_length

Change-Id: I17eac3e5df5125894a0c74304e7328a85972c865

6 years agoFix SVace issue. 12/137212/2 accepted/tizen/3.0/common/20170719.081600 accepted/tizen/3.0/ivi/20170719.003638 accepted/tizen/3.0/mobile/20170719.003604 accepted/tizen/3.0/tv/20170719.003614 accepted/tizen/3.0/wearable/20170719.003626 submit/tizen_3.0/20170716.235230
Deokhyun Kim [Wed, 5 Jul 2017 02:04:31 +0000 (11:04 +0900)]
Fix SVace issue.

Change-Id: Ib3a04fa87032780368655d08abbc1a58ea8b8faf
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
6 years agoMerge "Allow to use reserved slot for non-wearable devices." into tizen_3.0
Pyun DoHyun [Tue, 11 Jul 2017 00:08:36 +0000 (00:08 +0000)]
Merge "Allow to use reserved slot for non-wearable devices." into tizen_3.0

6 years agoMerge "Fix SVace issue." into tizen_3.0
Pyun DoHyun [Tue, 11 Jul 2017 00:08:28 +0000 (00:08 +0000)]
Merge "Fix SVace issue." into tizen_3.0

6 years agoAllow to use reserved slot for non-wearable devices. 63/136963/2
Deokhyun Kim [Tue, 4 Jul 2017 01:52:44 +0000 (10:52 +0900)]
Allow to use reserved slot for non-wearable devices.

Change-Id: Ibe4d17d98d7626505ed646f485815a810bcb7440
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
6 years agoRefactoring GATT client service changed logic 58/136658/1
Seungyoun Ju [Thu, 22 Jun 2017 06:21:01 +0000 (15:21 +0900)]
Refactoring GATT client service changed logic

[Problem] N/A
[Cause & Measure]
 . Add helper function to convert address
 . Reduce an indentation
 . Fix memory leak
[Checking Method] Code review

Change-Id: I2be2c3c202c542b20b2f89614aa02b1f3fe7e731

6 years agoUse proper type for g_dbus_connection_signal_subscribe() 57/136657/1
Seungyoun Ju [Thu, 22 Jun 2017 04:35:17 +0000 (13:35 +0900)]
Use proper type for g_dbus_connection_signal_subscribe()

[Problem] g_dbus_connection_signal_subscribe() returns unsigned int for id.
 So -1 could be valid id. But it is used to check unsubscribing state.
[Cause & Measure] Change variable type for subscription id to unsigned
 int and 0 is used to check unsubscribing state.
[Checking Method] Code review

Change-Id: Iaa6b50ceb93d0e6c02d276440e2dad80504b0471

6 years agoFix : LE Connect d-bus method is not returned 56/136656/1
Seungyoun Ju [Wed, 21 Jun 2017 06:25:59 +0000 (15:25 +0900)]
Fix : LE Connect d-bus method is not returned

[Problem] While advertising is going on, if le connection is initiated
 to the device which doesn't have proxy (it means that the device neither
 be discovered once nor be paired), d-bus timeout happens in caller side.
[Cause & Measure] When le connection API is called in timer callback,
 there is no logic to reply to previous d-bus method call. This patch
 adds the logic to return the result in such a case.
[Checking Method] Try to connect to unknown LE device during advertising

Change-Id: Icbeba665eb749b84bc6bb35deeff09747c4a007a

6 years agoDon't unregister hold advertising information 55/136655/1
Seungyoun Ju [Wed, 21 Jun 2017 05:52:29 +0000 (14:52 +0900)]
Don't unregister hold advertising information

[Problem] Restarted advertising triggered by LE connection request
 doesn't have the information about sender and handle. It causes some
 malfunctions (e.g. Connect LE to out-of-range LE device twice. The
 second one is requested as Directed Advertising (Slave role request))
[Cause & Measure] Advertising information is flushed once it is stopped
 by LE connection request. So even though it is restarted by hold
 advertising logic, there is no sender / advertising handle information.
 It causes the next time hold advertising failed.
 This patch doesn't unregister hold state advertising slot. Because it
 will be used again after timer is expired. Or, once timer is cancelled,
 it will be unregistered properly.
[Checking Method] Connect LE to out-of-range LE device twice

Change-Id: Ia287da58204348f7deb06117654956bc2948f4e1

6 years agoGATT Client : Fix subscription state mis-matched 54/136654/1
Seungyoun Ju [Wed, 24 May 2017 12:42:31 +0000 (21:42 +0900)]
GATT Client : Fix subscription state mis-matched

[Problem] When BLE is not paired and StartNotify is called via
 bluetooth_gatt_watch_characteristics(), pairing procedure is started.
 We use 5 seconds dbus timeout in that API. So during pairing,
 bluetooth_gatt_watch_characteristics() call is failed.
 But after pairing is done, bluez starts notify procedure.
 So that, subscription is done but application side doesn't know it
 and callback is not set.
[Cause & Measure] Too short timeout is used. ATT transaction timeout is
 30 seconds. If it is over, ATT connection will be dropped. So until
 that, this API shall not be returned. If application needs to be
 returned immediately, it should ensure that both devices are paired
 before bluetooth_gatt_watch_characteristics() is called.
[Checking Method] Try to pair using
 bluetooth_gatt_watch_characteristics() -> Accept pairing request after
 5 seconds.

Change-Id: I3d34f85d0e45cb08039dad843190091e2eeeecc8

6 years agoFix SVace issue. 53/136253/1
Deokhyun Kim [Thu, 29 Jun 2017 01:25:31 +0000 (10:25 +0900)]
Fix SVace issue.

Change-Id: I3fd4d6557e4a1cfde753685f2df3375c07db52a4
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
6 years agoRetry enabling adapter 3 times even if it timed out on booting time. 29/136129/1
Deokhyun Kim [Wed, 28 Jun 2017 07:17:39 +0000 (16:17 +0900)]
Retry enabling adapter 3 times even if it timed out on booting time.

Change-Id: I25906a618cd15fd9013b2da3f1e5f36c5ff883d1
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
6 years agoFix : Null deference issue 87/135787/1
Seungyoun Ju [Tue, 20 Jun 2017 12:06:59 +0000 (21:06 +0900)]
Fix : Null deference issue

[Problem] If remote device is not connected but _bt_le_conn_update is
 called, crash happens.
[Cause & Measure] There is no connected device info. But it is
 deferenced. This patch checks NULL for connected device info.
[Checking Method] Try to update LE connection parameter to non-connected
 BLE device

Change-Id: Id4fe04ff17392585ec544bcd4f22e33ad5906820

6 years agoCheck whether dbus name is acquired normally. 82/135182/1
Deokhyun Kim [Wed, 21 Jun 2017 06:27:45 +0000 (15:27 +0900)]
Check whether dbus name is acquired normally.
  bt-service is terminated before dbus method is called,
  because dbus own_name is too delayed when system is busy.

Change-Id: Ifee0c6dd6aebfa385d1cd2b81c67753cfe28b891
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
6 years agoHandling le connection interval 10/133410/1
Injun Yang [Mon, 12 Jun 2017 06:07:02 +0000 (15:07 +0900)]
Handling le connection interval

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

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

[Problem] Whenever several application set the le connection interval,
 it overwirted and affect on throughput
[Cause & Measure] Manage all demand and keep the minimum interval
[Checking Method] Set le connection interval

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

Change-Id: I1d0ed717741e29fc776c05ba357fdab1799bde3a

6 years agoFix the svace issue 74/133374/1
Injun Yang [Mon, 12 Jun 2017 04:00:48 +0000 (13:00 +0900)]
Fix the svace issue

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

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

[Problem] svace issue
[Cause & Measure] fix the code
[Checking Method] svace tool

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

Change-Id: I00babc2548a4100b0cb6fd72a9b0b783a7612a67

6 years agoRecovery logic optimization. 29/130329/1
Deokhyun Kim [Mon, 22 May 2017 04:21:50 +0000 (13:21 +0900)]
Recovery logic optimization.

 - bt-service controls recovery logic
 - bt-service tries recovery up to 3 times
 - bt-core does NOT wait for hci InterfaceRemoved event

Change-Id: Id2ee182bc877f100cc5c7b8b84d2d86eac9573cb
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
6 years agoRedundant code optimization for GattService event 06/129106/1
Injun Yang [Mon, 15 May 2017 02:15:27 +0000 (11:15 +0900)]
Redundant code optimization for GattService event

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

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

[Problem] When below interface removed, check the unnecessary condition
org.bluez.GattDescriptor1
org.bluez.GattCharacteristic1
[Cause & Measure] When Characteristic or Descriptor is removed,
    checking watcher list is not required.
    Just check it for org.bluez.GattService1 interface
[Checking Method] Connection with iOS GM

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

Change-Id: Id587ffe489526c75cdfd9192c721a03a3eebcd9d

7 years agoFix the build error for gatt client 84/127584/1 accepted/tizen/3.0/common/20170508.152944 accepted/tizen/3.0/ivi/20170508.050149 accepted/tizen/3.0/mobile/20170508.050103 accepted/tizen/3.0/tv/20170508.050121 accepted/tizen/3.0/wearable/20170508.050129 submit/tizen_3.0-common/20170508.080135 submit/tizen_3.0-common/20170508.081301 submit/tizen_3.0-common/20170508.091535 submit/tizen_3.0/20170428.003957 submit/tizen_3.0_common/20170508.091735
DoHyun Pyun [Fri, 28 Apr 2017 03:57:12 +0000 (12:57 +0900)]
Fix the build error for gatt client

Change-Id: Ie62ddc6d077ef07d8e5ce712e1f20ab703c6e040
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix : Simultaneous GATT client requests are failed 90/127190/2
Seungyoun Ju [Thu, 20 Apr 2017 12:36:37 +0000 (21:36 +0900)]
Fix : Simultaneous GATT client requests are failed

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

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

[Problem] Actually read / write request for each other characteritsics and
 descriptors should be allowed. But current implementation doesn't consider
 that. So in progress error comes in that situation.
[Cause & Measure] There was only one callback for GATT client request.
 So once it is used by other request, new ones are failed until old one
 is completed.
 This patch makes each request's callback data be passed to dbus.
 So, once remote device's response comes and dbus call is returned,
 each callback data will be passed to above layer.
[Checking Method] Request GATT operation as client role using several
 characteristics and descriptors before one of them is responded.

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

Change-Id: I74eee1ad62df648fe36e805d06570327e5f2c1f8

7 years agoDisconnect service connection using object path 82/125382/2
Seungyoun Ju [Tue, 11 Apr 2017 09:20:17 +0000 (18:20 +0900)]
Disconnect service connection using object path

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

[Issue#] P170328-03204
[Request] PLM
[Occurrence Version] R360XXE1CQC1

[Problem] RFCOMM socket is not disconnected when
 bt_socket_disconnect_rfcomm() is called.
[Cause & Measure] Bluez finds the service connection only using profile
 uuid. So when there are two service connections which have same uuid,
 wrong one could be selected. In order to select intended one, object
 path is required. New method call is added to Bluez to get object path
 for RFCOMM socket connection and this patch uses that method call.
[Checking Method] Make client / server RFCOMM connections using same
 uuid at the same time -> Disconnect server connection

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

Change-Id: Ia139b43ff5d1bfc95af84256c6fea750e3eae817

7 years agoChange sscanf to strtol function for the secure coding 51/125451/1
DoHyun Pyun [Mon, 17 Apr 2017 08:37:21 +0000 (17:37 +0900)]
Change sscanf to strtol function for the secure coding

Change-Id: I665ed7d9ea04b9d861ac5d919eefe987925cf09f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix svace issue (168145) 07/122507/1 accepted/tizen/3.0/common/20170403.140220 accepted/tizen/3.0/ivi/20170403.054958 accepted/tizen/3.0/mobile/20170403.054842 accepted/tizen/3.0/tv/20170403.054926 accepted/tizen/3.0/wearable/20170403.054941 submit/tizen_3.0/20170403.000655
DoHyun Pyun [Mon, 3 Apr 2017 00:03:04 +0000 (09:03 +0900)]
Fix svace issue (168145)

Change-Id: I65108912c5672e74c5e913d88052ce3fe0a8d817
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoDisallow BT headset pairing for DPM mode 29/122129/1 accepted/tizen/3.0/ivi/20170403.021649 accepted/tizen/3.0/mobile/20170403.021445 accepted/tizen/3.0/tv/20170403.021600 accepted/tizen/3.0/wearable/20170403.021627 submit/tizen_3.0/20170330.083350
DoHyun Pyun [Thu, 30 Mar 2017 08:26:32 +0000 (17:26 +0900)]
Disallow BT headset pairing for DPM mode

Change-Id: I0e759fb6ba1e51ababe368f0b20a7f2dab9d4178
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix svace issues (183482, 185309) 52/121752/1 accepted/tizen/3.0/common/20170329.151512 accepted/tizen/3.0/ivi/20170329.085146 accepted/tizen/3.0/mobile/20170329.085043 accepted/tizen/3.0/tv/20170329.085119 accepted/tizen/3.0/wearable/20170329.085136 submit/tizen_3.0/20170329.002755
DoHyun Pyun [Wed, 29 Mar 2017 00:22:45 +0000 (09:22 +0900)]
Fix svace issues (183482, 185309)

Change-Id: I4656772ec2347fe5d866530b5df60763ad9ac72d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRemove adapter_proxy unreference 26/121226/1
Sangki Park [Mon, 27 Mar 2017 08:43:11 +0000 (17:43 +0900)]
Remove adapter_proxy unreference

This unnecessary unreference causes the following error log.
> g_dbus_proxy_get_object_path: assertion 'G_IS_DBUS_PROXY (proxy)' failed

The adapter_proxy is a common resource and must be maintained.

Change-Id: I873f657dd31d8795d536d51d8e7519332914cc90
Signed-off-by: Sangki Park <sangki79.park@samsung.com>
7 years agoInstall the license file into the target 47/121047/1 accepted/tizen/3.0/common/20170328.141838 accepted/tizen/3.0/ivi/20170328.112156 accepted/tizen/3.0/mobile/20170328.112058 accepted/tizen/3.0/tv/20170328.112128 accepted/tizen/3.0/wearable/20170328.112140 submit/tizen_3.0/20170327.055915
DoHyun Pyun [Mon, 27 Mar 2017 06:11:01 +0000 (15:11 +0900)]
Install the license file into the target

Change-Id: I922245bb045c54af8fd2783f71ca72e623ba8a50
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix svace issues (183569, 183570, ...) 37/120937/1 accepted/tizen/3.0/common/20170327.141115 accepted/tizen/3.0/ivi/20170327.061525 accepted/tizen/3.0/mobile/20170327.061504 accepted/tizen/3.0/tv/20170327.061511 accepted/tizen/3.0/wearable/20170327.061518 submit/tizen_3.0/20170327.013857
DoHyun Pyun [Mon, 27 Mar 2017 01:32:45 +0000 (10:32 +0900)]
Fix svace issues (183569, 183570, ...)

Change-Id: I3ad973688aca2fb1620d63b08d4d0bd457eb1f00
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the TBT fail issue (bonding callback called twice) 79/119479/1 accepted/tizen/3.0/common/20170317.100625 accepted/tizen/3.0/ivi/20170317.090748 accepted/tizen/3.0/mobile/20170317.090705 accepted/tizen/3.0/tv/20170317.090730 accepted/tizen/3.0/wearable/20170317.090740 submit/tizen_3.0/20170317.061343
Lee Hyuk [Fri, 17 Mar 2017 06:00:37 +0000 (15:00 +0900)]
Fix the TBT fail issue (bonding callback called twice)

Change-Id: Ib08c45c4231feea5f507825bbd9bd54ee0864922
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoChange log directory's owner 44/118344/1
Seungyoun Ju [Wed, 8 Mar 2017 07:59:11 +0000 (16:59 +0900)]
Change log directory's owner

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

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

[Problem] BT hcidump is not gathered
[Cause & Measure] Directory owner is set as invalid user. So bt-hci-logdump.sh
 cannot acesss it
[Checking Method] *#9900#

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

Change-Id: Ibe4519fa1521965e3358b1ba24f39cc952893241
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoChange log directory's owner 43/118343/1
Seungyoun Ju [Fri, 28 Oct 2016 11:13:40 +0000 (20:13 +0900)]
Change log directory's owner

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

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

[Problem] BT hcidump is not gathered
[Cause & Measure] Directory owner is set as root. So bt-hci-logdump.sh
 cannot acesss it
[Checking Method] *#9900#

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

Change-Id: I9101359e3e8d123cd3ea4d8967aa4f29c22f7479
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoDeinitialize adv slot and scanner 34/117434/1 accepted/tizen/3.0/common/20170307.113220 accepted/tizen/3.0/ivi/20170307.090702 accepted/tizen/3.0/mobile/20170307.090418 accepted/tizen/3.0/tv/20170307.090524 accepted/tizen/3.0/wearable/20170307.090611 submit/tizen_3.0/20170306.075549
Injun Yang [Mon, 6 Mar 2017 05:59:50 +0000 (14:59 +0900)]
Deinitialize adv slot and scanner
 - When application request BLE scanning, IN_PROGRESS error returned
 - After recover bluetooth, adv slot and scanner is not initialized.

Change-Id: I97dff857079661ac89a62e4c1f4f94714194d9d5
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
7 years agoRevert "Reduce dbus timeout" 97/117397/1
DoHyun Pyun [Mon, 6 Mar 2017 04:05:53 +0000 (13:05 +0900)]
Revert "Reduce dbus timeout"

This reverts commit b77502f481485d060a9595c60cf78db1b98eccf9.

Change-Id: Iad7f7ba66e31ffefa9bba5f12828f90919d05b53
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRevert "Modify the dbus timeout value for TM1 GATT server" 96/117396/1
DoHyun Pyun [Mon, 6 Mar 2017 04:04:59 +0000 (13:04 +0900)]
Revert "Modify the dbus timeout value for TM1 GATT server"

This reverts commit 750b7a063dc8d90b24f5cffdfb8a3651de6b3866.

Change-Id: Ia02ecfafbf3bdbedd2969ca797b4d5fa42ea2f4b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoModify the dbus timeout value for TM1 GATT server 34/116934/1
DoHyun Pyun [Thu, 2 Mar 2017 05:27:03 +0000 (14:27 +0900)]
Modify the dbus timeout value for TM1 GATT server

Change-Id: I47c64e00ef4cc7cf92cfe368e7bd43de68e814e2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix SVACE issues in bluetooth-frwk 38/115038/1 accepted/tizen/3.0/common/20170220.125627 accepted/tizen/3.0/ivi/20170220.013431 accepted/tizen/3.0/mobile/20170220.013211 accepted/tizen/3.0/tv/20170220.013250 accepted/tizen/3.0/wearable/20170220.013345 submit/tizen_3.0/20170216.103037
Atul Rai [Thu, 16 Feb 2017 06:40:35 +0000 (12:10 +0530)]
Fix SVACE issues in bluetooth-frwk

SVACE Id: 174996, 174997, 175001, 175403, 175404, 175405, 175408.

Change-Id: I9585ca2777edd2caa8e626cb64834088d5304e82
Signed-off-by: Atul Rai <a.rai@samsung.com>
7 years agoFix SVACE issues(Id: 11323, 11324, 169036, 171525, 171526) 27/113827/2 accepted/tizen/3.0/common/20170214.180329 accepted/tizen/3.0/ivi/20170213.225231 accepted/tizen/3.0/mobile/20170213.225138 accepted/tizen/3.0/tv/20170213.225209 accepted/tizen/3.0/wearable/20170213.225220 submit/tizen_3.0/20170213.044639
Atul Rai [Thu, 9 Feb 2017 04:41:09 +0000 (10:11 +0530)]
Fix SVACE issues(Id: 11323, 11324, 169036, 171525, 171526)

Change-Id: Ic10a120b3519c4f849c56ae6745d22ff09a2ddcf
Signed-off-by: Atul Rai <a.rai@samsung.com>
7 years agoFix the memory leak in bt-core 98/111998/1 tizen_3.0_tv accepted/tizen/3.0/common/20170206.110816 accepted/tizen/3.0/ivi/20170206.034427 accepted/tizen/3.0/mobile/20170206.034314 accepted/tizen/3.0/tv/20170206.034353 accepted/tizen/3.0/wearable/20170206.034412 submit/tizen_3.0/20170202.043546 submit/tizen_3.0/20170206.000717
Lee Hyuk [Wed, 25 Jan 2017 08:16:28 +0000 (17:16 +0900)]
Fix the memory leak in bt-core

Change-Id: I24b30732c54705ca14967cc4a55f8d425929998c
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoReduce dbus timeout 89/111789/1
Injun Yang [Tue, 24 Jan 2017 04:11:13 +0000 (13:11 +0900)]
Reduce dbus timeout

Change-Id: Ia6985fd80495b6bbb26d4b53a685e41faeae9b4d
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoEnhnace debug messsage 88/111788/1
Injun Yang [Tue, 24 Jan 2017 04:02:07 +0000 (13:02 +0900)]
Enhnace debug messsage

Change-Id: Ide1f5d210f2eed3af9b10821168d8c93c34d16d5
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoEnhance debug message 76/111776/2
Injun Yang [Tue, 24 Jan 2017 02:42:28 +0000 (11:42 +0900)]
Enhance debug message

Change-Id: I771e8ff026fcbd91d863a327ba443ac298968a95
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoRemove the bt-ipsp daemon 95/111595/1
Lee Hyuk [Mon, 23 Jan 2017 02:33:00 +0000 (11:33 +0900)]
Remove the bt-ipsp daemon

Change-Id: Ie7da124e489c7c692f20dbc050861f9a8f1a4115
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoMerge "Invoke MTU changed callback" into tizen_3.0 accepted/tizen/3.0/common/20170120.102145 accepted/tizen/3.0/common/20170120.130948 accepted/tizen/3.0/ivi/20170120.072805 accepted/tizen/3.0/ivi/20170120.113422 accepted/tizen/3.0/mobile/20170120.072714 accepted/tizen/3.0/mobile/20170120.113332 accepted/tizen/3.0/tv/20170120.072743 accepted/tizen/3.0/tv/20170120.113349 accepted/tizen/3.0/wearable/20170120.072754 accepted/tizen/3.0/wearable/20170120.113405 submit/tizen_3.0/20170118.073413 submit/tizen_3.0/20170120.110835
Pyun DoHyun [Tue, 17 Jan 2017 08:24:12 +0000 (00:24 -0800)]
Merge "Invoke MTU changed callback" into tizen_3.0

7 years agoInvoke MTU changed callback 34/110634/1
Injun Yang [Tue, 17 Jan 2017 08:21:06 +0000 (17:21 +0900)]
Invoke MTU changed callback

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

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

[Problem] When remote device request mtu exchange,
 mtu changed callback is not invoked on responder
[Cause & Measure] Invoke mtu changed callback
[Checking Method] Request mtu exchange on remote device

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

Change-Id: Ie7c8574adef6a215cc839dd5c2de88d7db9ea314
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years ago[TDS] Implement TDS Seeker role 71/110471/3
Anupam Roy [Mon, 16 Jan 2017 10:25:16 +0000 (15:55 +0530)]
[TDS] Implement TDS Seeker role

This patch implements the Seeker role of
TDS Connection handover profile. Following
requests and events are handled in this patch.

1/ Read complete TDS transport specific blocks
   from GATT database of remote TDS provider
2/ Enable CCCD (client characteristic configuration)
   parameters in Remote TDS provider.
3/ Activate TDS Control Point in Remote TDS provider.
   This will attempt to activate alternate transport
4/ Send following events to bt-api
   a/ CCCD Enabled
   b/ Activation Response
   c/ Activation Indication

Change-Id: I7edbfccfc2b9b7688d27c545248cb49b753c4dd4
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
7 years agoAdded Transport Discovery Service Provider Role 31/110431/1
Atul Rai [Thu, 29 Dec 2016 09:40:06 +0000 (15:10 +0530)]
Added Transport Discovery Service Provider Role

This patch adds implementation for Transport Discovery Service
provider role. APIs and events to fulfill TDS provider functionality
are given below.
APIs:
1/ Register/Unregister TDS provider
2/ Create/Destroy a transport provider
3/ Set Transport block data
4/ TDS control point activation response
Events:
1/ TDS control point activation request

Change-Id: Ie6fe5ec1f24075db7bdf761efba74d7d18efd5fa
Signed-off-by: Atul Rai <a.rai@samsung.com>
7 years ago[Audio] Add mutiple HFP/A2DP support 26/108026/5
Gowtham Anandha Babu [Thu, 29 Dec 2016 12:54:30 +0000 (18:24 +0530)]
[Audio] Add mutiple HFP/A2DP support

Rightnow two headsets are establishing call-audio connection.
But media-audio is happening for one of the headsets, because
pulse-audio is registering only one SEP.

Change-Id: I4c538b550b39ae9a13fcd60357974efd7f5d374a
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoAdd the IPSP daemon and Set Ipv6 Address 12/108112/5
Lee Hyuk [Tue, 3 Jan 2017 05:22:35 +0000 (14:22 +0900)]
Add the IPSP daemon and Set Ipv6 Address

Change-Id: Ife805c4e804235750d3948545175905df156474d
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoGATT client: Fix service change watcher set and unset logic 79/108179/2
Anupam Roy [Tue, 3 Jan 2017 08:00:27 +0000 (13:30 +0530)]
GATT client: Fix service change watcher set and unset logic

Change-Id: Idf5a859b615e983e5acca065cd210aea8ed114b7
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
7 years agoChange service description to avoid confusion 89/109989/1
Łukasz Stelmach [Thu, 12 Jan 2017 10:42:12 +0000 (11:42 +0100)]
Change service description to avoid confusion

Change the Description filed in the service files to avoid confiusion
with the service provided by platform/upstream/bluetooth.

Change-Id: I3fc10dbd7629ad46b921a8d12e699f90f2b98f56

7 years agoFix the typo and add service information 52/109352/1
Injun Yang [Tue, 10 Jan 2017 05:51:21 +0000 (14:51 +0900)]
Fix the typo and add service information

Change-Id: I4fc7675ac83cf421b687e2b52bf1792f4812849e
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoFix the coding style error 26/109326/1
DoHyun Pyun [Tue, 10 Jan 2017 04:11:37 +0000 (13:11 +0900)]
Fix the coding style error

Change-Id: I2915111b23bfc3427e63bd27b96c831ac5eed892
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoEnhance debug message 83/109183/2
Injun Yang [Mon, 9 Jan 2017 07:03:13 +0000 (16:03 +0900)]
Enhance debug message

Change-Id: I01f434fc671d21c20dff27bac5a2fa1e14c07508
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoModify the paired uuid count 87/108187/2 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen/3.0.m2/mobile/20170104.125115 accepted/tizen/3.0.m2/tv/20170104.125523 accepted/tizen/3.0.m2/wearable/20170104.125730 accepted/tizen/3.0/common/20170103.172927 accepted/tizen/3.0/common/20170120.131012 accepted/tizen/3.0/ivi/20170103.155531 accepted/tizen/3.0/ivi/20170120.114946 accepted/tizen/3.0/mobile/20170103.155435 accepted/tizen/3.0/mobile/20170120.114900 accepted/tizen/3.0/tv/20170103.155450 accepted/tizen/3.0/tv/20170120.114912 accepted/tizen/3.0/wearable/20170103.155512 accepted/tizen/3.0/wearable/20170120.114932 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0/20170103.091358 submit/tizen_3.0/20170120.114629
Lee Hyuk [Tue, 3 Jan 2017 08:47:42 +0000 (17:47 +0900)]
Modify the paired uuid count

Change-Id: I896a92bf800581a0f0584eaddbb955f5c0416a36
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoDPM: Fix DPM GCC6 warning errors. 46/107446/1
h.sandeep [Fri, 16 Dec 2016 08:25:09 +0000 (13:55 +0530)]
DPM: Fix DPM GCC6 warning errors.

Change-Id: I828af56f6cfa873af2caaeddb17333db8cd85df9
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoSet the BT device vconf value when HID device is connected / disconnected 79/107379/1 accepted/tizen/3.0/common/20161228.162209 accepted/tizen/3.0/ivi/20161228.091542 accepted/tizen/3.0/mobile/20161228.091445 accepted/tizen/3.0/tv/20161228.091458 accepted/tizen/3.0/wearable/20161228.091520 submit/tizen_3.0/20161228.001857
DoHyun Pyun [Wed, 28 Dec 2016 00:14:56 +0000 (09:14 +0900)]
Set the BT device vconf value when HID device is connected / disconnected

Change-Id: Ic784d7c03d72819b3ea2a22bd4fad97d8ed95986
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge "Unregister obex-server and media-player" into tizen_3.0 accepted/tizen/3.0/common/20161228.071642 accepted/tizen/3.0/ivi/20161228.021858 accepted/tizen/3.0/mobile/20161228.021809 accepted/tizen/3.0/tv/20161228.021822 accepted/tizen/3.0/wearable/20161228.021843 submit/tizen_3.0/20161227.064850
Pyun DoHyun [Tue, 27 Dec 2016 06:04:37 +0000 (22:04 -0800)]
Merge "Unregister obex-server and media-player" into tizen_3.0

7 years agoUnregister obex-server and media-player 83/107183/1
Nagaraj D R [Thu, 15 Dec 2016 10:47:55 +0000 (16:17 +0530)]
Unregister obex-server and media-player

In case of recovery adapter, flightmode, and UPS
media player and obex-server are not unregistered.
This might lead to problmes if bt-service is kept alive.

Change-Id: Ib5e299572ae528facfaf62db4f2959c4acd83f69

7 years agoFix usage of "ENABLE_TIZEN_2_4" 54/102754/3
Nagaraj D R [Tue, 6 Dec 2016 11:16:56 +0000 (16:46 +0530)]
Fix usage of "ENABLE_TIZEN_2_4"

If "ENABLE_TIZEN_2_4" is not defined, only then UPS
related changes in bt-core should be included.

Change-Id: I2cf4a8999253b95f4dcdb0997e9ab5d53a472f9a

7 years agoFix "Permission Denied" error for bluez service functions 74/107174/1
Nagaraj D R [Tue, 27 Dec 2016 05:05:50 +0000 (10:35 +0530)]
Fix "Permission Denied" error for bluez service functions

For few of the bluez service functions, application
is receiving "Permission Denied" error even though it has
required privilege. This is because these service
functions are not added in privilege check routine

Change-Id: Ib3ac40988cd58e188fdcc1746dfa786272b7ac25

7 years agoMerge "Modify the AVRCP meta data duration type" into tizen_3.0
Pyun DoHyun [Mon, 26 Dec 2016 09:34:19 +0000 (01:34 -0800)]
Merge "Modify the AVRCP meta data duration type" into tizen_3.0

7 years agoRevert "DPM: Fix DPM GCC6 warning errors." 81/106981/2 accepted/tizen/3.0/common/20161227.101705 accepted/tizen/3.0/ivi/20161227.012031 accepted/tizen/3.0/mobile/20161227.011937 accepted/tizen/3.0/tv/20161227.011956 accepted/tizen/3.0/wearable/20161227.012014 submit/tizen_3.0/20161226.011357
DoHyun Pyun [Mon, 26 Dec 2016 05:00:08 +0000 (14:00 +0900)]
Revert "DPM: Fix DPM GCC6 warning errors."

This reverts commit 69a889b2872947fc8034b4dd787eb1a210d9a2b0.
Fix the next build error in tizen_3.0

178s] [ 88%] Building C object bt-service/CMakeFiles/bt-service.dir/bt-service-dpm.c.o
[  179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:35:2: error: excess elements in union initializer [-Werror]
[  179s]   [DPM_POLICY_ALLOW_BLUETOOTH] = { {DPM_BT_ERROR, NULL} },
[  179s]   ^
[  179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:35:2: error: (near initialization for 'policy_table[0].<anonymous>') [-Werror]
[  179s] /home/abuild/rpmbuild/BUILD/bluetooth-frwk-0.2.156/bt-service/bt-service-dpm.c:36:2: error: excess elements in union initializer [-Werror]
[  179s]   [DPM_POLICY_BLUETOOTH_DEVICE_RESTRICTION] = { {DPM_STATUS_ERROR, NULL} },

Change-Id: I549af70370af09ace903822e17f993b47bc98c9c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoModify the AVRCP meta data duration type 12/106812/5
Lee Hyuk [Fri, 23 Dec 2016 06:53:35 +0000 (15:53 +0900)]
Modify the AVRCP meta data duration type

Change-Id: I6918400e9c95bba52903fda92a0a77c60828b1c2
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoFix the svace issue 39/106939/1
DoHyun Pyun [Mon, 26 Dec 2016 01:08:54 +0000 (10:08 +0900)]
Fix the svace issue

Change-Id: I1fb7464f2e3fa84ced612d62da7a13c568afc786
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoCode cleanup 75/106775/1
Injun Yang [Fri, 23 Dec 2016 03:48:29 +0000 (12:48 +0900)]
Code cleanup

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

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

[Problem] N/A
[Cause & Measure] Remove unused code
[Checking Method] N/A

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

Change-Id: I65dce5534cbac0d8642473d3ca01b137c68b7c7d
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoAdd HCI error reason 65/106065/1
Injun Yang [Tue, 20 Dec 2016 09:34:15 +0000 (18:34 +0900)]
Add HCI error reason

Change-Id: I8f2ea88e609e547e2d4bf526b5431defcbfb17ee
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoDPM: Fix DPM GCC6 warning errors. 44/105344/1
h.sandeep [Fri, 16 Dec 2016 08:25:09 +0000 (13:55 +0530)]
DPM: Fix DPM GCC6 warning errors.

Change-Id: I152f2a1a11757ef180655e27d063510a47847fd5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoMerge "Send LE scan result to requester only" into tizen_3.0
Pyun DoHyun [Mon, 12 Dec 2016 07:07:20 +0000 (23:07 -0800)]
Merge "Send LE scan result to requester only" into tizen_3.0

7 years agoSend LE scan result to requester only 50/103950/1
Injun Yang [Mon, 12 Dec 2016 01:49:26 +0000 (10:49 +0900)]
Send LE scan result to requester only

Change-Id: I62f69dc111e568217775da9ab7a153293304f8c9
Signed-off-by: Injun Yang <injun.yang@samsung.com>
7 years agoFix progress percentage on DUT while waiting for remote authorization 16/103816/2
Syam Sidhardhan [Fri, 9 Dec 2016 11:38:33 +0000 (17:08 +0530)]
Fix progress percentage on DUT while waiting for remote authorization

Soon after TransferStarted event, TransferProgress event
has been send with value. Due to this, if we transfer a small file (100KB),
while waiting for remote authorization, the file progress on DUT shows
some percentage (> 0 depending on file size).

Change-Id: I5ebf9293e78d2701bb47da127f9f68eb7ba2eb90
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
7 years agoFix TCT fail issue for the obex server 57/103657/1 accepted/tizen/3.0/common/20161209.161009 accepted/tizen/3.0/ivi/20161209.103821 accepted/tizen/3.0/mobile/20161209.103620 accepted/tizen/3.0/tv/20161209.103749 accepted/tizen/3.0/wearable/20161209.103807 submit/tizen_3.0/20161209.004609
DoHyun Pyun [Fri, 9 Dec 2016 05:10:05 +0000 (14:10 +0900)]
Fix TCT fail issue for the obex server

Change-Id: I398c44efba5b6dcb43d641fdb406ab3ab79c9b4b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the arch64 build flag for the emulator64 arch 98/103598/2
DoHyun Pyun [Fri, 9 Dec 2016 02:07:56 +0000 (11:07 +0900)]
Add the arch64 build flag for the emulator64 arch

Change-Id: I42506ec29060281cebf007094b11e7e48aa1c112
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd -Werror option in the bt-service folder 18/103318/2
DoHyun Pyun [Thu, 8 Dec 2016 05:00:55 +0000 (14:00 +0900)]
Add -Werror option in the bt-service folder

Change-Id: Icb690ecc5b848a374bdf9950ad28449c47606c55
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoWarnings fixed for BT MAP 32/103432/1
Piotr Dabrowski [Thu, 8 Dec 2016 08:42:59 +0000 (09:42 +0100)]
Warnings fixed for BT MAP

Change-Id: Idb9eecc02ceba2a46ab1067a0309466655d13440

7 years agoRemove unnecessary check 65/103365/1
Seungyoun Ju [Wed, 7 Dec 2016 08:38:49 +0000 (17:38 +0900)]
Remove unnecessary check

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

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

[Problem] g_malloc always returns proper memory location. If it is not
 available, abort will happenes. So its return value doesn't need to
 check.
[Cause & Measure] g_malloc's return value was checked.
[Checking Method] Code review

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

Change-Id: I97cb2ba2011fa20a908007ce4dcd5350ea6d0c6f

7 years agoRemove the map client code into the emulator 33/103333/1 accepted/tizen/3.0/common/20161209.094745 accepted/tizen/3.0/ivi/20161209.001816 accepted/tizen/3.0/mobile/20161209.001728 accepted/tizen/3.0/tv/20161209.001753 accepted/tizen/3.0/wearable/20161209.001803 submit/tizen_3.0/20161208.051813
DoHyun Pyun [Thu, 8 Dec 2016 05:46:53 +0000 (14:46 +0900)]
Remove the map client code into the emulator

Change-Id: Ie8a1a245a615fea010d803a6c711ed35e32ade4f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace issues for MAP functions 17/103317/1
DoHyun Pyun [Thu, 8 Dec 2016 04:50:44 +0000 (13:50 +0900)]
Fix the svace issues for MAP functions

Change-Id: I007b2ff32429334901f284d43082dae6e009ea86
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoCheck the privelege for MAP APIs as the platform level 15/103315/1
DoHyun Pyun [Thu, 8 Dec 2016 04:47:24 +0000 (13:47 +0900)]
Check the privelege for MAP APIs as the platform level

Change-Id: I0bef92ac56fa75833be6fca134d49fbfb40106e9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the coding style errors 14/103314/1
DoHyun Pyun [Thu, 8 Dec 2016 04:46:44 +0000 (13:46 +0900)]
Fix the coding style errors

Change-Id: Iaadf5045dbfa5e9c2d77d4b58afcbf62a75a7ecd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoEnable the previlege check for public release 61/103261/1
DoHyun Pyun [Thu, 8 Dec 2016 00:55:17 +0000 (09:55 +0900)]
Enable the previlege check for public release

Change-Id: Ie65f47308f4efd7dd9fd8d0abaa0e177c999a2c7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[bluetooth-frwk] pushMessage 55/102855/2
Piotr Dabrowski [Fri, 18 Nov 2016 08:58:48 +0000 (09:58 +0100)]
[bluetooth-frwk] pushMessage

Change-Id: I47f99f194f1992cf8c6ef7127dd48c6bfd5e9fbc

7 years ago[bluetooth-frwk] bt_map_client_message_object_h 54/102854/2
Piotr Dabrowski [Fri, 11 Nov 2016 10:25:45 +0000 (11:25 +0100)]
[bluetooth-frwk] bt_map_client_message_object_h

Change-Id: I12eccc5b3f2bda2e39d9bf5f45c70aa2d6f309c4

7 years ago[bluetooth-frwk] listFolders filter, refactor, removed GVariant, cleanup 53/102853/2
Piotr Dabrowski [Thu, 17 Nov 2016 13:45:05 +0000 (14:45 +0100)]
[bluetooth-frwk] listFolders filter, refactor, removed GVariant, cleanup

Change-Id: Ifcd1cf3311f1f64b78c92de4bf366f9515e39073

7 years ago[bluetooth-frwk] added getMessage implementation 52/102852/2
Piotr Kosko [Wed, 9 Nov 2016 07:01:50 +0000 (08:01 +0100)]
[bluetooth-frwk] added getMessage implementation

Change-Id: Iedb4fc0d4bd721a496112c1aed36ae79ef0093f4
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[bluetooth-frwk] listMessages 51/102851/2
Piotr Dabrowski [Wed, 9 Nov 2016 15:39:46 +0000 (16:39 +0100)]
[bluetooth-frwk] listMessages

Change-Id: Ibc633c9c9e930da5cc296917d7821d0f2294971a

7 years ago[bluetooth-frwk] fix in listFolders and listFilterFields 50/102850/2
Lukasz Bardeli [Fri, 4 Nov 2016 13:32:56 +0000 (14:32 +0100)]
[bluetooth-frwk] fix in listFolders and listFilterFields

Change-Id: I4ef2f1416dd94dd5e390c69f15116e354c5c70cf
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years ago[bluetooth-frwk] Added listFilterFields implementation with async result 49/102849/2
Lukasz Bardeli [Fri, 4 Nov 2016 10:44:01 +0000 (11:44 +0100)]
[bluetooth-frwk] Added listFilterFields implementation with async result

[Feature] added implementation for listFilterFields method

[Verification] function checked with sample C program:
 - listing filter fields is possible

Change-Id: Ic3cb5b18df442f4a896b80941228e63e5cfa8dac
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years ago[bluetooth-frwk] Added listFolders implementation with async result 48/102848/2
Piotr Kosko [Fri, 28 Oct 2016 12:57:49 +0000 (14:57 +0200)]
[bluetooth-frwk] Added listFolders implementation with async result

[Feature] added implementation for listFolders method

[Verification] function checked with sample C program:
  - listing folder is possible,
  - options work correctly and maxcount works fine.
  - user_data is correctly passed to result callback

Change-Id: If81066103306cd1bc4199d5bf2a1396c4d11af7f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
7 years ago[bluetooth-frwk] API defines 47/102847/2
Piotr Dabrowski [Wed, 26 Oct 2016 15:46:50 +0000 (17:46 +0200)]
[bluetooth-frwk] API defines

Change-Id: I908dc6e6410c91c8c4b6b483658b796d0e2ccfb9

7 years ago[bluetooth-frwk] setFolder 46/102846/2
Piotr Dabrowski [Wed, 26 Oct 2016 15:37:52 +0000 (17:37 +0200)]
[bluetooth-frwk] setFolder

Change-Id: I58c2c6a9eb54335920d553a6d376e9cceb6b5821

7 years ago[bluetooth-frwk] updateInbox 45/102845/2
Lukasz Bardeli [Tue, 25 Oct 2016 09:57:12 +0000 (11:57 +0200)]
[bluetooth-frwk] updateInbox

Change-Id: Idee948fbab0b451ebecd996895966abffc0e09e1

7 years ago[bluetooth-frwk] Create/destroy session implementation added 44/102844/2
Piotr Kosko [Wed, 19 Oct 2016 10:31:45 +0000 (12:31 +0200)]
[bluetooth-frwk] Create/destroy session implementation added

Change-Id: I3fcba252d63b110328f5fb1478ea27dd70993e3f
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
7 years agoinitial MAP stub implementation 43/102843/2
Piotr Dabrowski [Mon, 17 Oct 2016 08:25:12 +0000 (10:25 +0200)]
initial MAP stub implementation

Change-Id: Ic23c297cb65b69d05b2ec63ef3db414504ec3014

7 years agobt-core: Fix bt-core crash 17/102717/2 accepted/tizen/3.0/common/20161207.195224 accepted/tizen/3.0/ivi/20161207.135108 accepted/tizen/3.0/mobile/20161207.134930 accepted/tizen/3.0/tv/20161207.134901 accepted/tizen/3.0/wearable/20161207.135019 submit/tizen_3.0/20161207.043635
Anurag Biradar [Tue, 6 Dec 2016 04:30:15 +0000 (10:00 +0530)]
bt-core: Fix bt-core crash

g_dbus_proxy_call_sync function expects a double pointer for "err"
variable in it's parameter list

Change-Id: I534c22e1330998aa0fd9fb8e03f2d222f1c2f04a

7 years agoFix the coding style errors 29/102629/1
DoHyun Pyun [Tue, 6 Dec 2016 08:19:56 +0000 (17:19 +0900)]
Fix the coding style errors

Change-Id: Ifba36e6102bb60339d2d3c9c52ef596c7e10fed8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix svace 2.2 issues 07/102607/1
DoHyun Pyun [Tue, 6 Dec 2016 07:49:31 +0000 (16:49 +0900)]
Fix svace 2.2 issues

Change-Id: Ic4b27a4cc8e0d5f4a5e828eaedb5297aa7e5ec46
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the build warning 06/102606/1
DoHyun Pyun [Tue, 6 Dec 2016 07:43:41 +0000 (16:43 +0900)]
Fix the build warning

Change-Id: I79a973c63a57ce89e8adb4b7fa91bab755ac95c3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the bug for dbus connection and proxy deinitialization 57/102457/1 accepted/tizen/3.0/common/20161207.194308 accepted/tizen/3.0/ivi/20161207.011042 accepted/tizen/3.0/mobile/20161207.010939 accepted/tizen/3.0/tv/20161207.010958 accepted/tizen/3.0/wearable/20161207.011016 submit/tizen_3.0/20161206.041315
DoHyun Pyun [Tue, 6 Dec 2016 02:01:28 +0000 (11:01 +0900)]
Fix the bug for dbus connection and proxy deinitialization

Change-Id: Id81a3924fb85697bf2056a6c1403f9e3ff9275ca
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoProcess response_needed parameter in GATT Server 93/101893/2
Seungyoun Ju [Fri, 2 Dec 2016 10:02:42 +0000 (19:02 +0900)]
Process response_needed parameter in GATT Server

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

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

[Problem] User couldn't know whether this write request require a
 response or not
[Cause & Measure] Old bluez didn't provide the information about
 response's necessity. Now bluez provides it so processing logic has been
 implemented in this patch.
[Checking Method] Run GATT Server on DUT -> Send some Write Without
 Response or Write Req from remote

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

Change-Id: If519f964c86f7c786b92febc1104358184aef427

7 years agoDisable HPS feature from binary 28/102128/1
Sudha Bheemanna [Fri, 2 Dec 2016 05:36:59 +0000 (11:06 +0530)]
Disable HPS feature from binary

Disable inclusion of HPS feature in binary tizen 3.0

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