feat(Matter): Adds New Matter Humidity Sensor Endpoint by SuGlider · Pull Request #10703 · espressif/arduino-esp32 (original) (raw)


Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>

GeneralUtils::hexDump() doesn't output anything if the log level is not "VERBOSE". Additionally, it is very CPU intensive, even when it doesn't output anything. So it is much better to not call it at all if not needed.

In a simple program which calls BLECharacteristic::notify() every 50 ms, the performance gain of this little optimization is 37% in release mode (-O3) and 57% in debug mode.

Of course, the "#if ARDUHAL_LOG_LEVEL >= ARDUHAL_LOG_LEVEL_VERBOSE" guard could also be put inside the GeneralUtils::hexDump() function itself. But it's better to put it here also, as it is clearer (indicating a verbose log thing) and it allows to remove the "m_value.getValue().c_str()" call, which is in itself quite CPU intensive.

Calls to BLEUtils::buildHexData() don't output anything when the log level is not "VERBOSE" or "DEBUG". As this function is quite CPU intensive, it is better to not call it when not needed.


Co-authored-by: Lucas Saavedra Vaz 32426024+lucasssvaz@users.noreply.github.com

Co-authored-by: Rodrigo Garcia rodrigo.garcia@espressif.com


Co-authored-by: Rodrigo Garcia rodrigo.garcia@espressif.com Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>

Added custom boards variants from PCBCUPID - GLYPH C3, GLYPHC6 & GLYPHH2 based on ESP32C3, ESP32C6 & ESP32H2


Co-authored-by: srini srinivasanm329@gmail.com Co-authored-by: Jan Procházka 90197375+P-R-O-C-H-Y@users.noreply.github.com Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>


Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>


Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>

For use in sketches as default button


Co-authored-by: Rodrigo Garcia rodrigo.garcia@espressif.com Co-authored-by: Jan Procházka 90197375+P-R-O-C-H-Y@users.noreply.github.com Co-authored-by: Me No Dev me-no-dev@users.noreply.github.com Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Sylvain Quendez sylvain.quendez@gmail.com Co-authored-by: Lucas Saavedra Vaz 32426024+lucasssvaz@users.noreply.github.com Co-authored-by: PCB CUPID 123002577+pcbcupid@users.noreply.github.com Co-authored-by: srini srinivasanm329@gmail.com Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Michael Stegen mstegen@users.noreply.github.com