Seungyoun Ju [Thu, 7 Sep 2017 11:28:33 +0000 (20:28 +0900)]
Fix : GATT client services are not updated
If GATT client handle is created during service discovery, some services
could not be imported. But there is no logic to refresh services once
discovery is done. This patch set a flag of services_discovered to false
if importing one of services is failed. So that, when service discovery
is done, it imports again services.
Change-Id: I366c09ed208e11b47423b034d01e288e09c1c0a7
Signed-off-by: Seungyoun Ju <sy39.ju@samsung.com>
Seungyoun Ju [Wed, 29 Mar 2017 10:29:19 +0000 (19:29 +0900)]
Fix memory corruption
Already freed memory is accessed and is tried to free again.
It causes memory corruption so that at the next time glib memory use,
crash happens.
[Valgrind]
==918== Invalid free() / delete / delete[] / realloc()
==918== at 0x483403C: free (vg_replace_malloc.c:469)
==918== by 0x4D03467: g_free (gmem.c:252)
==918== by 0x4D10BBB: g_slice_free_chain_with_offset (gslice.c:1206)
==918== by 0x49A1C79: _bt_gatt_client_update_services (bluetooth-gatt.c:199)
==918== by 0x498D691: __bt_event_proxy (bluetooth-common.c:1783)
==918== by 0x68E0959: _bt_common_event_cb (bt-common.c:139)
==918== by 0x6901B6D: __bt_device_event_filter (bt-event-handler.c:708)
==918== by 0x48F9661: emit_signal_instance_in_idle_cb (gdbusconnection.c:3665)
==918== by 0x4CFDFCD: g_idle_dispatch (gmain.c:4657)
==918== by 0x4CFF7A7: g_main_context_dispatch (gmain.c:2539)
==918== by 0x4C1FCA5: _ecore_glib_select (ecore_glib.c:171)
==918== by 0x4C1AB4D: _ecore_main_select (ecore_main.c:1466)
==918== by 0x4C1B5A5: _ecore_main_loop_iterate_internal (ecore_main.c:1894)
==918== by 0x4C1B877: ecore_main_loop_begin (ecore_main.c:956)
==918== by 0x10CA95: main (main.c:117)
==918== Address 0x95f72b0 is 0 bytes inside a block of size 8 free'd
==918== at 0x483403C: free (vg_replace_malloc.c:469)
==918== by 0x4D03467: g_free (gmem.c:252)
==918== by 0x4D1115B: g_slist_remove (gslist.c:425)
==918== by 0x49A02D1: bt_gatt_service_destroy (bluetooth-gatt.c:937)
==918== by 0x4D113E7: g_slist_foreach (gslist.c:840)
==918== by 0x4D113F9: g_slist_free_full (gslist.c:177)
==918== by 0x49A1C79: _bt_gatt_client_update_services (bluetooth-gatt.c:199)
==918== by 0x498D691: __bt_event_proxy (bluetooth-common.c:1783)
==918== by 0x68E0959: _bt_common_event_cb (bt-common.c:139)
==918== by 0x6901B6D: __bt_device_event_filter (bt-event-handler.c:708)
==918== by 0x48F9661: emit_signal_instance_in_idle_cb (gdbusconnection.c:3665)
==918== by 0x4CFDFCD: g_idle_dispatch (gmain.c:4657)
==918== by 0x4CFF7A7: g_main_context_dispatch (gmain.c:2539)
==918== by 0x4C1FCA5: _ecore_glib_select (ecore_glib.c:171)
==918== by 0x4C1AB4D: _ecore_main_select (ecore_main.c:1466)
==918== by 0x4C1B5A5: _ecore_main_loop_iterate_internal (ecore_main.c:1894)
==918== by 0x4C1B877: ecore_main_loop_begin (ecore_main.c:956)
==918== by 0x10CA95: main (main.c:117)
Change-Id: Ie89cdf0f23a86f128c56254aea3e707cb84e4351
Signed-off-by: Seungyoun Ju <sy39.ju@samsung.com>
DoHyun Pyun [Tue, 12 Sep 2017 05:34:15 +0000 (14:34 +0900)]
Fix tizen coding style errors and warnings
Change-Id: Ia82b0ab5149a020ea9880c6e77212c96bffcb8ce
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 6 Sep 2017 23:10:46 +0000 (08:10 +0900)]
Apply tizen 3.0 based product patchsets
--------------------------------------------------
commit
b1f1e05c0d97e98479b60a435eabb3419d23387d
Author: Deokhyun Kim <dukan.kim@samsung.com>
Date: Wed Aug 30 14:33:26 2017 +0900
Change API name from bt_device_get_ida() to bt_device_get_id_address()
---------------------------------------------------
Change-Id: I56eff14e0a9afc6fbac6e3d8b914d2846be99ad0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 18 Aug 2017 00:21:04 +0000 (09:21 +0900)]
Fix the build error
Change-Id: I9751b8ddd483963b9b4a2c03fe2665c2b45821f8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Pyun DoHyun [Thu, 29 Jun 2017 23:07:51 +0000 (23:07 +0000)]
Merge "[OTP] Fix PTS fail cases" into tizen
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>
Pyun DoHyun [Wed, 28 Jun 2017 00:07:00 +0000 (00:07 +0000)]
Merge "Add the SetAbsoluteVolume internal API for AVRCP controller" into tizen
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>
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>
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>
Pyun DoHyun [Tue, 20 Jun 2017 07:13:16 +0000 (07:13 +0000)]
Merge "[OTP] Expose Object Write API" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
Pyun DoHyun [Mon, 29 May 2017 03:46:32 +0000 (03:46 +0000)]
Merge "[OTP] Expose APIs for read object contents" into tizen
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>
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>
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>
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>
Pyun DoHyun [Fri, 12 May 2017 07:06:47 +0000 (07:06 +0000)]
Merge "Add the comment for excluding line coverage" into tizen
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>
Pyun DoHyun [Thu, 11 May 2017 07:27:56 +0000 (07:27 +0000)]
Merge "[Bluetooth][OTP-Client] Expose OTP client APIs" into tizen
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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
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>
Pyun DoHyun [Thu, 6 Apr 2017 00:33:01 +0000 (17:33 -0700)]
Merge "Add the IPSP feature in doc.h" into tizen
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>
Pyun DoHyun [Wed, 5 Apr 2017 06:11:28 +0000 (23:11 -0700)]
Merge "A2DP role change CAPI implementation" into tizen
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>
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>
DoHyun Pyun [Tue, 4 Apr 2017 08:11:27 +0000 (01:11 -0700)]
Merge "Fix typo errors" into tizen
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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)
Pyun DoHyun [Mon, 5 Dec 2016 05:30:02 +0000 (21:30 -0800)]
Merge "Defragment CAPI for Profiles (1/2)" into tizen
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>
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>
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>
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>
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>
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.
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
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>
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
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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
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>
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>