Add the missed user_data parameter 74/189574/1 accepted/tizen/unified/20180919.141916 submit/tizen/20180919.001852
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 19 Sep 2018 01:12:21 +0000 (10:12 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 19 Sep 2018 01:12:21 +0000 (10:12 +0900)
Change-Id: I623080af14c78d941c09d5a5482de0a5a96bbcdf
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/bluetooth_internal.h
src/bluetooth-hrp.c
test/bt_unit_test.c

index d7a8180b5736d2a8a699ee575a44173062e3986d..985209035ea4ed3719fa79172bf5cba1e2964ef9 100644 (file)
@@ -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
index 3df0e9da96daab9aeb3d3489e995cf12520dc211..d2b6ba9c0fcd7318180569f4b019bd6699cec922 100644 (file)
@@ -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;
index 0b6249a825f061d340b6a636fce8cde90f6ab9d7..42d38ea0afc5e3f08dc9e0b86bde6a337bf4a15d 100644 (file)
@@ -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;
                }