-
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
[WiFi Diagnostics Cluster] Enable WiFi Network Diagnostics cluster on the controllers #7365
[WiFi Diagnostics Cluster] Enable WiFi Network Diagnostics cluster on the controllers #7365
Conversation
Even if the .zap file says they are enabled? @vivien-apple that sounds odd.... |
This is because the ZAP UI tools does not mark those items as enabled if optional is set to 'true' in xml definition file. With latest version of ZAP UI tools, we can manually enable those items and update the .zap file. |
That sounds like a better approach: the XML should say what the spec says (ideally not just optional but what feature enables it), the UI should expose the toggling ability, we should turn on which things we want in the UI, and the zap file should capture those decisions. |
Yes, the XML does not fully match with the spec, that is the cause of current confusion. |
/rebase |
2 similar comments
/rebase |
/rebase |
Size increase report for "esp32-example-build" from b9dad95
Full report output
|
@yufengwangca This is still changing the XML to mark optional things as non-optional, instead of enabling them in the ZAP UI if we want them enabled. Why are we doing that? That is, why are we not doing the thing #7365 (comment) proposed doing? |
@bzbarsky-apple I am confused, which optional item is marked as non-optional? This is only one item "Current MaxRate" is optional in the spec, this PR marked the items whose Conformance level not set to 'O' as non-optional to align with other XMLs. |
@yufengwangca conflicts :( |
Synced offline, decided to leave items whose Conformance level not set to 'O' nor 'M' optional in XML and enable those items only in ZAP. |
… the controllers (project-chip#7365) * Add WiFiNetworkDiagnostics to helper.js to generate test code in darwin * Update Wifi diagnostics cluster in controller-clusters.zap and all-clusters-app.zap * Update gen folders
Problem
What is being fixed?
WiFi Network Diagnostics cluster is not enabled on the controllers.
Change overview
Testing
How was this tested? (at least one bullet point required)
Run ./scripts/tools/zap_regen_all.py and conform codegen can re-generate the code without error.
Run ./chip-tool and confirm wifinetworkdiagnostics is in the cluster list.