Skip to content
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

Adding exceptions to if_basic_attribute #975

Merged

Conversation

brdandu
Copy link
Collaborator

@brdandu brdandu commented Mar 22, 2023

Adding exceptions to if_basic_attribute
Github: ZAP#898

@codecov-commenter
Copy link

Codecov Report

Merging #975 (de639e8) into master (feb352c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #975   +/-   ##
=======================================
  Coverage   66.47%   66.48%           
=======================================
  Files         156      156           
  Lines       16953    16958    +5     
  Branches     3682     3686    +4     
=======================================
+ Hits        11270    11275    +5     
  Misses       5683     5683           
Impacted Files Coverage Δ
...nerator/matter/controller/java/templates/helper.js 67.13% <100.00%> (+0.59%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@brdandu brdandu merged commit 23049cd into project-chip:master Mar 22, 2023
@@ -28,6 +28,7 @@ const zclUtil = require(zapPath + 'util/zcl-util.js');

const characterStringTypes = ['CHAR_STRING', 'LONG_CHAR_STRING'];
const octetStringTypes = ['OCTET_STRING', 'LONG_OCTET_STRING'];
const basicAttributeExceptionList = ['vendor_id'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this an exception ... we would want a comment explaining.

I cannot figure out why vendor_id, fabric_idx and group_id are not basic and had to code this into project-chip/connectedhomeip#25786 ....

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is an existing problem may it be jinja or handlebar templates. I believe the list is a lot longer than that. 'ActionId', 'FabricIndex', 'Percent', 'EndpointId', 'GroupId', 'VendorId', 'Percent100ths', 'ClusterId', 'AttributeId', 'FieldId', 'EventId', 'CommandId', 'TransactionId', 'DeviceTypeId', 'StatusCode', 'DataVersion', 'EventNumber', 'FabricId', 'NodeId'

@tecimovic tecimovic mentioned this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants