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>
h.sandeep [Mon, 17 Oct 2016 10:16:09 +0000 (15:46 +0530)]
HPS: Fix data_status value for http response.
Change-Id: Id76dd4b617cb563a14389d6ec5dcf187becb1f6b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Mon, 17 Oct 2016 10:02:37 +0000 (15:32 +0530)]
HPS: Add support to use offset parameter.
This patch adds offset feature for read/write to
HPS attributes.
Change-Id: Iaa83a2a2ec8aee324e7562ac1a5bc763a958cf7f
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Tue, 16 Feb 2016 04:59:32 +0000 (10:29 +0530)]
HPS: Assign SIG defined UUIDs for HPS attributes
Change-Id: I4fdb50bd416e8b2a88eefa31a81446a99e9551f3
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Thu, 17 Nov 2016 06:19:19 +0000 (15:19 +0900)]
Remove line number printing in the test application
Change-Id: I486a0f2daff7c49310cf02a3336b322bfafc8ffd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 17 Nov 2016 03:06:28 +0000 (12:06 +0900)]
Remove the debug message for TC
Change-Id: Ia3d65d8fe83c985cbb128612558bd1b4425ec888
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 16 Nov 2016 02:33:32 +0000 (18:33 -0800)]
Merge "Fix the warning errors" into tizen
DoHyun Pyun [Wed, 16 Nov 2016 01:31:47 +0000 (10:31 +0900)]
Fix the warning errors
Change-Id: I20e16e4913789fc3b21c74e316c9e08ab031cf10
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Tue, 15 Nov 2016 05:51:48 +0000 (14:51 +0900)]
Modify the transfer file name set
Change-Id: Ibf8b61918569de2ec134cc45f26e7cf1ff0f2108
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
h.sandeep [Mon, 14 Nov 2016 08:55:42 +0000 (14:25 +0530)]
iBeacon: Remove the ibeacon report signal handling
The iBeacon report shall be extracted from AdvReport signal
at CAPI layer as part of LE Device Found Updated callback
Revert the below patch
====================================================
iBeacon: Add support for handling iBeacon reports.
Change-Id: Ib0658eb8e610da76a588bb7f2cb21d580759626a
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
=====================================================
Change-Id: I394a018271166af60c8bf28c981124e63606c820
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Pyun DoHyun [Tue, 15 Nov 2016 01:04:38 +0000 (17:04 -0800)]
Merge "Disconnect rfcomm connections" into tizen
Pyun DoHyun [Tue, 15 Nov 2016 01:02:03 +0000 (17:02 -0800)]
Merge "Disconnect all profiles if a device is restricted by DPM" into tizen
Pyun DoHyun [Tue, 15 Nov 2016 01:01:40 +0000 (17:01 -0800)]
Merge "Reject new rfcomm connection when DPM disallow it" into tizen
Sangki Park [Tue, 20 Sep 2016 08:32:53 +0000 (17:32 +0900)]
Disconnect all profiles if a device is restricted by DPM
[Model] R765
[BinType] AP
[Customer] N/A
[Issue#] P160919-02331
[Request] PLM
[Occurrence Version] N/A
[Problem] A device is not disconnected even if it is set to blacklist device
[Cause & Measure] Not implemented
[Checking Method] connect -> set the device to blacklist using dpm-toolkit
[Team] Basic connection
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specific change
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: I64e8cac1dd64482ffa0f09593a2fe475c0690486
Seungyoun Ju [Fri, 14 Oct 2016 05:22:17 +0000 (14:22 +0900)]
Reject new rfcomm connection when DPM disallow it
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] P161013-00685
[Request] PLM
[Occurrence Version] R735AUCU2CPJ3
Code modified according to DPM poliy.
[Problem] After SPP MDM policy is restricted and the device is rebooted,
service daemon cannot create RFCOMM server socket. But it cannot know
when MDM policy is changed to "allowed". So until BT is turned off and
on, related service cannot run.
[Cause & Measure] RFCOMM server socket creation / listen / accept
operations are blocked by MDM. But it is better to block new
connections. So that, service layer doesn't need to consider MDM policy.
[Checking Method] Restrict SPP MDM Policy -> Reboot -> Allow SPP MDM
policy -> Check service (sapd) working state.
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Ie12949dde1f9fc50adb5fb86325de9a7da00fb8f
Seungyoun Ju [Thu, 13 Oct 2016 11:59:02 +0000 (20:59 +0900)]
Disconnect rfcomm connections
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] P161013-00685
[Request] PLM
[Occurrence Version] R735AUCU2CPJ3
Since MDM is not used in Tizen 3.0, only the disconnect all connections
function is retained in this patch while merging from SLP.
[Problem] sapd is not working when SPP MDM policy is changed
from "disallow" to "allow"
[Cause & Measure] sapd doesn't consider this scenario and it just blocks
the communication once socket API's return error code. But our policy is also
not consistent (Only Tx is disallowed when SPP policy is restricted.
But the connection is alive and Rx is possible).
So it is better to disconnect the SPP when it is restricted.
And in this case, BT_ERROR_OPERATION_FAILED is returned to service daemon
so it is hard to decide whether this failure is caused by MDM or not.
So disconnection is implemented in bt-api when SPP MDM policy is restricted.
[Checking Method] Make SPP connection -> Change SPP policy to restricted
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Iaaa18b7f786477123ae485dc4564c0189e730642
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Change-Id: Iaaa18b7f786477123ae485dc4564c0189e730642
DoHyun Pyun [Mon, 14 Nov 2016 01:20:02 +0000 (10:20 +0900)]
Fix a svace issue
Change-Id: I665e4ccafd2299e4f29c3edb3b7fbf7cc4ba3655
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 14 Nov 2016 00:52:07 +0000 (09:52 +0900)]
Fix coding style warnings and errors
Change-Id: I731f41a2d59e23f2929fcd6904c4dfd30ed66800
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 11 Nov 2016 05:25:39 +0000 (14:25 +0900)]
Add the bluetooth_opp_get_transfer_progress function
Change-Id: I275a408f2386042fee440454c703c50c40636822
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 11 Nov 2016 03:59:34 +0000 (12:59 +0900)]
Fix the Svace issue
Change-Id: I092fefa65cf5f95058e9385035e6e02841fbfd25
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Taejin Woo [Thu, 10 Nov 2016 01:41:50 +0000 (10:41 +0900)]
Fix to recover bt_adapter when turn on flight mode
- When turn on and off flight mode, don't recovery BT's before state
Change-Id: Ie58ceb5a4a8e3e1c339cef6a2fade9e9a99ff94d
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
h.sandeep [Wed, 9 Nov 2016 04:39:27 +0000 (10:09 +0530)]
PXP: Handle properties changed signal for Monitor role.
Change-Id: I769fab953ff4b30dd5f23cacca58ba34822f5514
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Gowtham Anandha Babu [Thu, 27 Oct 2016 12:43:30 +0000 (18:13 +0530)]
[PXP Reporter]: Add base code for register/unregister
1) Added base code for registering and unregistering
proximity services.
Change-Id: I974a6858a2f5f68f6d6438522238284097bac3a4
Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
h.sandeep [Tue, 25 Oct 2016 04:03:59 +0000 (09:33 +0530)]
PXP: Add base code for Proximity Profile Monitor Role.
Change-Id: Ic82000a4a752bb05a52864ac4ad6cb6fe51a5526
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Taejin Woo [Tue, 8 Nov 2016 02:34:22 +0000 (11:34 +0900)]
Fix the coding rule
Change-Id: I20074dc293be4cdecedc52d42434693038274072
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Thu, 3 Nov 2016 02:00:34 +0000 (11:00 +0900)]
Merge the code from private
branch:devel/bluetooth/master
=================================================
commit
da8a21b4dd39e2aa6ea65bae11e1e5ecf63aa8a5
Author: Seungyoun Ju <sy39.ju@samsung.com>
Date: Tue Oct 4 20:41:11 2016 +0900
==================================================
Change-Id: I075896db0e203006ef09f445339d77f351a0abe3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 2 Nov 2016 02:58:50 +0000 (11:58 +0900)]
Set the connectable mode for IVI profile
Change-Id: I943f64c3ed375192df7aecbe2abaf45a0dcffac9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Wed, 5 Oct 2016 04:17:18 +0000 (09:47 +0530)]
iBeacon: Add support for handling iBeacon reports.
Change-Id: Ib0658eb8e610da76a588bb7f2cb21d580759626a
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Tue, 25 Oct 2016 05:08:02 +0000 (14:08 +0900)]
Implement the getter function about the pbap connected status
Change-Id: Id0144a9f943a3d273992e13fd82f29ff2716fef6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 28 Oct 2016 04:03:17 +0000 (13:03 +0900)]
Enable bt_adapter_recover function in the platform
Change-Id: Iadf775ef2f726cff72c3acfe262ff38362a279e9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 25 Oct 2016 08:20:09 +0000 (17:20 +0900)]
Remove BT enable check logic in pbap init / deinit
Change-Id: I6b61a5f730127fc1117680e93ffb63cadaff1686
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 19 Oct 2016 01:57:11 +0000 (10:57 +0900)]
Fix the bug about the connected status
Change-Id: Ie12d341c2b5162e194b9271a3fcbfda5cda9f7ce
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 17 Oct 2016 02:38:09 +0000 (11:38 +0900)]
Don't add the recovery logic into the platform image
Change-Id: I49fb518601558212ff9b6f6d94fa90a9eee245df
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 6 Oct 2016 03:23:33 +0000 (12:23 +0900)]
Retry to initialize the obexd event receiver
Change-Id: Ic85e585059604acf25d2b810bece731d8561d888
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 6 Oct 2016 02:23:50 +0000 (11:23 +0900)]
Send the PBAP disconnected event at once
Change-Id: Id93c98eff69334ed4dba0d048c8d8ae973933854
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 5 Oct 2016 09:05:04 +0000 (18:05 +0900)]
Return the proper error when it is no discovery state
Change-Id: I366ce94bfb71d3c63a88faaf75a0fc980f035dad
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 5 Oct 2016 02:39:48 +0000 (11:39 +0900)]
Send the correct event for PBAP disconnected
Change-Id: Ie4a108adafc8b0cb7f3c6296250e0fdcf4bfee17
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 4 Oct 2016 23:19:05 +0000 (08:19 +0900)]
Fix the return value of the function providing connected status (TSAM-8605)
Change-Id: I805af963a64364b478d30051a244bc7fa3bb8ce1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 4 Oct 2016 01:30:14 +0000 (10:30 +0900)]
Remove the exception case for XU3 LE scanning
Kernel's patchset was completed. So LE scan in XU3 will work.
Change-Id: Ic716670369831efc3d9c7933c954603ec5f284c2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Tue, 4 Oct 2016 00:21:38 +0000 (09:21 +0900)]
Fix the Svace issue
- WGID : 142974
Change-Id: Id13548be16ca83e19b83ba7c6967df795021d9a6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Taejin Woo [Wed, 28 Sep 2016 09:25:02 +0000 (18:25 +0900)]
Fix PBAP's download path
Change-Id: I9b39523a383409488585da7a38266aef3511880e
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Hyuk Lee [Wed, 28 Sep 2016 06:44:59 +0000 (15:44 +0900)]
Fix the build warning
Change-Id: I87fb53a4c88c451bef274d32fe247a73229447d4
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Wed, 28 Sep 2016 05:30:01 +0000 (14:30 +0900)]
Add the obex folder path transfer function
Change-Id: Ie14b19011b8a6c9b664f02191c9b463c0a4ca3d6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Wed, 28 Sep 2016 04:56:37 +0000 (13:56 +0900)]
Fix the svace issue - NULL_AFTER_DEREF
Change-Id: I323e035fbd8add33304d6ea2b2298e817f477239
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>