Skip to content
代码片段 群组 项目
该项目从 https://github.com/project-chip/zap 镜像。 拉取镜像更新于
  1. 11月 30, 2023
  2. 10月 24, 2023
  3. 10月 13, 2023
  4. 4月 21, 2023
  5. 2月 28, 2023
    • Timotej Ecimovic's avatar
      Unit test reorganization (#954) · f838810b
      Timotej Ecimovic 创作于
      * Cut down unnecessary repeat generations from same source.
      * Break up zigbee tests into individual generations.
      * Split database files.
      * Fix the problem with the result.
      * Clean up some custom package stuff.
      * Consistently name tests.
      * Add another generation for performance analysis.
      * Add a full-th test for performance analysis.
      * Sort out some nuances of the test.
      * Separate each individual file for generation.
      * There is no need to run Zigbee cypress tests twice.
      * Support array for generateOnly option, and limit unit test generation to just what we test.
      * Exclude more generations of things not needed for tests.
      * Restore Matter test data to reasonably recent, and mandate the Matter tests to pass without errors.
      * Add the all-clusters test for Matter.
      * Bring back old matter XML files to keep Cypress fixtures happy.
      * Comment out a code coverage. It was not doing much useful now, so we are commenting it out for now, until we restore it to correct functioning later, using the cache.
      未验证
      f838810b
  6. 2月 04, 2023
    • Evgeny Margolis's avatar
      Added code to enable EventList support for Matter (#914) · fd7e0bfb
      Evgeny Margolis 创作于
      * Added code to enable EventList support for Matter.
      
       - Added new method to extract events from database: selectEndpointClusterEvents()
       - Added new helper functions to construct list (array) of supported event IDs:
         chip_endpoint_generated_event_count()
         chip_endpoint_generated_event_list()
       - Added eventList and eventCount entries to the EmberAfCluster struct
         in the generated endpoint_config.h file
      
      The EventList data is treated similar to CommandList data.
      
      The assumption is that events are always server --> client.
      
      * Removed Unused eventMfgCodes variable in the collectAttributes() function
      
      * Removed casting for generatedEvents in endpoint-config.zapt file
      
      * Updated selectEndpointClusterEvents() function to use existing mapping method dbMapping.map.event
      
      * Updated selectEndpointClusterEvents() to select all supported event types.
      
      * removed unsupported select field in selectEndpointClusterEvents()
  7. 8月 19, 2022
  8. 8月 02, 2022
  9. 7月 29, 2022
  10. 7月 19, 2022
  11. 7月 01, 2022
  12. 6月 23, 2022
    • Timotej Ecimovic's avatar
      Expand package info (#566) · 17f57f09
      Timotej Ecimovic 创作于
      * Clean up some package queries and encapsulate db.
      
      * Fix the loading of templates and zcl packages to include category and description.
      
      * Increase feature level.
      
      * Update generation templates handling with the new columns.
      
      * Update preview and add the template name to the db.
      
      * Update expected electron version to what we actually have.
      未验证
      17f57f09
  13. 6月 06, 2022
    • Jing Teng's avatar
      bugfix for handling of shared Endpoint cluster attribute/command · c37ca743
      Jing Teng 创作于
      * align command/attribute states if an endpoint's newly enabled Cluster is enabled on another endpoint as well.
      * refactor naming
      * remove useless import.
      * clean up deprecated shareConfigsAcrossEndpoints flag via ZAPP-715
      * unit test for zigbee flag existing in gen-template file.
      * unit test for verifying Attribute Reporting tab being copied across endpoints
      
      BUG: ZAPP-715
      c37ca743
  14. 5月 22, 2022
  15. 5月 11, 2022
    • Bharat Dandu's avatar
      - Cleaning up the dotdot xml since it does not have bitmap8 but map8 · b7505f37
      Bharat Dandu 创作于
      - The type EUI64 was not being found because of inconsistency. we use small case when defining types at other places so changing to that
      - Making sure that the zcl loader handles single character types without changing the case
      - In the dotdot loader making sure we read the library.xml file before any of the other xml files
      JIRa: ZAPP-757
      b7505f37
    • Bharat Dandu's avatar
      Making changes required for implementing the new data type schema and making... · 61f0437c
      Bharat Dandu 创作于
      Making changes required for implementing the new data type schema and making sure zap unit tests pass.
      
      - Adding the discriminator to db-mapping. Also adding the query-data-type-discriminator for queries into the discriminator table.
      - Making changes to the enum queries under query-enum to include size and other schema related changes
      - Making changes to query-loader.js, query-zcl.js which reflect the changes required for the new data type schema
      - Making changes to zap schema under zap-schema.sql to include the data_type_cluster table which is required to associate data types to clusters. Also adding some other constraints to other tables.
      - Updating some content in helper-c and helper-zcl and overridable files
      - Updating the zcl-loader-silabs.js and zcl-loader.js, zcl-loader-dotdot.js with respect to the new data type schema
      - Updating all the test meta data files to define ZCLDataTypes for zcl.json files
      - The test have been updated to account for the enum and bitmap data types which now go into the enum and bimap tables instead of the atomic table. So their counts have increased by 2 and 8 respectively.
      - Some minor xml changes which were required for the zap unit tests because of the schema rework.
      
      - JIRA: ZAPP-757
      61f0437c
    • Bharat Dandu's avatar
      Updating the schema for ENUMS and BITMAPS and dealing with the query and data... · 557efc33
      Bharat Dandu 创作于
      Updating the schema for ENUMS and BITMAPS and dealing with the query and data loading aspects based on the new schema
      
      - Adding size to bitmaps and enums in db-mapping.js
      - Updating the enum and bitmap queries as per the new schema in query-bitmap.js and query-enum.js
      - Removing the duplicate tables in query-loader.js for enum_2 to enum and similary for bitmaps as well
      - Updating the zap-schema.sql for data types
      - Updating helpers in helper-zcl.js based on the new schema
      - Using overridable.js to return the right data types for enums and bitmaps in ZUC
      - Updating as_underlying_zcl_type helper such that it continues to return the same output as before with enums and bitmaps in zcl-util.js
      - Cleaning up the old loading mechanism in zcl-loader-silabs.js. Also making sure that the types.xml file is loaded before the other xml files such that some data types do not have missing data type information. The types.xml ile has the atomic type definitions which need to be loaded before hand.
      - Minor xml file updates
      - JIRA: ZAPP-757
      557efc33
    • Bharat Dandu's avatar
      Adding the logic for the new ZCL Type schema. However some tables have been... · 0b4efaf1
      Bharat Dandu 创作于
      Adding the logic for the new ZCL Type schema. However some tables have been duplicated to conserve existing logic. The duplicate tables for enums, bitmaps and structs will be removed in subsequent commits
      
      - Adding better error handling in db-api.js
      - Adding the disciminator, data_type, number, string, bitmap_2, bitmap_field_2, enum_2, enum_item_2, struct_2, struct_item_2 tables which adds to the existing schema in zap-schema.sql
      - Populating the above tables using the added changes in zcl-loader-silabs.js and query-loader.js. The trigger being used to create the above tables is through ZCLDataTypes defined in zcl.json
      - Cleaning up xml
      - JIRA: ZAPP-757
      0b4efaf1
  16. 1月 20, 2022
  17. 12月 15, 2021
  18. 11月 30, 2021
  19. 11月 17, 2021
  20. 11月 11, 2021
  21. 11月 05, 2021
  22. 10月 30, 2021
  23. 10月 16, 2021
  24. 10月 13, 2021
  25. 10月 05, 2021
    • Bharat Dandu's avatar
      Testing mfg specific generation for clusters, commands and attributes · 2cd494e2
      Bharat Dandu 创作于
      - Adding sample extension xml to zap tests which has mfg specific clusters, attributes and commands
      - Fixing cluster index for mfg specific generation
      - Creating a zap file/configuration which has mfg specific clusters, attributes and commands for testing
      - Adding zap-config related testing and the latest version of zap-config.h
      - JIRA: EMZIGBEE-7186
      2cd494e2
  26. 9月 29, 2021
  27. 9月 23, 2021
  28. 9月 18, 2021
加载中