-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TE6] Read Ethernet Network Diagnostic attributes from platform at run-time #9587
Conversation
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.
Approved, however with the note that needing to copy&paste the implementation between all-clusters-app and lighting-app makes me sad:
- other examples will NOT have this
- this is a 'base cluster' so I would rather expect our code to have this working with as simple as some 'enableEthernetDiagnostics' call in main in an example app. Copy&pasting of 100 lines of code should not be required.
Size increase report for "esp32-example-build" from 2b2622f
Full report output
|
These implementations are platform specific code and currently different examples do not share the code for this part. We do have a lot of dup in this area, need to figure out a common solution to address all of them together. We may need to reactor the current example architecture to achieve this goal. Investigated more, currently each example has its own zap file, and manage its attribute by itself, this implementation is the external attribute callbacks and need to be added to the example which enable the attribute as 'External'. |
Problem
What is being fixed? Examples:
Change overview
Testing
How was this tested? (at least one bullet point required)