DoHyun Pyun [Fri, 4 Aug 2017 06:38:13 +0000 (15:38 +0900)]
Apply tizen 3.0 based product patchsets
--------------------------------------------------
commit
a049ded240d77ce4c14bda87796c4d3b06764270
Author: Sreeraj Mohan Kottapuzhackal <sreeraj.mk@samsung.com>
Date: Mon Jul 24 13:16:05 2017 +0530
Fix for crash while pairing device
--------------------------------------------------
Change-Id: I2206a657cddc27f8bca3d9ce7fffff4bf81be953
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Wed, 2 Aug 2017 12:06:21 +0000 (17:36 +0530)]
[OTP] Handle GattConnected event
Change-Id: I3002836c52408c0e8c9697adcb6cc247e209ded9
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Gowtham Anandha Babu [Tue, 1 Aug 2017 07:23:45 +0000 (12:53 +0530)]
[OTP] Fix OACP Create procedure
Change-Id: Ifa72fc6e7cf23b8533587ed1cce38e5cefcf9f4e
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Gowtham Anandha Babu [Wed, 26 Jul 2017 06:58:56 +0000 (12:28 +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: I666707b76f5252a7662ff8ffc295660678d964e3
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
injun.yang [Tue, 25 Jul 2017 14:54:13 +0000 (20:24 +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: I72fdfdef011f7f357e95eb4932e703e0cae08480
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Atul Rai [Fri, 21 Jul 2017 10:31:18 +0000 (16:01 +0530)]
Fix static analysis tool warnings
Change-Id: I1b1dcc4a27366352fadd7370bb8a14f173e37938
Signed-off-by: Atul Rai <a.rai@samsung.com>
Amit Purwar [Fri, 21 Jul 2017 10:49:15 +0000 (16:19 +0530)]
added the failure condition for realloc
removed the print after return
Change-Id: I1dfb2bf75f36c9c1b71651c480c5eaa1a7a01d04
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Amit Purwar [Fri, 21 Jul 2017 05:04:24 +0000 (10:34 +0530)]
fixed the GDbusProxy in GATT: register, unregister and service callabck
Change-Id: I807f9a4a25e544a6f7630ca23b9737f017c3bb73
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Pyun DoHyun [Fri, 21 Jul 2017 01:35:19 +0000 (01:35 +0000)]
Merge "[GATT Client] Delivery ATT error code to higher layer" into tizen
Gowtham Anandha Babu [Tue, 18 Jul 2017 13:34:07 +0000 (19:04 +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: I37747073962baa2b1098eb801ce033fb0b0c4c85
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
DoHyun Pyun [Tue, 18 Jul 2017 09:56:03 +0000 (18:56 +0900)]
Add missed code for the discovery state logic
Change-Id: I23773d65601d4e7ee013ff2233c0e839f993bfa1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 18 Jul 2017 05:35:34 +0000 (05:35 +0000)]
Merge "Modify the device discovery status" into tizen
Hyuk Lee [Mon, 17 Jul 2017 10:28:30 +0000 (19:28 +0900)]
Modify the device discovery status
Change-Id: Ic877d145691f2cc16e4a35818e3cd7c5628ea359
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Thu, 13 Jul 2017 15:22:50 +0000 (20:52 +0530)]
[OTP] Fix OACP Create request
1) Changed Object type UUID implementation
to support all types(16/32/128 bits) of UUIDs.
2) Fixed Object Metadata Write logic,
so that changes reflect in object list.
3) Modified OACP Create logic to align with PTS.
Change-Id: If652a0a32be6334c30d4302ad4caa9fb5a7cf92f
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Gowtham Anandha Babu [Thu, 13 Jul 2017 15:16:06 +0000 (20:46 +0530)]
[OTP] Fix PTS fail cases
Change-Id: Ib26a7e7465c49da3d9570f602c05799020171e8f
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Pyun DoHyun [Mon, 10 Jul 2017 00:50:38 +0000 (00:50 +0000)]
Merge "[OTP] Fix object type uuid format" into tizen
Taesoo Jun [Thu, 6 Jul 2017 11:34:10 +0000 (20:34 +0900)]
Add a BT developer
Change-Id: I0b44dc47917a5b4ce702af6b7650d3e07ef57385
Gowtham Anandha Babu [Wed, 5 Jul 2017 13:54:13 +0000 (19:24 +0530)]
[OTP] Fix object type uuid format
According to spec, object type UUID should be
16/32/128 bits.
Change-Id: Ice83951e6963374e0bd4966f7b3dc5428dcf12a8
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Pyun DoHyun [Thu, 29 Jun 2017 23:07:40 +0000 (23:07 +0000)]
Merge "[OTP] Fix PTS fail cases" into tizen
Gowtham Anandha Babu [Thu, 29 Jun 2017 09:42:36 +0000 (15:12 +0530)]
[OTP] Fix PTS fail cases
The patch fixes below TCs:
1) OTS/SR/CR/BV-01-C
2) All OACP & OLCP cases (Modify indication length)
Change-Id: I920f49b6126b8da855770aa0833878db01691667
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Hyuk Lee [Tue, 27 Jun 2017 04:34:33 +0000 (13:34 +0900)]
Add the SetAbsoluteVolume API for AVRCP controller
Change-Id: I14dffc525cf62a2059e30b21dec7bf9e16c56a69
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Gowtham Anandha Babu [Fri, 23 Jun 2017 09:25:10 +0000 (14:55 +0530)]
[OTP] Handle Object Delete request
Change-Id: Ie4dcc536892d78ed9672fa40748363d9a2454879
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Gowtham Anandha Babu [Tue, 20 Jun 2017 10:03:22 +0000 (15:33 +0530)]
[OTP] Handle Object Execute request
Change-Id: I670c9ccd884b71236cfeea38ed3ac1cf21c02f02
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Gowtham Anandha Babu [Mon, 19 Jun 2017 13:23:02 +0000 (18:53 +0530)]
[OTP] Handle Object Write request
Change-Id: I82634c3334a24b98cf85239de820ca2026f0661f
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Pyun DoHyun [Wed, 14 Jun 2017 04:16:58 +0000 (04:16 +0000)]
Merge "[OTP] Handle Object Create request" into tizen
DoHyun Pyun [Wed, 14 Jun 2017 00:03:39 +0000 (09:03 +0900)]
Remove some package dependencies for the headless image
capi-network-tethering and capi-content-mime-type package is not used
in the headless image. So we devide this function's usage to the headed
plugin.
Change-Id: If3810136c9bca995fe2933559e7ea8755009e57a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Tue, 13 Jun 2017 10:23:54 +0000 (15:53 +0530)]
[OTP] Handle Object Create request
Change-Id: Ie4a4a9ab144d506c8f3c9b972e54538cc91178b5
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
DoHyun Pyun [Tue, 13 Jun 2017 06:14:55 +0000 (15:14 +0900)]
Remove the psmics package dependency
Change-Id: I03b39a7459a574cef4b50811364f0170a3e5d5ba
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Wed, 7 Jun 2017 15:05:53 +0000 (20:35 +0530)]
[OTP] Handle Object Select request
Change-Id: I3e275fa02e4a5873a5c633a4736c870eb6e8aeef
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
DoHyun Pyun [Thu, 8 Jun 2017 04:55:09 +0000 (13:55 +0900)]
Fix the memset size errors
Change-Id: I022f15c8f8a0c9c7fa3afe835c78010b9cece3d2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 30 May 2017 05:25:57 +0000 (14:25 +0900)]
Modify the pid and gid of bt-service to network_fw
Change-Id: I2f134debfbae79c20f47d66fb790ad06f1f3027a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Mon, 29 May 2017 13:38:11 +0000 (19:08 +0530)]
[OTP] Fix Object Read logic
Change-Id: I4eec15c25d44da3163f7624d4d2f63ea1421c047
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Pyun DoHyun [Mon, 29 May 2017 03:46:20 +0000 (03:46 +0000)]
Merge "[OTP] Add support for OACP Read" into tizen
Gowtham Anandha Babu [Wed, 24 May 2017 08:11:42 +0000 (13:41 +0530)]
[OTP] Add support for OACP Read
Change-Id: Ic98585d0158b5d3a1cca756f50bfb0faba0f0fe3
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
h.sandeep [Wed, 24 May 2017 00:00:17 +0000 (05:30 +0530)]
GATT-Clinet: Fix the Write and read dbus reply parameter mismatch.
Change-Id: Id2deb6feca75ba54e39cd5cad8b09a8488562f63
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Pyun DoHyun [Mon, 22 May 2017 02:17:39 +0000 (02:17 +0000)]
Merge "[Bluetooth][OTP] Add object browsing support" into tizen
Gowtham Anandha Babu [Thu, 11 May 2017 13:43:39 +0000 (19:13 +0530)]
[Bluetooth][OTP] Add object browsing support
Client side changes:
1) Exposed characterstics_write_value BT-API
2) Send "GattValueChanged" indication to otp-application
Server side changes:
1) Change implementation to support both single and
multiple object(s).
Change-Id: I9fd250505b739b858f26ee7618737e058bc95a8d
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Gowtham Anandha Babu [Tue, 2 May 2017 15:52:55 +0000 (21:22 +0530)]
Handle GATT operations for OTP
Expose GATT Read & StartNotify methods to CAPI for
OTP client operations.
Change-Id: I2070a27beeb352946329be1f1094a2ab770f57a1
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
DoHyun Pyun [Fri, 12 May 2017 07:08:58 +0000 (16:08 +0900)]
Revert "[Bluetooth][OTP-Client] Handle GATT operations for OTP"
This reverts commit
d9f33483f2498b7476080df530c8558dc5ddf8da.
Change-Id: I73d1ad9afc95ae02dfcb3861596cd30121ddbfc9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 12 May 2017 06:50:12 +0000 (15:50 +0900)]
Fix the svace issue (WGID : 212857)
Change-Id: Iaa3c17a61273f5a816de42d449e650159810391e
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Gowtham Anandha Babu [Tue, 2 May 2017 15:52:55 +0000 (21:22 +0530)]
[Bluetooth][OTP-Client] Handle GATT operations for OTP
Expose GATT Read & StartNotify methods to CAPI for
OTP client operations.
Change-Id: I0dee5572ee155f4440aa260730783811e5785348
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Hyuk Lee [Mon, 8 May 2017 04:51:55 +0000 (13:51 +0900)]
Fix build error (add the initializing)
Change-Id: Ie38d09f39d1c3eacc7fb5b37fa221262d7c76858
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Mon, 8 May 2017 04:34:28 +0000 (13:34 +0900)]
Fix the build error
Change-Id: Ib2c8b4517d30d652cd9f65c6cc45049c5122b4ee
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Mon, 8 May 2017 01:03:38 +0000 (10:03 +0900)]
Fix the svace issue (WGID:212294, 212308..)
Change-Id: I90b913816369751373bd8996a40deb1a661331de
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Mon, 17 Apr 2017 08:37:21 +0000 (17:37 +0900)]
Change sscanf to strtol function for the secure coding
Change-Id: Iace5f687b2f4aae5cbb93b265273f85572e823c8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Mon, 24 Apr 2017 04:47:39 +0000 (04:47 +0000)]
Merge "[Bluetooth][OTP-Server] Handle object browsing" into tizen
Hyuk Lee [Thu, 20 Apr 2017 10:30:02 +0000 (19:30 +0900)]
Fix the svace issue
Change-Id: Ibcd74251d0cb1401b127995d1bef3073eeab1ee8
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Mon, 24 Apr 2017 04:27:06 +0000 (13:27 +0900)]
Remove the appcore-efl package dependency
Change-Id: I8bd841130039ae53a26052acf739bee2d0aef2a4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Thu, 20 Apr 2017 15:03:53 +0000 (20:33 +0530)]
[Bluetooth][OTP-Server] Handle object browsing
1) Expose and advertise OTS service
2) Handle GATT & OLCP operations on server side
Change-Id: If5940cbf37d0216329210d6e0a1ffb83c7e6b904
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
DoHyun Pyun [Thu, 13 Apr 2017 04:18:15 +0000 (13:18 +0900)]
Add the API function interface for LE OOB pairing
Change-Id: Ia266568762687533db3f4be41d9447dcf3b6d253
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Gowtham Anandha Babu [Tue, 28 Mar 2017 10:34:42 +0000 (16:04 +0530)]
[Bluetooth][OTP] Add base code for OTP server role
Implement OTP server role:
-------------------------
1) Add logic for init / deinit the OTP server.
2) On init, OTP server will run as a process
called bt-otp.
3) Add support to indicate OTP server state(enabled/disabled)
to applicaton.
All TODOs will be handled in upcoming patch set.
Change-Id: I98aa0a8988884d612ac05e8b52e4c5ccf637a500
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
Pyun DoHyun [Wed, 5 Apr 2017 06:10:34 +0000 (23:10 -0700)]
Merge "A2DP role change: framework API." into tizen
DoHyun Pyun [Wed, 5 Apr 2017 05:53:48 +0000 (14:53 +0900)]
Support i586 unified build
Change-Id: I780058cfa171e436b773a90df26a2771890cb882
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 5 Apr 2017 04:06:22 +0000 (13:06 +0900)]
Fix the build error for unified x86_64 build
Change-Id: I84075259228923addaa4b8a01d52e0435edb566e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 5 Apr 2017 00:49:47 +0000 (09:49 +0900)]
Add the RFCOMM direction define for all profile rpms
Change-Id: Ie18ff604e8266600af48ad3032b69cce9fd07017
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
hk57.kim [Tue, 4 Apr 2017 07:14:54 +0000 (16:14 +0900)]
error fix for Unified profile
- This is for Tizen 4.0.
- fix issue of having choice of .so files for Unified profile
Change-Id: Idbebb07a367203668a871c065ca129a56a724574
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
DoHyun Pyun [Tue, 4 Apr 2017 04:52:37 +0000 (13:52 +0900)]
Fix the svace issue (146981, 147807, 168145, 174996)
Change-Id: If5e7b2bfba9704be9289f66dd1d6c758a9482703
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Abhishek Chandra [Tue, 4 Apr 2017 03:35:42 +0000 (09:05 +0530)]
A2DP role change: framework API.
Change-Id: I1b3412e225af54646431105af396a275c21e895c
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
Pyun DoHyun [Thu, 30 Mar 2017 05:22:51 +0000 (22:22 -0700)]
Merge "[Tizen] Remove emulator build dependencies" into tizen
hk57.kim [Thu, 30 Mar 2017 05:15:34 +0000 (14:15 +0900)]
[Tizen] Remove emulator build dependencies
- This is for Tizen 4.0.
- Added backward-compatibility that does not deteriorate 4.0 Configurability
- When you SR this, you need to create JIRA-TRE issue of:
: add bluetooth-frwk-extension-emulator for all(common/mobile/wearable/ivi/tv) emulator
(It's add, not replace.)
Change-Id: Ic5f5002f962694eea9bd83334774d38ec7f4f4ae
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
h.sandeep [Fri, 17 Mar 2017 09:31:55 +0000 (15:01 +0530)]
GATT-Client: Modify Read and Write procedure as per Bluez 5.43
Change-Id: I6b3967fae826dcf9cad32657611c0c7b8f3c482c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
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: Iec1f6a82e30baefa8eb6bab6f7e7aba081fd1e7a
Signed-off-by: Sangki Park <sangki79.park@samsung.com>
DoHyun Pyun [Mon, 27 Mar 2017 07:16:04 +0000 (16:16 +0900)]
Modify the install path for license file
Change-Id: I9305b3c12cd78e119b8b28990ca4786d10a405d3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Lee Hyuk [Fri, 24 Mar 2017 07:10:41 +0000 (16:10 +0900)]
Modify the plugin loading path for ARCH64
Change-Id: I829ba7ab6628faf03d71fd1510f8f8cda3576fe4
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
Lee Hyuk [Thu, 23 Mar 2017 08:23:28 +0000 (17:23 +0900)]
Auto accept for requesting to headless device
Change-Id: I64043a8a5f812ed198a1392de83af67ee537efad
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
Lee Hyuk [Wed, 15 Mar 2017 01:13:45 +0000 (10:13 +0900)]
Modify the BuildRequire in specfile
Change-Id: Ieb72dfc6101019265758477ab25e345f97796c21
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
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: I2c075f804baafebe0cc84bad8f264f7bbe60928f
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: I1bd1e35ba2b07d729f4620d39e1734bd30ff1ece
Pyun DoHyun [Wed, 8 Mar 2017 08:13:57 +0000 (00:13 -0800)]
Merge "Add the plugin for Headed/Headless device" into tizen
Lee Hyuk [Mon, 6 Mar 2017 09:14:34 +0000 (18:14 +0900)]
Add the plugin for Headed/Headless device
Change-Id: I05213deae05f05d80c3f5d67272f2e4ec923b7c1
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
DoHyun Pyun [Tue, 7 Mar 2017 07:43:55 +0000 (16:43 +0900)]
Fix the build error for Tizen 4.0 gcc62 toolchain
Change-Id: Ie7308d03fca3cc4771dca788ea659f11311d2a18
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 20 Feb 2017 23:28:40 +0000 (08:28 +0900)]
Modify the systemd restarting option to on-failure
Change-Id: I7762d05c81c69ae4e4ec7a05e1be8dbdb8e7cba3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Atul Rai [Thu, 9 Feb 2017 04:41:09 +0000 (10:11 +0530)]
Fix SVACE issues(Id: 11323, 11324, 169036, 171525, 171526)
Change-Id: I528f831d7962280b026f3576db8e012e0d038108
Signed-off-by: Atul Rai <a.rai@samsung.com>
DoHyun Pyun [Tue, 7 Feb 2017 03:44:54 +0000 (12:44 +0900)]
Merge latest tizen_3.0 bug fix codes
--------------------------------------------------
commit
2eebae6d9922f8c3f7c759db0f98ce5156426a69
Author: Lee Hyuk <hyuk0512.lee@samsung.com>
Date: Wed Jan 25 17:16:28 2017 +0900
Fix the memory leak in bt-core
--------------------------------------------------
Change-Id: I4a3060bb1740e16e59e7dc8788a8c6f1b63a0126
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
hk57.kim [Mon, 23 Jan 2017 08:13:11 +0000 (17:13 +0900)]
[4.0] Remove Target_Name Dependency
- This is for Tizen 4.0
- We are going to unify repositories as well as build projects.
- When you SR this, you need to create JIRA-TRE issue of:
: add bluetooth-frwk-extension-TM1 for TM1 (mobile)
(It's add, not replace.)
Change-Id: Ia686199d61fde0d3d880eb3093d1772279e25647
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
MyungJoo Ham [Mon, 16 Jan 2017 11:01:32 +0000 (20:01 +0900)]
Reverse dependency direction.
To remove the need for Prefer, that are going to be not required
anymore in a week anyway.
Change-Id: Ifcaa326f7a9a096b17793140885a72ee61606ebd
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Ł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: Ieedb59d71e13ca5d36a1680de9dcd0e044759163
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>
DoHyun Pyun [Tue, 13 Dec 2016 04:35:45 +0000 (13:35 +0900)]
Fix the build error for GCC6
Change-Id: Ia548b1c8092d9c1ffe0593e19b7720dc02d28811
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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>
Seungyoun Ju [Fri, 2 Dec 2016 01:47:26 +0000 (10:47 +0900)]
Recover bluetoothd crash
[Problem] After bluetoothd crash is happened, keep BT off state
[Cause & Measure] bluetoothd crash was not recovered
[Checking Method] Terminate bluetoothd (because of chipset malfunction)
Change-Id: I563c8873a78eb8fd6c6cf229e437886f6ea7e5c6
Signed-off-by: Injun Yang <injun.yang@samsung.com>
DoHyun Pyun [Fri, 2 Dec 2016 01:43:22 +0000 (10:43 +0900)]
Add response_needed parameter in the write value requested callback
Change-Id: Ife10ca1f323905ee615c61938042a09ccc38fdf0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Syam Sidhardhan [Wed, 30 Nov 2016 12:36:41 +0000 (18:06 +0530)]
bt-api: Do not log the _bt_check_privilege() using macro
Here we are replacing the _bt_send_request() macro with the
direct function call inorder to not print the _bt_check_privilege()
method call. This helps us in reducing the prints and also if there
is any error the caller is always printing the details.
- result = _bt_send_request(service_type, service_function,
+ result = _bt_sync_send_request(service_type, service_function
Change-Id: Ibe5b1d3acb4eff978b93ff4fdecb4ad2806b330a
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Syam Sidhardhan [Wed, 30 Nov 2016 12:35:00 +0000 (18:05 +0530)]
bt-api: Fix incorrect macro expansion for service function
The _bt_send_request() and _bt_send_request_async() macros are
designed in such a way that we should always pass a "#define value"
or "enum type" as the first two params. Otherwise it will just print
the variable name.
Change-Id: I137c59a780ffd0000cd79dbafe0379389405d5ce
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
MyungJoo Ham [Fri, 25 Nov 2016 07:19:12 +0000 (16:19 +0900)]
Remove Profile Build Dependenceis: 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.
However, because there are different service files per profile,
- Please create JIRA-TRE issue when you SR this commit:
- Add bluetooth-frwk-profile_common for common profile if common has bluetooth-frwk
- Add bluetooth-frwk-profile_mobile for mobile profile if mobile has bluetooth-frwk
- Add bluetooth-frwk-profile_wearable for wearable profile if wearable has bluetooth-frwk
- Add bluetooth-frwk-profile_tv for tv profile if tv has bluetooth-frwk
- Add bluetooth-frwk-profile_ivi for ivi profile if ivi has bluetooth-frwk
Conflicts:
bt-api/CMakeLists.txt
bt-core/CMakeLists.txt
bt-service/bt-service-adapter.c
packaging/bluetooth-frwk.spec
Change-Id: I813f9f9351571bfad6c437e073da92117fdc80eb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Sudha Bheemanna [Fri, 2 Dec 2016 05:36:59 +0000 (11:06 +0530)]
[HPS] Disable HPS feature from binary
Disable inclusion of HPS feature in binary tizen 3.0
Change-Id: I796aae6c2584498f23ec97dfb678325d828f4042
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Injun Yang [Thu, 1 Dec 2016 11:55:43 +0000 (20:55 +0900)]
Fix : ADV_IND data is not present while le scanning
[Problem] While LE scanning, ADV_IND data is not present
[Cause & Measure] ADV_IND data is not delivered to application
[Checking Method] LE scan
Change-Id: I5b3a535eb5cd080070e03e913dfa6669d0a28bf6
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Biman Paul [Thu, 6 Oct 2016 08:22:11 +0000 (13:52 +0530)]
Remove dbus-glib APIs and headers
[Problem] Unused deprecated dbus-glib code
[Cause & Measure] removed dbus-glib codes
Change-Id: I6d3108ec83e724ff41e111052489225ed92f476c
Nagaraj D R [Wed, 30 Nov 2016 06:58:50 +0000 (12:28 +0530)]
Fix "g_variant_get" API usage error
g_variant_get expects address, as its parameter
and not the local value
Change-Id: I221e26e43f03c4b2476a210190769668b31c3de1
Syam Sidhardhan [Wed, 30 Nov 2016 05:35:55 +0000 (11:05 +0530)]
bt-api: gatt-client: Fix memory leak
[Model]COMMON
[BinType] AP
[Customer]N/A
[Issue#]Memeory leak reported by cppcheck automated tool
[Request]Internal
[Occurrence Version]PK6
[Problem]Memeory leak reported by cppcheck tool
[Cause & Measure]We were no freeing the memory
[Checking Method]Gatt test tool
[Team]BT
[Developer]Syam Sidhardhan <s.syam@samsung.com>
[Solution company] Samsung
[Change Type]N/A
Change-Id: I2002d1f47cc3381a7db442cb72e3880af1a09aac
(cherry picked from commit
24374850100b737a9132c7b02a61955aed97326f)
DoHyun Pyun [Tue, 29 Nov 2016 07:31:54 +0000 (16:31 +0900)]
Fix svace 2.2 version issues
Change-Id: I1e267e154c703d921683eb77a2516ec25a03b01b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Tue, 29 Nov 2016 11:41:15 +0000 (17:11 +0530)]
DPM: Sync API return value with other bt-service modules.
1. All the API return values synchronozed as per bt-service
modules.
2. Moved the getter API return values to API out parameter.
3. Fix the Svace 2.2 issue.
Change-Id: Ie76f2cbc913bfbdb567606635e0e817b2f237056
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Thu, 24 Nov 2016 11:12:56 +0000 (16:42 +0530)]
PXP: Modify APIs and Signal handle implementation
1. Add Seperate APIs for Monitor and reporter role.
2. Add implementation to moinotr the PID for reporter service.
3. Remove the property changed handler for monitor role.
Change-Id: I033bc604d7fc2971eecaa65647cec50af7f29840
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Syam [Mon, 28 Nov 2016 08:32:47 +0000 (17:32 +0900)]
Fix incorrect memory validation for g_malloc*()
g_malloc*() will always return a valid memory address. If the
device is in out of memory case, g_malloc*() will assert.
Hence no need to validate the return value against NULL.
g_malloc*() will always return a memory address which is of type void *.
It doesn't make any sense to typecast this return address to another
pointer address. Ex: char *p = (char *)g_malloc0(..);
Change-Id: If61ac9d2628ce9432b767d588f991ca4c625fcf6
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Mon, 28 Nov 2016 06:52:20 +0000 (15:52 +0900)]
Apply glib log handler
Change-Id: I5615822f604230893aadeb4966a9847af92ca05f
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Mon, 28 Nov 2016 06:34:13 +0000 (15:34 +0900)]
Enhance debug message
Change-Id: I820810dfc0fb30385a18e5abae80c98e24256d47
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Lee Hyuk [Thu, 24 Nov 2016 08:47:06 +0000 (17:47 +0900)]
Add the le_scan_event_id to bt-service receiver
Change-Id: I67ee3d615a4fc066e51fec0afdfa2755539d4e08
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
DoHyun Pyun [Thu, 24 Nov 2016 05:48:19 +0000 (14:48 +0900)]
Modify the codes for 64bit build
Change-Id: Iebc1e2a938360bcbe7a75c4d513c4af3fb61677d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 22 Nov 2016 00:35:36 +0000 (16:35 -0800)]
Merge "Modify build feature names as Tizen 3.0 build option naming rule" into tizen
DoHyun Pyun [Mon, 21 Nov 2016 05:51:00 +0000 (14:51 +0900)]
Modify build feature names as Tizen 3.0 build option naming rule
Change-Id: I8f6d45ee35a01fae3df383a5a77be1c97b9cc9dc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>