Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 2月 18, 2023
    • Bharat Raju's avatar
      Fixing helpers/queries when dealing with mfg specific options (#939) · bf4f0e0c
      Bharat Raju 创作于
      - Fixing the count of mfg specific attributes such that it accounts for mfg specific attributes from mfg specific clusters
      - Fixing the attribute_mask helper such that it creates a separation between zigbee and matter when creating the mask
      - Fixing the attribute generation such that they have the mfg specific flag correctly
      - Commenting a test for now to unblock zap builds
      - JIRA: ZAPP-1077
      未验证
      bf4f0e0c
  2. 2月 16, 2023
  3. 2月 15, 2023
    • Bharat Raju's avatar
      Minor cleanup for zap's attribute token helpers (#929) · 9c027484
      Bharat Raju 创作于
      - Extending all_user_cluster_generated_attributes to account for an attribute being a string or not
      - Bumping the feature level pointer
      - Cleaning up another query to get endpoint Id properly
      - Adding the comma termination option for strings as well
      - Updating existing helpers with more options
      - Updating format_zcl_string_as_characters_for_generated_defaults to have isOctet and isCommaTerminated options
      - Add in option to if_compare to check if one strings exists within another
      - Update the zap-token version 2 zapt file and tests
      - JIRA: ZAPP-1036
      未验证
      9c027484
  4. 2月 11, 2023
    • Bharat Raju's avatar
      Create token helpers for generating the token files using ZAP (#919) · 65836715
      Bharat Raju 创作于
      - Updated helper-tokens with token_attributes, token_attribute_clusters and token_attribute_endpoints helpers which can be used by the generation templates.
      - Deprecated tokens_context and token_next helpers which were giving incomplete and wrong generation results
      - Updated some existing block helpers in helper-zcl with token information to help with generation
      - Added the queries for token helpers in query-attribute and query-cluster files
      - Updated dbMapping with endpointTypeClusterExtended and endpointTypeAttributeExtended such that map functions can be used in a generic way
      - Adding tests for token helpers
      - JIRA: ZAPP-1036
      未验证
      65836715
  5. 9月 13, 2022
    • Bharat Dandu's avatar
      Updating attribute and command queries to use packageIds such that custom... · 615ca9d5
      Bharat Dandu 创作于
      Updating attribute and command queries to use packageIds such that custom extensions for standard clusters are handled appropriately
      
      - When a cluster extension is added to standard clusters in the form of attributes or commands through custom xml then there is a need to account for packageIds
      - For eg if a user adds a custom xml for the above use case and removes it the generation continues to generate for the added custom xml since it is not checking for removed packages.
      - Github: ZAP#698
      615ca9d5
  6. 9月 10, 2022
  7. 8月 16, 2022
    • Bharat Dandu's avatar
      Switching to use templateUtil.ensureZclPackageIds instead of... · f738a4fd
      Bharat Dandu 创作于
      Switching to use templateUtil.ensureZclPackageIds instead of templateUtil.ensureZclPackageId to handle the custom xml generation which is not being accounted for currently when loading custom xml from the UI
      
      Updating helper-endpointconfig, types and zcl-util to use packageIds instead of packageId to handle custom xml
      
      - Updating one of the helper tests to have packageIds as well just like the packageId
      
      Switching to packageIds in a session to resolve the custom xml addition use case
      
      - Switching to packageIds in query-data-type-discriminator.js, zcl-loader.js to make sure we have the data type discriminators defined from standard xml for the custom xml
      - Adding known packages to queries related to query-loader, zcl-loader-silabs to handle custom xml additions
      
      Switching to packageIds and formatting the sql queries
      
      Switching to packageIds for enums, bitmaps and structs such that custom xml additions are accounted for and removing cache for query-atomic because past testing in the local machine showed not using cache was faster.
      
      Adding tests for custom xml generation
      
      Updating api doc
      
      Cleaning up function descriptions and fixing the test failures related to automaticallyCreateFields being called for undefined
      Github: ZAPP#622
      
      Switching to use ensureZclPackageIds instead of ensureZclPackageId for handling custom xml correctly in matter
      
      Cleaning up docs and typos
      
      Using dbApi.toInClause for the SQL IN clauses such that the queries don't break when we internationalize to different languages
      
      Gihub: ZAP#622
      f738a4fd
  8. 7月 01, 2022
    • Bharat Raju's avatar
      Removing unecessary columns being pulled for the queries (#564) · 8e05bc31
      Bharat Raju 创作于
      Returning from insertDataType just like the other insert functions
      Adding cluster id since it is being used by our code.
      Removing dbcache usage since it seems to slow down the generation based on the following statistics
      Upon generating z3Light app with dbcache: Average time taken across 5 runs: 24.8812
      Upon generating z3Light app without dbcache: Average time taken across 5 runs: 19.272
      These changes are saving around 5s locally
      Adding the command argument count to the command queries to avoid additional sql calls for finding out the count within a block helper to reduce the complexity of the template
      Bumping the feature level for zap
      JIRA: EMZIGBEE-9385
      未验证
      8e05bc31
  9. 6月 06, 2022
  10. 5月 12, 2022
    • Jing T's avatar
      Enforce zigbee shared cluster logic (#490) · 116fa1cc
      Jing T 创作于
      Align shared Cluster attribute/command configurations across endpoint for Zigbee
      Within Zigbee, special rules apply when a cluster is enabled across multiple endpoints.
      For the applied cluster, the attributes / commands configuration state are global across endpoints.
      This behavior is toggled via
      "generator": {"shareClusterStatesAcrossEndpoints": "true"} in SDK gen-template files.
      
      BUG: ZAPP-715
      Revert "minor query api cleanup", reverts commit 945a1546f6b5819f19c3b16a312fa9e98268446a.
      bump featureLevel for cluster attribute/command generation diff between zigbee/matter (#500)
      116fa1cc
    • Jing Teng's avatar
  11. 5月 11, 2022
    • Jing T's avatar
      enforce zigbee shared cluster logic (#490) · 5664c50b
      Jing T 创作于
      Align shared Cluster attribute/command configurations across endpoint for Zigbee
      
      Within Zigbee, special rules apply when a cluster is enabled across multiple endpoints.
      For the applied cluster, the attributes / commands configuration state are global across endpoints.
      This behavior is toggled via 
      "generator": {"shareClusterStatesAcrossEndpoints": "true"} in SDK gen-template files.
      
      BUG: ZAPP-715
      未验证
      5664c50b
  12. 1月 20, 2022
  13. 11月 30, 2021
  14. 11月 14, 2021
  15. 11月 11, 2021
  16. 10月 16, 2021
  17. 10月 05, 2021
  18. 10月 04, 2021
  19. 9月 18, 2021
  20. 9月 15, 2021
  21. 9月 02, 2021
  22. 8月 31, 2021
  23. 8月 05, 2021
  24. 7月 27, 2021
  25. 7月 24, 2021
  26. 6月 20, 2021
  27. 6月 19, 2021
  28. 6月 02, 2021
  29. 6月 01, 2021
加载中