platform/core/api/bluetooth.git
6 years agoFix parameter order 82/144282/1
injun.yang [Wed, 16 Aug 2017 06:44:59 +0000 (15:44 +0900)]
Fix parameter order

Change-Id: I4e2fcd72606c00322c25f6a8a614a823b98754ef
Signed-off-by: injun.yang <injun.yang@samsung.com>
6 years agoDebug message cleanup 50/144250/1
injun.yang [Wed, 16 Aug 2017 05:19:16 +0000 (14:19 +0900)]
Debug message cleanup

Change-Id: I96efd109ee0bfe45da05f86ec77fdb35d92dd167
Signed-off-by: injun.yang <injun.yang@samsung.com>
6 years agoApply Tizen3.0 Gatt client product patch 87/142987/1 accepted/tizen/unified/20170809.135136 accepted/tizen/unified/20170811.021135 submit/tizen/20170808.231821 submit/tizen/20170809.230017
h.sandeep [Tue, 8 Aug 2017 06:31:06 +0000 (12:01 +0530)]
Apply Tizen3.0 Gatt client product patch

===============================================
 commit 4a721c92d78ddb62650f596a4af26637db60a36e
 Author: Seungyoun Ju <sy39.ju@samsung.com>
 Date:   Wed Apr 26 18:03:40 2017 +0900
     Fix : Simultaneous GATT client requests are failed
===============================================

Change-Id: Ifc3012d97c68c8bdcc14a7b1a1ab1cb4441253b6
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
6 years agoApply tizen 3.0 based product patchsets 90/142690/2 accepted/tizen/unified/20170808.171417 submit/tizen/20170808.020532
DoHyun Pyun [Mon, 7 Aug 2017 04:55:42 +0000 (13:55 +0900)]
Apply tizen 3.0 based product patchsets

-------------------------------------------------
commit 4479eac5ecd1d64e09b39d8451522da9f9b335cd
Author: Deokhyun Kim <dukan.kim@samsung.com>
Date:   Fri Jul 14 18:59:19 2017 +0900

    Fix parameter order
-------------------------------------------------

Change-Id: If6142828b69022b36df961920c6163cc55c89b1a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years ago[OTP] Add support for service changed indication 04/142104/1
Gowtham Anandha Babu [Wed, 2 Aug 2017 12:07:45 +0000 (17:37 +0530)]
[OTP] Add support for service changed indication

Change-Id: I2a0fe7d3e26904f4d11dbe6a5dc5af0b9a81d199
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
6 years ago[OTP] Add Object Changed Characteristics implementation 33/141633/1
Gowtham Anandha Babu [Tue, 1 Aug 2017 07:24:40 +0000 (12:54 +0530)]
[OTP] Add Object Changed Characteristics implementation

Refactor OTP Client code.

Change-Id: Iabdd5a4bee810a936b74f582404a3d1ce56c7faf
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
6 years ago[GATT] Fix ATT application ecode 26/140726/2
Gowtham Anandha Babu [Wed, 26 Jul 2017 07:06:30 +0000 (12:36 +0530)]
[GATT] Fix ATT application ecode

1) Add error codes defined in Common Profile and
Service Error Code descriptions (see Supplement to the
Bluetooth Core Specification, sections 1.2 and 2).

2) Seperate out OTP specific application ecode.

Change-Id: I63113596ee74f86b6dc721048a193f5296b4f0fb
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
6 years ago[GATT Server] Delivery the specific error code to central device 16/140616/1 accepted/tizen/4.0/unified/20170816.013913 accepted/tizen/4.0/unified/20170816.020257 accepted/tizen/unified/20170727.190509 submit/tizen/20170725.234514 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Gowtham Anandha Babu [Tue, 25 Jul 2017 14:59:59 +0000 (20:29 +0530)]
[GATT Server] Delivery the specific error code to central device

[Problem] Unalbe to pass application error code to central device
[Cause & Measure] Pass the specific error code to central device
[Checking Method] Reponse with the specific error to central device

Change-Id: I169fa6456ad3421029868209c1df7850a2e5104f
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
6 years agoFix static analysis tool warnings 17/140017/1
Atul Rai [Fri, 21 Jul 2017 10:31:59 +0000 (16:01 +0530)]
Fix static analysis tool warnings

Change-Id: I35071e0f9564961610f5a4e924ab5ae8336ce20f
Signed-off-by: Atul Rai <a.rai@samsung.com>
7 years ago[GATT Client] Delivery ATT error code to higher layer 78/139378/5 accepted/tizen/unified/20170721.201850 submit/tizen/20170721.013619
Gowtham Anandha Babu [Tue, 18 Jul 2017 13:35:50 +0000 (19:05 +0530)]
[GATT Client] Delivery 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: Ic7c8f14f107dd65bae925c2e424b3bd71e04f8b8
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoFix the routine checking a parameter 'buttons'. 23/138623/1 accepted/tizen/unified/20170713.153740 submit/tizen/20170713.052302
DoHyun Pyun [Thu, 13 Jul 2017 04:51:31 +0000 (13:51 +0900)]
Fix the routine checking a parameter 'buttons'.

The value of 'buttons' can be 0(BUTTON_NONE) and combined each other.

Change-Id: Ia9ccecb83a9b375c62fd8daa9047fef3c6d1aeda
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge "[OTP] Fix PTS fail cases" into tizen accepted/tizen/unified/20170711.180537 submit/tizen/20170710.052629
Pyun DoHyun [Thu, 29 Jun 2017 23:07:51 +0000 (23:07 +0000)]
Merge "[OTP] Fix PTS fail cases" into tizen

7 years ago[OTP] Fix PTS fail cases 10/136410/1
Gowtham Anandha Babu [Thu, 29 Jun 2017 09:59:04 +0000 (15:29 +0530)]
[OTP] Fix PTS fail cases

Change-Id: I823eac40ecadc62a1b5f4a8aeaaa76d1457fa091
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoMerge "Add the SetAbsoluteVolume internal API for AVRCP controller" into tizen
Pyun DoHyun [Wed, 28 Jun 2017 00:07:00 +0000 (00:07 +0000)]
Merge "Add the SetAbsoluteVolume internal API for AVRCP controller" into tizen

7 years agoAdd the SetAbsoluteVolume internal API for AVRCP controller 51/135851/1
Hyuk Lee [Tue, 27 Jun 2017 05:09:50 +0000 (14:09 +0900)]
Add the SetAbsoluteVolume internal API for AVRCP controller

Change-Id: Ie4362694983e5e8d93f3652bcbd68964519ac0f7
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years ago[OTP] Expose Object Delete API 04/135604/1
Gowtham Anandha Babu [Fri, 23 Jun 2017 09:26:15 +0000 (14:56 +0530)]
[OTP] Expose Object Delete API

Change-Id: I9bdc093e89b15299258233ba47df9bc5baf547df
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years ago[OTP] Expose Object Execute API 44/134944/3
Gowtham Anandha Babu [Tue, 20 Jun 2017 10:13:50 +0000 (15:43 +0530)]
[OTP] Expose Object Execute API

Change-Id: If7ebdbad5a59d3b7ce7310c5ecb178f20791298f
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoMerge "[OTP] Expose Object Write API" into tizen
Pyun DoHyun [Tue, 20 Jun 2017 07:13:16 +0000 (07:13 +0000)]
Merge "[OTP] Expose Object Write API" into tizen

7 years ago[OTP] Expose Object Write API 27/134627/5
Gowtham Anandha Babu [Mon, 19 Jun 2017 13:30:09 +0000 (19:00 +0530)]
[OTP] Expose Object Write API

Change-Id: Ife975cdd71cd6021ed4cfa450c21891b10d6b321
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoFix unwanted check logic before g_free() 73/134273/4
Syam Sidhardhan [Thu, 15 Jun 2017 15:13:25 +0000 (20:43 +0530)]
Fix unwanted check logic before g_free()

g_free() internally validate the pointer

Change-Id: I7eb07198c65e79dfb9282445fd8625651fc120fc
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
7 years agosrc: Fix invalid return check for g_malloc 72/134272/1
Syam Sidhardhan [Thu, 15 Jun 2017 15:07:34 +0000 (20:37 +0530)]
src: Fix invalid return check for g_malloc

if params are correct, g_malloc*() will always return
a valid pointer, otherwise it will assert.

Change-Id: Ia2140202e8bce62a527af2fa8596d0e3e4e42c9b
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
7 years agogatt: proximity: Fix mismatching allocation and deallocation 71/134271/1
Syam Sidhardhan [Thu, 15 Jun 2017 14:27:19 +0000 (19:57 +0530)]
gatt: proximity: Fix mismatching allocation and deallocation

As per the glib documentation, the memory allocated using the glib
api's needs to be freed using corresponding glib free api's and not
libc api's, otherwise undefined behaviour can happen. This is because
the libc allocation and glib allocation uses different memory pools.
Similarly for libc api's.

Change-Id: I502ca5f143417c2ce4acf12e47b317d5339a48c1
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
7 years agocommon: Fix memory leak 70/134270/1
Syam Sidhardhan [Thu, 15 Jun 2017 14:22:34 +0000 (19:52 +0530)]
common: Fix memory leak

We have to free the allocated memory.

Change-Id: I040d3e0d57fa7967a5e4e3f456ec936b9f1f2ba2
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
7 years ago[OTP] Expose Object Create API 07/133807/2
Gowtham Anandha Babu [Tue, 13 Jun 2017 10:33:28 +0000 (16:03 +0530)]
[OTP] Expose Object Create API

Change-Id: Ie344d4b176889b1acb99dfea234ece1c5b337621
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years ago[OTP] Expose Object Select API 02/132802/3 accepted/tizen/unified/20170613.194511 submit/tizen/20170613.061617
Gowtham Anandha Babu [Wed, 7 Jun 2017 15:04:47 +0000 (20:34 +0530)]
[OTP] Expose Object Select API

Change-Id: I7cb2de1136ddf7f681f2744ac31eed8c947bc4ea
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years ago[OTP] Fix to track ongoing APIs 80/132680/2
Gowtham Anandha Babu [Wed, 7 Jun 2017 06:32:56 +0000 (12:02 +0530)]
[OTP] Fix to track ongoing APIs

Change-Id: Ic5e59a0f12f5f6b0c0ab45eb0ea96bcac7dd9307
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years ago[OTP] Fix Object Read logic 23/131523/2
Gowtham Anandha Babu [Mon, 29 May 2017 13:41:03 +0000 (19:11 +0530)]
[OTP] Fix Object Read logic

Change-Id: Iac4e6ca7593e6127ba100fbf3ae49a80f1ac90f2
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoMerge "[OTP] Expose APIs for read object contents" into tizen
Pyun DoHyun [Mon, 29 May 2017 03:46:32 +0000 (03:46 +0000)]
Merge "[OTP] Expose APIs for read object contents" into tizen

7 years ago[OTP] Expose APIs for read object contents 83/130883/2
Gowtham Anandha Babu [Wed, 24 May 2017 08:23:15 +0000 (13:53 +0530)]
[OTP] Expose APIs for read object contents

Change-Id: I2011fc945b6f4e0ce859b34d8ea95a519d5526cc
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoRemove the package dependency about capi-appfw-application 71/130571/1 submit/tizen/20170523.010304
DoHyun Pyun [Tue, 23 May 2017 04:05:00 +0000 (13:05 +0900)]
Remove the package dependency about capi-appfw-application

Change-Id: Ic3e34ae08f8b2a7056d50ec1750ac3e5b40a52d9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[Bluetooth][OTP-Client] Expose object browsing APIs 36/128836/5
Gowtham Anandha Babu [Thu, 11 May 2017 13:47:41 +0000 (19:17 +0530)]
[Bluetooth][OTP-Client] Expose object browsing APIs

1) With this API, otp-client application can discover
   all remote object(s).

Change-Id: I026e4f9b527df9551dfaf3ba85271102a9d9c505
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoFix the Native API reference error 01/130301/1 submit/tizen/20170522.012704
DoHyun Pyun [Mon, 22 May 2017 01:22:21 +0000 (10:22 +0900)]
Fix the Native API reference error

Change-Id: I1768444aa48322586cb0544123d9d667418a659f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge "Add the comment for excluding line coverage" into tizen
Pyun DoHyun [Fri, 12 May 2017 07:06:47 +0000 (07:06 +0000)]
Merge "Add the comment for excluding line coverage" into tizen

7 years agoAdd the comment for excluding line coverage 00/128900/1
Hyuk Lee [Fri, 12 May 2017 04:18:11 +0000 (13:18 +0900)]
Add the comment for excluding line coverage

Change-Id: I9a04a35b7a7ae771cc7b37c39f272081c63fe9a4
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoMerge "[Bluetooth][OTP-Client] Expose OTP client APIs" into tizen
Pyun DoHyun [Thu, 11 May 2017 07:27:56 +0000 (07:27 +0000)]
Merge "[Bluetooth][OTP-Client] Expose OTP client APIs" into tizen

7 years agoInclude the glib header in the internal type header 57/128457/1 accepted/tizen/unified/20170510.183159 submit/tizen/20170510.055613 tizen_4.0.m1_release
DoHyun Pyun [Wed, 10 May 2017 05:48:19 +0000 (14:48 +0900)]
Include the glib header in the internal type header

Change-Id: I6267eaf34402d57fc60cd088cc2266691fe5d81e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace issue (WGID:212366, 212388) 33/128133/2 accepted/tizen/unified/20170508.153105 submit/tizen/20170508.015850
Hyuk Lee [Mon, 8 May 2017 01:06:29 +0000 (10:06 +0900)]
Fix the svace issue (WGID:212366, 212388)

Change-Id: I38b2ad423fb851cb33b6d12a044abf0964a1bc8e
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years ago[Bluetooth][OTP-Client] Expose OTP client APIs 66/127966/2
Gowtham Anandha Babu [Tue, 2 May 2017 15:58:21 +0000 (21:28 +0530)]
[Bluetooth][OTP-Client] Expose OTP client APIs

Exposed below mentioned APIs for OTP client:
1) Create client
2) Destroy client
3) Set client connection state changed callback
4) Unset client connection state changed callback
5) Client connect
6) Client disconnect

Change-Id: Ief69c8838d096fa8d98514e54ecf8674310641b8
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoModify the IPSP feature support check 75/127575/1 submit/tizen/20170428.023145
Hyuk Lee [Fri, 28 Apr 2017 02:20:27 +0000 (11:20 +0900)]
Modify the IPSP feature support check

Change-Id: Ic25b75fee70e8df26247fa555276bacba20ec670
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoChange sscanf to strtol function 91/127491/2 accepted/tizen/unified/20170428.033210 submit/tizen/20170428.004210
Hyuk Lee [Thu, 27 Apr 2017 11:55:48 +0000 (20:55 +0900)]
Change sscanf to strtol function

Change-Id: I539194a1b8338ec66b4f7704d6145d241092125a
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoModify the GATT write requested callback 16/126616/1
Hyuk Lee [Mon, 24 Apr 2017 09:53:49 +0000 (18:53 +0900)]
Modify the GATT write requested callback

Change-Id: Id03978b732e038c2c51ef47d89787dff106be823
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years agoMerge "Remove the privilege description for bt_gatt_client_get_att_mtu" into tizen accepted/tizen/unified/20170418.072728 submit/tizen/20170418.011550
DoHyun Pyun [Mon, 17 Apr 2017 04:24:51 +0000 (21:24 -0700)]
Merge "Remove the privilege description for bt_gatt_client_get_att_mtu" into tizen

7 years agoRemove the privilege description for bt_gatt_client_get_att_mtu 11/124911/1
DoHyun Pyun [Thu, 13 Apr 2017 04:25:04 +0000 (13:25 +0900)]
Remove the privilege description for bt_gatt_client_get_att_mtu

Bluetooth public getter APIs don't have the specific privilge.
Because it will not be effect on the system behavior. So remove the
privilege description in bluetooth.h file.

Change-Id: I8743708e010b1861bac206510bf820aa2215a6a9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the internal API for LE OOB pairing 08/124908/1
DoHyun Pyun [Thu, 13 Apr 2017 04:20:59 +0000 (13:20 +0900)]
Add the internal API for LE OOB pairing

For LE OOB pairing, we need to set the remote device's LE address type
and 256 hash and 256 randomizer.

Change-Id: Ic84ef752ccd8c97c3eedfbb66947ea6e38b4f95d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[Bluetooth][OTP] Add APIs for OTP server role 55/121655/4
Gowtham Anandha Babu [Tue, 28 Mar 2017 10:33:05 +0000 (16:03 +0530)]
[Bluetooth][OTP] Add APIs for OTP server role

Change-Id: I8114a4e5816185bc97553b8ca4d8bcbcc7e10273
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoMerge "Publish GATT MTU Exchange APIs to Native public API" into tizen accepted/tizen/unified/20170410.155703 submit/tizen/20170410.040751
DoHyun Pyun [Thu, 6 Apr 2017 07:54:50 +0000 (00:54 -0700)]
Merge "Publish GATT MTU Exchange APIs to Native public API" into tizen

7 years agoPublish IPSP APIs to Native public API 34/118134/7
Lee Hyuk [Thu, 6 Apr 2017 01:48:44 +0000 (10:48 +0900)]
Publish IPSP APIs to Native public API

Change-Id: Idd37dce8650e4d146f67703cf53ff972c1bc0a07
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoMerge "Add the IPSP feature in doc.h" into tizen
Pyun DoHyun [Thu, 6 Apr 2017 00:33:01 +0000 (17:33 -0700)]
Merge "Add the IPSP feature in doc.h" into tizen

7 years agoPublish GATT MTU Exchange APIs to Native public API 82/119882/13
DoHyun Pyun [Mon, 20 Mar 2017 10:57:05 +0000 (19:57 +0900)]
Publish GATT MTU Exchange APIs to Native public API

Change-Id: Id1a134752e8c383a5d307ecffd89c48b5b803b19
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge "A2DP role change CAPI implementation" into tizen
Pyun DoHyun [Wed, 5 Apr 2017 06:11:28 +0000 (23:11 -0700)]
Merge "A2DP role change CAPI implementation" into tizen

7 years agoFix SVACE issue 183840 03/123103/2
Atul Rai [Tue, 4 Apr 2017 10:25:16 +0000 (15:55 +0530)]
Fix SVACE issue 183840

This patch amends the upper limit for TDS buffer length,
while checking for Out of range values.

Change-Id: I9f4581e14a6a03be2864c8b431dc53a01a835231
Signed-off-by: Atul Rai <a.rai@samsung.com>
7 years agoA2DP role change CAPI implementation 54/122954/2
Abhishek Chandra [Tue, 4 Apr 2017 05:31:04 +0000 (11:01 +0530)]
A2DP role change CAPI implementation

Change-Id: Ib0a5b5ab07cad2206d2b2b1c792f24e15689f902
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
7 years agoMerge "Fix typo errors" into tizen
DoHyun Pyun [Tue, 4 Apr 2017 08:11:27 +0000 (01:11 -0700)]
Merge "Fix typo errors" into tizen

7 years agoFix typo errors 22/123022/1
DoHyun Pyun [Tue, 4 Apr 2017 07:42:51 +0000 (16:42 +0900)]
Fix typo errors

Change-Id: I0a7936d14c8cc67fbb0ff74b8c8d52a462ab3dde
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoPublish LE scan filtering APIs to Native public API 65/117365/18
DoHyun Pyun [Mon, 6 Mar 2017 01:07:29 +0000 (10:07 +0900)]
Publish LE scan filtering APIs to Native public API

Change-Id: I2c442c7f3ca3554029f112b952903a0ec2dfb8f5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the svace issue (11726, 176047, 183477) 75/122975/2 submit/tizen/20170404.073146
DoHyun Pyun [Tue, 4 Apr 2017 04:48:29 +0000 (13:48 +0900)]
Fix the svace issue (11726, 176047, 183477)

Change-Id: Ia399f87f8d869f18afe7fef883dfea36a891b9e8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the IPSP feature in doc.h 48/118148/3
Lee Hyuk [Thu, 9 Mar 2017 04:21:30 +0000 (13:21 +0900)]
Add the IPSP feature in doc.h

Change-Id: I60a486b77594da4eed4ab9af9699208d4ad8fa1a
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
7 years agoModify the install path for license file 20/121120/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170327.142927 accepted/tizen/ivi/20170328.054925 accepted/tizen/mobile/20170328.054759 accepted/tizen/tv/20170328.054846 accepted/tizen/unified/20170328.054944 accepted/tizen/wearable/20170328.054906 submit/tizen/20170327.075259
DoHyun Pyun [Mon, 27 Mar 2017 07:10:22 +0000 (16:10 +0900)]
Modify the install path for license file

Change-Id: I1432e52513bffb2e251c788a1cbee385c7fa516a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix the crash issue during LE discovery 31/119331/2 accepted/tizen/common/20170316.161945 accepted/tizen/ivi/20170316.222741 accepted/tizen/mobile/20170316.222656 accepted/tizen/tv/20170316.222710 accepted/tizen/unified/20170316.222758 accepted/tizen/wearable/20170316.222725 submit/tizen/20170316.103054
DoHyun Pyun [Thu, 16 Mar 2017 10:28:06 +0000 (19:28 +0900)]
Fix the crash issue during LE discovery

Change-Id: Ifcb0d41a63b50949e62ab5ec5be20d4734851f73
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoPXP: Update the API description/documentation 56/118056/3
h.sandeep [Wed, 8 Mar 2017 11:52:06 +0000 (17:22 +0530)]
PXP: Update the API description/documentation

Change-Id: I2cf840e599aae4a448e22829692551f8f10fed37
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoAdd the documentation for IPSP internal APIs 61/117961/1
DoHyun Pyun [Wed, 8 Mar 2017 06:43:31 +0000 (15:43 +0900)]
Add the documentation for IPSP internal APIs

Change-Id: I09d9302cff0449c477e8d1ba01d84c139ca6a082
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd missing function definitions for Native internal APIs 20/117420/2 accepted/tizen/common/20170306.165231 accepted/tizen/ivi/20170306.222601 accepted/tizen/mobile/20170306.222534 accepted/tizen/tv/20170306.222547 accepted/tizen/unified/20170309.031633 accepted/tizen/wearable/20170306.222555 submit/tizen/20170306.073437 submit/tizen_unified/20170308.100404
DoHyun Pyun [Mon, 6 Mar 2017 05:00:37 +0000 (14:00 +0900)]
Add missing function definitions for Native internal APIs

Change-Id: Iaf930104fcccc912b8574c94599e244285bf5571
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMove the ibeacon scan result structure to internal header 61/117361/1
DoHyun Pyun [Mon, 6 Mar 2017 00:57:08 +0000 (09:57 +0900)]
Move the ibeacon scan result structure to internal header

Change-Id: I23b62fd3bf7f0e5f239cea599982f9c9c32d0e21
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd missing internal APIs for hf profile 89/116089/1 accepted/tizen/common/20170303.090555 accepted/tizen/ivi/20170302.121709 accepted/tizen/mobile/20170302.121206 accepted/tizen/tv/20170302.121505 accepted/tizen/wearable/20170302.121552 submit/tizen/20170302.014914
DoHyun Pyun [Thu, 23 Feb 2017 01:57:49 +0000 (10:57 +0900)]
Add missing internal APIs for hf profile

Change-Id: Ife53bfdcecaf991c11905008aea413fb263d79c6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoFix memory leak (SVACE Id: 176026) 71/116071/1
Atul Rai [Wed, 22 Feb 2017 05:14:12 +0000 (10:44 +0530)]
Fix memory leak (SVACE Id: 176026)

Change-Id: Ife900d1265a0331a59f9a3d4293cdc3f3b3ab1b6
Signed-off-by: Atul Rai <a.rai@samsung.com>
7 years agoFixed SVACE issues (Id: 11726 168836 171554) 07/114307/1 submit/tizen/20170220.233016
Atul Rai [Fri, 10 Feb 2017 09:06:34 +0000 (14:36 +0530)]
Fixed SVACE issues (Id: 11726 168836 171554)

Change-Id: Ib8166f0e6a0996e55ebaf7d4e896faf4341de624
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge latest tizen_3.0 bug fix codes 64/113264/1
DoHyun Pyun [Tue, 7 Feb 2017 05:17:16 +0000 (14:17 +0900)]
Merge latest tizen_3.0 bug fix codes

--------------------------------------------------
commit f426f42dde18b4629190022eb301e53ea215ab72
Author: Lee Hyuk <hyuk0512.lee@samsung.com>
Date:   Mon Feb 6 09:02:04 2017 +0900

    Revert "Fix the build fail for TV profile"
--------------------------------------------------

Change-Id: I0661eb19f7d88167caa7dfaadc207bcd0ef75e3f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years ago[BT CAPI] Update the version in capi spec file. 28/111628/1
Sudha Bheemanna [Mon, 23 Jan 2017 06:56:31 +0000 (12:26 +0530)]
[BT CAPI] Update the version in capi spec file.

Updated the version of capi for proper library linking.

Change-Id: I70b8783b757cee9943aeb1e054fee1fd83a61808
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
7 years agoFix the build error for GCC6 98/104298/1 submit/tizen/20161219.111502 submit/tizen/20170116.115935
DoHyun Pyun [Tue, 13 Dec 2016 04:47:25 +0000 (13:47 +0900)]
Fix the build error for GCC6

Change-Id: I92a5c244b3c6ca72a51d2dd4b770975237616b56
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoHPS: Assign SIG defined UUIDs for HPS attributes. 92/59492/3
h.sandeep [Tue, 16 Feb 2016 05:10:33 +0000 (10:40 +0530)]
HPS: Assign SIG defined UUIDs for HPS attributes.

Change-Id: I12d98b758c6ee7490a29381651caf036d527cc37
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoMerge changes I2d80c474,I4b17e6da into tizen
Pyun DoHyun [Mon, 5 Dec 2016 05:30:34 +0000 (21:30 -0800)]
Merge changes I2d80c474,I4b17e6da into tizen

* changes:
  Remove Profile Build Dependency: do it at runtime
  Defragment CAPI for Profiles (2/2)

7 years agoMerge "Defragment CAPI for Profiles (1/2)" into tizen
Pyun DoHyun [Mon, 5 Dec 2016 05:30:02 +0000 (21:30 -0800)]
Merge "Defragment CAPI for Profiles (1/2)" into tizen

7 years agoAdd the proximity function into TV profile 29/102129/1 submit/tizen/20161205.050350
DoHyun Pyun [Mon, 5 Dec 2016 01:10:18 +0000 (10:10 +0900)]
Add the proximity function into TV profile

Change-Id: I14b66113b5d376a2da779df03eaacc7c883abd95
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoRemove Profile Build Dependency: do it at runtime 22/101822/2
MyungJoo Ham [Fri, 2 Dec 2016 07:52:04 +0000 (16:52 +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.

- If you intent not to have capi-network-bluetooth-test.rpm in
 TV profile, please create a JIRA-TRE issue of package removal,
 not %if TV; test fiels; #endif.

Change-Id: I2d80c4745202c028ca5c2a2f1662933c60d38b33
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoDefragment CAPI for Profiles (1/2) 18/101518/7
MyungJoo Ham [Thu, 1 Dec 2016 09:58:35 +0000 (18:58 +0900)]
Defragment CAPI for Profiles (1/2)

- For easier review, I didn't merge the files at the (1/2) patch.
 They will be merged in a following patch (2/2)

- This is for Tizen 4.0 Configurability / Building Blocks
  (Fragmentation of CAPI is a blocking issue)

- @ SDK (yongheon.shin@samsung.com): please confirm that this "merged"
  CAPI header (sync_manager.h) is going to be filetered for SDK rootstraping
  so that Tizen APP developers won't be able to see MOBILE-only APIs in
  WEARABLE development.

- CC'ed API (hobum.kwon@samsung.com) to notify what's going on for CAPI
  fragmentation.

Change-Id: I0e5814f1de867ff082dc7908d35bca8f0909426e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoDefragment CAPI for Profiles (2/2) 34/101534/6
MyungJoo Ham [Thu, 1 Dec 2016 10:28:12 +0000 (19:28 +0900)]
Defragment CAPI for Profiles (2/2)

- This is for Tizen 4.0 Configurability / Building Blocks
  (Fragmentation of CAPI is a blocking issue)

- @ SDK (yongheon.shin@samsung.com): please confirm that this "merged"
  CAPI header (sync_manager.h) is going to be filetered for SDK rootstraping
  so that Tizen APP developers won't be able to see MOBILE-only APIs in
  WEARABLE development.

- CC'ed API (hobum.kwon@samsung.com) to notify what's going on for CAPI
  fragmentation.

ps. Another commit that resolves profile-build-dependency will follow soon.

Change-Id: I4b17e6da604ac6b8001a1d36e52961fa025b31bb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoBuild Error Fix. 42/101742/1
MyungJoo Ham [Fri, 2 Dec 2016 05:45:23 +0000 (14:45 +0900)]
Build Error Fix.

Commit of:
committer Pyun DoHyun <dh79.pyun@samsung.com>
Wed, 30 Nov 2016 09:59:01 +0900 (16:59 -0800)
commit e56a4b463b1ed862135a6a5b81f7d5f33b33a588

Created build errors. In order to stability commit
https://review.tizen.org/gerrit/#/c/101518/
and
https://review.tizen.org/gerrit/#/c/101534
, I'm fixing this.

Change-Id: Ib011383578c38cecb3be2acfb74c5790acb881f3
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoFix build error 85/101485/1
Gowtham Anandha Babu [Wed, 30 Nov 2016 12:11:42 +0000 (17:41 +0530)]
Fix build error

Change-Id: I49f5aa9d71c22074e8cfec2f874d72cdbb518fcb
error: braces around scalar initializer.

7 years agohid: Fix uninitialized structure members 47/101047/1
Syam Sidhardhan [Mon, 28 Nov 2016 10:12:50 +0000 (15:42 +0530)]
hid: Fix uninitialized structure members

[Issue#] cppcheck automated tool reported error
[Problem] Uninitialized memory access reported
[Cause & Measure] Not initialized structure members
[Checking Method] cppcheck automated test tool for Tizen
[Team] Basic connection
[Developer] Syam Sidhardhan <s.syam@samsung.com>
[Solution company] Samsung

Change-Id: Idd470ebb3f82e0123ac96761ec57d8555db68db3

7 years agoFix svace 2.2 issues 74/100774/2
DoHyun Pyun [Tue, 29 Nov 2016 07:33:42 +0000 (16:33 +0900)]
Fix svace 2.2 issues

Change-Id: I342ae1a404bb13afc65ca8d891d1d88fa0477600
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMerge "DPM: Handle the modifief bt-frwk API return values" into tizen
Pyun DoHyun [Wed, 30 Nov 2016 00:58:52 +0000 (16:58 -0800)]
Merge "DPM: Handle the modifief bt-frwk API return values" into tizen

7 years agoDPM: Handle the modifief bt-frwk API return values 87/100887/1
h.sandeep [Tue, 29 Nov 2016 11:55:15 +0000 (17:25 +0530)]
DPM: Handle the modifief bt-frwk API return values

Change-Id: I219ec4c043e8e94806ee1e98cbb7a138c10eb659
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoPXP: Modify APIs and Signal handle implementation 20/99920/7
h.sandeep [Thu, 24 Nov 2016 11:14:15 +0000 (16:44 +0530)]
PXP: Modify APIs and Signal handle implementation

1. Add Seperate APIs for Monitor and reporter role.
2. Add Sperate callback for proximity profile connection.
3. Add API to set scan filter for Proximity UUID

Change-Id: Ia733b9fa2758cc641ee5cfb5eb090cd8ecf4573b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoRemove the scan filter supported check logic for the platform filter 78/99578/1 accepted/tizen/common/20161124.165957 accepted/tizen/common/20170111.155017 accepted/tizen/common/20170111.203234 accepted/tizen/ivi/20161123.232920 accepted/tizen/mobile/20161123.232822 accepted/tizen/tv/20161123.232840 accepted/tizen/wearable/20161123.232901 submit/tizen/20161123.084000 submit/tizen_common/20170111.150147 submit/tizen_common/20170111.202935
DoHyun Pyun [Wed, 23 Nov 2016 09:24:05 +0000 (18:24 +0900)]
Remove the scan filter supported check logic for the platform filter

Change-Id: Ic8488184a7c66111064ae1c55c57b2f4c227614f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoiBeacon: Modify ibeacon scan filter API parameters 66/99566/3
h.sandeep [Wed, 23 Nov 2016 05:51:04 +0000 (11:21 +0530)]
iBeacon: Modify ibeacon scan filter API parameters

Change-Id: I91aff1e6261d8f0c7a7f50632424320f69844019
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoThis change is not required. C# TC needs to be changed. 90/99290/2
Gowtham Anandha Babu [Tue, 22 Nov 2016 09:49:53 +0000 (01:49 -0800)]
This change is not required. C# TC needs to be changed.

Revert "[GATT] Fix to change write_type prop of charc"

This reverts commit 13d8aaeaf81732bd0504714c6da1dfb3235b05f7.

Change-Id: I8977d95b21a24ffa46e337299a1553a285d31010

7 years agoiBeacon: Fix naming convention. 40/99140/1 accepted/tizen/common/20161122.193014 accepted/tizen/ivi/20161123.000052 accepted/tizen/mobile/20161122.235954 accepted/tizen/tv/20161123.000021 accepted/tizen/wearable/20161123.000035 submit/tizen/20161122.051739
h.sandeep [Tue, 22 Nov 2016 04:34:12 +0000 (10:04 +0530)]
iBeacon: Fix naming convention.

Change-Id: I55e83cfc1a2606aa10224dc1fa6232a563594b02
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoMerge "[GATT] Fix to change write_type prop of charc" into tizen
Pyun DoHyun [Tue, 22 Nov 2016 00:39:18 +0000 (16:39 -0800)]
Merge "[GATT] Fix to change write_type prop of charc" into tizen

7 years agoFix the doxygen reference warning 64/99064/1
Hyuk Lee [Mon, 21 Nov 2016 23:26:53 +0000 (08:26 +0900)]
Fix the doxygen reference warning

Change-Id: Iaa91507920839f60f02fe9ea9b2ae6aeb0b88780
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
7 years ago[GATT] Fix to change write_type prop of charc 05/99005/1
Gowtham Anandha Babu [Mon, 21 Nov 2016 11:26:06 +0000 (16:56 +0530)]
[GATT] Fix to change write_type prop of charc

Update is not required if values are same
and vice-versa.

Change-Id: Ib6f35878e7d9483bd19c7e2eaa0c73e985d69ecd
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
7 years agoFix: Build Errors for Wearable, TV, Mobile, IVI profiles. 49/98149/1 accepted/tizen/common/20161117.085256 accepted/tizen/common/20161118.090536 accepted/tizen/ivi/20161121.011959 accepted/tizen/mobile/20161121.011653 accepted/tizen/tv/20161121.011817 accepted/tizen/wearable/20161121.011907 submit/tizen/20161117.015745 submit/tizen/20161118.002314
h.sandeep [Wed, 16 Nov 2016 07:00:10 +0000 (12:30 +0530)]
Fix: Build Errors for Wearable, TV, Mobile, IVI profiles.

Fixed the error: unknown type name bt_hf_vendor_dep_at_cmd_s.

Change-Id: Ic5011842fac0a966779b05350467194ec4a6fd55
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoiBeacon: Add API to register iBeacon scan filter. 32/90932/10
h.sandeep [Wed, 5 Oct 2016 04:43:24 +0000 (10:13 +0530)]
iBeacon: Add API to register iBeacon scan filter.

1. Adds the API to register for ibeacon scan reports
2. Handles the iBeacon scan report events

Change-Id: I68f73bad3dec532ffdde8fa563fa771b0b62b32c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoCode sync from 2.3 branch 89/97489/1 accepted/tizen/common/20161115.200458 submit/tizen/20161115.034359
Sangki Park [Fri, 11 Nov 2016 08:41:17 +0000 (17:41 +0900)]
Code sync from 2.3 branch

[Model] ALL
[BinType] AP
[Customer] ALL

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

[Problem] Code sync from 2.3 branch
[Cause & Measure] N/A
[Checking Method] N/A

[Team] Basic connection
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specific change

Change-Id: I7566caa9f320efbce4d26028309a75f438e402a7
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Conflicts:
src/bluetooth-common.c
Change-Id: I7566caa9f320efbce4d26028309a75f438e402a7

7 years agoWhen GATT client is destroyed, unset service changed watcher 24/97424/1
Seungyoun Ju [Mon, 1 Feb 2016 07:51:14 +0000 (16:51 +0900)]
When GATT client is destroyed, unset service changed watcher

Change-Id: Ie90820e7fab11434b7d874f0d8da40620e5a1cd9
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
7 years agoAdd the bt_opp_get_transfer_progress internal API 64/97064/1
DoHyun Pyun [Fri, 11 Nov 2016 05:37:15 +0000 (14:37 +0900)]
Add the bt_opp_get_transfer_progress internal API

Change-Id: I973ba9091b47161b5b28873de6116fd30d36ec97
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoPXP: Add base code Proximity Profile 82/93582/7 accepted/tizen/common/20161110.190128 accepted/tizen/ivi/20161111.001144 accepted/tizen/mobile/20161111.001046 accepted/tizen/tv/20161111.001103 accepted/tizen/wearable/20161111.001125 submit/tizen/20161110.000647
h.sandeep [Tue, 25 Oct 2016 04:17:03 +0000 (09:47 +0530)]
PXP: Add base code Proximity Profile

Change-Id: Icab8d0a83ea0aeb21b8e9d9555608214a3e8ad45
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
7 years agoAdd the type cast code for arm64 build 27/96027/1 accepted/tizen/ivi/20161108.001300 accepted/tizen/mobile/20161108.001158 accepted/tizen/tv/20161108.001232 accepted/tizen/wearable/20161108.001245 submit/tizen/20161107.085724
DoHyun Pyun [Mon, 7 Nov 2016 10:52:07 +0000 (19:52 +0900)]
Add the type cast code for arm64 build

Change-Id: Id0712f45512f3f0a0b585ebec4bd6990c8a0d284
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd the hid custom event sending API to the internal header 18/95818/2
DoHyun Pyun [Mon, 7 Nov 2016 00:45:39 +0000 (09:45 +0900)]
Add the hid custom event sending API to the internal header

Change-Id: I43dfdd9f2be4087e6671df68891648754385c757
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoAdd internal APIs for the application's pairing procedure 16/95816/2
DoHyun Pyun [Mon, 7 Nov 2016 00:40:12 +0000 (09:40 +0900)]
Add internal APIs for the application's pairing procedure

Change-Id: I2f394c569713a310a91c7651a1ff1371ecb62994
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
7 years agoMove audio gateway APIs from internal to extension header 13/95813/1
DoHyun Pyun [Mon, 7 Nov 2016 00:15:19 +0000 (09:15 +0900)]
Move audio gateway APIs from internal to extension header

Change-Id: I50dd9bc5a39b9444c99882436a6271930c5f74a3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>