Wootak Jung [Thu, 7 May 2020 01:10:06 +0000 (10:10 +0900)]
Fix gatt write response not occur issue
Change-Id: I0cc327771908030e5c3f529cc525c76f5d25fef8
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
injun.yang [Fri, 24 Apr 2020 08:00:28 +0000 (17:00 +0900)]
Remove privacy log
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method]
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I80b1553606b62bff0dbd042a5a9cb9575a92e861
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
injun.yang [Fri, 6 Mar 2020 05:23:31 +0000 (14:23 +0900)]
Code clean up
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] redundatn debug message
[Cause & Measure] code clean up
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I71c0f93c9cf917baa354a9920749ca69dfe2c1d7
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Pyun DoHyun [Wed, 6 May 2020 03:46:31 +0000 (03:46 +0000)]
Merge "Fix: advertisinog stopped suddenly" into tizen
Pyun DoHyun [Wed, 6 May 2020 03:46:27 +0000 (03:46 +0000)]
Merge "Remove the duplicated service from gatt_list_service" into tizen
Pyun DoHyun [Wed, 6 May 2020 03:45:58 +0000 (03:45 +0000)]
Merge "Fix gatt connected event not occured issue" into tizen
injun.yang [Wed, 6 May 2020 01:16:50 +0000 (10:16 +0900)]
Fix: advertisinog stopped suddenly
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Advertising stopped suddenly
[Cause & Measure] Comparison code is wrong.
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Ifac82672ed7c178e496e775160b5ec7704f481b5
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
injun.yang [Mon, 4 May 2020 11:35:57 +0000 (20:35 +0900)]
Remove the duplicated service from gatt_list_service
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] P200428-01509
[Request] Internal
[Occurrence Version] N/A
[Problem] bt-service access to the removed GATT service to get service information
[Cause & Measure] Whenever client app registered, duplicated service added to gatt_list_serice.
Eventhough GATT service removed from server, all of the duplicated service is not removed from the list.
So gatt_list_service should have a unique service for each device.
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: If7898b33a572f4b446b04b5d788c6360c3e8fbab
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 6 May 2020 01:44:05 +0000 (10:44 +0900)]
Fix gatt connected event not occured issue
gatt connected event should be occured even if no gatt instance
Change-Id: I4ec975acde7113e7a4f0aa3d4cf97d26dc992dcf
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Tue, 5 May 2020 22:48:20 +0000 (07:48 +0900)]
Fix bt-service crash issue in testhub
Double free problem is occured into le scanner app termination
function. So this patchset adds the condition to fix it.
Change-Id: Ie76ed72ce6333bd5a0aea84dd9756b7eb4edb042
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 28 Apr 2020 02:04:11 +0000 (11:04 +0900)]
Fix the svace issue - FALL_THROUGH
Change-Id: I5f64558ff89ba1a66806758a2e14a74646c725e4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Sangki Park [Mon, 27 Apr 2020 08:35:39 +0000 (17:35 +0900)]
AVRPC position notify problem
[Model] Nobel
[BinType] AP
[Customer] ALL
[Issue#] PLM
[Request] P200424-06552
[Occurrence Version] N/A
[Problem] Bt-frwk send same song position every seconds
[Cause & Measure] wrong operation
[Checking Method] start music play
[Team] Bluetooth
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I7776d51b01d9e45d01f9a2569dd2f1d153d01a5c
Deokhyun Kim [Tue, 21 Apr 2020 07:08:12 +0000 (16:08 +0900)]
Add data type to hid_device_reply_to_report
Change-Id: I43b4ade45c96be75575b11406db1b680cb3d6c6d
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
injun.yang [Mon, 2 Mar 2020 02:01:58 +0000 (11:01 +0900)]
Fix : log twisted regardless time sequence
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] log sequence wrong
[Cause & Measure] Modify logging method
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I76876630d4b61fa28a6c69a7afc1fadfe180429b
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 22 Apr 2020 05:09:55 +0000 (14:09 +0900)]
Move profile connected devices logic to hal
Change-Id: I518eb49613eb5494b99629eeed1fdbe42716561d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Pyun DoHyun [Wed, 22 Apr 2020 00:55:05 +0000 (00:55 +0000)]
Merge "Fix the incorrect Tx / Rx data size issue" into tizen
DoHyun Pyun [Tue, 21 Apr 2020 04:07:31 +0000 (13:07 +0900)]
Fix the incorrect Tx / Rx data size issue
Change-Id: I0974085995400365bd27569d0f9c82a218f59de9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 21 Apr 2020 01:18:29 +0000 (01:18 +0000)]
Merge "Return ALREADY_CONNECT ERROR if device is already paired" into tizen
Wootak Jung [Mon, 20 Apr 2020 00:56:19 +0000 (09:56 +0900)]
Fix GATT service changed event not coming issue
Change-Id: I25a31503e7a511756c39dbba31494b933fcd2e0c
himanshu [Wed, 15 Apr 2020 08:36:42 +0000 (14:06 +0530)]
Return ALREADY_CONNECT ERROR if device is already paired
Change-Id: I1ff5ec86191059d740cba14b19f2eef0e42ff8a6
Signed-off-by: himanshu <h.himanshu@samsung.com>
Wootak Jung [Thu, 16 Apr 2020 05:54:15 +0000 (14:54 +0900)]
Fix wrong index usage issue
service removed event is not occured when server app is terminated
in case array index of numapps is mismatched with instance id
Change-Id: Ieaac786792f1adf01d1d1e45e78d31ddcca03f1c
Deokhyun Kim [Fri, 10 Apr 2020 08:34:38 +0000 (17:34 +0900)]
Return NOT_PAIRED error in case the device is not paired
Change-Id: Iddcf19eab8854f12d7ad6981025c229d740e91d4
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Deokhyun Kim [Fri, 10 Apr 2020 08:00:57 +0000 (17:00 +0900)]
Not try to unbond in case the device is not paired
Change-Id: Ifd81edf481569e000708c25332d52141d2f826c0
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 9 Apr 2020 08:20:27 +0000 (17:20 +0900)]
Add audio type converting function to debug
Change-Id: I6facec76215195842b97d5175da54f57ab03bf3a
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Pyun DoHyun [Fri, 10 Apr 2020 01:09:54 +0000 (01:09 +0000)]
Merge "Update the RFCOMM client connection information" into tizen
DoHyun Pyun [Wed, 8 Apr 2020 07:07:29 +0000 (16:07 +0900)]
Update the RFCOMM client connection information
Change-Id: Ief091e60d094bc277daad306f3cce906a1607931
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Sangki Park [Fri, 3 Apr 2020 01:58:02 +0000 (10:58 +0900)]
Fix : profile UUID mismatch
[Model] ALL
[BinType] AP
[Customer] ALL
[Issue#] Internal
[Request] N/A
[Occurrence Version] N/A
[Problem] N/A
[Cause & Measure] N/A
[Checking Method] N/A
[Team] Bluetooth
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I0cbad849f37762b89ea156e0b25f925562dce4a7
Sangki Park [Wed, 8 Apr 2020 10:36:02 +0000 (19:36 +0900)]
Fix : connection replace failure
[Model] ALL
[BinType] AP
[Customer] ALL
[Issue#] PLM
[Request] N/A
[Occurrence Version] N/A
[Problem] connection replace failure
[Cause & Measure] Fixed
[Checking Method]
(Pre-condition) Connect HFP and A2DP with Headset_A
- try to connect to Headset_B
- expected : HFP and A2DP should be connected with Headset_B
- problem : HFP connection with Headset_B , A2DP connection with Headset_A
[Team] Bluetooth
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I5f16c67428dce8b68fd960f85e64456ae3e90d8a
Wootak Jung [Wed, 8 Apr 2020 05:48:49 +0000 (14:48 +0900)]
Fix osp_server unregister issue
osp_server is not removed if app terminated
issue scenario:
rfcomm server create & listen > connected > server app termination
> new rfcomm server create & listen > try to connect > failed
Change-Id: I573bae5bafb94959cf5799c6be0f51b84d9576b3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Deokhyun Kim [Tue, 7 Apr 2020 05:37:31 +0000 (14:37 +0900)]
Add HfBatteryLevelChanged event
Change-Id: I7daabc5f5f54215a3bf42910363ae0c2bee0981f
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 6 Apr 2020 07:46:06 +0000 (16:46 +0900)]
Increase the session timeout value
The battery monitor increases the duration to read
information from 3 minutes to 10 minutes. So the
timeout value also need to increase.
Change-Id: Ibf9d62cbf7ba637c80f389c63faf07298ef244eb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 6 Apr 2020 02:44:42 +0000 (11:44 +0900)]
Update the RFCOMM server connection information
When we use the RFCOMM direct method, the server
socket's connection is requested to bt-api direclty.
So bt-service does not know the information.
Change-Id: I3f541ad7a08d5d580783aa84b4c48760e0a0a198
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Mon, 6 Apr 2020 00:17:12 +0000 (09:17 +0900)]
Add GVariant unreference logic
Change-Id: I7c5ceeef0114915c4140ae13a2527f21fc27c672
injun.yang [Fri, 3 Apr 2020 02:34:10 +0000 (11:34 +0900)]
Fix the crash
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method]
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I2801a6b168701151c7755be549977cac3439f410
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 3 Apr 2020 02:12:52 +0000 (11:12 +0900)]
Add the session timer to handle the exception case
After starting session if 'data read function' is not
called, the session's data is continously increasing.
So it is possible to excced the limit of the data size.
Change-Id: I3a9d3b9ffcc43f78b28f9abc492347de0ecce2cb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Fri, 3 Apr 2020 01:18:40 +0000 (01:18 +0000)]
Merge "Fix the memory leak in app battery info" into tizen
DoHyun Pyun [Fri, 3 Apr 2020 00:35:25 +0000 (09:35 +0900)]
Fix the memory leak in app battery info
Change-Id: I7feadb193a18bbaa932d7e48f0373715d4eef78e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Thu, 2 Apr 2020 06:22:03 +0000 (06:22 +0000)]
Merge "NULL initialization to prevent invalid mem access" into tizen
Deokhyun Kim [Thu, 2 Apr 2020 06:09:43 +0000 (15:09 +0900)]
NULL initialization to prevent invalid mem access
Change-Id: I017703a931ebf7439edaf944221370091b87afb1
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Wed, 1 Apr 2020 23:01:10 +0000 (08:01 +0900)]
Fix bt-service crash issue
There are some cases that current_session_data is
NULL. This patchset adds the prevent code for
crashing issue.
Change-Id: I7931b35f2202f54cba48ab2c826d0785987f18e7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Deokhyun Kim [Mon, 13 Jan 2020 11:29:57 +0000 (20:29 +0900)]
Add GATT data batching
Change-Id: Ia8219206cf109e0c177fbfa3a2527fd95258641e
Wootak Jung [Fri, 27 Mar 2020 02:02:32 +0000 (11:02 +0900)]
Change gatt_servers to gslist from array
Change-Id: I1bd03900a0db5667901ad38b3e526a2d8dbe2b4e
Pyun DoHyun [Mon, 30 Mar 2020 02:37:16 +0000 (02:37 +0000)]
Merge "Use milisec unit instead of sec for power duration" into tizen
Pyun DoHyun [Mon, 30 Mar 2020 02:37:13 +0000 (02:37 +0000)]
Merge "Invoke HAL_DISCOVERY_STATE_STOPPED event once" into tizen
Pyun DoHyun [Mon, 30 Mar 2020 02:28:06 +0000 (02:28 +0000)]
Merge "code clean up" into tizen
Pyun DoHyun [Mon, 30 Mar 2020 02:28:04 +0000 (02:28 +0000)]
Merge "Specify the sender(org.bluez or org.bluez.obex) on subscribe to receive only necessary PropertiesChanged signals." into tizen
Pyun DoHyun [Mon, 30 Mar 2020 02:28:01 +0000 (02:28 +0000)]
Merge "Specify the sender(org.bluez) on subscribe to receive only necessary PropertiesChanged signals." into tizen
Pyun DoHyun [Mon, 30 Mar 2020 02:27:58 +0000 (02:27 +0000)]
Merge "Fix : Adv malfunction on multiple LE connection" into tizen
Pyun DoHyun [Mon, 30 Mar 2020 02:27:54 +0000 (02:27 +0000)]
Merge "Code clean up" into tizen
injun.yang [Tue, 17 Mar 2020 05:24:44 +0000 (14:24 +0900)]
code clean up
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method]
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: If39a447c4bc75ca4053c6b316743138c0a92fb16
Deokhyun Kim [Wed, 25 Mar 2020 08:06:48 +0000 (17:06 +0900)]
Specify the sender(org.bluez or org.bluez.obex) on subscribe to receive only necessary PropertiesChanged signals.
Change-Id: I2ccbf14553bd5bb643d393056f0fd757e9a9bbed
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Deokhyun Kim [Wed, 25 Mar 2020 05:23:44 +0000 (14:23 +0900)]
Specify the sender(org.bluez) on subscribe to receive only necessary PropertiesChanged signals.
Change-Id: I1b8c5be7d0555f285ebac3dbc97ed8cc0897281d
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
injun.yang [Wed, 25 Mar 2020 07:03:00 +0000 (16:03 +0900)]
Fix : Adv malfunction on multiple LE connection
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] When multiple LE connection existed, unable to connect iOS GM.
[Cause & Measure] After le disconnection, Kernel start standard advertising.
It make ANCS connection again.
[Checking Method] Connect with LE device > ANCS connection > GM launch >
weconn start role switching > ANCS connected again
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Iea238ebb1a08a2313c49f418bcc4c9abb04956e3
Wootak Jung [Mon, 30 Mar 2020 02:12:55 +0000 (11:12 +0900)]
Code clean up
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem]
[Cause & Measure]
[Checking Method]
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I357ffd7e4932832809c72633757bfb4fea193df0
DoHyun Pyun [Mon, 30 Mar 2020 01:55:15 +0000 (10:55 +0900)]
Use milisec unit instead of sec for power duration
Change-Id: I7b927116fe0173d9d2affe2d90da204ee360364b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 30 Mar 2020 00:55:06 +0000 (09:55 +0900)]
Invoke HAL_DISCOVERY_STATE_STOPPED event once
When the user calls the cancel discovery API, the
HAL_DISCOVERY_STATE_STOPPED event called twice.
This patchset resolves this issue.
Change-Id: Id7610da8209edf34a1205cced9fad1f18ee67c9f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 25 Mar 2020 06:17:59 +0000 (15:17 +0900)]
Include the scan time for each app into battery info
Change-Id: Id34f800ca402b73958cc9bbd7e8856f71b4d62f4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 24 Mar 2020 07:19:24 +0000 (16:19 +0900)]
Add the Rx / Tx / idle time in the battery monitor
Change-Id: I353a31a7fff7279e98bfb8f3c0d7c25985073ebc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Sun, 22 Mar 2020 22:33:09 +0000 (07:33 +0900)]
Modify the privilege for battry RX / TX function
Change-Id: I6a266850321e0a90cfeba0905f0a2d6773ed67e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Sun, 22 Mar 2020 23:20:17 +0000 (08:20 +0900)]
Use the local state for battery monitor state
Change-Id: I0fe1d00eed7d030f5af836aa0b0018439e7422c0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Mon, 23 Mar 2020 03:42:46 +0000 (03:42 +0000)]
Merge "Fix wrong av disconnected event sending issue" into tizen
Pyun DoHyun [Mon, 23 Mar 2020 03:42:44 +0000 (03:42 +0000)]
Merge "Fix conn_id conflict issue between client and server hal" into tizen
Wootak Jung [Mon, 16 Mar 2020 03:39:31 +0000 (12:39 +0900)]
Fix wrong av disconnected event sending issue
Change-Id: I6606d9814262c2f98ee5accf08b3cd84e17aeb2c
Wootak Jung [Thu, 19 Mar 2020 07:43:34 +0000 (16:43 +0900)]
Fix conn_id conflict issue between client and server hal
Change-Id: I73ee4b3675a0a4c4215c3247f3ebdd0a43fab0b9
DoHyun Pyun [Mon, 23 Mar 2020 00:15:22 +0000 (09:15 +0900)]
Fix the coverity issue (Resource leak)
Change-Id: I94e04b563a9fa7af11e0c6c49ff115f987d9270e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Sudipto [Fri, 6 Mar 2020 12:59:31 +0000 (18:29 +0530)]
Modify RFCOMM data recording logic for battery monitor
Change-Id: Ibfead518de5880ea5804e05d95605ffa016fa36f
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
Wootak Jung [Thu, 19 Mar 2020 03:08:28 +0000 (12:08 +0900)]
Fix list_gatt_info cleanup issue
list_gatt_info should be removed in case of GATT SERVER DISCONNECTED
as well as GATT CLIENT DISCONNECTED
Change-Id: Ib8f7673716d26ac2733d54ebd24ffaca5438a92b
Wootak Jung [Thu, 19 Mar 2020 02:04:43 +0000 (11:04 +0900)]
Integrate gatt connection info
no need each connection info
Change-Id: I143977735f74455ad2c3ab4d2497c0a0b818312a
DoHyun Pyun [Mon, 16 Mar 2020 23:45:41 +0000 (08:45 +0900)]
Ignore the recovery logic for HW Error event
Tizen bluez sends HW Error event, when the vendor
specific command sending is fail. The VSC is defined
only for some BT chips. So TM1 reference target always
fail to send VSC. So BT enable can't success.
Change-Id: Id52ea5df0b7eb2c51dafad4d6a2a7b018c44c8ba
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 16 Mar 2020 23:42:40 +0000 (08:42 +0900)]
Fix the crash in CONTROLLER_ERROR event
Change-Id: I859ef4bb74a2d36d3af7dafa6bd68c9506ccdc2b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 13 Mar 2020 04:52:38 +0000 (13:52 +0900)]
Remove unnecessary log
Change-Id: Ia3c927d89f6322e4a9200f6a57de04ff9940c308
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 12 Mar 2020 07:24:21 +0000 (16:24 +0900)]
Fix the rfcomm server's callback issue
Because the last 1 byte of the path is missed,
bt-api did not find the server information.
Change-Id: Ifc9564736763b975d38fa5f7a750109c7a4f957b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Wed, 11 Mar 2020 04:32:20 +0000 (13:32 +0900)]
Use standard error code for ACL disconnection
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Disconnection reason is not exact in bt-service
[Cause & Measure] Use standard error code in bt-service
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I8b3d36a9cc5cb67b087aa0585757f4863e9dd7d1
Sangki Park [Tue, 10 Mar 2020 06:12:06 +0000 (15:12 +0900)]
Add CONTROLLER_ERROR event on frwk
[Model] ALL
[BinType] AP
[Customer] ALL
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] N/A
[Cause & Measure] N/A
[Checking Method] N/A
[Team] Bluetooth
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I0bee8fda427fd4a16a0de89c65f338ae422fd753
Wootak Jung [Wed, 11 Mar 2020 04:31:01 +0000 (13:31 +0900)]
Fix 128-bit Servie UUID parsing issue
Change-Id: I96a53e0667f84d5136c6fc7c69631febd5657f4e
DoHyun Pyun [Wed, 11 Mar 2020 03:11:30 +0000 (12:11 +0900)]
Fix the advertisement fail issue
The comparision value for initial adv handle was wrong, this
patchset corrects the comparision value for adv handle.
Change-Id: I76abbec8972cdd6de2c8217620c0c95756a5b844
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Mon, 3 Feb 2020 08:43:04 +0000 (17:43 +0900)]
Remove cleanup logic before getting primary services
gatt list should not be freed while search result event is coming
Change-Id: I1630ddea38bdcb4bbfa32423d2d8565bb284ad64
Wootak Jung [Wed, 5 Feb 2020 04:04:38 +0000 (13:04 +0900)]
Fix get_service_property timeout issue
Fix wrong memcmp logic
Change-Id: I1c3312c23af11dff218136843219e1530438dfba
Wootak Jung [Tue, 10 Mar 2020 04:20:29 +0000 (13:20 +0900)]
Fix gatt client char value changed cb issue
gatt client char value changed cb setting failed on below scenario-
Server Connected > Add Thermometer Service(remote) > Client Create >
client char value changed cb > failed
Change-Id: Icf6dfeeeefb6fcc72c3bb82ee6eb0d88869af219
injun.yang [Mon, 9 Mar 2020 01:56:12 +0000 (10:56 +0900)]
Fix : PSCAN is not disabled after ACL connected
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] pscan is not turned off after connected with remote device
[Cause & Measure] Kernel didn't control PSCAN since bt-service have request connectable mode to stack.
So do not request connectable mode to handle pscan into kernel side.
[Checking Method] connect GM and check pscan status
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Ia4252768f79661c3e6ec6243c0ebdd6a21b58fcc
DoHyun Pyun [Thu, 5 Mar 2020 05:21:05 +0000 (14:21 +0900)]
Support the RPI3 target for TV profile
We should support both RPI3 and XU3 target on TV
profile. For this, modify the logic to enable BT
Change-Id: Ice21987273438555519031e1f8b5bc61ab40ecb7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Wed, 4 Mar 2020 06:28:44 +0000 (06:28 +0000)]
Merge "Fix : GATT service changed event is not invoked" into tizen
Pyun DoHyun [Wed, 4 Mar 2020 06:28:41 +0000 (06:28 +0000)]
Merge "Handle service changed event" into tizen
Pyun DoHyun [Wed, 4 Mar 2020 06:28:38 +0000 (06:28 +0000)]
Merge "Remove server instance existence check logic in disconnected case" into tizen
Pyun DoHyun [Wed, 4 Mar 2020 06:28:35 +0000 (06:28 +0000)]
Merge "Fix server_instance not found issue" into tizen
injun.yang [Wed, 4 Mar 2020 02:40:42 +0000 (11:40 +0900)]
Fix : GATT service changed event is not invoked
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] gatt service changed event is not invoked
[Cause & Measure] gatt connection status is not updated on GATT server role
[Checking Method] LE connected as slave (ANCS connection) > Launch iOG GM
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I0721b59693d94869d16c272bc671d035f4b4fcc6
injun.yang [Thu, 6 Feb 2020 09:05:00 +0000 (18:05 +0900)]
Handle service changed event
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Before GATT connected, service changed event invoked.
[Cause & Measure] Ignore GattServiceAdded event before GATT connection completed.
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I830ba2f702b2a29d9ad381447855e54dd7c98881
Wootak Jung [Tue, 3 Mar 2020 06:50:52 +0000 (15:50 +0900)]
Remove server instance existence check logic in disconnected case
If stop-adv request is comming before disconnected, event if
server_instance is removed, gatt_client_info_list is not removed.
This issue causes that CONNECTED event is not occured on below scenario:
Start-Adv > Connected > [Stop-Adv > Disconnected] > Start-Adv > Connected
([Disconnected > Stop-Adv] is no problem.)
In last connected step, server_instance and gatt_client_info_list are
exsiting. So, connected event is not delivered to service layer.
Change-Id: I940b3e0e6d75c6ad4315fcac40f1af6f3ef612ee
Wootak Jung [Mon, 2 Mar 2020 04:32:06 +0000 (13:32 +0900)]
Fix server_instance not found issue
advertising will be failed if gatt client is registered in advance
Change-Id: I963623f6da9857aa774d9fde2e4a0446be223030
Wootak Jung [Thu, 27 Feb 2020 01:12:06 +0000 (10:12 +0900)]
Fix addr_type not set issue on scan result cb
Change-Id: I995d151ed1c40eb27332e59f4bb3139f294f8107
Wootak Jung [Tue, 25 Feb 2020 04:36:14 +0000 (13:36 +0900)]
Fix adv data mixed issue in case total length is under 31
Change-Id: I74d0fba65810c23c6ddc760513aed8619c101166
DoHyun Pyun [Tue, 25 Feb 2020 22:52:24 +0000 (07:52 +0900)]
Fix the AVRCP path miss-matching problem
Change-Id: Ibb934dc88605e1066b700254c708c2b16be78ffa
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 25 Feb 2020 01:57:25 +0000 (01:57 +0000)]
Merge "Move the volume changed event path from AVRCP to HEADSET" into tizen
Pyun DoHyun [Tue, 25 Feb 2020 01:57:05 +0000 (01:57 +0000)]
Merge "Fix Memory Leak: The default gatt-client is not freed" into tizen
Pyun DoHyun [Tue, 25 Feb 2020 01:57:01 +0000 (01:57 +0000)]
Merge "Fix Memory Leak: Incorrect deallocator used." into tizen
Pyun DoHyun [Tue, 25 Feb 2020 01:56:55 +0000 (01:56 +0000)]
Merge "Fix Memory Leak: Memory not deallocated." into tizen
Pyun DoHyun [Tue, 25 Feb 2020 01:56:52 +0000 (01:56 +0000)]
Merge "Fix memory Leak: Incorrect deallocator used" into tizen
Pyun DoHyun [Tue, 25 Feb 2020 01:56:45 +0000 (01:56 +0000)]
Merge "Fix: Memory Leak in HAL layer." into tizen
Pyun DoHyun [Tue, 25 Feb 2020 01:56:29 +0000 (01:56 +0000)]
Merge "Set a readout notification of tts when AV connected" into tizen
injun.yang [Mon, 24 Feb 2020 08:07:33 +0000 (17:07 +0900)]
Handle gatt auto connection
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Invoke dbus timeout error regardless gatt connection status
[Cause & Measure] Reply dbus request to application
[Checking Method] background gatt auto connection
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Id409c86bd8cc8103e6c25305a5841d95a6243ce2