platform/core/connectivity/bluetooth-frwk.git
4 years agoMerge branch 'tizen' into tizen_5.5
DoHyun Pyun [Fri, 29 Nov 2019 04:54:26 +0000 (13:54 +0900)]
Merge branch 'tizen' into tizen_5.5

4 years agoModify the initial value for A2DP pending init 68/218868/2
DoHyun Pyun [Fri, 29 Nov 2019 03:45:11 +0000 (12:45 +0900)]
Modify the initial value for A2DP pending init

Change-Id: Ia367562372822d065e124062183f10412e94991b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge branch 'tizen' into tizen_5.5 accepted/tizen/5.5/unified/20191203.011316 submit/tizen_5.5/20191127.215640
DoHyun Pyun [Thu, 28 Nov 2019 02:51:03 +0000 (11:51 +0900)]
Merge branch 'tizen' into tizen_5.5

4 years agoModify the initialization logic for A2DP role 47/218747/3 accepted/tizen/unified/20191128.161921 submit/tizen/20191128.024748
DoHyun Pyun [Wed, 27 Nov 2019 22:22:28 +0000 (07:22 +0900)]
Modify the initialization logic for A2DP role

Change-Id: Id03706dc12aa3f14ac6966fcf54db40f40309cba
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge "Adapt the device update connection mode functionality into BT-HAL framework...
Anupam Roy [Wed, 27 Nov 2019 09:48:47 +0000 (09:48 +0000)]
Merge "Adapt the device update connection mode functionality into BT-HAL framework." into tizen

4 years agoRemove executing bluetooth-stak-up.service before bluez-start 47/218647/1 accepted/tizen/unified/20191128.001536 submit/tizen/20191127.050440
Wootak Jung [Wed, 13 Nov 2019 01:28:02 +0000 (10:28 +0900)]
Remove executing bluetooth-stak-up.service before bluez-start

Requires=bluetooth-stack-up.servie will be added in
bluez-start.service because there is a timing issue
between stack-up.service and bluez-start.service
although executing stack-up.service logic is located
before bluez-start.service.

Change-Id: I1243d5e63be86b353b15e292e8341f20008409e4
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdapt the device update connection mode functionality into BT-HAL framework. 70/218570/2
himanshu [Mon, 25 Nov 2019 12:06:30 +0000 (17:36 +0530)]
Adapt the device update connection mode functionality into BT-HAL framework.

Change-Id: Ib0c6acd26aa11ab5aa4178610c374c2079231982
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoMerge branch 'tizen' into tizen_5.5
DoHyun Pyun [Tue, 26 Nov 2019 04:48:38 +0000 (13:48 +0900)]
Merge branch 'tizen' into tizen_5.5

4 years agoMerge "Implement scan filter enable/disable logic" into tizen
Pyun DoHyun [Tue, 26 Nov 2019 00:19:21 +0000 (00:19 +0000)]
Merge "Implement scan filter enable/disable logic" into tizen

4 years agoMerge "Add time member to app info structure for battery monitor plugin" into tizen
Pyun DoHyun [Tue, 26 Nov 2019 00:18:38 +0000 (00:18 +0000)]
Merge "Add time member to app info structure for battery monitor plugin" into tizen

4 years agoImplement scan filter enable/disable logic 57/218257/8
Wootak Jung [Thu, 21 Nov 2019 01:51:56 +0000 (10:51 +0900)]
Implement scan filter enable/disable logic

Implement adv report filtering logic

Change-Id: I18737f722c555a59dd7b31dd8c78926ba8ddf4d4

4 years agoMerge branch 'tizen' into tizen_5.5 accepted/tizen/5.5/unified/20191130.001602 submit/tizen_5.5/20191121.083444 submit/tizen_5.5/20191126.044856
DoHyun Pyun [Thu, 21 Nov 2019 08:34:24 +0000 (17:34 +0900)]
Merge branch 'tizen' into tizen_5.5

4 years agoMerge "Add the exception case for audio initialize" into tizen
Pyun DoHyun [Thu, 21 Nov 2019 08:27:22 +0000 (08:27 +0000)]
Merge "Add the exception case for audio initialize" into tizen

4 years agoAdd time member to app info structure for battery monitor plugin 09/218309/1
Sudipto Bal [Thu, 21 Nov 2019 07:44:12 +0000 (16:44 +0900)]
Add time member to app info structure for battery monitor plugin

Change-Id: If3af67cc2c4a779fe8a70003c15bb6aa0fbf290a
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
4 years agoRemove unnecessary header file inclusion 61/218261/1
Wootak Jung [Thu, 21 Nov 2019 02:09:58 +0000 (11:09 +0900)]
Remove unnecessary header file inclusion

Update boilerplate

Change-Id: I8977dce78f2b925738793156d1b02a6502d2702b

4 years agoMerge "Implement HID Device role event handling logic" into tizen
Pyun DoHyun [Thu, 21 Nov 2019 01:56:17 +0000 (01:56 +0000)]
Merge "Implement HID Device role event handling logic" into tizen

4 years agoAdd the exception case for audio initialize 56/218256/1
DoHyun Pyun [Thu, 21 Nov 2019 01:56:05 +0000 (10:56 +0900)]
Add the exception case for audio initialize

In case of 'AlreadyExist' error from bluez, BT FRWK should
enable the audio stack

Change-Id: Ia3394b21f057478b73a95603d63207669aed64bd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoRemove unnecessary logs for event 51/218251/1
DoHyun Pyun [Thu, 21 Nov 2019 00:38:05 +0000 (09:38 +0900)]
Remove unnecessary logs for event

Change-Id: Id32e9a2791a0acde35bdf5175a7c7f86159f5c81
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoRemove unnecessary logs for event 50/218250/1
DoHyun Pyun [Thu, 21 Nov 2019 00:38:05 +0000 (09:38 +0900)]
Remove unnecessary logs for event

Change-Id: Id32e9a2791a0acde35bdf5175a7c7f86159f5c81
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoImplement HID Device role event handling logic 37/218137/2
Wootak Jung [Wed, 20 Nov 2019 01:22:36 +0000 (10:22 +0900)]
Implement HID Device role event handling logic

Change-Id: Ic95a8655b86db1f82e4495a5f6aea9963e614865

4 years agoMerge "Apply auth check logic for hid device" into tizen accepted/tizen/unified/20191121.154834 submit/tizen/20191120.081904
Pyun DoHyun [Tue, 19 Nov 2019 23:28:22 +0000 (23:28 +0000)]
Merge "Apply auth check logic for hid device" into tizen

5 years agoResolve vconf type mismatch issue 74/218074/1
Sudipto Bal [Tue, 19 Nov 2019 07:30:10 +0000 (16:30 +0900)]
Resolve vconf type mismatch issue

Change-Id: I981f04ffc3cba97fd80bc10e6ae40c57c615f1f7
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
5 years agoApply auth check logic for hid device 00/218000/1
Deokhyun Kim [Mon, 18 Nov 2019 10:47:35 +0000 (19:47 +0900)]
Apply auth check logic for hid device

Change-Id: I64d54609f50a6528f7af65b2f22379bbba753efa
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoMerge branch 'tizen' into tizen_5.5 accepted/tizen/5.5/unified/20191120.130935 accepted/tizen/5.5/unified/20191121.073241 submit/tizen_5.5/20191118.005342 submit/tizen_5.5/20191119.233738
DoHyun Pyun [Mon, 18 Nov 2019 02:34:31 +0000 (11:34 +0900)]
Merge branch 'tizen' into tizen_5.5

5 years agoImplement bluetooth_rfcomm_listen() function 53/217753/6
Wootak Jung [Thu, 14 Nov 2019 05:03:21 +0000 (14:03 +0900)]
Implement bluetooth_rfcomm_listen() function

If user listens to rfcomm server by bluetooth_rfcomm_listen(),
connection requested callback should be occured not popup
when rfcomm connection request is come from client.

Change-Id: I688171b31c853e2761074f757f6a21fad1f7bcbd

5 years agoMerge branch 'tizen' into tizen_5.5
DoHyun Pyun [Mon, 18 Nov 2019 00:51:38 +0000 (09:51 +0900)]
Merge branch 'tizen' into tizen_5.5

5 years agoMerge "Scan filter refactoring" into tizen
Pyun DoHyun [Mon, 18 Nov 2019 00:49:53 +0000 (00:49 +0000)]
Merge "Scan filter refactoring" into tizen

5 years agoFix coverity issues - Resource leaks 33/217933/1 accepted/tizen/unified/20191118.122930 submit/tizen/20191118.005441
DoHyun Pyun [Mon, 18 Nov 2019 00:41:18 +0000 (09:41 +0900)]
Fix coverity issues - Resource leaks

Change-Id: I62bdabd1cf208c3f7291f94eddc029d332235f42
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoScan filter refactoring 94/217794/2
Deokhyun Kim [Thu, 14 Nov 2019 08:17:55 +0000 (17:17 +0900)]
Scan filter refactoring

Change-Id: I8bf48e8945811eb09147c547c15b87fe6fdf7bf2
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoMerge branch 'tizen' into tizen_5.5 30/217830/1 submit/tizen_5.5/20191114.234219
DoHyun Pyun [Thu, 14 Nov 2019 23:41:33 +0000 (08:41 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I19de47e817ee5f82b4719da992db8a4f611f33be

5 years agoResolve the LE advertising fail after slot exhaustion 20/217820/1
Amit Purwar [Thu, 14 Nov 2019 11:39:39 +0000 (17:09 +0530)]
Resolve the LE advertising fail after slot exhaustion

Change-Id: Iebd4249b8ee1d7fe1db48c84e479058de83b192f
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoSet le scan status to false when scan is stopped by framework 27/217527/1
Deokhyun Kim [Tue, 12 Nov 2019 07:38:51 +0000 (16:38 +0900)]
Set le scan status to false when scan is stopped by framework

Change-Id: Ib03d8e67638c4903243da3747cbe943da52c08eb
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoMerge branch 'tizen' into tizen_5.5 01/217301/1 accepted/tizen/5.5/unified/20191111.105405 submit/tizen_5.5/20191108.040531
DoHyun Pyun [Fri, 8 Nov 2019 07:06:37 +0000 (16:06 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I4631fb487236b56807d3b2afddeb9f57fb18effa

5 years agoMerge branch 'tizen' into tizen_5.5 52/217252/1
DoHyun Pyun [Fri, 8 Nov 2019 04:03:34 +0000 (13:03 +0900)]
Merge branch 'tizen' into tizen_5.5

Change-Id: I3495cd105084fe928a2df5615fd814749e70146a

5 years agoMerge "Check NULL condition" into tizen accepted/tizen/unified/20191112.125153 submit/tizen/20191112.045846
Anupam Roy [Mon, 4 Nov 2019 08:25:19 +0000 (08:25 +0000)]
Merge "Check NULL condition" into tizen

5 years agoCheck NULL condition 93/216393/2
Sudipto [Thu, 24 Oct 2019 09:28:25 +0000 (14:58 +0530)]
Check NULL condition

Free memory of a previously declared variable if
g_array_new returns NULL

Change-Id: I373ef9d1641262ef4fd5f18170b6171efbbc72fb
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoImplemented the is scan filter supported API 54/216754/2
himanshu [Thu, 31 Oct 2019 12:47:14 +0000 (18:17 +0530)]
Implemented the is scan filter supported API

This API is used to get the information whether the
scan filter feature is supported or not.

Change-Id: Ife02b2e1c79548fa92de6f185d68007e66e6dcbd
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoRelease resources for the notify file destriptor properly 59/216659/3 accepted/tizen/unified/20191101.042113 submit/tizen/20191031.005137
DoHyun Pyun [Wed, 30 Oct 2019 06:43:35 +0000 (15:43 +0900)]
Release resources for the notify file destriptor properly

If we close the fd only, io channel and watcher resource is
not released. So it occurs critical problems with next logs.

ecore<4672> ../src/lib/ecore/ecore_main.c:2083 _ecore_main_fd_handlers_bads_rem() Removing bad fds
ecore<4672> ../src/lib/ecore/ecore_main.c:2130 _ecore_main_fd_handlers_bads_rem() No bad fd found. Maybe a foreign fd from glib?

Change-Id: I683aa747018ff6139d31b48207b568da4dab8cae
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix le scan start/stop timing issue 49/216449/4
Wootak Jung [Fri, 25 Oct 2019 04:25:25 +0000 (13:25 +0900)]
Fix le scan start/stop timing issue

le scan functionaly is blocked in case stop request is come
right after start request is come.

le scan started/stopped events depend on LEDiscovering

Change-Id: I2531b426b72112c2aa1e21cae897a4b6f75d5343

5 years agoAdapt the scan filter register functionality into BT-HAL framework 34/215934/4
himanshu [Thu, 17 Oct 2019 12:53:51 +0000 (18:23 +0530)]
Adapt the scan filter register functionality into BT-HAL framework

This API registers a scan filter to use for scanning.

Change-Id: Icfa4bf8a87fde8668cc8e5c26689a2c3c29cbce7
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoMerge "Fix LE discovering finished event not invoked issue" into tizen
Anupam Roy [Thu, 24 Oct 2019 09:22:46 +0000 (09:22 +0000)]
Merge "Fix LE discovering finished event not invoked issue" into tizen

5 years agoMerge "Fix ASAN issue multiple definition of variable" into tizen
Anupam Roy [Thu, 24 Oct 2019 09:12:29 +0000 (09:12 +0000)]
Merge "Fix ASAN issue multiple definition of variable" into tizen

5 years agoMerge "Adapt unregister all scan filters functionality into BT-HAL framework" into...
Anupam Roy [Thu, 24 Oct 2019 09:01:22 +0000 (09:01 +0000)]
Merge "Adapt unregister all scan filters functionality into BT-HAL framework" into tizen

5 years agoMerge "Provide callback support to battery monitor frwk when BT is disabled" into...
Anupam Roy [Thu, 24 Oct 2019 08:40:51 +0000 (08:40 +0000)]
Merge "Provide callback support to battery monitor frwk when BT is disabled" into tizen

5 years agoAdapt unregister all scan filters functionality into BT-HAL framework 82/216382/2
himanshu [Thu, 24 Oct 2019 05:52:33 +0000 (11:22 +0530)]
Adapt unregister all scan filters functionality into BT-HAL framework

This API unregisters all registered scan filters.

Change-Id: I1d68b123a89469ff37e78fc0b33e466b0ff2791a
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoFix ASAN issue multiple definition of variable 85/216385/1
Sudipto [Thu, 24 Oct 2019 07:44:59 +0000 (13:14 +0530)]
Fix ASAN issue multiple definition of variable

The variable is_battery_monitor_enabled is no
longer required as the status of battery monitor
is now being stored in vconf

Change-Id: I77de898abb1cac6e2dfb8644f02be4adf40d97ff
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoProvide callback support to battery monitor frwk when BT is disabled 17/216117/4
Sudipto [Mon, 21 Oct 2019 07:03:29 +0000 (12:33 +0530)]
Provide callback support to battery monitor frwk when BT is disabled

Change-Id: Ic7d9433a8be4475c339150685f6c045c0070ea69
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoFix LE discovering finished event not invoked issue 60/216360/2
Wootak Jung [Thu, 24 Oct 2019 01:51:20 +0000 (10:51 +0900)]
Fix LE discovering finished event not invoked issue

Change-Id: Ia6e24b24b3e54d41c615ff40cc8e199d4f678be0

5 years ago[cmake] Explicitly specify target dependencies to allow build in parallel 45/216345/1
Mikhail Kashkarov [Wed, 23 Oct 2019 16:07:55 +0000 (19:07 +0300)]
[cmake] Explicitly specify target dependencies to allow build in parallel

Change-Id: Ic53fb6c0ac0b53530fb463a9d1620fab85e55877
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
5 years agoSupport build with -fno-common 44/216344/1
Mikhail Kashkarov [Wed, 23 Oct 2019 15:11:16 +0000 (18:11 +0300)]
Support build with -fno-common

Fix up ASan build: do not use variable definitons inside header files to avoid
multiple definitons error.

Change-Id: I00d74bd5c9e3e966b1acc29416f273477eaae7f5
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
5 years agoFix glib warning 05/216205/1
Deokhyun Kim [Tue, 22 Oct 2019 08:27:56 +0000 (17:27 +0900)]
Fix glib warning

Change-Id: I65e651b3999169a7e4d95eacb7d243d79d0c746c
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoMerge "Adapt the unregister scan filter functionality into BT-HAL framework" into...
Anupam Roy [Tue, 22 Oct 2019 06:19:44 +0000 (06:19 +0000)]
Merge "Adapt the unregister scan filter functionality into BT-HAL framework" into tizen

5 years agoAdapt the unregister scan filter functionality into BT-HAL framework 55/216155/3
himanshu [Mon, 21 Oct 2019 08:58:56 +0000 (14:28 +0530)]
Adapt the unregister scan filter functionality into BT-HAL framework

This API unregisters a registered scan filter.

Change-Id: I2bfe2a55970b4e4a31df777e889a25c2387e89c0
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoMerge "Add logs to get the previous bluetooth status" into tizen
Pyun DoHyun [Mon, 21 Oct 2019 05:27:19 +0000 (05:27 +0000)]
Merge "Add logs to get the previous bluetooth status" into tizen

5 years agoAdd logs to get the previous bluetooth status 94/216094/1
Amit Purwar [Mon, 21 Oct 2019 05:07:44 +0000 (10:37 +0530)]
Add logs to get the previous bluetooth status

Change-Id: Ibcf5ee315b810c5145a0d55576e737ada73e7a5f
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoPort the set manufacturer data functionality into BT-HAL framework. 28/215528/5
himanshu [Thu, 10 Oct 2019 06:22:55 +0000 (11:52 +0530)]
Port the set manufacturer data functionality into BT-HAL framework.

This API sets the manufacturer-data into the BT-Adapter.
The corresponding data change callback will be invoked
if data is set successfully.

Change-Id: I068a70c0b354a905fcc245ad2e089f4fc3cb06c6
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoMerge "Adapt HF Profile Connect & Disconnect to BT HAL framework" into tizen
Pyun DoHyun [Fri, 18 Oct 2019 03:59:09 +0000 (03:59 +0000)]
Merge "Adapt HF Profile Connect & Disconnect to BT HAL framework" into tizen

5 years agoMerge "Adapt device disconnect to BT HAL framework" into tizen
Pyun DoHyun [Fri, 18 Oct 2019 03:59:01 +0000 (03:59 +0000)]
Merge "Adapt device disconnect to BT HAL framework" into tizen

5 years agoAdapt device disconnect to BT HAL framework 28/215928/2
Amit Purwar [Thu, 17 Oct 2019 11:53:53 +0000 (17:23 +0530)]
Adapt device disconnect to BT HAL framework

Change-Id: I6fdb276b120ae1f0a14b5e1c8c2dbb74fb720080
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoAdapt HF Profile Connect & Disconnect to BT HAL framework 10/215810/3
Amit Purwar [Wed, 16 Oct 2019 06:09:50 +0000 (11:39 +0530)]
Adapt HF Profile Connect & Disconnect to BT HAL framework

Change-Id: I1c59ff115e7048b168fe7540514c5a7a3c815fc4
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoFix unintended unregister issue for gatt server instance 06/215806/3 submit/tizen/20191018.015644
Wootak Jung [Wed, 16 Oct 2019 06:13:41 +0000 (15:13 +0900)]
Fix unintended unregister issue for gatt server instance

In case client_id and instance_id are same, gatt server is
unregistered although we need to unregister gatt client.

Change name of function __bt_do_unregister_server_instance()
for readability.

Change-Id: Ib0f1e4a66e5cfabf52c3dc5a02b84fb031db3e7e

5 years agoFix TCT fail issue by API calling timing 96/215796/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023712 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083548 accepted/tizen/unified/20191017.011746 submit/tizen/20191016.055918 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
DoHyun Pyun [Wed, 16 Oct 2019 04:19:02 +0000 (13:19 +0900)]
Fix TCT fail issue by API calling timing

Befor and after sending BR/EDR or LE discovery command,
we should wait some time before recieving the complete event.
Otherwise the discoverying operation can be failed in the
stack layer, and the discoverying state wiil be not matched .

Change-Id: Ia9a07c9c2e3d8c907119d28e12dfac337a40cd44
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the vconf definition if the key is not defined 85/215785/1
DoHyun Pyun [Wed, 16 Oct 2019 00:57:14 +0000 (09:57 +0900)]
Add the vconf definition if the key is not defined

Change-Id: Ic73819068f57897632072b93e30af13672665401
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Provide RFCOMM data to battery monitor frwk" into tizen
Pyun DoHyun [Tue, 15 Oct 2019 01:21:25 +0000 (01:21 +0000)]
Merge "Provide RFCOMM data to battery monitor frwk" into tizen

5 years agoProvide RFCOMM data to battery monitor frwk 55/214355/5
Sudipto [Fri, 20 Sep 2019 11:59:50 +0000 (17:29 +0530)]
Provide RFCOMM data to battery monitor frwk

Change-Id: I2c2df3ce1160060cfd932fb328cc40ba9e094caf
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoModify GattConnected changed event handling logic 83/215683/2
Wootak Jung [Mon, 14 Oct 2019 06:42:13 +0000 (15:42 +0900)]
Modify GattConnected changed event handling logic

In case GATT Server is existing, server connected event is invoked
although client is connected by GattConnected changed event.
bt-service should distinguish whether event is for client or server.

Change-Id: I74c19b25a1b7f6130295a5ea2ad2631c0feb9bf9

5 years agoMerge "Fix le scan start issue after stop" into tizen
Pyun DoHyun [Fri, 11 Oct 2019 02:12:37 +0000 (02:12 +0000)]
Merge "Fix le scan start issue after stop" into tizen

5 years agoFix the AVRCP connection fail issue 70/215570/1 accepted/tizen/unified/20191014.005000 submit/tizen/20191011.013701
DoHyun Pyun [Fri, 11 Oct 2019 01:33:32 +0000 (10:33 +0900)]
Fix the AVRCP connection fail issue

This patchset resolves the media key TC fail issue.
(http://suprem.sec.samsung.net/jira/browse/TFDF-6009)

Change-Id: Ie94689ddba136b5a2ae38632e85d945f83d056b6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix le scan start issue after stop 68/215568/3
Wootak Jung [Fri, 11 Oct 2019 01:08:18 +0000 (10:08 +0900)]
Fix le scan start issue after stop

le scan is not started after stop because stop_pending is set TRUE.
stop_pending will be set FALSE if le discovery is finished.

Change-Id: Id8d9d759e1afcbf1080c98239a14b1affb40a3b6

5 years agoPort the Set LE Privacy functionality into BT HAL framework. 13/215113/2 accepted/tizen/unified/20191007.234828 submit/tizen/20191007.001051
himanshu [Thu, 3 Oct 2019 07:39:14 +0000 (13:09 +0530)]
Port the Set LE Privacy functionality into BT HAL framework.

Sets the enable privacy functionality of LE Adapter

Change-Id: I8f05f7c5e01103ffbd0106f63c49da4d8927d469
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoMerge "Add the feature check logic in launching bt-service" into tizen
Pyun DoHyun [Wed, 2 Oct 2019 01:22:32 +0000 (01:22 +0000)]
Merge "Add the feature check logic in launching bt-service" into tizen

5 years agoFix the svace issue (DEREF_AFTER_NULL) 21/215121/1 submit/tizen/20191002.005334
DoHyun Pyun [Wed, 2 Oct 2019 00:51:32 +0000 (09:51 +0900)]
Fix the svace issue (DEREF_AFTER_NULL)

Change-Id: I637cf306f6159b3e4cbc3d4e32994cfb78ff567b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Add and remove device from whitelist" into tizen
Pyun DoHyun [Wed, 2 Oct 2019 00:16:31 +0000 (00:16 +0000)]
Merge "Add and remove device from whitelist" into tizen

5 years agoFixed bt-service crash by validating le_adv_slot 50/215050/2
Amit Purwar [Tue, 1 Oct 2019 07:16:13 +0000 (12:46 +0530)]
Fixed bt-service crash by validating le_adv_slot

Change-Id: Ic495edc0bfb976d5d3b3a237c15d262048006bc6
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoAdd the feature check logic in launching bt-service 25/215025/1
DoHyun Pyun [Tue, 1 Oct 2019 05:24:34 +0000 (14:24 +0900)]
Add the feature check logic in launching bt-service

Even if BT feature is false in TV profile, bt-service try to
enable BT HW. This patchset prevents this issue.

Change-Id: I571ec5f1bcb3de067ff5f09459be1597265a0e69
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd and remove device from whitelist 73/214373/4
himanshu [Fri, 20 Sep 2019 15:52:35 +0000 (21:22 +0530)]
Add and remove device from whitelist

Change-Id: I476224d047e4e5a2b7ddb7b79d209bb6a5baba00
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoResolved the GAP Agent re-registration Failure 18/214718/1 accepted/tizen/unified/20190926.065727 submit/tizen/20190925.223306
Amit Purwar [Wed, 25 Sep 2019 12:37:13 +0000 (18:07 +0530)]
Resolved the GAP Agent re-registration Failure

Change-Id: I8c828e15b2aae66bcdb4d606328b27e5e1993f46
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoFix memory leak issue 84/214484/1 accepted/tizen/unified/20190924.062101 submit/tizen/20190923.085748
Wootak Jung [Mon, 23 Sep 2019 08:21:38 +0000 (17:21 +0900)]
Fix memory leak issue

Change-Id: Ief91f14d400acb59c94d56888feeeed9eb566b53

5 years agoFix mem leak 43/213943/2 accepted/tizen/unified/20190919.065320 submit/tizen/20190919.003432
Deokhyun Kim [Tue, 17 Sep 2019 01:43:35 +0000 (10:43 +0900)]
Fix mem leak

Change-Id: I3d25d486b5b9ee95fb1b3d3e0ba51f9ea004ea76
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoFixed the custom service UUID parsing 54/213554/4 accepted/tizen/unified/20190918.010258 submit/tizen/20190916.233704
Amit Purwar [Fri, 6 Sep 2019 13:31:00 +0000 (19:01 +0530)]
Fixed the custom service UUID parsing

Change-Id: I0ed330d820e09b740d2125963d81a6c92c553fca
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoModified the logic of advertisement slot allocation 04/213304/4
Amit Purwar [Wed, 4 Sep 2019 06:10:10 +0000 (11:40 +0530)]
Modified the logic of advertisement slot allocation

Change-Id: I38dadcce61ea91cc83a0e5cac521d7dc0d71720a
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoMerge "Implement MTU changed callback for GATT server" into tizen
Pyun DoHyun [Mon, 16 Sep 2019 06:13:50 +0000 (06:13 +0000)]
Merge "Implement MTU changed callback for GATT server" into tizen

5 years agoMerge "Implement new API to get le oob data" into tizen
Pyun DoHyun [Mon, 16 Sep 2019 06:13:45 +0000 (06:13 +0000)]
Merge "Implement new API to get le oob data" into tizen

5 years agoMerge "Providing bluetooth usage data for battery monitor framework" into tizen
Pyun DoHyun [Mon, 16 Sep 2019 06:07:29 +0000 (06:07 +0000)]
Merge "Providing bluetooth usage data for battery monitor framework" into tizen

5 years agoProviding bluetooth usage data for battery monitor framework 33/213033/5
Sudipto [Thu, 29 Aug 2019 10:35:07 +0000 (16:05 +0530)]
Providing bluetooth usage data for battery monitor framework

The following data is provided to BT CAPI to be used
by battery monitor framework:

Session start time
Session end time
Session scan time
Session connected time

Change-Id: I3873d521f35c76bd71a5cae1dfb6c4724b015997
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoImplement MTU changed callback for GATT server 63/213863/1
injun.yang [Mon, 1 Jul 2019 08:01:09 +0000 (17:01 +0900)]
Implement MTU changed callback for GATT server

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

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

[Problem] Unable to notice MTU changed event to application
[Cause & Measure] Implement MTU changed callback for GATT server
[Checking Method] n/a

[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I57a539cadf7ab83931a40eaed573de9f9cecbd9c
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoImplement new API to get le oob data 49/213849/1
injun.yang [Tue, 22 Jan 2019 08:51:23 +0000 (17:51 +0900)]
Implement new API to get le oob data

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

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

[Problem] n/a
[Cause & Measure] Implement new API to get le oob data
[Checking Method] n/a

[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I5ab78624ed2fbac7fc6d6d36bf394776d721b7f7
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoSupport LE passive scan 44/213844/1
injun.yang [Thu, 22 Aug 2019 10:07:46 +0000 (19:07 +0900)]
Support LE passive scan

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

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

[Problem] n/a
[Cause & Measure] Support LE passive scan
[Checking Method] set scan type > scan

[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I77477742886f96523dd8a44471dfc86c6fd0870b
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoHandling BLE scan as per adv type 65/213765/1
injun.yang [Wed, 11 Sep 2019 06:15:34 +0000 (15:15 +0900)]
Handling BLE scan as per adv type

Change-Id: I801145ce5c48a218be9668adb63e686318d26f86
Signed-off-by: injun.yang <injun.yang@samsung.com>
5 years agoWhen compare address, ignoring the case of the characters 64/213664/1
injun.yang [Tue, 10 Sep 2019 04:52:53 +0000 (13:52 +0900)]
When compare address, ignoring the case of the characters

Change-Id: I1c720d63824c5789d80c56c29df8449a2ba201ed
Signed-off-by: injun.yang <injun.yang@samsung.com>
5 years agoEnhance debug message 43/213643/1
injun.yang [Mon, 9 Sep 2019 11:31:30 +0000 (20:31 +0900)]
Enhance debug message

Change-Id: I1f59a2cd019a1ab9229dcaaf8551474ef80e1cb5
Signed-off-by: injun.yang <injun.yang@samsung.com>
5 years agoAdd the auto accept logic for the headless speaker profile 07/213207/1 accepted/tizen/unified/20190904.110659 submit/tizen/20190903.224849
DoHyun Pyun [Tue, 3 Sep 2019 01:06:26 +0000 (10:06 +0900)]
Add the auto accept logic for the headless speaker profile

Change-Id: I4c5aff7aae23e819c0aea23b69f0ceea5d049e08
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix handling logic of pending request 74/212674/1
Wootak Jung [Mon, 26 Aug 2019 04:58:35 +0000 (13:58 +0900)]
Fix handling logic of pending request

If the list is removed during 'for' statement, 'list->next' also set NULL.
 Fix the logic to store 'list->next' in advance.

Change-Id: Iae4bb280f68d770b0528bbc5b9bbd38fb88f4884

5 years agoFix the crash dump in FHUB efl TCT 95/212395/4
Wootak Jung [Wed, 21 Aug 2019 05:26:59 +0000 (14:26 +0900)]
Fix the crash dump in FHUB efl TCT

Add the type check logic to avoid crash
Should not be freed in case of getting a string as '&s'.
https://people.gnome.org/~ryanl/glib-docs/gvariant-format-strings.html#gvariant-format-strings-pointers

Change-Id: I7fead708e1349a832bc6b19a3b5987631bd0d1ca

5 years agoMerge "Add BT_SET_LE_STATIC_RANDOM_ADDRESS function" into tizen accepted/tizen/unified/20190822.105958 submit/tizen/20190822.022402
Pyun DoHyun [Thu, 22 Aug 2019 00:12:11 +0000 (00:12 +0000)]
Merge "Add BT_SET_LE_STATIC_RANDOM_ADDRESS function" into tizen

5 years agoMerge "Improvements in flight mode patch" into tizen
Pyun DoHyun [Thu, 22 Aug 2019 00:11:41 +0000 (00:11 +0000)]
Merge "Improvements in flight mode patch" into tizen

5 years agoAdd BT_SET_LE_STATIC_RANDOM_ADDRESS function 53/212253/1
Deokhyun Kim [Mon, 19 Aug 2019 09:33:53 +0000 (18:33 +0900)]
Add BT_SET_LE_STATIC_RANDOM_ADDRESS function

Change-Id: Ic9d832ccfedaf40846d7b06e9c4bea4b08e9717b
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoImprovements in flight mode patch 15/212115/1
Sudipto [Wed, 14 Aug 2019 09:34:08 +0000 (15:04 +0530)]
Improvements in flight mode patch

Change-Id: I5056d1db2a45ef552b0bf0f6699d041f9215df02
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoRemove duplicate dependency with implicit dependencies at "Type=dbus" 86/212086/1 accepted/tizen/unified/20190820.114958 submit/tizen/20190820.043931
INSUN PYO [Wed, 14 Aug 2019 06:39:46 +0000 (15:39 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"

Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
 - Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.

Change-Id: I6c53c6b6413e4ca12cf20897268806de2065a154

5 years agoReplace the systemd service activation method 95/211895/3
DoHyun Pyun [Mon, 12 Aug 2019 01:17:58 +0000 (10:17 +0900)]
Replace the systemd service activation method

This patchset will use the systemd actd API instead of
the path activation method.

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