platform/core/connectivity/bluetooth-frwk.git
4 years agoFix BT enable issue on XU3 TV profile 69/223369/1 accepted/tizen/unified/20200130.215032 submit/tizen/20200129.235732
DoHyun Pyun [Wed, 29 Jan 2020 06:18:36 +0000 (15:18 +0900)]
Fix BT enable issue on XU3 TV profile

Change-Id: I3cb7e00890057a354032365ff34c0b3deb2c8902
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge "Fix svace issue" into tizen accepted/tizen/unified/20200130.214622 submit/tizen/20200129.034507
Pyun DoHyun [Tue, 28 Jan 2020 06:03:15 +0000 (06:03 +0000)]
Merge "Fix svace issue" into tizen

4 years agoMerge "Modify the logic of bonding with LE type" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:03:12 +0000 (06:03 +0000)]
Merge "Modify the logic of bonding with LE type" into tizen

4 years agoMerge "Fix connection info duplication issue" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:03:08 +0000 (06:03 +0000)]
Merge "Fix connection info duplication issue" into tizen

4 years agoMerge "Fix gslist index mismatch issue" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:03:05 +0000 (06:03 +0000)]
Merge "Fix gslist index mismatch issue" into tizen

4 years agoMerge "Fix GATT service list not update issue" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:03:02 +0000 (06:03 +0000)]
Merge "Fix GATT service list not update issue" into tizen

4 years agoMerge "Modify GATT search service result event handling logic" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:02:59 +0000 (06:02 +0000)]
Merge "Modify GATT search service result event handling logic" into tizen

4 years agoMerge "Modify gattc info free functions" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:02:56 +0000 (06:02 +0000)]
Merge "Modify gattc info free functions" into tizen

4 years agoMerge "Implement GATT Service changed event handling logic" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:02:52 +0000 (06:02 +0000)]
Merge "Implement GATT Service changed event handling logic" into tizen

4 years agoMerge "Fix iOS GM connection issue" into tizen
Pyun DoHyun [Tue, 28 Jan 2020 06:02:47 +0000 (06:02 +0000)]
Merge "Fix iOS GM connection issue" into tizen

4 years agoFix the build error for execv function 65/223265/1 accepted/tizen/unified/20200129.022658 submit/tizen/20200127.235706
DoHyun Pyun [Tue, 28 Jan 2020 06:06:48 +0000 (15:06 +0900)]
Fix the build error for execv function

error: argument 2 null where non-null expected [-Werror=nonnull]

Change-Id: I52334cd5f2fa1655031c1cc1745948e163caba94
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix svace issue 36/223236/1
Wootak Jung [Tue, 28 Jan 2020 01:20:53 +0000 (10:20 +0900)]
Fix svace issue

NULL dereference issue

Change-Id: I4f2b0ecbbea53403fa84e55db27d98a162e09369

4 years agoModify the logic of bonding with LE type 34/223234/1
Wootak Jung [Wed, 15 Jan 2020 04:34:27 +0000 (13:34 +0900)]
Modify the logic of bonding with LE type

No need to unbond before bond with bluez stack
Add new oal function to get stack name

Change-Id: I29ade86c73bba5a26306a091b5da58a99f7666a8

4 years agoFix connection info duplication issue 33/223233/1
Wootak Jung [Tue, 28 Jan 2020 00:47:15 +0000 (09:47 +0900)]
Fix connection info duplication issue

connection_info should be added if no stored.

Change-Id: Ibec03e55ad8126005a24707e9d2925e04af41fbd

4 years agoFix gslist index mismatch issue 32/223232/1
Wootak Jung [Tue, 28 Jan 2020 00:45:51 +0000 (09:45 +0900)]
Fix gslist index mismatch issue

Change-Id: I0de173c0a651a40e8647053546598dabbbdd8c98

4 years agoFix GATT service list not update issue 31/223231/1
Wootak Jung [Tue, 28 Jan 2020 00:40:12 +0000 (09:40 +0900)]
Fix GATT service list not update issue

Change-Id: I25d2099b646f348b1495ec5f26f70cd619b005eb

4 years agoModify GATT search service result event handling logic 30/223230/1
Wootak Jung [Mon, 30 Dec 2019 00:20:31 +0000 (09:20 +0900)]
Modify GATT search service result event handling logic

send event from stored info

Change-Id: I238e5657331dd42edbb5f8ff164bb81d026a15bf

4 years agoModify gattc info free functions 29/223229/1
Wootak Jung [Tue, 28 Jan 2020 00:31:38 +0000 (09:31 +0900)]
Modify gattc info free functions

Change-Id: I2c2711c38fd139ada19974ed954a0a3d754732d3

4 years agoImplement GATT Service changed event handling logic 45/223145/1
Wootak Jung [Thu, 23 Jan 2020 08:18:32 +0000 (17:18 +0900)]
Implement GATT Service changed event handling logic

Add InterfacesRemoved event handling logic
Add GattServiceAdded event handling logic

Change-Id: If2eb2d582b00873a92f41f15266c78da311852ad

4 years agoFix iOS GM connection issue 36/223136/2
Wootak Jung [Mon, 16 Dec 2019 23:59:17 +0000 (08:59 +0900)]
Fix iOS GM connection issue

- Add new oal function adding connection info
- Modify LE bonding create logic
- Modify GattConnected handling logic

Change-Id: Ie69dd9f36e3e702cdde01df4136cd83a28f5810f

4 years agoRevert "Keep LE oob data to reduce NFC OOB pairing failure" 00/223100/1
Wootak Jung [Thu, 23 Jan 2020 00:34:34 +0000 (09:34 +0900)]
Revert "Keep LE oob data to reduce NFC OOB pairing failure"

This reverts commit 6cdddea69bc871badb6c9aa39681af95b3e63fa3.

Change-Id: I6bed80e4741502e654cebab4d233924fea9412cf

4 years agoFix Pairing when headset have PIN other than 0000 19/223019/1
Amit Purwar [Wed, 22 Jan 2020 03:50:48 +0000 (09:20 +0530)]
Fix Pairing when headset have PIN other than 0000

Change-Id: If0cc262f86f6734d7dadab0edca2db9f813ac223
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
4 years agoFix bt_device_get_connection_state API for LE connection. 94/221894/3
himanshu [Wed, 8 Jan 2020 07:14:24 +0000 (12:44 +0530)]
Fix bt_device_get_connection_state API for LE connection.

Change-Id: I9ca3dd90e6090958a6ccf950d61a972fc1e7eace
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoFix _bt_enable_adapter_le 90/222890/1
Deokhyun Kim [Tue, 21 Jan 2020 07:42:34 +0000 (16:42 +0900)]
Fix _bt_enable_adapter_le

Change-Id: I7e968bbcf58380706311deec6d6e4e7280157c78
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoFix: bt_adapter_get_connectable not working 91/222591/1
himanshu [Thu, 16 Jan 2020 07:27:28 +0000 (12:57 +0530)]
Fix: bt_adapter_get_connectable not working

Change-Id: I3d1906eccc6be787402a8fe42521918ff9a39636
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoCode clean up for debug message 76/222076/4
injun.yang [Mon, 13 Jan 2020 04:51:30 +0000 (13:51 +0900)]
Code clean up for debug message

Change-Id: Ic49ccf5c49657210fd68e88823111ac4d6b9077f

4 years agoMerge "Apply actd for edutm mode" into tizen
Pyun DoHyun [Sun, 12 Jan 2020 23:07:27 +0000 (23:07 +0000)]
Merge "Apply actd for edutm mode" into tizen

4 years agoImplement the set mtu for LE device 07/221607/5
Amit Purwar [Fri, 3 Jan 2020 10:23:43 +0000 (15:53 +0530)]
Implement the set mtu for LE device

Change-Id: I6e10cc6258f936a31a82dcf79e0045c50da63dba
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
4 years agoApply actd for edutm mode 63/221763/2
Deokhyun Kim [Tue, 7 Jan 2020 09:30:06 +0000 (18:30 +0900)]
Apply actd for edutm mode

Change-Id: Ia73b7cecbfa2966da3bfc2d3ff6e5cb75c4a5d48
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoMerge "Remove unnecessary logic on LE scan" into tizen
Anupam Roy [Mon, 6 Jan 2020 06:45:55 +0000 (06:45 +0000)]
Merge "Remove unnecessary logic on LE scan" into tizen

4 years agoFix: After scanning stopped, scan result callback invoked. 88/221488/3
injun.yang [Fri, 3 Jan 2020 04:22:42 +0000 (13:22 +0900)]
Fix: After scanning stopped, scan result callback invoked.

Change-Id: I55562efde051386ffbf8de303bf0fccd7ec6b7eb

4 years agoRemove unnecessary logic on LE scan 89/221489/2
injun.yang [Fri, 3 Jan 2020 04:25:23 +0000 (13:25 +0900)]
Remove unnecessary logic on LE scan

Change-Id: I6631717785498099dfbe1b9e60043888d6ad49ae

4 years agoFix: multiple LE scanner is not working 09/221309/1
injun.yang [Tue, 31 Dec 2019 04:40:50 +0000 (13:40 +0900)]
Fix: multiple LE scanner is not working

Run scanner A & B > stop scanner A > scan result is not deliveried to scanner B

Change-Id: Ibf038e5d055d0fd6ec63c31e562b1d17ea1a47db

4 years agoAdd the permanent log feature 31/221231/2
DoHyun Pyun [Mon, 30 Dec 2019 07:58:35 +0000 (16:58 +0900)]
Add the permanent log feature

Change-Id: I589b1f124d079a52c37fb2530ca6b220d321b6e7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoHandling BLE scan as per Adv type 29/221229/1
injun.yang [Mon, 30 Dec 2019 07:50:53 +0000 (16:50 +0900)]
Handling BLE scan as per Adv type

Change-Id: I85e5f6078c589a03d53937e30f27958bad3ef200

4 years agoKeep LE oob data to reduce NFC OOB pairing failure 28/221228/1
injun.yang [Mon, 30 Dec 2019 07:49:21 +0000 (16:49 +0900)]
Keep LE oob data to reduce NFC OOB pairing failure

Change-Id: Ie0c4af982b57e4b842fa5746f5a2a2e95883f615

4 years agoAdd permanent log 19/221219/1
Deokhyun Kim [Mon, 30 Dec 2019 07:10:36 +0000 (16:10 +0900)]
Add permanent log

Change-Id: I7501ccf20e7446a5932d4598f25eb11cc62b58b5
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoFix typo 75/221175/1
Deokhyun Kim [Mon, 30 Dec 2019 02:31:13 +0000 (11:31 +0900)]
Fix typo

Change-Id: Iac1f12da1a33a2c13f8c522da0daeac5d3aa40cc
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoResolves the build error for strncpy 94/220994/4 accepted/tizen/unified/20200101.120621 submit/tizen/20191230.003618
Amit Purwar [Thu, 26 Dec 2019 06:58:12 +0000 (12:28 +0530)]
Resolves the build error for strncpy

Change-Id: I3ccd06ce99ce14cfa6a583c73bde66b533054085
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
4 years agoModify OAL log tag to BLUETOOTH_OAL 45/220845/1
Wootak Jung [Tue, 24 Dec 2019 02:26:39 +0000 (11:26 +0900)]
Modify OAL log tag to BLUETOOTH_OAL

Change-Id: I4138dc8afddf15a50419e5c51fc1ad2c42ab2bc8

4 years agoMerge "Handle the pin code request in case of peripheral" into tizen accepted/tizen/unified/20191226.123036 submit/tizen/20191223.225501
Pyun DoHyun [Mon, 23 Dec 2019 22:46:50 +0000 (22:46 +0000)]
Merge "Handle the pin code request in case of peripheral" into tizen

4 years agoMerge "Get RSSI when link loss occurs" into tizen
Pyun DoHyun [Mon, 23 Dec 2019 22:45:38 +0000 (22:45 +0000)]
Merge "Get RSSI when link loss occurs" into tizen

4 years agoMerge "Handle DBFW plus info events" into tizen
Pyun DoHyun [Mon, 23 Dec 2019 22:45:32 +0000 (22:45 +0000)]
Merge "Handle DBFW plus info events" into tizen

4 years agoFix g_strsplit result check 22/220822/1
Slava Barinov [Mon, 23 Dec 2019 11:02:41 +0000 (14:02 +0300)]
Fix g_strsplit result check

bluetooth-frwk-0.3.0/bt-api/bt-common.c:1406:19: error: comparison between pointer and zero character constant [-Werror=pointer-compare]
1406 |   if (str_list[0] != '\0')
     |                   ^~

Change-Id: Ie1ace3bcb151477af7d60e9389bd44f1b5f802f9
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
4 years agoHandle the pin code request in case of peripheral 02/220802/2
DoHyun Pyun [Mon, 23 Dec 2019 10:13:51 +0000 (19:13 +0900)]
Handle the pin code request in case of peripheral

Change-Id: I002e92e7882f245d25b75ae9e64668d2ee5e19b6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoGet RSSI when link loss occurs 87/220787/1
Deokhyun Kim [Mon, 23 Dec 2019 07:28:54 +0000 (16:28 +0900)]
Get RSSI when link loss occurs

Change-Id: I2e611271c6541d5d90d5fb5f8e3bf679707c3efd
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoHandle DBFW plus info events 96/220696/1
Deokhyun Kim [Fri, 20 Dec 2019 08:46:34 +0000 (17:46 +0900)]
Handle DBFW plus info events

Change-Id: I8edc76764ebc301c5f9a866f73c4df8b52774b93
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoReplace the deprecatd soup API 08/220608/1 accepted/tizen/unified/20191224.131912 submit/tizen/20191218.041916
DoHyun Pyun [Fri, 20 Dec 2019 03:36:48 +0000 (12:36 +0900)]
Replace the deprecatd soup API

Change-Id: I30c578946ac74a60e1cf5b1d4f9390f1b03ec5ab
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge "Fix the bug for LE scan filtering" into tizen
Pyun DoHyun [Thu, 19 Dec 2019 01:47:22 +0000 (01:47 +0000)]
Merge "Fix the bug for LE scan filtering" into tizen

4 years agoFix the bug for LE scan filtering 85/220485/1
DoHyun Pyun [Wed, 18 Dec 2019 22:56:41 +0000 (07:56 +0900)]
Fix the bug for LE scan filtering

Change-Id: Iddbf7b088391884cdeff9493f2811ef22d21bfee
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge "Adapt the set advertising filter policy in BT-HAL framework." into tizen
Pyun DoHyun [Wed, 18 Dec 2019 22:51:15 +0000 (22:51 +0000)]
Merge "Adapt the set advertising filter policy in BT-HAL framework." into tizen

4 years agoAdapt the set advertising filter policy in BT-HAL framework. 52/220252/2
himanshu [Mon, 16 Dec 2019 11:34:27 +0000 (17:04 +0530)]
Adapt the set advertising filter policy in BT-HAL framework.

Change-Id: I9b05b7e5edec45992e0039843c7bdafb827572bd
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoAdd the check logic for the client connection 93/219993/7
DoHyun Pyun [Thu, 12 Dec 2019 07:57:33 +0000 (16:57 +0900)]
Add the check logic for the client connection

Change-Id: Ib5badd216863f93a0776aedcd7b645e3ee9096e9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdapt the Recover Adapter functionality into BT-HAL framework. 23/219823/3 accepted/tizen/unified/20191212.123639 submit/tizen/20191212.003715 submit/tizen_5.5/20191212.000107
himanshu [Mon, 9 Dec 2019 04:52:44 +0000 (10:22 +0530)]
Adapt the Recover Adapter functionality into BT-HAL framework.

Change-Id: I1e1e66660af67c0d02fbbba3841d41c5add0a960
Signed-off-by: himanshu <h.himanshu@samsung.com>
4 years agoHandle the pending dbus calls before termination 46/219646/5 accepted/tizen/unified/20191211.121108 submit/tizen/20191211.023729
DoHyun Pyun [Mon, 9 Dec 2019 04:07:35 +0000 (13:07 +0900)]
Handle the pending dbus calls before termination

Change-Id: I2a10aeb9a344d8c935ece42ab9ada5f876db9808
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoCalls sd_notify(STOPPING=1) to ensure systemd's operation 80/219180/2
DoHyun Pyun [Tue, 3 Dec 2019 01:47:19 +0000 (10:47 +0900)]
Calls sd_notify(STOPPING=1) to ensure systemd's operation

Change-Id: Ifdea8bd44796f7581c783c97243f9aa03046ca8f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoPending enable method if the stack is not intialized 78/219178/2
DoHyun Pyun [Tue, 3 Dec 2019 01:37:28 +0000 (10:37 +0900)]
Pending enable method if the stack is not intialized

Change-Id: I7e5e63e1ef39a0f72569fa499dfcd19b9b59144f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdjust the event generation timing for BT enabled / disabled 70/219170/3
DoHyun Pyun [Tue, 3 Dec 2019 00:38:38 +0000 (09:38 +0900)]
Adjust the event generation timing for BT enabled / disabled

Change-Id: Ib5d00e5d787e9417e6bc9df07f642f9faf5d86a5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdd the status check logic for BT enable / disable method 67/219167/2
DoHyun Pyun [Tue, 3 Dec 2019 00:31:03 +0000 (09:31 +0900)]
Add the status check logic for BT enable / disable method

Change-Id: I403f689924135cd8097dd31d51a42f14836022e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoGenerate BT disable HAL event when bluez is terminated 66/219166/4
DoHyun Pyun [Tue, 3 Dec 2019 00:10:46 +0000 (09:10 +0900)]
Generate BT disable HAL event when bluez is terminated

If tizen don't use BT USB type's dongle, bluez should
be terminated during BT off. To reduce the timing issue,
postpone BT disable HAL event.

Change-Id: I330796316a4ebfcc3fb297c6eef3be0ed3c85836
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoRevert BT enable / disable calling method to async call 65/219165/3
DoHyun Pyun [Mon, 2 Dec 2019 23:58:08 +0000 (08:58 +0900)]
Revert BT enable / disable calling method to async call

Change-Id: Ic02325a4ab5755c2be4bfac5beffdf85b0cfcd0e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoRemove the booting sequence for bluetooth-frwk-core.service 64/219164/3
DoHyun Pyun [Mon, 2 Dec 2019 23:50:54 +0000 (08:50 +0900)]
Remove the booting sequence for bluetooth-frwk-core.service

Change-Id: I9a1dd084971afed35863676d0288af758c0364f2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix LE status mismatching issue 21/219021/1
DoHyun Pyun [Mon, 2 Dec 2019 01:35:58 +0000 (10:35 +0900)]
Fix LE status mismatching issue

Change-Id: Ic0e904ae968c75de99f55d7979c334da9d8bef79
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix the issue to disable BT in the booting time 20/218920/2
DoHyun Pyun [Fri, 29 Nov 2019 05:15:05 +0000 (14:15 +0900)]
Fix the issue to disable BT in the booting time

Change-Id: Id576d770e3569d5fe655b5982a54a3be8a38d16f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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 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 "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 "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 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

4 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>
4 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>
4 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

4 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

4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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

4 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>
4 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

4 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

4 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

4 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

4 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>
4 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>