From: h.sandeep Date: Tue, 22 Nov 2016 04:34:12 +0000 (+0530) Subject: iBeacon: Fix naming convention. X-Git-Tag: submit/tizen/20161122.051739^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34c59563ae2bdd16aa86b80d73663ba8fff65ef1;p=platform%2Fcore%2Fapi%2Fbluetooth.git iBeacon: Fix naming convention. Change-Id: I55e83cfc1a2606aa10224dc1fa6232a563594b02 Signed-off-by: h.sandeep --- diff --git a/include/mobile/bluetooth_internal.h b/include/mobile/bluetooth_internal.h index 66b7069..892d33f 100644 --- a/include/mobile/bluetooth_internal.h +++ b/include/mobile/bluetooth_internal.h @@ -3193,7 +3193,7 @@ int bt_proximity_get_supported_services(const char *remote_address, int *support * @internal * @brief API to set scan filter for iBeacons reports */ -int bt_adapter_le_set_ibeacon_scan_filter(bt_scan_filter_h scan_filter, +int bt_adapter_le_scan_filter_set_ibeacon(bt_scan_filter_h scan_filter, const char *data, unsigned int data_len); /** diff --git a/include/tv/bluetooth_internal.h b/include/tv/bluetooth_internal.h index 66b7069..892d33f 100644 --- a/include/tv/bluetooth_internal.h +++ b/include/tv/bluetooth_internal.h @@ -3193,7 +3193,7 @@ int bt_proximity_get_supported_services(const char *remote_address, int *support * @internal * @brief API to set scan filter for iBeacons reports */ -int bt_adapter_le_set_ibeacon_scan_filter(bt_scan_filter_h scan_filter, +int bt_adapter_le_scan_filter_set_ibeacon(bt_scan_filter_h scan_filter, const char *data, unsigned int data_len); /** diff --git a/include/wearable/bluetooth_internal.h b/include/wearable/bluetooth_internal.h index 6a99d86..6950b89 100644 --- a/include/wearable/bluetooth_internal.h +++ b/include/wearable/bluetooth_internal.h @@ -3341,7 +3341,7 @@ int bt_proximity_get_supported_services(const char *remote_address, int *support * @internal * @brief API to set scan filter for iBeacons reports */ -int bt_adapter_le_set_ibeacon_scan_filter(bt_scan_filter_h scan_filter, +int bt_adapter_le_scan_filter_set_ibeacon(bt_scan_filter_h scan_filter, const char *data, unsigned int data_len); /** diff --git a/src/bluetooth-adapter.c b/src/bluetooth-adapter.c index 72f515e..c25eba0 100644 --- a/src/bluetooth-adapter.c +++ b/src/bluetooth-adapter.c @@ -3876,7 +3876,7 @@ int bt_adapter_unset_authentication_req_cb(void) return BT_ERROR_NONE; } -int bt_adapter_le_set_ibeacon_scan_filter(bt_scan_filter_h scan_filter, +int bt_adapter_le_scan_filter_set_ibeacon(bt_scan_filter_h scan_filter, const char *data, unsigned int data_len) { diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index b61fd16..3b4fa52 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -5467,7 +5467,7 @@ int test_input_callback(void *data) if (ret != BT_ERROR_NONE) TC_PRT("failed with [0x%04x]", ret); - ret = bt_adapter_le_set_ibeacon_scan_filter(scan_filter, manufacture_1, sizeof(manufacture_1)); + ret = bt_adapter_le_scan_filter_set_ibeacon(scan_filter, manufacture_1, sizeof(manufacture_1)); if (ret != BT_ERROR_NONE) TC_PRT("failed with [0x%04x]", ret);