platform/core/api/bluetooth.git
4 years agoApply the ACR result 73/221773/1 accepted/tizen/unified/20200129.022655 submit/tizen/20200127.235706
Deokhyun Kim [Thu, 2 Jan 2020 06:12:23 +0000 (15:12 +0900)]
Apply the ACR result

Change-Id: If1f3a52a9a7ff5cf5e316c655d0141ae5ab37b15
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoFix BT_ERR log msg and strncpy build error 12/221012/6 accepted/tizen/unified/20200101.120617 submit/tizen/20191230.003618
Amit Purwar [Thu, 26 Dec 2019 09:21:35 +0000 (14:51 +0530)]
Fix BT_ERR log msg and strncpy build error

Change-Id: Icf1ece9e60678c01ab6c178d3f300318cc921f3a
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
4 years agoFix 64bit build error 46/220846/1 accepted/tizen/unified/20191226.123032 submit/tizen/20191223.225501
DoHyun Pyun [Tue, 24 Dec 2019 02:34:24 +0000 (11:34 +0900)]
Fix 64bit build error

Change-Id: I9684ef25fe4aab33e55d811aa52430ed52c87ee8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge "Support TV initiate pairing and connection" into tizen
Pyun DoHyun [Tue, 24 Dec 2019 02:26:40 +0000 (02:26 +0000)]
Merge "Support TV initiate pairing and connection" into tizen

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

4 years agoGet RSSI when link loss occurs 88/220788/2
Deokhyun Kim [Mon, 23 Dec 2019 07:28:31 +0000 (16:28 +0900)]
Get RSSI when link loss occurs

Change-Id: I71fbd0106e9443178293af6b849ecb2ce28ab65b
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
4 years agoSupport TV initiate pairing and connection 98/220798/1
DoHyun Pyun [Mon, 23 Dec 2019 09:43:11 +0000 (18:43 +0900)]
Support TV initiate pairing and connection

The keyboard will be connected as the normal keyboard
type, and send the normal key event

Change-Id: I08b83f74eb979084f0c041d4beb02296ffbf69ca
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdd the log for local BT address 20/220620/1
DoHyun Pyun [Fri, 20 Dec 2019 05:04:42 +0000 (14:04 +0900)]
Add the log for local BT address

Change-Id: I9811e8a08d6beaec353a02769e60686977effc39
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdd hid_keyboard tool 03/220603/4
DoHyun Pyun [Fri, 20 Dec 2019 02:13:48 +0000 (11:13 +0900)]
Add hid_keyboard tool

This tool works as HID device role and A2DP sink role,
and we can use this tool with Tizen TV product.

Change-Id: I655d685e1b11523b5f38e82ad64f450be1175479
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoAdd ble_mouse tool for Web manual TCT 18/220218/4 accepted/tizen/unified/20191219.143722 submit/tizen/20191217.221622
DoHyun Pyun [Mon, 16 Dec 2019 07:16:20 +0000 (16:16 +0900)]
Add ble_mouse tool for Web manual TCT

This tool has the same services and properties with BLE
mouse. So we can verify the TCT using this tool without
the actual BLE mouse.

Change-Id: I7405c176cb49927e675289da9d2bd63d79ef1d24
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoApply caching for bluetooth feature check 29/219929/1 accepted/tizen/unified/20191213.042503 submit/tizen/20191212.044134
Kim Dukwoo [Wed, 11 Dec 2019 06:40:15 +0000 (15:40 +0900)]
Apply caching for bluetooth feature check

Change-Id: I446d81576dda20fc662cb59a9636de30510de74a
Signed-off-by: Kim Dukwoo <dukwoo7.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix the build error 57/219557/2
DoHyun Pyun [Fri, 6 Dec 2019 03:52:45 +0000 (12:52 +0900)]
Fix the build error

Change-Id: I9cffab06ca9e4fc4c4f66e5c2dd0cfb27fb8613f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoMerge "Include bt_onoff tool in capi-network-bluetooth-test rpm" into tizen
Pyun DoHyun [Thu, 5 Dec 2019 04:18:29 +0000 (04:18 +0000)]
Merge "Include bt_onoff tool in capi-network-bluetooth-test rpm" into tizen

4 years agoInclude bt_onoff tool in capi-network-bluetooth-test rpm 77/219177/1
DoHyun Pyun [Tue, 3 Dec 2019 01:35:16 +0000 (10:35 +0900)]
Include bt_onoff tool in capi-network-bluetooth-test rpm

Change-Id: I7181a75c22d7ae9a5a7104b8a3e25553ab87f931
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoModify gcov package name 72/219172/1 accepted/tizen/unified/20191203.121737 submit/tizen/20191203.015347
Wootak Jung [Tue, 3 Dec 2019 00:51:59 +0000 (09:51 +0900)]
Modify gcov package name

Change-Id: I7b2ea8db6c8911065ab1530ebd0836f2911505a4

4 years agoCorrect the developer site URL 26/219026/1
DoHyun Pyun [Mon, 2 Dec 2019 01:52:54 +0000 (10:52 +0900)]
Correct the developer site URL

Change-Id: I2bd9344d56f26883ffbadf19eea05e0df27e3543
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoChange the developer site URL in the API reference 69/218869/1
DoHyun Pyun [Fri, 29 Nov 2019 03:59:40 +0000 (12:59 +0900)]
Change the developer site URL in the API reference

Change-Id: I44abcdaf58ce1fe77194d49d4404a536f1d6fb8a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoFix the crash issue to parse the device name 08/218608/1 accepted/tizen/unified/20191128.001540 submit/tizen/20191127.050440
DoHyun Pyun [Tue, 26 Nov 2019 04:37:47 +0000 (13:37 +0900)]
Fix the crash issue to parse the device name

Change-Id: I29976c3479eafb15085f5ebf6679e123b51774ea
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
4 years agoRemove duplicated header functions 75/218575/1
Wootak Jung [Tue, 26 Nov 2019 00:50:56 +0000 (09:50 +0900)]
Remove duplicated header functions

bt_hid_device_xxx APIs are published.
 So, remove that in internal header.

Change-Id: I27519b47f1aa7932de68adda829fb8fc1014da2a

4 years agoMerge "Modify unit tc" into tizen
Pyun DoHyun [Tue, 26 Nov 2019 00:18:50 +0000 (00:18 +0000)]
Merge "Modify unit tc" into tizen

4 years agoModify unit tc 52/218452/1
injun.yang [Fri, 22 Nov 2019 10:14:04 +0000 (19:14 +0900)]
Modify unit tc

Change-Id: Ia694d86bd2c6f61b0c71d422897858d821b4f134

4 years agoAdd time member to app info structure for battery monitor plugin 10/218310/2
Sudipto Bal [Thu, 21 Nov 2019 07:45:51 +0000 (16:45 +0900)]
Add time member to app info structure for battery monitor plugin

Change-Id: I51339e96bce37245c279aacd920d566a62a5bcf7
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
4 years agoEnable battery monitor BT plugin to be initialized without callback 86/218086/1 accepted/tizen/unified/20191121.154831 submit/tizen/20191120.081904
Sudipto Bal [Tue, 19 Nov 2019 08:14:35 +0000 (17:14 +0900)]
Enable battery monitor BT plugin to be initialized without callback

Change-Id: I3d058468524f05b2f7ccc67fc07d11587243e8fb
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
4 years agoScan filter refactoring 05/217805/2
Deokhyun Kim [Thu, 14 Nov 2019 08:48:45 +0000 (17:48 +0900)]
Scan filter refactoring

Change-Id: I3e6192f92bf8e699031f6afc48ad750c3718ed5c
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoAdd API to check if the scan filter feature is supported 53/216753/2 accepted/tizen/unified/20191112.125158 submit/tizen/20191112.045846
himanshu [Thu, 31 Oct 2019 12:42:13 +0000 (18:12 +0530)]
Add API to check if the scan filter feature is supported

This API is used to find whether the scan filter feature is provided or not.

int bt_adapter_le_is_scan_filter_supported(bool *is_supported);

Change-Id: I6afbd7b84d7259f70b3462b967494e56c607cc09
Signed-off-by: himanshu <h.himanshu@samsung.com>
5 years agoFix scan device found callback unset issue 52/216452/2 accepted/tizen/unified/20191101.042108 submit/tizen/20191031.005137
Wootak Jung [Fri, 25 Oct 2019 04:57:39 +0000 (13:57 +0900)]
Fix scan device found callback unset issue

callback should be not unset if operation is failed

Change-Id: I22c1269b80d803e03ab659b2c211c6c162417746

5 years agoMerge "Provide methods to initialize and deinitialize battery monitor feature" into...
Pyun DoHyun [Wed, 23 Oct 2019 05:39:00 +0000 (05:39 +0000)]
Merge "Provide methods to initialize and deinitialize battery monitor feature" into tizen

5 years agoProvide methods to initialize and deinitialize battery monitor 04/214904/7
Sudipto [Fri, 27 Sep 2019 07:56:41 +0000 (13:26 +0530)]
Provide methods to initialize and deinitialize battery monitor
feature

Provide callback during initialization so that the following
bluetooth data for the session is provided to battery monitor frwk
when bluetooth adapter is disabled:
session_start_time
session_end_time
session_scan_time
session_connected_time
app-wise data transaction details for the session

Change-Id: If48adf6944a50d67e91d3b18c54b163b5adc745b
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoFix Native API reference issues 11/216111/1
DoHyun Pyun [Mon, 21 Oct 2019 06:46:52 +0000 (15:46 +0900)]
Fix Native API reference issues

Change-Id: Ie851a93bd3a18ed093f717dba32314878412f6da
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the coverage exception code for new internal APIs 86/215686/1
DoHyun Pyun [Mon, 14 Oct 2019 07:48:04 +0000 (16:48 +0900)]
Add the coverage exception code for new internal APIs

Change-Id: I78d48c7cdb1f2b9aa909fccf4afdfaa99d17ab5d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoGet GATT specification Name from UUID 27/215527/1
Anupam Roy [Thu, 10 Oct 2019 06:20:52 +0000 (11:50 +0530)]
Get GATT specification Name from UUID

This API will return GATT specification name
based on UUID provided by API caller.

Remarks: memory (name) should be freed by API caller.

Change-Id: If58204140538b17c619cc597417b3401651ecd5a
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
5 years agoMerge "App wise data transaction details" into tizen accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.031538 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065921 accepted/tizen/unified/20191007.234831 submit/tizen/20191007.001051 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
Pyun DoHyun [Wed, 25 Sep 2019 05:32:36 +0000 (05:32 +0000)]
Merge "App wise data transaction details" into tizen

5 years agoApp wise data transaction details 74/214374/2
Sudipto [Fri, 20 Sep 2019 16:10:09 +0000 (21:40 +0530)]
App wise data transaction details

Providing details of data transaction by apps in
a particular bluetooth session

Change-Id: Ia6e7f31784bd40186ec6f0374e0d5b1583bbec72
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoFix API reference issues 84/214284/1 accepted/tizen/unified/20190920.065345 submit/tizen/20190920.003508
DoHyun Pyun [Fri, 20 Sep 2019 00:32:29 +0000 (09:32 +0900)]
Fix API reference issues

Change-Id: I00b8f89ab8a93bd2874cd24e91becd151901828c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Implement MTU changed callback for GATT server" into tizen accepted/tizen/unified/20190918.010254 submit/tizen/20190916.233704
Pyun DoHyun [Mon, 16 Sep 2019 06:14:03 +0000 (06:14 +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:14:00 +0000 (06:14 +0000)]
Merge "Implement new API to get le oob data" into tizen

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

5 years agoProviding bluetooth data to battery monitor framework 34/213034/6
Sudipto [Thu, 29 Aug 2019 10:37:56 +0000 (16:07 +0530)]
Providing bluetooth data to battery monitor framework

Data provided:
Session start time
Session end time
Session scan time
Session connected time

Change-Id: I33243d08333d74559cd32143202b7a287af28748
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
5 years agoImplement MTU changed callback for GATT server 64/213864/1
injun.yang [Mon, 1 Jul 2019 07:59:12 +0000 (16:59 +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: I266f8335948c7dd358c8c4e43a974109d297a9b6
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 50/213850/1
injun.yang [Tue, 22 Jan 2019 08:49:28 +0000 (17:49 +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: If2bf516b9351807c3223873403bceb137f6ec36f
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoNew API to set LE scan type 45/213845/1
injun.yang [Thu, 22 Aug 2019 10:10:18 +0000 (19:10 +0900)]
New API to set LE scan type

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

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

[Problem] n/a
[Cause & Measure] New API to set LE scan type
[Checking Method] n/a

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

Change-Id: I2523d6783a210ed44bfd80b204a976e4aeb787a5
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoInvalid param handling in bt_device_le_conn_update() 02/213602/1
Deokhyun Kim [Mon, 9 Sep 2019 06:16:43 +0000 (15:16 +0900)]
Invalid param handling in bt_device_le_conn_update()

Change-Id: Ib42a2a4f8966df38fd225477663edd75e59db833
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agobug fix - memory over flow 89/212589/2 accepted/tizen/unified/20190826.113246 submit/tizen/20190826.003214
milk.lee [Fri, 23 Aug 2019 05:59:10 +0000 (14:59 +0900)]
bug fix - memory over flow

Change-Id: I02ac740edb422cb2989413d6dabdd06efdfaf04f
Signed-off-by: milk.lee <milk.lee@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[bt_unit_test] Fix spp uuid 83/211683/1 accepted/tizen/unified/20190812.235651 accepted/tizen/unified/20190822.110003 submit/tizen/20190809.033840 submit/tizen/20190822.022402
Deokhyun Kim [Thu, 8 Aug 2019 05:47:39 +0000 (14:47 +0900)]
[bt_unit_test] Fix spp uuid

Change-Id: Iefbcbb7cbbd5d6ea45d6a5bdd54b8da6cdcce269
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoImplement interface to set advertise Tx power level 80/211080/3 accepted/tizen/unified/20190801.025403 submit/tizen/20190730.223540
injun.yang [Tue, 23 Oct 2018 00:57:06 +0000 (09:57 +0900)]
Implement interface to set advertise Tx power level

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

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

[Problem] n/a
[Cause & Measure] Support API to set advertise Tx power level
[Checking Method] n/a

[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I9e996ff39cfad37bd7a39de052f96d774a636fce
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd TIZEN_DEPRECATED_API definition if it is not defined 24/210624/1 accepted/tizen/unified/20190724.130121 submit/tizen/20190723.070041
DoHyun Pyun [Tue, 23 Jul 2019 05:05:30 +0000 (14:05 +0900)]
Add TIZEN_DEPRECATED_API definition if it is not defined

Change-Id: I1e164139b860a92ba0d6e9a41c7d73f949ff57cf
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMove HF inhouse APIs to the extension header 01/210401/1 accepted/tizen/unified/20190719.111709 submit/tizen/20190718.233647
DoHyun Pyun [Thu, 18 Jul 2019 23:31:02 +0000 (08:31 +0900)]
Move HF inhouse APIs to the extension header

Bixby application will use HF related APIs in Tizen SDK.
Because of this, we should move the definition to the extension
header.

Change-Id: I6464f470f1b4d776fde2aa9a1a128a9388ee74cd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the coverage package name 84/209584/1 accepted/tizen/unified/20190710.103541 submit/tizen/20190709.060007
DoHyun Pyun [Tue, 9 Jul 2019 05:58:52 +0000 (14:58 +0900)]
Modify the coverage package name

Change-Id: I8e818ffaa23692d12b996241018a005bd06639de
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMake a gcov package for coverage 30/209430/1 accepted/tizen/unified/20190708.114214 submit/tizen/20190708.012948
DoHyun Pyun [Mon, 8 Jul 2019 01:11:00 +0000 (10:11 +0900)]
Make a gcov package for coverage

Change-Id: I55ce079d84375055d90c48fef97411cfe3448bf4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix the doxygen reference issues for HID module 17/207817/2 accepted/tizen/unified/20190617.061732 submit/tizen/20190614.041311
DoHyun Pyun [Thu, 13 Jun 2019 04:35:53 +0000 (13:35 +0900)]
Fix the doxygen reference issues for HID module

Change-Id: I199d26c71d5eac5f7db75783f5f1f47a2781f5ad
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoModify the description for bt_gatt_disconnect API 98/207698/2 submit/tizen/20190612.015753 submit/tizen/20190612.015823
DoHyun Pyun [Tue, 11 Jun 2019 08:03:59 +0000 (17:03 +0900)]
Modify the description for bt_gatt_disconnect API

Change-Id: I351cd8df273820432af1974b59d5671dab25f4b5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the public API to get the remote client's MTU value 17/207617/4 accepted/tizen/unified/20190612.111707 submit/tizen/20190611.064259
DoHyun Pyun [Mon, 10 Jun 2019 05:17:01 +0000 (14:17 +0900)]
Add the public API to get the remote client's MTU value

Change-Id: I40f0a927245488913a525aea03a53ff42e9877d6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Add the return value for bt_pbap_client APIs" into tizen accepted/tizen/unified/20190611.050046 submit/tizen/20190610.063128
Pyun DoHyun [Mon, 10 Jun 2019 06:28:46 +0000 (06:28 +0000)]
Merge "Add the return value for bt_pbap_client APIs" into tizen

5 years agoSupport for internal API for bonding with incoming parameter 01/206901/9
Sudipto Bal [Mon, 3 Jun 2019 11:35:31 +0000 (17:05 +0530)]
Support for internal API for bonding with incoming parameter

Change-Id: Ibe3e9010f1244395e81c85f1bc1d32ed429ae142
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
5 years agoAdd the return value for bt_pbap_client APIs 99/207099/1
DoHyun Pyun [Thu, 30 May 2019 04:42:40 +0000 (13:42 +0900)]
Add the return value for bt_pbap_client APIs

The pbap client APIs can return BT_ERROR_NOW_IN_PROGRESS,
so we should mention that error type in the document.

Change-Id: Ife24d5b2b5fb63e097d822fcd0522244466dc983
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd the return value for bt_gatt_client_get_att_mtu API 81/206781/1
DoHyun Pyun [Mon, 27 May 2019 00:54:34 +0000 (09:54 +0900)]
Add the return value for bt_gatt_client_get_att_mtu API

The API can return BT_ERROR_REMOTE_DEVICE_NOT_CONNECTED, so
we should mention that error type in the document.

Change-Id: I51d73b97c33d8502116679a911fc3e437b2ef79f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Add the prevent logic for the abnormal manufacture data" into tizen
Pyun DoHyun [Fri, 17 May 2019 00:33:22 +0000 (00:33 +0000)]
Merge "Add the prevent logic for the abnormal manufacture data" into tizen

5 years agoAdd the prevent logic for the abnormal manufacture data 77/206277/2
DoHyun Pyun [Thu, 16 May 2019 04:11:28 +0000 (13:11 +0900)]
Add the prevent logic for the abnormal manufacture data

Change-Id: I3c6b976121a634705ed96477b8acdc12c9f63d7d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoExclude unsupported functions in coverage 78/206278/1
Wootak Jung [Thu, 16 May 2019 04:08:10 +0000 (13:08 +0900)]
Exclude unsupported functions in coverage

hid, opp features are disabled on wearable.

Change-Id: I49c75168e2559030650a9ad695e4e627fa56c12d

5 years agoRemove unnecessary dependency 37/203837/1
DoHyun Pyun [Thu, 18 Apr 2019 05:15:19 +0000 (14:15 +0900)]
Remove unnecessary dependency

db-util was used for TV product in previously. but db-util is
not used in now.

Change-Id: I2d0c6235a6437b2f500ca3b19caa19486215a035
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years ago[bt_unit_test] Add parameters for le_set_data_length 52/203352/1 accepted/tizen/unified/20190416.071433 submit/tizen/20190415.001851
Deokhyun Kim [Fri, 12 Apr 2019 04:30:38 +0000 (13:30 +0900)]
[bt_unit_test] Add parameters for le_set_data_length

  test_input_callback:5823() Select the function again
  test_set_params:3754() Input max octets (27 ~ 251)
  test_set_params:3757() Input max time (328 ~ 2120)

Change-Id: I0034e45e1da9629045bf962e9b40640430ee39d0
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoModify the privilege level of OOB data getter APIs 30/200330/2 accepted/tizen/unified/20190312.113019 submit/tizen/20190311.071331
DoHyun Pyun [Thu, 21 Feb 2019 23:10:32 +0000 (08:10 +0900)]
Modify the privilege level of OOB data getter APIs

Application try to bond using oob data without user confirmation.
Because of this, need to give the proper privilege for OOB data
getter APIs

Change-Id: I5af69c6f57f524bc5a19aa4381ca45103330a74a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoExclude coverage for internal APIs 88/199588/1
Wootak Jung [Wed, 13 Feb 2019 06:48:25 +0000 (15:48 +0900)]
Exclude coverage for internal APIs

Change-Id: I365d83a0a761e0694004016e47fc14f0ac3e3ab2

5 years agoUse the correct URL in API reference 85/199285/1 accepted/tizen/unified/20190212.084052 submit/tizen/20190208.071436 submit/tizen/20190211.065813 submit/tizen/20190211.100729
DoHyun Pyun [Fri, 8 Feb 2019 07:06:52 +0000 (16:06 +0900)]
Use the correct URL in API reference

Change-Id: I7f85ad99dd0c91136807ab794b983c6908825b3a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Print out Device Disconnect Reason" into tizen
Pyun DoHyun [Thu, 7 Feb 2019 23:36:12 +0000 (23:36 +0000)]
Merge "Print out Device Disconnect Reason" into tizen

5 years agoPrint out Device Disconnect Reason 28/198828/2
Anupam Roy [Wed, 30 Jan 2019 06:41:28 +0000 (12:11 +0530)]
Print out Device Disconnect Reason

Change-Id: I048a5db2b231c91decd43e079a0e91ce7488f2cc
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
5 years agoAdding support in avrcp to control multiple a2dp source 66/198566/3
Avichal [Fri, 25 Jan 2019 12:14:18 +0000 (17:44 +0530)]
Adding support in avrcp to control multiple a2dp source

Modifying functionalility of ARCP controller

Change-Id: Icdac34e77ae6c93aafc7cf6844d4acb787e43a1a

5 years agoModify the supported check logic for common gatt functions 02/198902/1 accepted/tizen/unified/20190201.061300 submit/tizen/20190131.014259
DoHyun Pyun [Thu, 31 Jan 2019 02:24:35 +0000 (11:24 +0900)]
Modify the supported check logic for common gatt functions

Change-Id: I9e0ca1fa78a0439f6740d219ed16944f0d0f52dd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoCorrect the feature check logic for GATT APIs 98/198898/1
DoHyun Pyun [Wed, 30 Jan 2019 07:40:31 +0000 (16:40 +0900)]
Correct the feature check logic for GATT APIs

Change-Id: Ib6a6353ae5ee933f98a9aaea60b53336033985fd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoMerge "Reset the server instance in the deinitialize function" into tizen accepted/tizen/unified/20190129.064351 submit/tizen/20190129.000858
Pyun DoHyun [Tue, 29 Jan 2019 00:09:47 +0000 (00:09 +0000)]
Merge "Reset the server instance in the deinitialize function" into tizen

5 years agoReset the server instance in the deinitialize function 37/198637/1
DoHyun Pyun [Mon, 28 Jan 2019 08:28:23 +0000 (17:28 +0900)]
Reset the server instance in the deinitialize function

Change-Id: I8df1bdabe10b70b608a2fc6666105fa4d21f3a81
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFixed gatt notification changed callback 52/198452/1
Amit Purwar [Thu, 24 Jan 2019 13:24:43 +0000 (18:54 +0530)]
Fixed gatt notification changed callback

Change-Id: I8e9041c56bbfe740c2502a2c3d9c216d7ddf31ca
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoFixed string comparision logic for gatt device address 39/197739/1 accepted/tizen/unified/20190128.061625 submit/tizen/20190123.050251 submit/tizen/20190128.005753
Amit Purwar [Wed, 16 Jan 2019 04:59:02 +0000 (10:29 +0530)]
Fixed string comparision logic for gatt device address

Change-Id: If1fdb278e8e3c20bdbf2a6b3ee7966221bc24ea5
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
5 years agoGenerate the progress event before completing the transfer 97/197397/1 accepted/tizen/unified/20190115.055943 submit/tizen/20190111.043317 submit/tizen/20190114.060943
DoHyun Pyun [Fri, 11 Jan 2019 04:02:57 +0000 (13:02 +0900)]
Generate the progress event before completing the transfer

Change-Id: I6188c23b49add7a3f5c425c32e2c51c372dd4a0f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoAdd new internal API to disconnect device 87/197187/1
Deokhyun Kim [Thu, 10 Jan 2019 07:19:41 +0000 (16:19 +0900)]
Add new internal API to disconnect device

  - int bt_device_disconnect(const char *remote_address)

Change-Id: Ic5cfbff9428beb6320887e94e967076d760bf2c0
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoFix svace issue(27475) 64/197164/1
Deokhyun Kim [Thu, 10 Jan 2019 05:09:34 +0000 (14:09 +0900)]
Fix svace issue(27475)

Change-Id: Ia8d52caaa687ed9cc21e0a9cdc43681b717a7656
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
5 years agoFix the typo error in the API reference 00/197000/2
DoHyun Pyun [Tue, 8 Jan 2019 23:55:51 +0000 (08:55 +0900)]
Fix the typo error in the API reference

Change-Id: I2cc9b0adb21984ba3ed81071880e750597a3be39
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
5 years agoFix doxygen module for bt_gatt_h type 26/196926/1 accepted/tizen/unified/20190109.060037 submit/tizen/20190108.053122
Semun Lee [Tue, 8 Jan 2019 04:22:11 +0000 (13:22 +0900)]
Fix doxygen module for bt_gatt_h type

Change-Id: I0c5761eee6c2292278edfb6fbab48abb8336038f
Signed-off-by: Semun Lee <semun.lee@samsung.com>
5 years agoFix missing vcard response data 45/196545/1
Wootak Jung [Wed, 2 Jan 2019 06:30:30 +0000 (15:30 +0900)]
Fix missing vcard response data

Change-Id: Id4a3626271eabe522d1782e2744b00349d6a36fe

5 years agoFix dlog format error 95/195695/2 accepted/tizen/unified/20181218.063050 submit/tizen/20181217.091427
DoHyun Pyun [Mon, 17 Dec 2018 09:06:03 +0000 (18:06 +0900)]
Fix dlog format error

Change-Id: Ia1120aaa47212e56f224c1596d53e32a846ca011
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoFix profile check logic to distinguish ivi and iot 00/191900/3 accepted/tizen/unified/20181107.081853 accepted/tizen/unified/20181108.074601 submit/tizen/20181105.232950 submit/tizen/20181106.081159 submit/tizen/20181108.005451
Wootak Jung [Thu, 25 Oct 2018 06:14:05 +0000 (15:14 +0900)]
Fix profile check logic to distinguish ivi and iot

Change-Id: I64f811bfe5211d4bdd22c724e3c4768d874ad426

6 years agoFix the wrong matched error for "In progress" 90/190290/1 accepted/tizen/5.0/unified/20181102.014528 accepted/tizen/unified/20181002.093341 submit/tizen/20180930.234221 submit/tizen/20181001.232440 submit/tizen_5.0/20181101.000002
DoHyun Pyun [Mon, 1 Oct 2018 00:19:53 +0000 (09:19 +0900)]
Fix the wrong matched error for "In progress"

Change-Id: I9203f4cc7e5ce9e32bb0f8ccbe0191c36a2fc7e3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years ago[BLE-HR] Verification Fixes 01/189901/1 accepted/tizen/unified/20180927.073750 submit/tizen/20180926.233914
Abhishek Chandra [Fri, 21 Sep 2018 11:18:51 +0000 (16:48 +0530)]
[BLE-HR] Verification Fixes

- Easy understandble string name changes
and cleanup in bt_unit_test.
- State change event fix.
- HR Notification sending/recieving fix.
- BSL read response fix .

Change-Id: I061a24861f408c69efaca39da1f1c0954877b319
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
6 years agoAdd the missed user_data parameter 74/189574/1 accepted/tizen/unified/20180919.141916 submit/tizen/20180919.001852
DoHyun Pyun [Wed, 19 Sep 2018 01:12:21 +0000 (10:12 +0900)]
Add the missed user_data parameter

Change-Id: I623080af14c78d941c09d5a5482de0a5a96bbcdf
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoPrevent Issue fixes 28/189528/2
Abhishek Chandra [Tue, 18 Sep 2018 09:45:32 +0000 (15:15 +0530)]
Prevent Issue fixes

Prevent Issue fixes :
- 1026365
- 1026068
- 109410

Change-Id: Iadeeeb303ee008387ecb5299c08854b53ab90d7a
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
6 years ago[Sensor] API merged ,removed and code refactoring. 34/189234/2 accepted/tizen/unified/20180918.062800 submit/tizen/20180916.233618 submit/tizen/20180917.042059
Abhishek Chandra [Fri, 14 Sep 2018 11:21:43 +0000 (16:51 +0530)]
[Sensor] API merged ,removed and code refactoring.

Changes are:
1) Functionality bt_hrp_sensor_update_heartrate_value
and bt_hrp_sensor_set_heartrate_value  are merged to
bt_hrp_sensor_set_heartrate_value .
2) removed bt_hrp_sensor_advertising_state_changed_cb
as this is not needed for application.
3) functionality of bt_hrp_sensor_start is merged
in bt_hrp_sensor_create .
4) functionality of bt_hrp_sensor_stop is merged
in bt_hrp_sensor_distroy.
5) Connected collector list in the sensor is removed ,
as sensor side connected is already managed by Gatt
server , so it was redundant and hence removed .
6) bt_hrp_sensor_unset_sensor_notification_state_change_cb
is removed, as is not needed by application .

Change-Id: I93ba307a9a9f06aa4a80a77571b502df61ffdd95
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
6 years agoReduce the cyclomatic complexity 25/189025/4 accepted/tizen/unified/20180914.073134 submit/tizen/20180913.053639
DoHyun Pyun [Thu, 13 Sep 2018 00:23:55 +0000 (09:23 +0900)]
Reduce the cyclomatic complexity

The profile check logic is redundent, because the event callback
will not be invoked in those profiles. And replace some functions to
the mapping table.

Change-Id: I8c347ec66ffac6c4c749bebce54eb6d36a57145b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoMerge "Modify the section name for BT 5.0 API" into tizen accepted/tizen/unified/20180911.055343 submit/tizen/20180910.080716
DoHyun Pyun [Mon, 10 Sep 2018 08:06:52 +0000 (08:06 +0000)]
Merge "Modify the section name for BT 5.0 API" into tizen

6 years agoModify the section name for BT 5.0 API 74/188774/1
DoHyun Pyun [Mon, 10 Sep 2018 07:18:31 +0000 (16:18 +0900)]
Modify the section name for BT 5.0 API

Change-Id: I4f93087e6feeadc0b211ed78a1cf2f661d73def5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoModify HRP APIs for testcase 44/188744/4
DoHyun Pyun [Mon, 10 Sep 2018 03:57:28 +0000 (12:57 +0900)]
Modify HRP APIs for testcase

Change-Id: Ib99455bf2caf8cd183c386c19be3e03fc8d75331
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoUse strtoul instead of strtol to prevent overflow. 28/188728/1
Wootak Jung [Thu, 6 Sep 2018 01:41:25 +0000 (10:41 +0900)]
Use strtoul instead of strtol to prevent overflow.

Change-Id: Icbcebc336c49c90d962d05e4e57858e103d1eb5e

6 years agoAdd HFP HF APIs on bluetooth_internal 27/188727/1
Wootak Jung [Thu, 6 Sep 2018 01:41:13 +0000 (10:41 +0900)]
Add HFP HF APIs on bluetooth_internal

int bt_hf_request_call_status_info_list(void)
int bt_hf_is_inband_ringtone_supported(bool *supported)

Change-Id: I7c0d5b38d9fd025a779b7f906d632bbb75543558

6 years agoMerge "Add bluetooth adapter LE 5.0 module in the document" into tizen accepted/tizen/unified/20180910.172014 submit/tizen/20180910.002032
DoHyun Pyun [Mon, 10 Sep 2018 00:20:01 +0000 (00:20 +0000)]
Merge "Add bluetooth adapter LE 5.0 module in the document" into tizen

6 years agoMerge "Implement BT 5.0 API's" into tizen
Pyun DoHyun [Mon, 10 Sep 2018 00:19:50 +0000 (00:19 +0000)]
Merge "Implement BT 5.0 API's" into tizen

6 years agoAdd bluetooth adapter LE 5.0 module in the document 38/186038/6
DoHyun Pyun [Tue, 7 Aug 2018 01:45:04 +0000 (10:45 +0900)]
Add bluetooth adapter LE 5.0 module in the document

Change-Id: I266042713138880eb5bea0b00e35a8c5d59daf7a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
6 years agoHandling characteristics properties Indicate and Notify functionality 31/188131/2
Avichal Agarwal [Fri, 31 Aug 2018 12:45:00 +0000 (18:15 +0530)]
Handling characteristics properties Indicate and Notify functionality

A bool flag is forwarded  to bt-api to differentiate between
notify and indicate property.

Change-Id: I7a496e928ce425345555ef947293736720b7168d
Signed-off-by: Avichal Agarwal <avichal.a@samsung.com>
6 years agoAdd the inhouse APIs for AVRCP control volume up / down 77/188577/2
Wootak Jung [Thu, 30 Aug 2018 05:14:49 +0000 (14:14 +0900)]
Add the inhouse APIs for AVRCP control volume up / down

Change-Id: I798b217b70d5b1f6991c7e3f906783468108a375

6 years agoFix return value error of bt_socket_create_rfcomm_ex() 76/188576/2
Wootak Jung [Thu, 30 Aug 2018 01:28:47 +0000 (10:28 +0900)]
Fix return value error of bt_socket_create_rfcomm_ex()

Change-Id: I338eaf8bec4c46949a162b813336c397deceee06

6 years ago[HRP Collector] Notify Fixes and Code cleanup 58/188558/3
Abhishek Chandra [Thu, 6 Sep 2018 05:58:30 +0000 (11:28 +0530)]
[HRP Collector] Notify Fixes and Code cleanup

Changes related to heart rate notification and
body sensor location due to fixes in the bluetooth
framework related to notification.

Change-Id: I2b8b9935ed6958c1f75999e9d6228ae1492d6b3d
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
6 years ago[HRP Sensor]Notify,Char changes fix 97/188297/4
Abhishek Chandra [Mon, 3 Sep 2018 12:35:46 +0000 (18:05 +0530)]
[HRP Sensor]Notify,Char changes fix

This patch is clean up and fixing of Notify heartrate
and read char for body sensor location
char change , readvalue and notify fixed
patches in BT framework.

Change-Id: Ib5e94a241bf24dd8afb5df9c8292ab6fa5e1e65f
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>