summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoHyun Pyun <dh79.pyun@samsung.com>2018-09-19 10:12:21 +0900
committerDoHyun Pyun <dh79.pyun@samsung.com>2018-09-19 10:12:21 +0900
commit61b9a691d75f344b6dcd6b1ba762ca20a995adab (patch)
tree4b9a8d80f4dbf1a75b7ca0c2a00bde7785a6742a
parentcfa2c5a8050c31e8f79a1c27b7a8ec97f25ea736 (diff)
downloadbluetooth-accepted/tizen/unified/20180919.141916.tar.gz
bluetooth-accepted/tizen/unified/20180919.141916.tar.bz2
bluetooth-accepted/tizen/unified/20180919.141916.zip
Change-Id: I623080af14c78d941c09d5a5482de0a5a96bbcdf Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r--include/bluetooth_internal.h2
-rw-r--r--src/bluetooth-hrp.c2
-rw-r--r--test/bt_unit_test.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/bluetooth_internal.h b/include/bluetooth_internal.h
index d7a8180..9852090 100644
--- a/include/bluetooth_internal.h
+++ b/include/bluetooth_internal.h
@@ -4412,7 +4412,7 @@ int bt_hrp_collector_destory(bt_hrp_collector_h collector);
* @internal
* @brief HRP collector API to start scan .
*/
-int bt_hrp_collector_start_scan(bt_hrp_collector_scan_result_cb cb);
+int bt_hrp_collector_start_scan(bt_hrp_collector_scan_result_cb cb, void *user_data);
/**
* @internal
diff --git a/src/bluetooth-hrp.c b/src/bluetooth-hrp.c
index 3df0e9d..d2b6ba9 100644
--- a/src/bluetooth-hrp.c
+++ b/src/bluetooth-hrp.c
@@ -1002,7 +1002,7 @@ int bt_hrp_collector_unset_connection_state_changed_cb(bt_hrp_collector_h collec
return BT_ERROR_NONE;
}
-int bt_hrp_collector_start_scan(bt_hrp_collector_scan_result_cb cb)
+int bt_hrp_collector_start_scan(bt_hrp_collector_scan_result_cb cb, void *user_data)
{
bt_scan_filter_h scan_filter = NULL;
diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c
index 0b6249a..42d38ea 100644
--- a/test/bt_unit_test.c
+++ b/test/bt_unit_test.c
@@ -9664,7 +9664,7 @@ int test_input_callback(void *data)
}
case BT_UNIT_TEST_FUNCTION_HR_COLLECTOR_START_SCAN: {
TC_PRT("HR COLLECTOR START SCAN\n");
- ret = bt_hrp_collector_start_scan(__bt_adapter_le_scan_result_cb);
+ ret = bt_hrp_collector_start_scan(__bt_adapter_le_scan_result_cb, NULL);
TC_PRT("returns %s\n", __bt_get_error_message(ret));
break;
}