- Notifications
You must be signed in to change notification settings - Fork7.8k
feat(zigbee): Add check, boolean returns, fix Analog, add optional reset on factoryReset#11153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat(zigbee): Add check, boolean returns, fix Analog, add optional reset on factoryReset#11153
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedMar 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
👋Hello P-R-O-C-H-Y, we appreciate your contribution to this project! 📘 Please review the project'sContributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you haveread and signed theContributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
github-actionsbot commentedMar 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Test Results 76 files 76 suites 13m 27s ⏱️ Results for commit3bebb79. ♻️ This comment has been updated with latest results. |
github-actionsbot commentedMar 20, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
me-no-dev commentedMar 20, 2025
Please format errors like this: esp_err_t err = esp_wifi_set_max_tx_power(power);if (err != ESP_OK) {log_e("Failed to set TX Power: 0x%x: %s", err,esp_err_to_name(err)); } |
104a381 to80eba94CompareUh oh!
There was an error while loading.Please reload this page.
SuGlider commentedMar 27, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@P-R-O-C-H-Y - please review the code in ZigbeeEP.cpp :: Better think and review the whole zigbee code whenever using |
SuGlider left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
From a fast code read, I understand that ZigbeeEP.cpp can cause memory leaks.
It may happen in other code files as well.
I recommend reviewing all places wherenew ormalloc is used.
P-R-O-C-H-Y commentedMar 27, 2025
Thanks@SuGlider, will take a look. |
lucasssvaz left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM
909606a tof5e28e1CompareP-R-O-C-H-Y commentedMar 27, 2025
All done now. |
This reverts commit8cf38c5.
a3b6fe6 intoespressif:masterUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Description of Change
factoryResetmethod now have an optional parameterbool restart, by default its set to TRUE, but if false is passed, the Zigbee will just erase the nvram and the reset or reboot will need to be managed in user sketch. Example of how it can be used is the Temperature Humidity Sleepy example.AnalogSensorEndpoint -> removed AnalogValue, as its not commonly used in any deviceAnalogSensorcompilation warning messageTests scenarios
Related links
Closes#11178