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
Jesse Hills
ed443c6153
Bluetooth Proxy active connections ( #3817 )
2022-10-04 10:45:06 +13:00
Jesse Hills
b3cca5dcb6
Add stop action for ble scanning ( #3799 )
2022-09-14 14:57:45 +12:00
49465223a4
esp32_ble_tracker continuous and one shot scanning modes ( #3649 )
...
Co-authored-by: Jonathan Valdez <@jonofmac>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-09-14 11:10:12 +12:00
Branden Cash
fa1b5117fd
feat: support ble_client that use security w/o pin codes ( #3320 )
2022-04-04 09:35:48 +12:00
myhomeiot
a79c6aa9e0
Added access to ble_scan_result_evt_param as get_scan_result ( #2854 )
2021-12-13 13:08:18 +13:00
Jesse Hills and Otto Winter
6b9c084162
Fix Bluetooth setup_priorities ( #2458 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2021-10-18 09:56:31 +13:00
Jesse Hills
6a5eb43454
Update Airthings BLE ( #2453 )
2021-10-12 11:56:47 +13:00
Otto Winter
aec02afcdc
Fix clang-tidy header filter ( #2385 )
...
* Fix clang-tidy header filter
* Allow private members
* Fix clang-tidy detections
* Run clang-format
* Fix remaining detections
* Fix graph
* Run clang-format
2021-09-24 18:02:28 +02:00
Robert Resch and Oxan van Leeuwen
f1364d4af4
Combine code of xiaomi_miscale and xiaomi_miscale2 ( #2266 )
...
* Combine xiaomi_miscale and xiaomi_miscale2
* check if message contains impedance
* auto detect scale version
* remove xiaomi_miscale2
* fix lint errors
* Apply suggestions from code review
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
* Apply suggestions from code review on old code
* Fix clang-tidy warnings
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-09-22 12:12:55 +02:00