954227b203
[esp32_ble_tracker] Restart BLE scan after OTA failure ( #15308 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-03-31 23:26:26 +00:00
J. Nick Koston
ffee4c22b3
[esp32_ble] Devirtualize BLE event handler dispatch ( #15310 )
2026-03-30 08:21:58 -10:00
J. Nick Koston
0edc0fd9c8
[esp32_ble_tracker] Migrate to PSA Crypto API for ESP-IDF 6.0 ( #14811 )
2026-03-14 13:17:56 -10:00
J. Nick Koston and Claude Opus 4.6
9371159a7e
[core] Replace custom esphome::optional with std::optional ( #14368 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-04 01:14:05 +00:00
J. Nick Koston
31608543c2
[esp32_ble_tracker] Optimize loop with state change tracking for ~85% CPU reduction ( #13337 )
2026-01-20 17:50:53 -10:00
J. Nick Koston
1bb4be435c
[esp32_ble_tracker, ble_client] Reduce heap allocations with stack-based string formatting ( #12982 )
2026-01-05 07:39:37 -10:00
J. Nick Koston
988b888c63
[ota] Replace std::function callbacks with listener interface ( #12167 )
2025-12-19 11:19:07 -10:00
J. Nick Koston
60ffa0e52e
[esp32_ble_tracker] Replace scanner state callback with listener interface ( #12156 )
2025-11-28 11:27:08 -06:00
J. Nick Koston
9bd9b043c8
[esp32_ble_tracker] Replace std::vector with StaticVector for listeners and clients ( #11173 )
2025-10-11 05:47:42 -10:00
J. Nick Koston
bbef0e173e
[esp32_ble_tracker] Simplify BLE client state machine by removing READY_TO_CONNECT ( #10672 )
2025-09-12 08:54:34 +12:00
J. Nick Koston
5dc691874b
[bluetooth_proxy] Remove unused ClientState::SEARCHING state ( #10318 )
2025-08-29 10:30:14 +12:00
J. Nick Koston
a7786b75a0
[esp32_ble_tracker] Remove duplicate client promotion logic ( #10321 )
2025-08-29 10:14:51 +12:00
J. Nick Koston
ed2b76050b
[bluetooth_proxy] Remove ESPBTUUID dependency to save 296 bytes of flash ( #10213 )
2025-08-13 14:18:53 +12:00
J. Nick Koston
cef39e7c59
[esp32_ble_tracker] Fix false reboots when event loop is blocked ( #10144 )
2025-08-10 04:44:23 -05:00
J. Nick Koston
37a9ad6a0d
[esp32_ble_tracker] Optimize member variable ordering to reduce memory padding ( #10113 )
2025-08-07 03:34:46 -05:00
J. Nick Koston
6d66ddd68d
[bluetooth_proxy][esp32_ble_tracker][esp32_ble_client] Consolidate duplicate logging code to reduce flash usage ( #10097 )
2025-08-07 13:41:03 +12:00
J. Nick Koston
1642d34d29
[esp32_ble_tracker] Simplify state machine guards with helper functions ( #10092 )
2025-08-06 01:03:19 -05:00
J. Nick Koston
b01f03cc24
[esp32_ble_tracker] Refactor loop() method for improved readability and performance ( #10074 )
2025-08-06 14:26:11 +12:00
J. Nick Koston
cfb22e33c9
[esp32_ble_tracker] Add missing USE_ESP32_BLE_DEVICE guard for already_discovered_ member ( #10085 )
2025-08-06 14:22:32 +12:00
J. Nick Koston and Jesse Hills
f7bf1ef52c
[esp32_ble_tracker] Eliminate redundant ring buffer for lower latency ( #10057 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-08-05 13:10:32 +12:00
J. Nick Koston
7c297366c7
[esp32_ble_tracker] Remove unnecessary STOPPED scanner state to reduce latency ( #10055 )
2025-08-04 16:57:59 +12:00
J. Nick Koston
ec2e0c50f1
[bluetooth_proxy] [esp32_ble_tracker] [esp32_ble] Use C++17 nested namespace syntax ( #9825 )
2025-07-24 15:23:45 +12:00
J. Nick Koston
30c4b91697
Remove parsed advertisement support from bluetooth_proxy to save memory ( #9489 )
2025-07-16 13:19:03 +12:00
myhomeiot
cd22723623
Restore access to BLEScanResult as get_scan_result ( #9148 )
2025-06-23 15:42:20 +12:00
J. Nick Koston and Copilot
2e11e66db4
Optimize bluetooth_proxy memory usage on ESP32 ( #9114 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-19 13:11:13 +12:00
J. Nick Koston
95544e489d
Use smaller atomic types for ESP32 BLE Tracker ring buffer indices ( #9106 )
2025-06-19 12:10:50 +12:00
J. Nick Koston
61a558a062
Implement a lock free ring buffer for BLEScanResult to avoid drops ( #9087 )
2025-06-16 08:53:45 +12:00
J. Nick Koston
07cf6e723b
Fix unbound BLE event queue growth and reduce memory usage ( #9052 )
2025-06-15 04:45:41 +00:00
J. Nick Koston
ddb986b4fa
Improve batching of BLE advertisements for better airtime efficiency ( #8778 )
2025-05-14 04:34:33 +00:00
J. Nick Koston and Jesse Hills
45d019a7e4
Improve BLE Connection Reliability by Enabling Software Coexistence ( #8683 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-09 12:18:19 +12:00
Jesse Hills
ecb91b0101
[bluetooth_proxy] Allow changing active/passive via api ( #8649 )
2025-04-29 12:43:55 +00:00
J. Nick Koston
97823ddd16
Rewrite BLE scanner to use a state machine ( #8601 )
2025-04-22 08:09:28 -10:00
J. Nick Koston
fbf00f0af4
Fix BLE connection loop caused by timeout and pending disconnect race ( #8597 )
2025-04-22 21:17:09 +12:00
J. Nick Koston
6f2bf4ec4c
Fix bluetooth race when disconnect called while still connecting ( #8297 )
2025-02-26 09:13:30 +13:00
tomaszduda23 and J. Nick Koston
45beea68eb
[ble_client, bluetooth_proxy, esp32_ble_client, esp32_ble_tracker] fix ble proxy stop working ( #7901 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2024-12-22 19:49:04 -10:00
Jesse Hills
cefbfb75bd
[esp32_ble] Add disconnect as a virtual function to `ESPBTClient` ( #7705 )
2024-10-31 05:46:35 -05:00
Tomer
78d0e0baae
Improve manufacturer data tracing to identify BLE devices a bit easie… ( #7332 )
2024-09-13 12:56:04 +12:00
chbmuc and Jesse Hills
d0120cefd2
Add IRK support to ble_rssi ( #6422 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-05-09 15:02:43 +12:00
Edward Firmo
6876c65eda
Define USE_PSRAM ( #6526 )
2024-04-15 17:13:31 +12:00
Rodrigo Martín and Jesse Hills
d5aeb32ca6
feat: Add ESP32 BLE enable/disable automations ( #5616 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-11-06 15:54:39 +13:00
J. Nick Koston
e6834f25ed
Fix bulk and single Bluetooth parser coexistence ( #5073 )
2023-07-10 09:08:46 +12:00
Jesse Hills
ce13979690
Bluetooth Proxy: Raw bundled advertisements ( #4924 )
2023-06-09 07:41:09 +12:00
5e6665494d
Use PSRam for BLE scan results. ( #4486 )
...
* Use PSRam for BLE scan results.
* Format Document
* Use generic define `CONFIG_SPIRAM`.
* Formatting changes.
* Memory allocation is allowed to fail.
* Use mark_failed instead of abort.
---------
Co-authored-by: Your Name <you@example.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-08 18:23:02 +00:00
Jesse Hills
4aac76c549
Refactor esp32_ble_tracker to use esp32_ble core ble setup code ( #4173 )
2023-01-25 14:36:30 +13:00
J. Nick Koston
3b2bbd306f
Detect BLE stack unrecoverable state ( #4128 )
2022-12-06 07:42:51 +13:00
8414bb9a7a
Active BLE connection v3 ( #4113 )
...
Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com >
Co-authored-by: Maurice Makaay <account+github@makaay.nl >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-11-30 07:53:32 +13:00
J. Nick Koston and Jesse Hills
73c82862cf
Improve reliability of bluetooth active connections ( #4049 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-11-29 08:15:40 +13:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Jesse Hills
0e66c899ce
Allow multiple bluetooth proxy connections ( #3971 )
2022-11-02 23:02:33 +13:00
Jesse Hills
22e0a944c8
Update bluetooth proxy limit as soon as connection requested ( #3935 )
2022-10-25 12:54:10 +13:00