mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	feat(bluetooth/controller): adopting new HCI layer code and support UHCI function on ESP32-C6 and ESP32-H2
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| /* | ||||
|  * SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD | ||||
|  * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD | ||||
|  * | ||||
|  * SPDX-License-Identifier: Apache-2.0 | ||||
|  */ | ||||
| @@ -160,7 +160,7 @@ esp_err_t esp_ble_tx_power_set_enhanced(esp_ble_enhanced_power_type_t power_type | ||||
|  */ | ||||
| esp_power_level_t esp_ble_tx_power_get_enhanced(esp_ble_enhanced_power_type_t power_type, uint16_t handle); | ||||
|  | ||||
| #define CONFIG_VERSION  0x20231124 | ||||
| #define CONFIG_VERSION  0x20240422 | ||||
| #define CONFIG_MAGIC    0x5A5AA5A5 | ||||
|  | ||||
| /** | ||||
| @@ -201,13 +201,6 @@ typedef struct { | ||||
|     uint8_t controller_run_cpu;                  /*!< CPU number on which the Bluetooth controller task runs */ | ||||
|     uint8_t enable_qa_test;                      /*!< Enable for QA test */ | ||||
|     uint8_t enable_bqb_test;                     /*!< Enable for BQB test */ | ||||
|     uint8_t enable_uart_hci;                     /*!< Enable UART for HCI (Host Controller Interface) */ | ||||
|     uint8_t ble_hci_uart_port;                   /*!< Port of UART for HCI */ | ||||
|     uint32_t ble_hci_uart_baud;                  /*!< Baudrate of UART for HCI */ | ||||
|     uint8_t ble_hci_uart_data_bits;              /*!< Data bits of UART for HCI */ | ||||
|     uint8_t ble_hci_uart_stop_bits;              /*!< Stop bits of UART for HCI */ | ||||
|     uint8_t ble_hci_uart_flow_ctrl;              /*!< Flow control of UART for HCI */ | ||||
|     uint8_t ble_hci_uart_uart_parity;            /*!< UART parity */ | ||||
|     uint8_t enable_tx_cca;                       /*!< Enable Clear Channel Assessment (CCA) when transmitting */ | ||||
|     uint8_t cca_rssi_thresh;                     /*!< RSSI threshold for CCA */ | ||||
|     uint8_t sleep_en;                            /*!< Enable sleep functionality */ | ||||
| @@ -258,13 +251,6 @@ typedef struct { | ||||
|     .controller_run_cpu         = 0,                                                    \ | ||||
|     .enable_qa_test             = RUN_QA_TEST,                                          \ | ||||
|     .enable_bqb_test            = RUN_BQB_TEST,                                         \ | ||||
|     .enable_uart_hci            = HCI_UART_EN,                                          \ | ||||
|     .ble_hci_uart_port          = DEFAULT_BT_LE_HCI_UART_PORT,                          \ | ||||
|     .ble_hci_uart_baud          = DEFAULT_BT_LE_HCI_UART_BAUD,                          \ | ||||
|     .ble_hci_uart_data_bits     = DEFAULT_BT_LE_HCI_UART_DATA_BITS,                     \ | ||||
|     .ble_hci_uart_stop_bits     = DEFAULT_BT_LE_HCI_UART_STOP_BITS,                     \ | ||||
|     .ble_hci_uart_flow_ctrl     = DEFAULT_BT_LE_HCI_UART_FLOW_CTRL,                     \ | ||||
|     .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,                  \ | ||||
|     .sleep_en                   = NIMBLE_SLEEP_ENABLE,                                  \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zwl
					zwl