Comments (2)
@brdandu would know best about this
from zap.
So the warnings are actually coming from the Matter XML. Whatever is the default state of the device type. In this case it is
<deviceType> <name>MA-air-quality-sensor</name> <domain>CHIP</domain> <typeName>Matter Air Quality Sensor</typeName> <profileId editable="false">0x0103</profileId> <deviceId editable="false">0x002C</deviceId> <class>Simple</class> <scope>Endpoint</scope> <clusters lockOthers="true"> <include cluster="Descriptor" client="false" server="true" clientLocked="true" serverLocked="true"></include> <include cluster="Identify" client="false" server="true" clientLocked="true" serverLocked="true"> <requireAttribute>IDENTIFY_TIME</requireAttribute> <requireAttribute>IDENTIFY_TYPE</requireAttribute> <requireCommand>Identify</requireCommand> </include> <include cluster="Air Quality" client="false" server="true" clientLocked="true" serverLocked="true"></include> <include cluster="Temperature Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Relative Humidity Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Carbon Monoxide Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Carbon Dioxide Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Nitrogen Dioxide Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Ozone Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Formaldehyde Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="PM1 Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="PM2.5 Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="PM10 Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Radon Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> <include cluster="Total Volatile Organic Compounds Concentration Measurement" client="false" server="true" clientLocked="true" serverLocked="false"></include> </clusters> </deviceType>
which includes Radon Concentration Measurement server even though it may not be mandatory. ZAP wants to assist the user about what is coming from the xml. We can look into improving the warning system to also say Radon Concentration Measurement server cluster is required by default but not mandatory if that improves the user experience.
from zap.
Related Issues (20)
- Does not generate any files HOT 11
- Add ability to open notifications pane along with the endpoint UI
- "zap convert" and running the ZAP GUI produce different .zap file output HOT 1
- About Profile ID 0x0103 in ZAP tool HOT 1
- ZAP showing warning when enabled and disabled a non required cluster
- ZAP editor should support signed data types
- ZAP bombs out with unhelpful message if derived xml clusters (e.g. xyz-mode-cluster.xml is not in mode-base-cluster.xml) HOT 1
- Add a way to reuse cluster configurations in a form of include files HOT 1
- Compile time error for Struct with isFabricScoped attribute, when Struct is used as command argument type
- Update the CI actions, since they are becoming deprecated
- Disabling optional clusters results in a :red_square: error HOT 1
- How to handle "There are multiple of ZCL metadata loaded. Please select the one you wish to use with this configuration."? HOT 5
- Rewrite tests using await/async instead of the old .then() patterns
- Features cannot have cluster codes in just like bitmap feature HOT 1
- Open, edit and save a zap file outside the Simplicity Studio environment HOT 1
- types.isFloat is broken HOT 2
- ZAP needs to track endpoint composition types
- Default value handling broken for nullable strings and other situations HOT 1
- profile id is in the endpoint card for Matter HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zap.