mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 04:43:33 +00:00
Update esp32h2 beta2 lib to master
This commit is contained in:
@@ -118,13 +118,9 @@ esp_err_t esp_ble_tx_power_set(esp_ble_power_type_t power_type, esp_power_level_
|
||||
*/
|
||||
esp_power_level_t esp_ble_tx_power_get(esp_ble_power_type_t power_type);
|
||||
|
||||
#if CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_1
|
||||
#define CONFIG_VERSION 0x20220409
|
||||
#define CONFIG_MAGIC 0x5A5AA5A5
|
||||
#elif CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_2
|
||||
#define CONFIG_VERSION 0x20211021
|
||||
#define CONFIG_MAGIC 0x5A5AA5A5
|
||||
#endif
|
||||
#define CONFIG_VERSION 0x20220409
|
||||
#define CONFIG_MAGIC 0x5A5AA5A5
|
||||
|
||||
/**
|
||||
* @brief Controller config options, depend on config mask.
|
||||
* Config mask indicate which functions enabled, this means
|
||||
@@ -173,16 +169,12 @@ typedef struct {
|
||||
uint8_t ble_hci_uart_uart_parity;
|
||||
uint8_t enable_tx_cca;
|
||||
uint8_t cca_rssi_thresh;
|
||||
#if CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_1
|
||||
uint8_t cca_drop_mode;
|
||||
int8_t cca_low_tx_pwr;
|
||||
#endif
|
||||
uint8_t sleep_en;
|
||||
uint8_t coex_phy_coded_tx_rx_time_limit;
|
||||
uint8_t dis_scan_backoff;
|
||||
#if CONFIG_IDF_TARGET_ESP32H2_BETA_VERSION_1
|
||||
uint8_t scan_classify_filter_enable;
|
||||
#endif
|
||||
uint32_t config_magic;
|
||||
} esp_bt_controller_config_t;
|
||||
|
||||
@@ -229,8 +221,11 @@ typedef struct {
|
||||
.ble_hci_uart_uart_parity = DEFAULT_BT_LE_HCI_UART_PARITY, \
|
||||
.enable_tx_cca = DEFAULT_BT_LE_TX_CCA_ENABLED, \
|
||||
.cca_rssi_thresh = 256 - DEFAULT_BT_LE_CCA_RSSI_THRESH, \
|
||||
.cca_drop_mode = 0, \
|
||||
.cca_low_tx_pwr = 0, \
|
||||
.sleep_en = NIMBLE_SLEEP_ENABLE, \
|
||||
.coex_phy_coded_tx_rx_time_limit = DEFAULT_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF, \
|
||||
.scan_classify_filter_enable = false, \
|
||||
.config_magic = CONFIG_MAGIC, \
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user