- Notifications
You must be signed in to change notification settings - Fork7.8k
feat(zigbee): Add Write Response Handler + option to allow multi endpoint binding#11817
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedSep 10, 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 commentedSep 10, 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 8s ⏱️ Results for commit93c5e9f. ♻️ This comment has been updated with latest results. |
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.
Pull Request Overview
This pull request introduces support for Zigbee write attribute response handling and adds an option to allow multi-endpoint binding in the Zigbee core. The write response handler enables applications to receive and process attribute write confirmations, while the multi-endpoint binding option (disabled by default) allows endpoints to bind to multiple devices for advanced use cases.
Key changes:
- Added write attribute response handler with callback mechanism
- Introduced multi-endpoint binding configuration option
- Enhanced device binding logic to support multiple endpoints when enabled
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ZigbeeHandlers.cpp | Added write attribute response handler function and callback registration |
| ZigbeeEP.h | Added virtual zbWriteAttributeResponse method for endpoint implementations |
| ZigbeeCore.h | Added multi-endpoint binding configuration methods |
| ZigbeeCore.cpp | Enhanced binding logic with multi-endpoint support and configuration initialization |
Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
github-actionsbot commentedSep 10, 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]
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
4ce23ce intomasterUh oh!
There was an error while loading.Please reload this page.
Description of Change
This pull request introduces support for multi-endpoint binding in the Zigbee core, and adds handling for Zigbee write attribute response messages. The changes improve the flexibility of Zigbee device binding and enhance attribute response handling, making it easier to support advanced Zigbee features. The
multi-endpoint bindingoption is disabled by default, to keep backward compatibility and also its not standard for Smart Home devices when using HA, only for specific scenarios.Test Scenarios
Tested using custom example with 2 ESP-C6 (Coordinator + End Device)
Related links