Skip to content

Pin ESP-IDF 5.5.2.260206 to fix BLE scanning regression#158

Merged
bdraco merged 3 commits intomainfrom
fix-ble-scanning-regression
Feb 12, 2026
Merged

Pin ESP-IDF 5.5.2.260206 to fix BLE scanning regression#158
bdraco merged 3 commits intomainfrom
fix-ble-scanning-regression

Conversation

@bdraco
Copy link
Member

@bdraco bdraco commented Feb 10, 2026

Summary

  • Pin ESP-IDF to the 5.5.2.260206 release across all proxy configurations to fix BLE scanning silently dying after hours/days (HCI command timeout opcode 0x200c)
  • The fix is in the updated BT controller binary included in the 260206 release
  • This is a temporary workaround until ESPHome 2026.2.0 ships with the updated ESP-IDF version by default

Fixes #157
Related: esphome/esphome#13560
See also: esphome/esphome#13883

The BT controller binary in ESP-IDF 5.5.2 has a bug that causes BLE
scanning to silently die after hours/days with an HCI command timeout
(opcode 0x200c). The 260206 release includes a fixed controller blob.

This is a temporary workaround until ESPHome 2026.2.0 ships with the
updated ESP-IDF version by default.

Fixes esphome/esphome#13560
@bdraco
Copy link
Member Author

bdraco commented Feb 12, 2026

Working fine for 2 days on test devices. Unlike the main ESPHome codebase (esphome/esphome#13883), the bluetooth proxy configs always have GATTS enabled so no workaround is needed for the gatt_main.c compile bug in the 260206 release.

I hate to ship a patched release like 260206, but the primary function of these devices is Bluetooth proxying and it's clearly broken for a large number of users. Pinning to 5.5.2 + the patch is the right call here.

@bdraco bdraco merged commit 9b40f7a into main Feb 12, 2026
19 checks passed
@bdraco bdraco deleted the fix-ble-scanning-regression branch February 12, 2026 13:26
@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESP32 Proxy looses all connections

1 participant