summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordh79pyun <dh79.pyun@samsung.com>2021-11-26 09:29:56 +0900
committerdh79pyun <dh79.pyun@samsung.com>2021-11-26 09:29:56 +0900
commit9d717e522c7df7070ad7b2f50854921a58f05181 (patch)
tree48fa5a05e2574b73075d704fb6c655a755c5f215
parent2df5ea07a6f6402290d02140b0ac3eb487189be3 (diff)
downloadbluetooth-9d717e522c7df7070ad7b2f50854921a58f05181.tar.gz
bluetooth-9d717e522c7df7070ad7b2f50854921a58f05181.tar.bz2
bluetooth-9d717e522c7df7070ad7b2f50854921a58f05181.zip
Change-Id: I9fa8453d31c07fa4599246eb0c7ef2d4c6d44029 Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
-rw-r--r--include/bluetooth_internal.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/bluetooth_internal.h b/include/bluetooth_internal.h
index 3532889..cd3e823 100644
--- a/include/bluetooth_internal.h
+++ b/include/bluetooth_internal.h
@@ -900,6 +900,27 @@ int bt_adapter_le_set_scan_type(bt_adapter_le_scan_type_e scan_type);
/**
* @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE
+ * @brief Sets Bluetooth LE customized scan mode
+ * @since_tizen 7.0
+ * @privlevel platform
+ * @privilege %http://tizen.org/privilege/bluetooth.admin
+ * @param[in] scan_interval The scan interval
+ * @param[in] scan_window The scan window
+ *
+ * @return 0 on success, otherwise a negative error value.
+ * @retval #BT_ERROR_NONE Successful
+ * @retval #BT_ERROR_NOT_INITIALIZED Not initialized
+ * @retval #BT_ERROR_NOT_ENABLED Adapter is not enabled
+ * @retval #BT_ERROR_INVALID_PARAMETER Parameter is invalid
+ * @retval #BT_ERROR_PERMISSION_DENIED Permission denied
+ * @retval #BT_ERROR_NOT_SUPPORTED Not supported
+ * @pre The state of local Bluetooth must be #BT_ADAPTER_ENABLED.
+ * @pre The Bluetooth service must be initialized with bt_initialize().
+ */
+int bt_adapter_le_set_customized_scan_mode(float scan_interval, float scan_window);
+
+/**
+ * @ingroup CAPI_NETWORK_BLUETOOTH_ADAPTER_LE_MODULE
* @brief Sets the RSSI for the advertisements filter.
* @details Advertiser will be reported only if the signal is higher than specified rssi.
* @since_tizen 6.0