Giter Club home page Giter Club logo

Comments (2)

paulr34 avatar paulr34 commented on July 18, 2024

@brdandu would know best about this

from zap.

brdandu avatar brdandu commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.