* feat(asyncudp): add all current keywords to the list
* feat(asyncudp): add license information to the source code
* feat(asyncudp): add license information to the source code
* feat(asyncudp): add license information to the source code
* feat(asyncudp): add license information to the source code
* feat(asyncudp): add license information to the source code
* feat(asyncudp): revert license information to the source code
* feat(asyncudp): revert license information to the source code
* feat(asyncudp): revert license information to the source code
* feat(asyncudp): revert license information to the source code
* feat(asyncudp): revert license information to the source code
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(zigbee): Add connected and minor fixes, example update
* fix(example): Use correct API call for connected
* fix(zigbee): Increase timeout and add semaphore to begin
* feat(zigbee): Add option to select debug libs for zigbee
* fix(example): fix warning by double percentage symbol
* fix(example): Fix serial prints for Windows os
Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
* ci(pre-commit): Apply automatic fixes
* fix(example): Fix precommit spelling
---------
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>
* feat(matter): add new endpoint - color temperature light
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* feat(matter): adjust preferences labels in matter examples
* feat(matter): adjust preferences labels in matter examples
* fix(matter_example): extra blank space in code added by mistake
* feat(matter_example): use const char * instead of #define
* feat(matter_example): use const char * instead of #define
* feat(matter_example): change Preferences names
* fix(matter_example): missing semicolon in code
* fix(zigbee): Bump zigbee version and use 1.6.0 (#10563)
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
* fix(zigbee): Add require public for zigbee libs
* fix(zigbee): Guard the Zigbee library
* fix(zigbee): Fix removed cluster_role attribute (#10576)
* fix(hosted): Update hosted configuration
* fix(hosted): Fix Hosted deinit and protect reinit for now
* IDF release/v5.3 a0f798cf
* IDF release/v5.3 a0f798cf
---------
Co-authored-by: Jan Procházka <90197375+P-R-O-C-H-Y@users.noreply.github.com>
* fix(build): Allow Arduino to compile in IDF without components
This adds guards for the rest of the extra components
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* fix(wifi): Fix requirements and guards for hosted Wi-Fi
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
* feat(matter): source code folder organization
* feat(matter): new matter endpoint dimmable light
* feat(matter): dimmable friend class and adjusts log levels
* feat(matter): adds new folder and source code to cmakelists.txt
* fix(matter): identation in cmakelists.txt
* feat(matter): adds license disclaimer to all source code
* feat(matter): example code simplification
* feat(matter): make it work with rgb and analog led
* feat(matter): single user callback based on lambda function
* feat(matter): commentaries and code improvement. update() and callbacks added.
* feat(matter): adde new keywords to arduino settings
* feat(matter): example code adjustment to use improved api
* fix(matter): it shuold work even when no callback is set
* feat(matter): matter.h includes all possible endpoint header files
* feat(matter): adjusts all examples to only include matter.h
* fix(matter): double declaration of ret - var scope issue
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* lib Network: add cpp syntax to structs
* [Network] deprecate NetworkEvents::removeEvent() for std::function callbacks
removing event callback via std::function pointer does not work as expected for lambdas (issue #10365)
here mark NetworkEvents::removeEvent(NetworkEventFuncCb cbEvent, arduino_event_id_t event = ARDUINO_EVENT_MAX)
as deprecated in favor of removing by callback's id
for NetworkEvents::onEvent remove checking for dublicate event handler, this does not work for lambdas too
remove NetworkEvents::find methods as unnecessary
move cbEventList container inside the class
declare NetworkEventCbList_t as a cpp struct with constructor, allows using std::vector.emplace() when adding new items to container
optimize NetworkEvents::remove() calls to use erase-remove idiom for std::vector
* [Network] hide event task under private member of NetworkEvents class
prevent checkForEvent loop to be callable from outside the task's thread
* refactor(NetworkEvents) code polishing and comments
- rename NetworkEvents::cbEventList as private member NetworkEvents_cbEventList
- NetworkEvents::getStatusBits() add const qualifier
- turn statics into constexpr
- add indexes to enum::arduino_event_id_t to make events indexing consistent for SOCs with/without WiFi
also leave some index gaps to minimize renumbering on adding new events
- add doxygen help to NetworkEvents:: methods
- declare NetworkEvents::eventName() as static, that could be used without creating class scope
- potential mem leak in postEvent
* refactor(NetworkEvents) add (optional) mutex lock for container operations
provide thread safety for dual core SoCs
since std::mutex brings additional componetns of libstdc++ lib it impacts resulting image size significantly (around 50k)
Might be enabled on-demand if thread-safety is required
* ci(pre-commit): Apply automatic fixes
* fix(spelling): Fix spelling mistakes
---------
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>
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* User can choose if calc MD5 from decrypted file
At the present moment, if user want use OTA, the function calculate MD5 of the decrypted file, but if file is encrypted from source, could be more useful to know the MD5 of the encrypted file.
* md5
* Update Updater.cpp
* Update libraries/Update/src/Update.h
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* Update libraries/Update/src/Update.h
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* Update libraries/Update/src/Updater.cpp
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* Update libraries/Update/src/Updater.cpp
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
* ci(pre-commit): Apply automatic fixes
---------
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>