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
0990a9c2b0
[esp32_ble] Avoid heap allocation in ESPBTUUID::from_raw for string literals ( #12980 )
2026-01-05 07:39:24 -10:00
J. Nick Koston
81e91c2a8f
[esp32_ble] Add stack-based UUID formatting to avoid heap allocations ( #12510 )
2025-12-19 11:18:32 -10:00
J. Nick Koston
f10c361454
[esp32_ble] Refactor ESPBTUUID comparison with direct returns and memcmp ( #11074 )
2025-10-08 09:34:08 +13:00
J. Nick Koston
27456c1370
[esp32_ble] Refactor ESPBTUUID::from_raw to use parse_hex helpers ( #11073 )
2025-10-08 09:32:47 +13:00
J. Nick Koston and Jesse Hills
1d5a3b647d
[esp32_ble] Optimize BLE hex formatting to eliminate sprintf dependency ( #10714 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-09-15 12:04:45 +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
ec2e0c50f1
[bluetooth_proxy] [esp32_ble_tracker] [esp32_ble] Use C++17 nested namespace syntax ( #9825 )
2025-07-24 15:23:45 +12:00
Keith Burzinski
8439232b11
[esp32_ble] clang-tidy fixes for #7822 ( #7883 )
2024-11-28 11:18:43 +13:00
Tomer
78d0e0baae
Improve manufacturer data tracing to identify BLE devices a bit easie… ( #7332 )
2024-09-13 12:56:04 +12:00
Jimmy Hedman
3eff7e76aa
Prepare some components for idf >= 5 ( #5061 )
2023-07-27 00:18:02 -05: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
Otto Winter and Jesse Hills
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
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-13 18:11:27 +02:00
Stefan Agner
f0d9ad6a4e
Add TAG to all compile units ( #2060 )
...
When using static TAG is only valid in the current compile unit. For
some reason it seems that the current ESP8266/ESP32 compiler use the
instance from ble.cpp, but it seems that this causes issues with newer
compiler leading to compile time errors like this:
In file included from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal-log.h:164,
from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/esp32-hal.h:71,
from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:36,
from src/esphome/core/esphal.h:3,
from src/esphome/core/helpers.h:10,
from src/esphome/components/esp32_ble/ble_uuid.h:3,
from src/esphome/components/esp32_ble/ble_advertising.cpp:5:
src/esphome/components/esp32_ble/ble_advertising.cpp: In member function 'void esphome::esp32_ble::BLEAdvertising::start()':
src/esphome/components/esp32_ble/ble_advertising.cpp:64:14: error: 'TAG' was not declared in this scope
ESP_LOGE(TAG, "esp_ble_gap_config_adv_data failed (Advertising): %d", err);
^~~
2021-07-24 03:53:59 +12:00
Jesse Hills
0426be9280
Fixes for BLE/improv ( #1878 )
2021-06-09 08:45:51 +12:00
Jesse Hills and Paulus Schoutsen
a70a205ace
Improv - BLE WiFi provisioning ( #1807 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2021-06-08 11:56:21 +12:00