From c43ad3a99c0aca332c37a24b99fa203778d59995 Mon Sep 17 00:00:00 2001 From: gongyantao Date: Wed, 24 Dec 2025 12:13:43 +0800 Subject: [PATCH] change(bt): Mark RSSI threshold-related macros as deprecated --- components/bt/host/bluedroid/api/include/api/esp_gap_bt_api.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/bt/host/bluedroid/api/include/api/esp_gap_bt_api.h b/components/bt/host/bluedroid/api/include/api/esp_gap_bt_api.h index 7d535c80d1..886be4e89f 100644 --- a/components/bt/host/bluedroid/api/include/api/esp_gap_bt_api.h +++ b/components/bt/host/bluedroid/api/include/api/esp_gap_bt_api.h @@ -16,7 +16,9 @@ extern "C" { #endif /// RSSI threshold +/** @deprecated This macro will be deprecated in future versions */ #define ESP_BT_GAP_RSSI_HIGH_THRLD -20 /*!< High RSSI threshold */ +/** @deprecated This macro will be deprecated in future versions */ #define ESP_BT_GAP_RSSI_LOW_THRLD -45 /*!< Low RSSI threshold */ /// Class of device @@ -361,7 +363,7 @@ typedef union { struct read_rssi_delta_param { esp_bd_addr_t bda; /*!< remote bluetooth device address*/ esp_bt_status_t stat; /*!< read rssi status */ - int8_t rssi_delta; /*!< rssi delta value range -128 ~127, The value zero indicates that the RSSI is inside the Golden Receive Power Range, the Golden Receive Power Range is from ESP_BT_GAP_RSSI_LOW_THRLD to ESP_BT_GAP_RSSI_HIGH_THRLD */ + int8_t rssi_delta; /*!< rssi delta value range -128 ~127, The value zero indicates that the RSSI is inside the Golden Receive Power Range */ } read_rssi_delta; /*!< read rssi parameter struct */ /**