J. Nick Koston
6cc5f83c71
Merge branch 'already_discovered_missing_guard' into integration
2025-08-04 21:48:48 -10:00
J. Nick Koston
acdcf514b9
[esp32_ble_tracker] Add missing USE_ESP32_BLE_DEVICE guard for already_discovered_ member
2025-08-04 20:14:30 -10:00
J. Nick Koston
655d001d72
address bot comments
2025-08-04 16:26:40 -10:00
J. Nick Koston
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
739cc5ff50
[esp32_ble_tracker] Refactor loop() method for improved readability and performance
2025-08-04 09:24:22 -10: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
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
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
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
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
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
Fabian
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
J. Nick Koston
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
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
Jonathan V
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
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
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
Otto Winter
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
Jesse Hills
07ae8ec553
Remove a whole bunch of deprecated/removed stuff ( #1981 )
2021-07-14 14:42:16 +12:00
buxtronix
02aa75f68c
BLE client support on ESP32 ( #1177 )
...
Co-authored-by: Ben Buxton <bb@cactii.net >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-05-03 11:10:50 +12:00
Otto Winter
465cd3d1f9
Add exposure notifications ( #1135 )
2020-07-14 18:47:17 +02:00
puuu
ba1222eae4
Bluetooth advertising automation ( #995 )
...
* esp32_ble_tracker: introduce UUID comparison function
* ble_presence, ble_rssi: use new UUID comparison function
* esp32_ble_tracker: introduce automation on BLE advertising
* test2.yaml: remove deep_sleep due to firmware size restrictions
2020-04-27 20:57:02 -03:00
sekkr1
426e6a1b46
Fixed iBeacon struct and major and minor parsing ( #987 )
...
Co-authored-by: sekkr1 <dekel.reches@pm.me >
2020-03-11 17:25:54 -07:00