mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	[esp32_ble] Increase GATT connection retry count to use full timeout window
This commit is contained in:
		| @@ -280,10 +280,6 @@ async def to_code(config): | |||||||
|             add_idf_sdkconfig_option( |             add_idf_sdkconfig_option( | ||||||
|                 "CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT", timeout_seconds |                 "CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT", timeout_seconds | ||||||
|             ) |             ) | ||||||
|         else: |  | ||||||
|             # Default to 20 seconds if not specified |  | ||||||
|             add_idf_sdkconfig_option("CONFIG_BT_BLE_ESTAB_LINK_CONN_TOUT", 20) |  | ||||||
|  |  | ||||||
|             # Increase GATT client connection retry count for problematic devices |             # Increase GATT client connection retry count for problematic devices | ||||||
|             # Default in ESP-IDF is 3, we increase to 10 for better reliability with |             # Default in ESP-IDF is 3, we increase to 10 for better reliability with | ||||||
|             # low-power/timing-sensitive devices |             # low-power/timing-sensitive devices | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user