mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	optimize C3 multi-connection
This commit is contained in:
		| @@ -26,7 +26,7 @@ extern "C" { | ||||
| #endif | ||||
|  | ||||
| #define ESP_BT_CTRL_CONFIG_MAGIC_VAL    0x5A5AA5A5 | ||||
| #define ESP_BT_CTRL_CONFIG_VERSION      0x02103080 | ||||
| #define ESP_BT_CTRL_CONFIG_VERSION      0x02103310 | ||||
|  | ||||
| #define ESP_BT_HCI_TL_MAGIC_VALUE   0xfadebead | ||||
| #define ESP_BT_HCI_TL_VERSION       0x00010000 | ||||
| @@ -96,6 +96,7 @@ enum { | ||||
| #ifdef CONFIG_BT_ENABLED | ||||
|  | ||||
| #define BT_CTRL_BLE_MAX_ACT_LIMIT           10  //Maximum BLE activity limitation | ||||
| #define SLAVE_CE_LEN_MIN_DEFAULT             5 | ||||
|  | ||||
| #ifdef CONFIG_BT_CTRL_SCAN_DUPL_TYPE | ||||
| #define SCAN_DUPLICATE_TYPE_VALUE  CONFIG_BT_CTRL_SCAN_DUPL_TYPE | ||||
| @@ -161,6 +162,7 @@ enum { | ||||
|     .mesh_adv_size = MESH_DUPLICATE_SCAN_CACHE_SIZE,                       \ | ||||
|     .coex_phy_coded_tx_rx_time_limit = CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EFF, \ | ||||
|     .hw_target_code = BLE_HW_TARGET_CODE_ESP32C3_CHIP_ECO0,                \ | ||||
|     .slave_ce_len_min = SLAVE_CE_LEN_MIN_DEFAULT,                          \ | ||||
| }; | ||||
|  | ||||
| #else | ||||
| @@ -225,6 +227,7 @@ typedef struct { | ||||
|     uint16_t mesh_adv_size;                 /*!< Mesh adv size for scan duplicate */ | ||||
|     uint8_t coex_phy_coded_tx_rx_time_limit;  /*!< limit on max tx/rx time in case of connection using CODED-PHY with Wi-Fi coexistence */ | ||||
|     uint32_t hw_target_code;                /*!< hardware target */ | ||||
|     uint8_t slave_ce_len_min; | ||||
| } esp_bt_controller_config_t; | ||||
|  | ||||
| /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zwj
					zwj