mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
Merge branch 'change/remove_unused_marco_defines_for_rssi_limit_v5.4' into 'release/v5.4'
change(bt): Mark RSSI threshold-related macros as deprecated(backport v5.4) See merge request espressif/esp-idf!44514
This commit is contained in:
@@ -16,7 +16,9 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// RSSI threshold
|
/// RSSI threshold
|
||||||
|
/** @deprecated This macro will be deprecated in future versions */
|
||||||
#define ESP_BT_GAP_RSSI_HIGH_THRLD -20 /*!< High RSSI threshold */
|
#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 */
|
#define ESP_BT_GAP_RSSI_LOW_THRLD -45 /*!< Low RSSI threshold */
|
||||||
|
|
||||||
/// Class of device
|
/// Class of device
|
||||||
@@ -363,7 +365,7 @@ typedef union {
|
|||||||
struct read_rssi_delta_param {
|
struct read_rssi_delta_param {
|
||||||
esp_bd_addr_t bda; /*!< remote bluetooth device address*/
|
esp_bd_addr_t bda; /*!< remote bluetooth device address*/
|
||||||
esp_bt_status_t stat; /*!< read rssi status */
|
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 */
|
} read_rssi_delta; /*!< read rssi parameter struct */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user