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

Feature/feature map attribute and device type conformance/zapp 1346 #1300

Conversation

brdandu
Copy link
Collaborator

@brdandu brdandu commented Apr 8, 2024

This feature provides automatic setting of feature map attribute based on mandatory features from the device type conformance. The changes should also warn existing app users with warnings during .zap file open

@brdandu
Copy link
Collaborator Author

brdandu commented Apr 10, 2024

Corresponding CHIP repo PR: project-chip/connectedhomeip#32930

@brdandu brdandu force-pushed the feature/featureMapAttributeAndDeviceTypeConformance/ZAPP-1346 branch 2 times, most recently from 5d174ab to ec701ac Compare April 11, 2024 14:34
@brdandu brdandu force-pushed the feature/featureMapAttributeAndDeviceTypeConformance/ZAPP-1346 branch from cb99976 to 7fa6886 Compare April 15, 2024 14:43
…pe features per endpoint

- Creating the feature table and populating it with data from the xml
- Creating the data_type_feature table which references to data type cluster and feature ids. Populating it the same way as the data type attributes and data type commands. For now only adding those features which are of mandatory conformance for now.
- Adding selectDeviceTypeFeaturesByEndpointTypeIdAndClusterId to extract the features per endpoint type and cluster for setting the featureMap attribute appropriately.
- Using the above function from query-config#insertOrUpdateAttributeState to update the featureMap attribute accordingly when its value is 0.
- Start reporting featureMap attribute value warnings for each endpoint based on device type conformance
- Adding unit tests for the device type cluster compliance for feature map attribute

- Adding features in cluster xml as a bitmap such that bitmap name='feature' can be removed from the xml in favor of features which holds the featuremap information as well as defines the feature bitmap such that there is no duplicate information between features and bitmap name=feature

- Showing the correct UI based on category from json files when there is only one zcl and template package and user does not have any packages to select from.

- Making sure the same named feature codes which exist on different bits of the cluster are handled correctly
- Updating the zap schema as per the new changes
- JIRA: ZAPP-1346
@brdandu brdandu force-pushed the feature/featureMapAttributeAndDeviceTypeConformance/ZAPP-1346 branch from 3e60df7 to 2498871 Compare April 15, 2024 17:38
@brdandu brdandu merged commit b3ff626 into project-chip:master Apr 15, 2024
13 checks passed
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.

2 participants