From 559c7d5c4dc0aa0ff7554baabaaba60b0abb4ffd Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Fri, 21 Oct 2022 13:38:11 -0400 Subject: [PATCH] Compile time code generation - add relevant code to all example builds (plus one sample codegen moved) (#23247) * Compile time code generation. Picked PluginApplicationCallbacks because it is simple and added it to a compile-time generated list. The main exercise for this is to make sure we can inject the appropriate calls to compile time generation to all examples. It is not yet perfect as it only involves include directories, however it does a "if it compiles it works, otherwise it fails to compile" approach. Uses codegen.py rather than ZAP for this particular file. For other files, we may chose to use ZAP however for that we have to: - ensure it is stand-alone runnable (likely as an installable app) - figure out any multi-processing conflicts as cmake/gn WILL run build steps in parallel and zap shares a common DB. * Remove PluginApplicationCallbacks.zapt * Restyle * Add idl to build instructions * Disable pylint for now. It looks like pylint is a lot more strict than expected and this was triggered only if we have dependencies * Ensure we run codegen so sanitizer can find generated files * Revert telink changes after master merge: no need for separate codegen anymore as telink now uses standard data model methods * Ensure all needed codegen is done (for clang tidy at least). Tested in linux, may need to adjust darwin * Code review comment: centralize the generator/string for known generators * Undo undesired file creation * Adjust the run_codegen_targets a bit * Undo shellharden: it breaks the script * Add exception on shellharden on run_codegen_targets * Fix clang tidy location for darwin: it uses out/default not out/sanitizers * Add a server cluster to the several_clusters unit test, to validate that we generate server callbacks to * Make bridge generate ONLY client clusters as it reuses the same name of generation * Separate client and server headers for bridge codegen * Resolve bridge: clients have default names, Server headers are separate. This is until we figure out real names * Fix build rules * Do not lint test matter files for spec compliance * Github runners do not use bash by default. Make the conditionals different for lint skipping * Fix operator for lint exception check * Undo typo --- .github/workflows/build.yaml | 8 ++ .github/workflows/lint.yml | 7 ++ .restyled.yaml | 1 + build/chip/chip_codegen.cmake | 70 +++++++++++++++ build/chip/esp32/esp32_codegen.cmake | 45 ++++++++++ .../esp32/main/CMakeLists.txt | 8 +- .../esp32/main/CMakeLists.txt | 8 +- examples/bridge-app/esp32/main/CMakeLists.txt | 6 ++ examples/chef/esp32/main/CMakeLists.txt | 7 +- .../dynamic-bridge-app/bridge-common/BUILD.gn | 3 +- .../esp32/main/CMakeLists.txt | 7 +- .../lighting-app/esp32/main/CMakeLists.txt | 8 +- examples/lock-app/esp32/main/CMakeLists.txt | 13 ++- .../esp32/main/CMakeLists.txt | 6 +- .../esp32/main/CMakeLists.txt | 6 +- .../pigweed-app/esp32/main/CMakeLists.txt | 4 +- .../esp32/main/CMakeLists.txt | 9 +- scripts/codegen.py | 31 +------ scripts/idl/BUILD.gn | 18 ++-- scripts/idl/generators/bridge/__init__.py | 9 +- scripts/idl/generators/cpp/__init__.py | 0 .../PluginApplicationCallbacksHeader.jinja | 9 ++ .../generators/cpp/application/__init__.py | 61 +++++++++++++ scripts/idl/generators/registry.py | 59 ++++++++++++ scripts/idl/test_generators.py | 6 +- scripts/idl/tests/available_tests.yaml | 15 ++-- .../idl/tests/inputs/several_clusters.matter | 20 +++++ .../{DemoCluster.h => DemoClusterServer.h} | 0 .../{DemoCluster.h => DemoClusterServer.h} | 0 .../bridge/BridgeClustersImpl.h | 9 ++ .../bridge/{First.h => FirstServer.h} | 0 .../bridge/{Second.h => SecondServer.h} | 0 .../outputs/several_clusters/bridge/Third.h | 5 +- .../several_clusters/bridge/ThirdServer.h | 29 ++++++ .../cpp-app/PluginApplicationCallbacks.h | 10 +++ .../bridge/{MyCluster.h => MyClusterServer.h} | 0 scripts/run_codegen_targets.sh | 56 ++++++++++++ src/app/chip_data_model.cmake | 31 ++++++- src/app/chip_data_model.gni | 24 +++++ src/app/util/util.cpp | 4 +- src/app/zap-templates/app-templates.json | 5 -- .../callbacks/PluginApplicationCallbacks.zapt | 8 -- .../PluginApplicationCallbacks.h | 88 ------------------ .../PluginApplicationCallbacks.h | 83 ----------------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 51 ----------- .../PluginApplicationCallbacks.h | 45 ---------- .../PluginApplicationCallbacks.h | 49 ---------- .../PluginApplicationCallbacks.h | 52 ----------- .../PluginApplicationCallbacks.h | 51 ----------- .../PluginApplicationCallbacks.h | 52 ----------- .../PluginApplicationCallbacks.h | 48 ---------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 53 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 51 ----------- .../PluginApplicationCallbacks.h | 52 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 55 ------------ .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 48 ---------- .../PluginApplicationCallbacks.h | 89 ------------------- .../PluginApplicationCallbacks.h | 50 ----------- .../PluginApplicationCallbacks.h | 52 ----------- .../PluginApplicationCallbacks.h | 41 --------- .../PluginApplicationCallbacks.h | 51 ----------- .../PluginApplicationCallbacks.h | 49 ---------- .../PluginApplicationCallbacks.h | 30 ------- .../PluginApplicationCallbacks.h | 38 -------- .../PluginApplicationCallbacks.h | 42 --------- .../PluginApplicationCallbacks.h | 71 --------------- .../PluginApplicationCallbacks.h | 71 --------------- .../PluginApplicationCallbacks.h | 45 ---------- .../PluginApplicationCallbacks.h | 43 --------- .../PluginApplicationCallbacks.h | 43 --------- .../PluginApplicationCallbacks.h | 51 ----------- .../PluginApplicationCallbacks.h | 64 ------------- .../PluginApplicationCallbacks.h | 67 -------------- .../PluginApplicationCallbacks.h | 49 ---------- 84 files changed, 548 insertions(+), 2301 deletions(-) create mode 100644 build/chip/chip_codegen.cmake create mode 100644 build/chip/esp32/esp32_codegen.cmake create mode 100644 scripts/idl/generators/cpp/__init__.py create mode 100644 scripts/idl/generators/cpp/application/PluginApplicationCallbacksHeader.jinja create mode 100644 scripts/idl/generators/cpp/application/__init__.py create mode 100644 scripts/idl/generators/registry.py rename scripts/idl/tests/outputs/cluster_struct_attribute/bridge/{DemoCluster.h => DemoClusterServer.h} (100%) rename scripts/idl/tests/outputs/global_struct_attribute/bridge/{DemoCluster.h => DemoClusterServer.h} (100%) rename scripts/idl/tests/outputs/several_clusters/bridge/{First.h => FirstServer.h} (100%) rename scripts/idl/tests/outputs/several_clusters/bridge/{Second.h => SecondServer.h} (100%) create mode 100644 scripts/idl/tests/outputs/several_clusters/bridge/ThirdServer.h create mode 100644 scripts/idl/tests/outputs/several_clusters/cpp-app/PluginApplicationCallbacks.h rename scripts/idl/tests/outputs/simple_attribute/bridge/{MyCluster.h => MyClusterServer.h} (100%) create mode 100755 scripts/run_codegen_targets.sh delete mode 100644 src/app/zap-templates/templates/app/callbacks/PluginApplicationCallbacks.zapt delete mode 100644 zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/all-clusters-minimal-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/bridge-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_colortemperaturelight_hbUnzYVeyn/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_doorlock_aNKYAreMXE/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_extendedcolorlight_8lcaaYJVAa/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_fan_7N2TobIlOX/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/contact-sensor-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/dynamic-bridge-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/light-switch-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/lighting-app/nxp/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/lighting-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/lock-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/log-source-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/ota-provider-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/ota-requestor-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/placeholder/app1/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/placeholder/app2/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/pump-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/pump-controller-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/temperature-measurement-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/thermostat/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/tv-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/tv-casting-app/zap-generated/PluginApplicationCallbacks.h delete mode 100644 zzz_generated/window-app/zap-generated/PluginApplicationCallbacks.h diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a2cbe7d1fbfdf7..1773ffc4f07ea4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -210,6 +210,10 @@ jobs: BUILD_TYPE=sanitizers scripts/build/gn_gen.sh --args="$GN_ARGS" --export-compile-commands BUILD_TYPE=sanitizers scripts/tests/gn_tests.sh done + - name: Ensure codegen is done for sanitize + timeout-minutes: 45 + run: | + ./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/sanitizers" - name: Clang-tidy validation timeout-minutes: 45 run: | @@ -401,6 +405,10 @@ jobs: scripts/run_in_build_env.sh "ninja -C ./out/$BUILD_TYPE" BUILD_TYPE=$BUILD_TYPE scripts/tests/gn_tests.sh done + - name: Ensure codegen is done for sanitize + timeout-minutes: 45 + run: | + ./scripts/run_in_build_env.sh "./scripts/run_codegen_targets.sh out/default" - name: Clang-tidy validation timeout-minutes: 45 run: | diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6c980a2dbd1445..9eebd41beb3384 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -97,6 +97,13 @@ jobs: if [ "$idl_file" = './examples/thermostat/thermostat-common/thermostat.matter' ]; then continue; fi if [ "$idl_file" = './examples/window-app/common/window-app.matter' ]; then continue; fi + # Test files are intentionally small and not spec-compilant, just parse-compliant + if [ "$idl_file" = "./scripts/idl/tests/inputs/cluster_struct_attribute.matter" ]; then continue; fi + if [ "$idl_file" = "./scripts/idl/tests/inputs/global_struct_attribute.matter" ]; then continue; fi + if [ "$idl_file" = "./scripts/idl/tests/inputs/optional_argument.matter" ]; then continue; fi + if [ "$idl_file" = "./scripts/idl/tests/inputs/several_clusters.matter" ]; then continue; fi + if [ "$idl_file" = "./scripts/idl/tests/inputs/simple_attribute.matter" ]; then continue; fi + ./scripts/run_in_build_env.sh "./scripts/idl_lint.py --log-level warn $idl_file" >/dev/null || exit 1 done diff --git a/.restyled.yaml b/.restyled.yaml index 195765b70a34d4..f9bdfd3966b85f 100644 --- a/.restyled.yaml +++ b/.restyled.yaml @@ -74,6 +74,7 @@ exclude: - "examples/chef/zzz_generated/**/*" - "examples/platform/nxp/k32w/k32w0/scripts/demo_generated_certs/**/*" - "integrations/cloudbuild/*.yaml" # uglier long command line content + - "scripts/run_codegen_targets.sh" # shellharden breaks for loops over command outputs changed_paths: diff --git a/build/chip/chip_codegen.cmake b/build/chip/chip_codegen.cmake new file mode 100644 index 00000000000000..d0c20c0bd99976 --- /dev/null +++ b/build/chip/chip_codegen.cmake @@ -0,0 +1,70 @@ +# Run chip code generation. +# +# Example usage: +# chip_codegen("app" +# INPUT "some_file.matter" +# GENERATOR "bridge" +# OUTPUTS +# "bridge/OnOff.h" +# "bridge/LevelControl.h" +# "bridge/Switch.h" +# # ... more outputs +# OUTPUT_PATH DIR_NAME_VAR +# OUTPUT_FILES FILE_NAMES_VAR +# ) +# +# Arguments: +# INPUT - the name of the ".matter" file to use for generation +# GENERATOR - generator to use for codegen.py +# OUTPUTS - EXPECTED output names. MUST match actual outputs +# +# OUTPUT_PATH - [OUT] output variable will contain the directory where the +# files will be generated +# OUTPUT_FILES - [OUT] output variable will contain the path of generated files. +# suitable to be added within a build target +# +function(chip_codegen TARGET_NAME) + cmake_parse_arguments(ARG + "" + "INPUT;GENERATOR;OUTPUT_PATH;OUTPUT_FILES" + "OUTPUTS" + ${ARGN} + ) + + set(GEN_FOLDER "${CMAKE_BINARY_DIR}/gen/${TARGET_NAME}/${ARG_GENERATOR}") + + string(REPLACE ";" "\n" OUTPUT_AS_NEWLINES "${ARG_OUTPUTS}") + + file(MAKE_DIRECTORY "${GEN_FOLDER}") + file(GENERATE + OUTPUT "${GEN_FOLDER}/expected.outputs" + CONTENT "${OUTPUT_AS_NEWLINES}" + ) + + + set(OUT_NAMES) + foreach(NAME IN LISTS ARG_OUTPUTS) + list(APPEND OUT_NAMES "${GEN_FOLDER}/${NAME}") + endforeach() + + # Python is expected to be in the path + # + # find_package(Python3 REQUIRED) + add_custom_command( + OUTPUT "${OUT_NAMES}" + COMMAND "${CHIP_ROOT}/scripts/codegen.py" + ARGS "--generator" "${ARG_GENERATOR}" + "--output-dir" "${GEN_FOLDER}" + "--expected-outputs" "${GEN_FOLDER}/expected.outputs" + "${ARG_INPUT}" + DEPENDS + "${ARG_INPUT}" + VERBATIM + ) + + add_custom_target(${TARGET_NAME} DEPENDS "${OUT_NAMES}") + + # Forward outputs to the parent + set(${ARG_OUTPUT_FILES} "${OUT_NAMES}" PARENT_SCOPE) + set(${ARG_OUTPUT_PATH} "${GEN_FOLDER}" PARENT_SCOPE) +endfunction() diff --git a/build/chip/esp32/esp32_codegen.cmake b/build/chip/esp32/esp32_codegen.cmake new file mode 100644 index 00000000000000..8d454e369dc75c --- /dev/null +++ b/build/chip/esp32/esp32_codegen.cmake @@ -0,0 +1,45 @@ +# +# Copyright (c) 2022 Project CHIP Authors +# All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + + + +macro(chip_app_component_codegen IDL_NAME) + include("${CHIP_ROOT}/build/chip/chip_codegen.cmake") + + # The IDF build system performs a two-pass expansion to determine + # component expansion. The first pass runs in script-mode + # to determine idf_component_register REQUIRES and PRIV_REQUIRES. + # + # We can only set up code generation during the 2nd pass + # + # see https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html + if (NOT CMAKE_BUILD_EARLY_EXPANSION) + + chip_codegen(app-codegen + INPUT "${IDL_NAME}" + GENERATOR "cpp-app" + OUTPUTS + "app/PluginApplicationCallbacks.h" + OUTPUT_PATH APP_GEN_DIR + OUTPUT_FILES APP_GEN_FILES + ) + + target_include_directories(${COMPONENT_LIB} PUBLIC "${APP_GEN_DIR}") + + add_dependencies(${COMPONENT_LIB} app-codegen) + endif() +endmacro() diff --git a/examples/all-clusters-app/esp32/main/CMakeLists.txt b/examples/all-clusters-app/esp32/main/CMakeLists.txt index f25a2b351094d5..11445b48bd0df4 100644 --- a/examples/all-clusters-app/esp32/main/CMakeLists.txt +++ b/examples/all-clusters-app/esp32/main/CMakeLists.txt @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # - # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) # The list of src and include dirs must be in sync with that in all-clusters-app/esp32/main/component.mk set(PRIV_INCLUDE_DIRS_LIST @@ -137,6 +136,12 @@ idf_component_register(PRIV_INCLUDE_DIRS ${PRIV_INCLUDE_DIRS_LIST} EXCLUDE_SRCS ${EXCLUDE_SRCS_LIST} PRIV_REQUIRES ${PRIV_REQUIRES_LIST}) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") + +chip_app_component_codegen("${CHIP_ROOT}/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter") + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC @@ -145,7 +150,6 @@ target_compile_options(${COMPONENT_LIB} PUBLIC if (CONFIG_ENABLE_PW_RPC) -get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo") include(${PIGWEED_ROOT}/pw_build/pigweed.cmake) diff --git a/examples/all-clusters-minimal-app/esp32/main/CMakeLists.txt b/examples/all-clusters-minimal-app/esp32/main/CMakeLists.txt index 2ae36b439e00a1..376f85bc368378 100644 --- a/examples/all-clusters-minimal-app/esp32/main/CMakeLists.txt +++ b/examples/all-clusters-minimal-app/esp32/main/CMakeLists.txt @@ -128,6 +128,12 @@ idf_component_register(PRIV_INCLUDE_DIRS ${PRIV_INCLUDE_DIRS_LIST} SRC_DIRS ${SRC_DIRS_LIST} PRIV_REQUIRES ${PRIV_REQUIRES_LIST}) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") + +chip_app_component_codegen("${CHIP_ROOT}/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter") + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC @@ -136,8 +142,6 @@ target_compile_options(${COMPONENT_LIB} PUBLIC if (CONFIG_ENABLE_PW_RPC) -get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) - set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo") include(${PIGWEED_ROOT}/pw_build/pigweed.cmake) include(${PIGWEED_ROOT}/pw_protobuf_compiler/proto.cmake) diff --git a/examples/bridge-app/esp32/main/CMakeLists.txt b/examples/bridge-app/esp32/main/CMakeLists.txt index 81eae85be11da9..9ed6f0f1410c68 100644 --- a/examples/bridge-app/esp32/main/CMakeLists.txt +++ b/examples/bridge-app/esp32/main/CMakeLists.txt @@ -54,6 +54,12 @@ idf_component_register(PRIV_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/providers" PRIV_REQUIRES chip QRCode bt) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") + +chip_app_component_codegen("${CHIP_ROOT}/examples/bridge-app/bridge-common/bridge-app.matter") + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 14) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC diff --git a/examples/chef/esp32/main/CMakeLists.txt b/examples/chef/esp32/main/CMakeLists.txt index e7def1a4efb05f..2f02250d10ab76 100644 --- a/examples/chef/esp32/main/CMakeLists.txt +++ b/examples/chef/esp32/main/CMakeLists.txt @@ -16,7 +16,7 @@ # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) -get_filename_component(CHIP_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../.. REALPATH) +get_filename_component(CHIP_ROOT ../third_party/connectedhomeip REALPATH) get_filename_component(CHEF ${CMAKE_CURRENT_SOURCE_DIR}/../../ REALPATH) get_filename_component(GEN_DIR ${CHEF}/out/${SAMPLE_NAME}/zap-generated REALPATH) @@ -107,6 +107,9 @@ idf_component_register(PRIV_INCLUDE_DIRS PRIV_REQUIRES chip nvs_flash bt console esp32_mbedtls QRCode tft screen-framework spidriver SRC_DIRS ${SRC_DIRS_LIST}) +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") +chip_app_component_codegen("${CHEF}/devices/${SAMPLE_NAME}.matter") + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC @@ -115,8 +118,6 @@ target_compile_options(${COMPONENT_LIB} PUBLIC if (CONFIG_ENABLE_PW_RPC) -get_filename_component(CHIP_ROOT ../third_party/connectedhomeip REALPATH) - set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo") include(${PIGWEED_ROOT}/pw_build/pigweed.cmake) include(${PIGWEED_ROOT}/pw_protobuf_compiler/proto.cmake) diff --git a/examples/dynamic-bridge-app/bridge-common/BUILD.gn b/examples/dynamic-bridge-app/bridge-common/BUILD.gn index 22fc176dcd69d6..584e172b654b7c 100644 --- a/examples/dynamic-bridge-app/bridge-common/BUILD.gn +++ b/examples/dynamic-bridge-app/bridge-common/BUILD.gn @@ -22,6 +22,7 @@ chip_data_model("dynamic-bridge-common") { zap_pregenerated_dir = "${chip_root}/zzz_generated/dynamic-bridge-app/zap-generated" + is_server = true # TODO: the definition of DYNAMIC_ENDPOINT_COUNT needs find a common home! @@ -30,7 +31,7 @@ chip_data_model("dynamic-bridge-common") { if (chip_enable_pw_rpc) { import("//build_overrides/pigweed.gni") - import("$dir_pw_protobuf_compiler/proto.gni") + IMPORT("$dir_pw_protobuf_compiler/proto.gni") pw_proto_library("bridge_service") { sources = [ "protos/bridge_service.proto" ] diff --git a/examples/light-switch-app/esp32/main/CMakeLists.txt b/examples/light-switch-app/esp32/main/CMakeLists.txt index 8402283ee623e2..5d4e4dbdce2f08 100644 --- a/examples/light-switch-app/esp32/main/CMakeLists.txt +++ b/examples/light-switch-app/esp32/main/CMakeLists.txt @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) +# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) idf_component_register(PRIV_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/zzz_generated/light-switch-app" "${CMAKE_CURRENT_LIST_DIR}/include" @@ -61,6 +61,11 @@ idf_component_register(PRIV_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/groups-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/group-key-mgmt-server" PRIV_REQUIRES chip QRCode bt app_update) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") + +chip_app_component_codegen("${CHIP_ROOT}/examples/light-switch-app/light-switch-common/light-switch-app.matter") set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") diff --git a/examples/lighting-app/esp32/main/CMakeLists.txt b/examples/lighting-app/esp32/main/CMakeLists.txt index ff9fac181e2e5d..61953e1c2a0d34 100644 --- a/examples/lighting-app/esp32/main/CMakeLists.txt +++ b/examples/lighting-app/esp32/main/CMakeLists.txt @@ -17,12 +17,13 @@ # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) set(PRIV_INCLUDE_DIRS_LIST + "${APP_GEN_DIR}" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/zzz_generated/lighting-app" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/providers" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/lighting-app/lighting-common/include" "${CMAKE_CURRENT_LIST_DIR}/include" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32" -) +) set(SRC_DIRS_LIST "${CMAKE_CURRENT_LIST_DIR}" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/zzz_generated/app-common/app-common/zap-generated/attributes" @@ -90,6 +91,11 @@ endif (CONFIG_ENABLE_PW_RPC) idf_component_register(PRIV_INCLUDE_DIRS ${PRIV_INCLUDE_DIRS_LIST} SRC_DIRS ${SRC_DIRS_LIST} PRIV_REQUIRES ${PRIV_REQUIRES_LIST}) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") + +chip_app_component_codegen("${CHIP_ROOT}/examples/lighting-app/lighting-common/lighting-app.matter") set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") diff --git a/examples/lock-app/esp32/main/CMakeLists.txt b/examples/lock-app/esp32/main/CMakeLists.txt index 189014129af2bd..eee6f6926d5d32 100644 --- a/examples/lock-app/esp32/main/CMakeLists.txt +++ b/examples/lock-app/esp32/main/CMakeLists.txt @@ -16,6 +16,8 @@ # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + if (CONFIG_ENABLE_PW_RPC) idf_component_register(INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}" @@ -67,8 +69,7 @@ idf_component_register(INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/identify-server" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/groups-server" PRIV_REQUIRES bt chip QRCode) - -get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) +add_dependencies(${COMPONENT_LIB} app-codegen) set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo") include(${PIGWEED_ROOT}/pw_build/pigweed.cmake) @@ -186,6 +187,8 @@ idf_component_register(PRIV_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/app/clusters/groups-server" PRIV_REQUIRES chip QRCode bt) +add_dependencies(${COMPONENT_LIB} app-codegen) + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC @@ -193,3 +196,9 @@ target_compile_options(${COMPONENT_LIB} PUBLIC ) endif (CONFIG_ENABLE_PW_RPC) + +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") + +chip_app_component_codegen("${CHIP_ROOT}/examples/lock-app/lock-common/lock-app.matter") diff --git a/examples/ota-provider-app/esp32/main/CMakeLists.txt b/examples/ota-provider-app/esp32/main/CMakeLists.txt index 468fdce04c0f46..e5a6cf7327fcd6 100644 --- a/examples/ota-provider-app/esp32/main/CMakeLists.txt +++ b/examples/ota-provider-app/esp32/main/CMakeLists.txt @@ -16,7 +16,7 @@ # # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) -idf_component_register(PRIV_INCLUDE_DIRS +idf_component_register(PRIV_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/include" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/zzz_generated/ota-provider-app/" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/ota-provider-app" @@ -59,6 +59,10 @@ idf_component_register(PRIV_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/ota-provider-app/ota-provider-common/BdxOtaSender.cpp" PRIV_REQUIRES chip QRCode bt console spiffs) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") +chip_app_component_codegen("${CHIP_ROOT}/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter") + spiffs_create_partition_image(img_storage ${CMAKE_SOURCE_DIR}/spiffs_image FLASH_IN_PROJECT) set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 14) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") diff --git a/examples/ota-requestor-app/esp32/main/CMakeLists.txt b/examples/ota-requestor-app/esp32/main/CMakeLists.txt index 1ab96247f242e8..a0633511cfaded 100644 --- a/examples/ota-requestor-app/esp32/main/CMakeLists.txt +++ b/examples/ota-requestor-app/esp32/main/CMakeLists.txt @@ -16,6 +16,8 @@ # # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + set(PRIV_INCLUDE_DIRS_LIST "${CMAKE_CURRENT_LIST_DIR}/include" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src" @@ -86,6 +88,9 @@ idf_component_register(PRIV_INCLUDE_DIRS ${PRIV_INCLUDE_DIRS_LIST} SRC_DIRS ${SRC_DIRS_LIST} PRIV_REQUIRES ${PRIV_REQUIRES_LIST}) +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") +chip_app_component_codegen("${CHIP_ROOT}/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter") + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC @@ -94,7 +99,6 @@ target_compile_options(${COMPONENT_LIB} PUBLIC if (CONFIG_ENABLE_PW_RPC) -get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo") include(${PIGWEED_ROOT}/pw_build/pigweed.cmake) diff --git a/examples/pigweed-app/esp32/main/CMakeLists.txt b/examples/pigweed-app/esp32/main/CMakeLists.txt index 4e89e02e117101..c23dfe3a8de84c 100644 --- a/examples/pigweed-app/esp32/main/CMakeLists.txt +++ b/examples/pigweed-app/esp32/main/CMakeLists.txt @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -idf_component_register(INCLUDE_DIRS +idf_component_register(INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32/pw_sys_io/public" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32" @@ -22,7 +22,7 @@ idf_component_register(INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/common/pigweed/esp32" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/src/lib/support" "${IDF_PATH}/components/freertos/include/freertos" - + SRC_DIRS "${CMAKE_CURRENT_LIST_DIR}" "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/examples/platform/esp32" diff --git a/examples/temperature-measurement-app/esp32/main/CMakeLists.txt b/examples/temperature-measurement-app/esp32/main/CMakeLists.txt index d2d1826b8d5d78..dce457d2448346 100644 --- a/examples/temperature-measurement-app/esp32/main/CMakeLists.txt +++ b/examples/temperature-measurement-app/esp32/main/CMakeLists.txt @@ -15,7 +15,9 @@ # limitations under the License. # # -# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) + +get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) + set(PRIV_INCLUDE_DIRS_LIST "${CMAKE_SOURCE_DIR}/third_party/connectedhomeip/zzz_generated/temperature-measurement-app/" "${CMAKE_CURRENT_LIST_DIR}/include" @@ -78,6 +80,9 @@ idf_component_register(PRIV_INCLUDE_DIRS ${PRIV_INCLUDE_DIRS_LIST} SRC_DIRS ${SRC_DIRS_LIST} PRIV_REQUIRES ${PRIV_REQUIRES_LIST}) +include("${CHIP_ROOT}/build/chip/esp32/esp32_codegen.cmake") +chip_app_component_codegen("${CHIP_ROOT}/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter") + set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 17) target_compile_options(${COMPONENT_LIB} PRIVATE "-DCHIP_HAVE_CONFIG_H") target_compile_options(${COMPONENT_LIB} PUBLIC @@ -86,8 +91,6 @@ target_compile_options(${COMPONENT_LIB} PUBLIC if (CONFIG_ENABLE_PW_RPC) -get_filename_component(CHIP_ROOT ${CMAKE_SOURCE_DIR}/third_party/connectedhomeip REALPATH) - set(PIGWEED_ROOT "${CHIP_ROOT}/third_party/pigweed/repo") include(${PIGWEED_ROOT}/pw_build/pigweed.cmake) include(${PIGWEED_ROOT}/pw_protobuf_compiler/proto.cmake) diff --git a/scripts/codegen.py b/scripts/codegen.py index bcbba6833a49b4..da81b06210d933 100755 --- a/scripts/codegen.py +++ b/scripts/codegen.py @@ -27,26 +27,7 @@ from idl.matter_idl_parser import CreateParser from idl.generators import FileSystemGeneratorStorage, GeneratorStorage -from idl.generators.java import JavaGenerator -from idl.generators.bridge import BridgeGenerator - - -class CodeGeneratorTypes(enum.Enum): - """ - Represents every generator type supported by codegen and maps - the simple enum value (user friendly and can be a command line input) - into underlying generators. - """ - JAVA = enum.auto() - BRIDGE = enum.auto() - - def CreateGenerator(self, *args, **kargs): - if self == CodeGeneratorTypes.JAVA: - return JavaGenerator(*args, **kargs) - elif self == CodeGeneratorTypes.BRIDGE: - return BridgeGenerator(*args, **kargs) - else: - raise Error("Unknown code generator type") +from idl.generators.registry import CodeGenerator, GENERATORS class ListGeneratedFilesStorage(GeneratorStorage): @@ -73,11 +54,6 @@ def write_new_data(self, relative_path: str, content: str): 'fatal': logging.FATAL, } -__GENERATORS__ = { - 'java': CodeGeneratorTypes.JAVA, - 'bridge': CodeGeneratorTypes.BRIDGE, -} - @click.command() @click.option( @@ -88,7 +64,7 @@ def write_new_data(self, relative_path: str, content: str): @click.option( '--generator', default='JAVA', - type=click.Choice(__GENERATORS__.keys(), case_sensitive=False), + type=click.Choice(GENERATORS.keys(), case_sensitive=False), help='What code generator to run') @click.option( '--output-dir', @@ -129,8 +105,7 @@ def main(log_level, generator, output_dir, dry_run, name_only, expected_outputs, storage = FileSystemGeneratorStorage(output_dir) logging.info("Running code generator %s" % generator) - generator = __GENERATORS__[ - generator].CreateGenerator(storage, idl=idl_tree) + generator = CodeGenerator.FromString(generator).Create(storage, idl=idl_tree) generator.render(dry_run) if expected_outputs: diff --git a/scripts/idl/BUILD.gn b/scripts/idl/BUILD.gn index 1903aa573be359..359f50e89d4159 100644 --- a/scripts/idl/BUILD.gn +++ b/scripts/idl/BUILD.gn @@ -30,6 +30,7 @@ pw_python_package("idl") { "generators/bridge/BridgeClustersGlobalStructs.jinja", "generators/java/ChipClustersCpp.jinja", "generators/java/ChipClustersRead.jinja", + "generators/cpp/application/PluginApplicationCallbacksHeader.jinja", # Unit test data "tests/available_tests.yaml", @@ -40,21 +41,22 @@ pw_python_package("idl") { "tests/inputs/simple_attribute.matter", "tests/outputs/cluster_struct_attribute/bridge/BridgeClustersImpl.h", "tests/outputs/cluster_struct_attribute/bridge/BridgeGlobalStructs.h", - "tests/outputs/cluster_struct_attribute/bridge/DemoCluster.h", + "tests/outputs/cluster_struct_attribute/bridge/DemoClusterServer.h", "tests/outputs/cluster_struct_attribute/jni/DemoClusterClient-ReadImpl.cpp", "tests/outputs/cluster_struct_attribute/jni/DemoClusterClient-InvokeSubscribeImpl.cpp", "tests/outputs/global_struct_attribute/bridge/BridgeClustersImpl.h", "tests/outputs/global_struct_attribute/bridge/BridgeGlobalStructs.h", - "tests/outputs/global_struct_attribute/bridge/DemoCluster.h", + "tests/outputs/global_struct_attribute/bridge/DemoClusterServer.h", "tests/outputs/global_struct_attribute/jni/DemoClusterClient-ReadImpl.cpp", "tests/outputs/global_struct_attribute/jni/DemoClusterClient-InvokeSubscribeImpl.cpp", "tests/outputs/optional_argument/jni/MyClusterClient-ReadImpl.cpp", "tests/outputs/optional_argument/jni/MyClusterClient-InvokeSubscribeImpl.cpp", "tests/outputs/several_clusters/bridge/BridgeClustersImpl.h", "tests/outputs/several_clusters/bridge/BridgeGlobalStructs.h", - "tests/outputs/several_clusters/bridge/First.h", - "tests/outputs/several_clusters/bridge/Second.h", + "tests/outputs/several_clusters/bridge/FirstServer.h", + "tests/outputs/several_clusters/bridge/SecondServer.h", "tests/outputs/several_clusters/bridge/Third.h", + "tests/outputs/several_clusters/bridge/ThirdServer.h", "tests/outputs/several_clusters/jni/FirstClient-ReadImpl.cpp", "tests/outputs/several_clusters/jni/SecondClient-ReadImpl.cpp", "tests/outputs/several_clusters/jni/ThirdClient-ReadImpl.cpp", @@ -63,7 +65,7 @@ pw_python_package("idl") { "tests/outputs/several_clusters/jni/ThirdClient-InvokeSubscribeImpl.cpp", "tests/outputs/simple_attribute/bridge/BridgeClustersImpl.h", "tests/outputs/simple_attribute/bridge/BridgeGlobalStructs.h", - "tests/outputs/simple_attribute/bridge/MyCluster.h", + "tests/outputs/simple_attribute/bridge/MyClusterServer.h", "tests/outputs/simple_attribute/jni/MyClusterClient-ReadImpl.cpp", "tests/outputs/simple_attribute/jni/MyClusterClient-InvokeSubscribeImpl.cpp", ] @@ -72,6 +74,8 @@ pw_python_package("idl") { "__init__.py", "generators/__init__.py", "generators/bridge/__init__.py", + "generators/cpp/__init__.py", + "generators/cpp/application/__init__.py", "generators/filters.py", "generators/java/__init__.py", "generators/types.py", @@ -91,4 +95,8 @@ pw_python_package("idl") { "test_generators.py", "test_xml_parser.py", ] + + # TODO: at a future time consider enabling all (* or missing) here to get + # pylint checking these files + static_analysis = [] } diff --git a/scripts/idl/generators/bridge/__init__.py b/scripts/idl/generators/bridge/__init__.py index 5d0bace9faf431..7e993dd965b66e 100644 --- a/scripts/idl/generators/bridge/__init__.py +++ b/scripts/idl/generators/bridge/__init__.py @@ -18,7 +18,7 @@ import re from idl.generators import CodeGenerator, GeneratorStorage -from idl.matter_idl_types import (Idl, Field, Attribute, Cluster) +from idl.matter_idl_types import Idl, Field, Attribute, Cluster, ClusterSide from idl import matter_idl_types from idl.generators.types import (ParseDataType, BasicString, BasicInteger, FundamentalType, IdlType, IdlEnumType, IdlBitmapType, TypeLookupContext) @@ -165,9 +165,14 @@ def internal_render_all(self): if not is_dynamic_cluster(cluster, self.idl): continue + if cluster.side != ClusterSide.SERVER: + output_file_name = "bridge/%sServer.h" % cluster.name + else: + output_file_name = "bridge/%s.h" % cluster.name + self.internal_render_one_output( template_path="bridge/BridgeClustersCpp.jinja", - output_file_name="bridge/%s.h" % cluster.name, + output_file_name=output_file_name, vars={ 'cluster': cluster, 'idl': self.idl, diff --git a/scripts/idl/generators/cpp/__init__.py b/scripts/idl/generators/cpp/__init__.py new file mode 100644 index 00000000000000..e69de29bb2d1d6 diff --git a/scripts/idl/generators/cpp/application/PluginApplicationCallbacksHeader.jinja b/scripts/idl/generators/cpp/application/PluginApplicationCallbacksHeader.jinja new file mode 100644 index 00000000000000..83e3dbf4c15a8a --- /dev/null +++ b/scripts/idl/generators/cpp/application/PluginApplicationCallbacksHeader.jinja @@ -0,0 +1,9 @@ +#pragma once + +#include + +#define MATTER_PLUGINS_INIT \ +{%- for cluster in clusters | sort(attribute='name') %} + Matter{{ cluster.name }}Plugin{{ cluster.side | clusterSideString }}InitCallback();{{ " \\" if not loop.last else ""}} +{%- endfor %} + diff --git a/scripts/idl/generators/cpp/application/__init__.py b/scripts/idl/generators/cpp/application/__init__.py new file mode 100644 index 00000000000000..40a4bb26b0b34b --- /dev/null +++ b/scripts/idl/generators/cpp/application/__init__.py @@ -0,0 +1,61 @@ +# Copyright (c) 2022 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from idl.generators import CodeGenerator, GeneratorStorage +from idl.matter_idl_types import Idl, ClusterSide, Field, Attribute, Cluster, FieldQuality, Command, DataType +from idl import matter_idl_types +from idl.generators.types import ParseDataType, BasicString, BasicInteger, FundamentalType, IdlType, IdlEnumType, IdlBitmapType, TypeLookupContext +from typing import Union, List, Set +from stringcase import capitalcase + +import enum +import logging + + +def clusterSideString(side: ClusterSide): + if side == ClusterSide.CLIENT: + return "Client" + elif side == ClusterSide.SERVER: + return "Server" + else: + raise Exception("Unknown cluster side %r" % (side, )) + + +class CppApplicationGenerator(CodeGenerator): + """ + Generation of cpp code for application implementation for matter. + """ + + def __init__(self, storage: GeneratorStorage, idl: Idl): + """ + Inintialization is specific for java generation and will add + filters as required by the java .jinja templates to function. + """ + super().__init__(storage, idl) + + self.jinja_env.filters['clusterSideString'] = clusterSideString + + def internal_render_all(self): + """ + Renders the cpp and header files required for applications + """ + + # Header containing a macro to initialize all cluster plugins + self.internal_render_one_output( + template_path="cpp/application/PluginApplicationCallbacksHeader.jinja", + output_file_name="app/PluginApplicationCallbacks.h", + vars={ + 'clusters': self.idl.clusters, + } + ) diff --git a/scripts/idl/generators/registry.py b/scripts/idl/generators/registry.py new file mode 100644 index 00000000000000..8feeb2c48d1124 --- /dev/null +++ b/scripts/idl/generators/registry.py @@ -0,0 +1,59 @@ +# Copyright (c) 2022 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import enum + +from idl.generators.java import JavaGenerator +from idl.generators.bridge import BridgeGenerator +from idl.generators.cpp.application import CppApplicationGenerator + + +class CodeGenerator(enum.Enum): + """ + Represents every generator type supported by codegen and maps + the simple enum value (user friendly and can be a command line input) + into underlying generators. + """ + JAVA = enum.auto() + BRIDGE = enum.auto() + CPP_APPLICATION = enum.auto() + + def Create(self, *args, **kargs): + if self == CodeGenerator.JAVA: + return JavaGenerator(*args, **kargs) + elif self == CodeGenerator.BRIDGE: + return BridgeGenerator(*args, **kargs) + elif self == CodeGenerator.CPP_APPLICATION: + return CppApplicationGenerator(*args, **kargs) + else: + raise NameError("Unknown code generator type") + + @staticmethod + def FromString(name): + global GENERATORS + + if name.lower() in GENERATORS: + return GENERATORS[name.lower()] + else: + raise NameError("Unknown code generator type '%s'" % name) + + +# Contains all known code generators along with a string +# to uniquely identify them when running command line tools or +# executing tests +GENERATORS = { + 'java': CodeGenerator.JAVA, + 'bridge': CodeGenerator.BRIDGE, + 'cpp-app': CodeGenerator.CPP_APPLICATION, +} diff --git a/scripts/idl/test_generators.py b/scripts/idl/test_generators.py index 88b929e0fcbe5d..730bfdbc610762 100755 --- a/scripts/idl/test_generators.py +++ b/scripts/idl/test_generators.py @@ -33,6 +33,7 @@ from idl.matter_idl_types import Idl from idl.generators.java import JavaGenerator from idl.generators.bridge import BridgeGenerator +from idl.generators.cpp.application import CppApplicationGenerator from idl.generators import GeneratorStorage @@ -86,6 +87,7 @@ def get_existing_data(self, relative_path: str): def write_new_data(self, relative_path: str, content: str): if REGENERATE_GOLDEN_IMAGES: + print("RE-GENERATING %r" % relative_path) # Expect writing only on regeneration with open(self.get_existing_data_path(relative_path), 'wt') as golden: golden.write(content) @@ -96,7 +98,7 @@ def write_new_data(self, relative_path: str, content: str): # This will display actual diffs in the output files self.checker.assertEqual( - self.get_existing_data(relative_path), content) + self.get_existing_data(relative_path), content, "Content of %s" % relative_path) # Even if no diff, to be build system friendly, we do NOT expect any # actual data writes. @@ -119,6 +121,8 @@ def _create_generator(self, storage: GeneratorStorage, idl: Idl): return JavaGenerator(storage, idl) if self.generator_name.lower() == 'bridge': return BridgeGenerator(storage, idl) + if self.generator_name.lower() == 'cpp-app': + return CppApplicationGenerator(storage, idl) else: raise Exception("Unknown generator for testing: %s", self.generator_name.lower()) diff --git a/scripts/idl/tests/available_tests.yaml b/scripts/idl/tests/available_tests.yaml index 3fb20e2a482b87..a6d78a346e7f8e 100644 --- a/scripts/idl/tests/available_tests.yaml +++ b/scripts/idl/tests/available_tests.yaml @@ -39,21 +39,26 @@ bridge: inputs/simple_attribute.matter: bridge/BridgeClustersImpl.h: outputs/simple_attribute/bridge/BridgeClustersImpl.h bridge/BridgeGlobalStructs.h: outputs/simple_attribute/bridge/BridgeGlobalStructs.h - bridge/MyCluster.h: outputs/simple_attribute/bridge/MyCluster.h + bridge/MyClusterServer.h: outputs/simple_attribute/bridge/MyClusterServer.h inputs/global_struct_attribute.matter: bridge/BridgeClustersImpl.h: outputs/global_struct_attribute/bridge/BridgeClustersImpl.h bridge/BridgeGlobalStructs.h: outputs/global_struct_attribute/bridge/BridgeGlobalStructs.h - bridge/DemoCluster.h: outputs/global_struct_attribute/bridge/DemoCluster.h + bridge/DemoClusterServer.h: outputs/global_struct_attribute/bridge/DemoClusterServer.h inputs/cluster_struct_attribute.matter: bridge/BridgeClustersImpl.h: outputs/cluster_struct_attribute/bridge/BridgeClustersImpl.h bridge/BridgeGlobalStructs.h: outputs/cluster_struct_attribute/bridge/BridgeGlobalStructs.h - bridge/DemoCluster.h: outputs/cluster_struct_attribute/bridge/DemoCluster.h + bridge/DemoClusterServer.h: outputs/cluster_struct_attribute/bridge/DemoClusterServer.h inputs/several_clusters.matter: bridge/BridgeClustersImpl.h: outputs/several_clusters/bridge/BridgeClustersImpl.h bridge/BridgeGlobalStructs.h: outputs/several_clusters/bridge/BridgeGlobalStructs.h - bridge/First.h: outputs/several_clusters/bridge/First.h - bridge/Second.h: outputs/several_clusters/bridge/Second.h + bridge/FirstServer.h: outputs/several_clusters/bridge/FirstServer.h + bridge/SecondServer.h: outputs/several_clusters/bridge/SecondServer.h + bridge/ThirdServer.h: outputs/several_clusters/bridge/ThirdServer.h bridge/Third.h: outputs/several_clusters/bridge/Third.h + +cpp-app: + inputs/several_clusters.matter: + app/PluginApplicationCallbacks.h: outputs/several_clusters/cpp-app/PluginApplicationCallbacks.h diff --git a/scripts/idl/tests/inputs/several_clusters.matter b/scripts/idl/tests/inputs/several_clusters.matter index 3c56b1a628f449..a9963a3e3bcee0 100644 --- a/scripts/idl/tests/inputs/several_clusters.matter +++ b/scripts/idl/tests/inputs/several_clusters.matter @@ -14,3 +14,23 @@ client cluster Third = 3 { attribute MyEnum someEnum = 10; } + +server cluster Third = 3 { + enum MyEnum : enum8 { + kUnknown = 0; + kKnown = 100; + } + + attribute MyEnum someEnum = 10; + readonly attribute int16u clusterRevision = 65533; +} + +endpoint 0 { + device type rootdevice = 22; + binding cluster Second; + + server cluster Third { + ram attribute someEnum; + ram attribute clusterRevision default = 2; + } +} diff --git a/scripts/idl/tests/outputs/cluster_struct_attribute/bridge/DemoCluster.h b/scripts/idl/tests/outputs/cluster_struct_attribute/bridge/DemoClusterServer.h similarity index 100% rename from scripts/idl/tests/outputs/cluster_struct_attribute/bridge/DemoCluster.h rename to scripts/idl/tests/outputs/cluster_struct_attribute/bridge/DemoClusterServer.h diff --git a/scripts/idl/tests/outputs/global_struct_attribute/bridge/DemoCluster.h b/scripts/idl/tests/outputs/global_struct_attribute/bridge/DemoClusterServer.h similarity index 100% rename from scripts/idl/tests/outputs/global_struct_attribute/bridge/DemoCluster.h rename to scripts/idl/tests/outputs/global_struct_attribute/bridge/DemoClusterServer.h diff --git a/scripts/idl/tests/outputs/several_clusters/bridge/BridgeClustersImpl.h b/scripts/idl/tests/outputs/several_clusters/bridge/BridgeClustersImpl.h index 16dafc39a900f4..e94ca747c56970 100644 --- a/scripts/idl/tests/outputs/several_clusters/bridge/BridgeClustersImpl.h +++ b/scripts/idl/tests/outputs/several_clusters/bridge/BridgeClustersImpl.h @@ -4,6 +4,7 @@ #include "bridge/First.h" #include "bridge/Second.h" #include "bridge/Third.h" +#include "bridge/Third.h" namespace clusters { @@ -39,6 +40,14 @@ struct ClusterInfo return new(mem) ThirdCluster(); }, }, + { + 3, + "Third", + sizeof(ThirdCluster), + [](void *mem) -> GeneratedCluster* { + return new(mem) ThirdCluster(); + }, + }, }; } diff --git a/scripts/idl/tests/outputs/several_clusters/bridge/First.h b/scripts/idl/tests/outputs/several_clusters/bridge/FirstServer.h similarity index 100% rename from scripts/idl/tests/outputs/several_clusters/bridge/First.h rename to scripts/idl/tests/outputs/several_clusters/bridge/FirstServer.h diff --git a/scripts/idl/tests/outputs/several_clusters/bridge/Second.h b/scripts/idl/tests/outputs/several_clusters/bridge/SecondServer.h similarity index 100% rename from scripts/idl/tests/outputs/several_clusters/bridge/Second.h rename to scripts/idl/tests/outputs/several_clusters/bridge/SecondServer.h diff --git a/scripts/idl/tests/outputs/several_clusters/bridge/Third.h b/scripts/idl/tests/outputs/several_clusters/bridge/Third.h index 3779b80fa8a264..48e8c4537e4799 100644 --- a/scripts/idl/tests/outputs/several_clusters/bridge/Third.h +++ b/scripts/idl/tests/outputs/several_clusters/bridge/Third.h @@ -8,7 +8,8 @@ struct ThirdCluster : public GeneratedCluster { ThirdCluster() : - mSomeEnum(chip::CharSpan("someEnum"), 10, ATTRIBUTE_MASK_WRITABLE, ZCL_ENUM8_ATTRIBUTE_TYPE, 1) + mSomeEnum(chip::CharSpan("someEnum"), 10, ATTRIBUTE_MASK_WRITABLE, ZCL_ENUM8_ATTRIBUTE_TYPE, 1), + mClusterRevision(chip::CharSpan("clusterRevision"), 65533, 0, ZCL_INT16U_ATTRIBUTE_TYPE, 2, ZCL_THIRD_CLUSTER_REVISION) { } @@ -19,11 +20,13 @@ struct ThirdCluster : public GeneratedCluster { return std::vector({ static_cast(&mSomeEnum), + static_cast(&mClusterRevision), }); } Attribute mSomeEnum; + Attribute mClusterRevision; }; } diff --git a/scripts/idl/tests/outputs/several_clusters/bridge/ThirdServer.h b/scripts/idl/tests/outputs/several_clusters/bridge/ThirdServer.h new file mode 100644 index 00000000000000..3779b80fa8a264 --- /dev/null +++ b/scripts/idl/tests/outputs/several_clusters/bridge/ThirdServer.h @@ -0,0 +1,29 @@ +#pragma once + +#include "BridgeGlobalStructs.h" +#include "third_party/connectedhomeip/examples/dynamic-bridge-app/linux/include/GeneratedClusters.h" + +namespace clusters { +struct ThirdCluster : public GeneratedCluster +{ + + ThirdCluster() : + mSomeEnum(chip::CharSpan("someEnum"), 10, ATTRIBUTE_MASK_WRITABLE, ZCL_ENUM8_ATTRIBUTE_TYPE, 1) + { + } + + static constexpr uint32_t kClusterId =3; + chip::ClusterId GetClusterId() override { return kClusterId; } + + std::vector GetAttributes() override + { + return std::vector({ + static_cast(&mSomeEnum), + }); + } + + + Attribute mSomeEnum; +}; + +} diff --git a/scripts/idl/tests/outputs/several_clusters/cpp-app/PluginApplicationCallbacks.h b/scripts/idl/tests/outputs/several_clusters/cpp-app/PluginApplicationCallbacks.h new file mode 100644 index 00000000000000..00041de30d3ea9 --- /dev/null +++ b/scripts/idl/tests/outputs/several_clusters/cpp-app/PluginApplicationCallbacks.h @@ -0,0 +1,10 @@ +#pragma once + +#include + +#define MATTER_PLUGINS_INIT \ + MatterFirstPluginClientInitCallback(); \ + MatterSecondPluginClientInitCallback(); \ + MatterThirdPluginClientInitCallback(); \ + MatterThirdPluginServerInitCallback(); + diff --git a/scripts/idl/tests/outputs/simple_attribute/bridge/MyCluster.h b/scripts/idl/tests/outputs/simple_attribute/bridge/MyClusterServer.h similarity index 100% rename from scripts/idl/tests/outputs/simple_attribute/bridge/MyCluster.h rename to scripts/idl/tests/outputs/simple_attribute/bridge/MyClusterServer.h diff --git a/scripts/run_codegen_targets.sh b/scripts/run_codegen_targets.sh new file mode 100755 index 00000000000000..5f8bcd5d51f138 --- /dev/null +++ b/scripts/run_codegen_targets.sh @@ -0,0 +1,56 @@ +#!/usr/bin/env bash +# +# Copyright (c) 2022 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# This script runs all targets taht are generating code +# in the given output directory +# CHIP_ROOT with a build environment activated. + +set -e + +OUT_DIR="$1" + +if [ ! -d "$OUT_DIR" ]; then + echo "Input directory '$OUT_DIR' does not exist. " + echo "USAGE: $0 " + exit 1 +fi + +# Code generation for build config files and asn1. Captures things like: +# +# gen_additional_data_payload_buildconfig +# gen_app_buildconfig +# gen_asn1oid +# gen_ble_buildconfig +# ... +# +# Most are buildconfig rules, but asn1oid is special +for name in $(ninja -C "$OUT_DIR" -t targets | grep -E '^gen_' | sed 's/: .*//'); do + echo "Generating $name ..." + ninja -C "$OUT_DIR" "$name" +done + +# Code generation (based on zap/matter) +for name in $(ninja -C "$OUT_DIR" -t targets | grep -E '_codegen:' | sed 's/: .*//'); do + echo "Generating $name ..." + ninja -C "$OUT_DIR" "$name" +done + +# Linus targets: dbus generate hdeaders +for name in $(ninja -C "$OUT_DIR" -t targets | grep -E 'dbus.*codegen:' | sed 's/: .*//'); do + echo "Generating $name ..." + ninja -C "$OUT_DIR" "$name" +done diff --git a/src/app/chip_data_model.cmake b/src/app/chip_data_model.cmake index 72a62b3b2d9e26..355eaf27a5babc 100644 --- a/src/app/chip_data_model.cmake +++ b/src/app/chip_data_model.cmake @@ -16,7 +16,15 @@ set(CHIP_APP_BASE_DIR ${CMAKE_CURRENT_LIST_DIR}) -# +if (NOT CHIP_ROOT) + # TODO: these are WORKAROUNDS and should be removed + if(DEFINED ameba_matter_root) + SET(CHIP_ROOT "${ameba_matter_root}") + endif() +endif() + +include("${CHIP_ROOT}/build/chip/chip_codegen.cmake") + # Configure ${APP_TARGET} with source files associated with ${CLUSTER} cluster # function(chip_configure_cluster APP_TARGET CLUSTER) @@ -52,9 +60,11 @@ endfunction() # INCLUDE_SERVER Include source files from src/app/server directory # ZAP_FILE Path to the ZAP file, used to determine the list of clusters # supported by the application. +# IDL .matter IDL file to use for codegen. Inferred from ZAP_FILE +# if not provided # function(chip_configure_data_model APP_TARGET) - cmake_parse_arguments(ARG "INCLUDE_SERVER" "ZAP_FILE;GEN_DIR" "" ${ARGN}) + cmake_parse_arguments(ARG "INCLUDE_SERVER" "ZAP_FILE;GEN_DIR;IDL" "" ${ARGN}) if (ARG_INCLUDE_SERVER) target_sources(${APP_TARGET} PRIVATE @@ -72,6 +82,23 @@ function(chip_configure_data_model APP_TARGET) if (ARG_ZAP_FILE) chip_configure_zap_file(${APP_TARGET} ${ARG_ZAP_FILE}) + if (NOT ARG_IDL) + string(REPLACE ".zap" ".matter" ARG_IDL ${ARG_ZAP_FILE}) + endif() + endif() + + if (ARG_IDL) + chip_codegen(${APP_TARGET}-codegen + INPUT "${ARG_IDL}" + GENERATOR "cpp-app" + OUTPUTS + "app/PluginApplicationCallbacks.h" + OUTPUT_PATH APP_GEN_DIR + OUTPUT_FILES APP_GEN_FILES + ) + + target_include_directories(${APP_TARGET} PRIVATE "${APP_GEN_DIR}") + add_dependencies(${APP_TARGET} ${APP_TARGET}-codegen) endif() target_sources(${APP_TARGET} PRIVATE diff --git a/src/app/chip_data_model.gni b/src/app/chip_data_model.gni index b2b50687503dc5..4c065d8e7298f9 100644 --- a/src/app/chip_data_model.gni +++ b/src/app/chip_data_model.gni @@ -14,6 +14,7 @@ import("//build_overrides/build.gni") import("//build_overrides/chip.gni") +import("${chip_root}/build/chip/chip_codegen.gni") import("${chip_root}/src/platform/python.gni") import("${chip_root}/src/lib/core/core.gni") @@ -31,11 +32,31 @@ _zap_cluster_list_script = get_path_info("zap_cluster_list.py", "abspath") # zap_file # Path to the ZAP input file. # +# idl +# Path to the .matter IDL corresponding to the zap file. This is for +# dependencies on build-time code generation. +# # Forwards all the remaining variables to the source_set. # template("chip_data_model") { _data_model_name = target_name + if (defined(invoker.idl)) { + _idl = invoker.idl + } else { + # Assume that IDL name is the same as the zap file name, but instead of + # '.zap' use '.matter' as extension. This is currently the case in the + # sample apps, but may change in the future + print("AUTO-DETECTING input matter IDL file.") + _idl = string_replace(invoker.zap_file, ".zap", ".matter") + } + + chip_codegen("${_data_model_name}_codegen") { + input = _idl + generator = "cpp-app" + outputs = [ "app/PluginApplicationCallbacks.h" ] + } + config("${_data_model_name}_config") { include_dirs = [] @@ -60,6 +81,8 @@ template("chip_data_model") { sources = [] } + sources += get_target_outputs(":${_data_model_name}_codegen") + sources += [ "${_app_root}/clusters/barrier-control-server/barrier-control-server.h", "${_app_root}/clusters/basic/basic.h", @@ -163,6 +186,7 @@ template("chip_data_model") { } public_deps += [ + ":${_data_model_name}_codegen", "${chip_root}/src/app", "${chip_root}/src/app/common:cluster-objects", "${chip_root}/src/controller", diff --git a/src/app/util/util.cpp b/src/app/util/util.cpp index aa8d3cade68113..1ba17a0e935967 100644 --- a/src/app/util/util.cpp +++ b/src/app/util/util.cpp @@ -25,7 +25,9 @@ #include #include #include -#include + +// TODO: figure out a clear path for compile-time codegen +#include #ifdef EMBER_AF_PLUGIN_GROUPS_SERVER #include diff --git a/src/app/zap-templates/app-templates.json b/src/app/zap-templates/app-templates.json index b79bb4f13e7266..ecc7aa080c9066 100644 --- a/src/app/zap-templates/app-templates.json +++ b/src/app/zap-templates/app-templates.json @@ -41,11 +41,6 @@ } ], "templates": [ - { - "path": "templates/app/callbacks/PluginApplicationCallbacks.zapt", - "name": "Matter Application Callbacks header", - "output": "PluginApplicationCallbacks.h" - }, { "path": "templates/app/callback-stub-src.zapt", "name": "ZCL callback-stub source", diff --git a/src/app/zap-templates/templates/app/callbacks/PluginApplicationCallbacks.zapt b/src/app/zap-templates/templates/app/callbacks/PluginApplicationCallbacks.zapt deleted file mode 100644 index 68e471da9a4e32..00000000000000 --- a/src/app/zap-templates/templates/app/callbacks/PluginApplicationCallbacks.zapt +++ /dev/null @@ -1,8 +0,0 @@ -{{> header}} - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT {{#all_user_clusters}}Matter{{asUpperCamelCase name}}Plugin{{asUpperCamelCase side}}InitCallback(); {{/all_user_clusters}} - diff --git a/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 841c63fdb69b0e..00000000000000 --- a/zzz_generated/all-clusters-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterOnOffSwitchConfigurationPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterBinaryInputBasicPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterActionsPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterPowerSourceConfigurationPluginServerInitCallback(); \ - MatterPowerSourcePluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterBooleanStatePluginServerInitCallback(); \ - MatterModeSelectPluginServerInitCallback(); \ - MatterDoorLockPluginServerInitCallback(); \ - MatterWindowCoveringPluginServerInitCallback(); \ - MatterBarrierControlPluginServerInitCallback(); \ - MatterPumpConfigurationAndControlPluginServerInitCallback(); \ - MatterThermostatPluginServerInitCallback(); \ - MatterFanControlPluginServerInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); \ - MatterIlluminanceMeasurementPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); \ - MatterPressureMeasurementPluginServerInitCallback(); \ - MatterFlowMeasurementPluginServerInitCallback(); \ - MatterRelativeHumidityMeasurementPluginServerInitCallback(); \ - MatterOccupancySensingPluginServerInitCallback(); \ - MatterWakeOnLanPluginServerInitCallback(); \ - MatterChannelPluginServerInitCallback(); \ - MatterTargetNavigatorPluginServerInitCallback(); \ - MatterMediaPlaybackPluginServerInitCallback(); \ - MatterMediaInputPluginServerInitCallback(); \ - MatterLowPowerPluginServerInitCallback(); \ - MatterKeypadInputPluginServerInitCallback(); \ - MatterContentLauncherPluginServerInitCallback(); \ - MatterAudioOutputPluginServerInitCallback(); \ - MatterApplicationLauncherPluginServerInitCallback(); \ - MatterApplicationBasicPluginServerInitCallback(); \ - MatterAccountLoginPluginServerInitCallback(); \ - MatterElectricalMeasurementPluginServerInitCallback(); \ - MatterTestClusterPluginServerInitCallback(); \ - MatterFaultInjectionPluginServerInitCallback(); diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/all-clusters-minimal-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 67219dcd814857..00000000000000 --- a/zzz_generated/all-clusters-minimal-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterActionsPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterPowerSourceConfigurationPluginServerInitCallback(); \ - MatterPowerSourcePluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterBooleanStatePluginServerInitCallback(); \ - MatterModeSelectPluginServerInitCallback(); \ - MatterDoorLockPluginServerInitCallback(); \ - MatterWindowCoveringPluginServerInitCallback(); \ - MatterPumpConfigurationAndControlPluginServerInitCallback(); \ - MatterThermostatPluginServerInitCallback(); \ - MatterFanControlPluginServerInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); \ - MatterIlluminanceMeasurementPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); \ - MatterPressureMeasurementPluginServerInitCallback(); \ - MatterFlowMeasurementPluginServerInitCallback(); \ - MatterRelativeHumidityMeasurementPluginServerInitCallback(); \ - MatterOccupancySensingPluginServerInitCallback(); \ - MatterWakeOnLanPluginServerInitCallback(); \ - MatterChannelPluginServerInitCallback(); \ - MatterTargetNavigatorPluginServerInitCallback(); \ - MatterMediaPlaybackPluginServerInitCallback(); \ - MatterMediaInputPluginServerInitCallback(); \ - MatterLowPowerPluginServerInitCallback(); \ - MatterKeypadInputPluginServerInitCallback(); \ - MatterContentLauncherPluginServerInitCallback(); \ - MatterAudioOutputPluginServerInitCallback(); \ - MatterApplicationLauncherPluginServerInitCallback(); \ - MatterApplicationBasicPluginServerInitCallback(); \ - MatterAccountLoginPluginServerInitCallback(); \ - MatterTestClusterPluginServerInitCallback(); diff --git a/zzz_generated/bridge-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/bridge-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index f0368e6a64bb30..00000000000000 --- a/zzz_generated/bridge-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterActionsPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 849a9383fbb82a..00000000000000 --- a/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterOccupancySensingPluginClientInitCallback(); diff --git a/zzz_generated/chef-rootnode_colortemperaturelight_hbUnzYVeyn/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_colortemperaturelight_hbUnzYVeyn/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index c5040d9a82f202..00000000000000 --- a/zzz_generated/chef-rootnode_colortemperaturelight_hbUnzYVeyn/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 7cb20885eb6939..00000000000000 --- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterBooleanStatePluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 8e4985e7e7ffe2..00000000000000 --- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterOccupancySensingPluginClientInitCallback(); diff --git a/zzz_generated/chef-rootnode_doorlock_aNKYAreMXE/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_doorlock_aNKYAreMXE/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index abae6af8e5565f..00000000000000 --- a/zzz_generated/chef-rootnode_doorlock_aNKYAreMXE/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginClientInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterDoorLockPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_extendedcolorlight_8lcaaYJVAa/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_extendedcolorlight_8lcaaYJVAa/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index bf63aaa09358f9..00000000000000 --- a/zzz_generated/chef-rootnode_extendedcolorlight_8lcaaYJVAa/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_fan_7N2TobIlOX/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_fan_7N2TobIlOX/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index af43a6aa723484..00000000000000 --- a/zzz_generated/chef-rootnode_fan_7N2TobIlOX/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterFanControlPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 42b72ac388d102..00000000000000 --- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterFlowMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 3b886f35afccba..00000000000000 --- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterThermostatPluginClientInitCallback(); \ - MatterFanControlPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 1e97ffe07f4f74..00000000000000 --- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterRelativeHumidityMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index b1e270d7769ea5..00000000000000 --- a/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterIlluminanceMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index e505e9f530832f..00000000000000 --- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterOccupancySensingPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 0f24b2860e7f91..00000000000000 --- a/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 3edd89a53f2702..00000000000000 --- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginClientInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index e3d4c729a40830..00000000000000 --- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index d636a4c8114913..00000000000000 --- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterPressureMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index a2d936c47deef9..00000000000000 --- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index f1ee9047b7ee0e..00000000000000 --- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index f487ddad4445ef..00000000000000 --- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterThermostatPluginServerInitCallback(); \ - MatterFanControlPluginClientInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginClientInitCallback(); \ - MatterRelativeHumidityMeasurementPluginClientInitCallback(); \ - MatterOccupancySensingPluginClientInitCallback(); diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index ad47ce921a578f..00000000000000 --- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterWindowCoveringPluginServerInitCallback(); diff --git a/zzz_generated/contact-sensor-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/contact-sensor-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 70685cfb3b2ee4..00000000000000 --- a/zzz_generated/contact-sensor-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterBooleanStatePluginServerInitCallback(); \ - MatterOccupancySensingPluginServerInitCallback(); diff --git a/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 0b55a4004fc6ec..00000000000000 --- a/zzz_generated/controller-clusters/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,89 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginClientInitCallback(); \ - MatterGroupsPluginClientInitCallback(); \ - MatterScenesPluginClientInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterOnOffSwitchConfigurationPluginClientInitCallback(); \ - MatterLevelControlPluginClientInitCallback(); \ - MatterBinaryInputBasicPluginClientInitCallback(); \ - MatterDescriptorPluginClientInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginClientInitCallback(); \ - MatterActionsPluginClientInitCallback(); \ - MatterBasicPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginClientInitCallback(); \ - MatterLocalizationConfigurationPluginClientInitCallback(); \ - MatterTimeFormatLocalizationPluginClientInitCallback(); \ - MatterUnitLocalizationPluginClientInitCallback(); \ - MatterPowerSourceConfigurationPluginClientInitCallback(); \ - MatterPowerSourcePluginClientInitCallback(); \ - MatterGeneralCommissioningPluginClientInitCallback(); \ - MatterNetworkCommissioningPluginClientInitCallback(); \ - MatterDiagnosticLogsPluginClientInitCallback(); \ - MatterGeneralDiagnosticsPluginClientInitCallback(); \ - MatterSoftwareDiagnosticsPluginClientInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginClientInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginClientInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginClientInitCallback(); \ - MatterBridgedDeviceBasicPluginClientInitCallback(); \ - MatterSwitchPluginClientInitCallback(); \ - MatterAdministratorCommissioningPluginClientInitCallback(); \ - MatterOperationalCredentialsPluginClientInitCallback(); \ - MatterGroupKeyManagementPluginClientInitCallback(); \ - MatterFixedLabelPluginClientInitCallback(); \ - MatterUserLabelPluginClientInitCallback(); \ - MatterBooleanStatePluginClientInitCallback(); \ - MatterModeSelectPluginClientInitCallback(); \ - MatterDoorLockPluginClientInitCallback(); \ - MatterWindowCoveringPluginClientInitCallback(); \ - MatterBarrierControlPluginClientInitCallback(); \ - MatterPumpConfigurationAndControlPluginClientInitCallback(); \ - MatterThermostatPluginClientInitCallback(); \ - MatterFanControlPluginClientInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginClientInitCallback(); \ - MatterColorControlPluginClientInitCallback(); \ - MatterBallastConfigurationPluginClientInitCallback(); \ - MatterIlluminanceMeasurementPluginClientInitCallback(); \ - MatterTemperatureMeasurementPluginClientInitCallback(); \ - MatterPressureMeasurementPluginClientInitCallback(); \ - MatterFlowMeasurementPluginClientInitCallback(); \ - MatterRelativeHumidityMeasurementPluginClientInitCallback(); \ - MatterOccupancySensingPluginClientInitCallback(); \ - MatterWakeOnLanPluginClientInitCallback(); \ - MatterChannelPluginClientInitCallback(); \ - MatterTargetNavigatorPluginClientInitCallback(); \ - MatterMediaPlaybackPluginClientInitCallback(); \ - MatterMediaInputPluginClientInitCallback(); \ - MatterLowPowerPluginClientInitCallback(); \ - MatterKeypadInputPluginClientInitCallback(); \ - MatterContentLauncherPluginClientInitCallback(); \ - MatterAudioOutputPluginClientInitCallback(); \ - MatterApplicationLauncherPluginClientInitCallback(); \ - MatterApplicationBasicPluginClientInitCallback(); \ - MatterAccountLoginPluginClientInitCallback(); \ - MatterElectricalMeasurementPluginClientInitCallback(); \ - MatterTestClusterPluginClientInitCallback(); diff --git a/zzz_generated/dynamic-bridge-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/dynamic-bridge-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index f0368e6a64bb30..00000000000000 --- a/zzz_generated/dynamic-bridge-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterAccessControlPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterActionsPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/light-switch-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/light-switch-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 856d83e27c638e..00000000000000 --- a/zzz_generated/light-switch-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginClientInitCallback(); \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginClientInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterColorControlPluginClientInitCallback(); diff --git a/zzz_generated/lighting-app/nxp/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/lighting-app/nxp/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 0cfb01937c9d9f..00000000000000 --- a/zzz_generated/lighting-app/nxp/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); diff --git a/zzz_generated/lighting-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/lighting-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index fddb4d6e6cb042..00000000000000 --- a/zzz_generated/lighting-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); \ - MatterOccupancySensingPluginServerInitCallback(); diff --git a/zzz_generated/lock-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/lock-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 529bd99d404d59..00000000000000 --- a/zzz_generated/lock-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterPowerSourceConfigurationPluginServerInitCallback(); \ - MatterPowerSourcePluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterDoorLockPluginServerInitCallback(); diff --git a/zzz_generated/log-source-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/log-source-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 6ba8ead67775f7..00000000000000 --- a/zzz_generated/log-source-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterAccessControlPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginClientInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); diff --git a/zzz_generated/ota-provider-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/ota-provider-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index ab1922e3b8547b..00000000000000 --- a/zzz_generated/ota-provider-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterAccessControlPluginClientInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); diff --git a/zzz_generated/ota-requestor-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/ota-requestor-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 33a985a874c373..00000000000000 --- a/zzz_generated/ota-requestor-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); diff --git a/zzz_generated/placeholder/app1/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/placeholder/app1/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index aa0b14313ab21e..00000000000000 --- a/zzz_generated/placeholder/app1/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterActionsPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterPowerSourceConfigurationPluginServerInitCallback(); \ - MatterPowerSourcePluginServerInitCallback(); \ - MatterGeneralCommissioningPluginClientInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginClientInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginClientInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterBooleanStatePluginServerInitCallback(); \ - MatterModeSelectPluginClientInitCallback(); \ - MatterModeSelectPluginServerInitCallback(); \ - MatterWindowCoveringPluginServerInitCallback(); \ - MatterPumpConfigurationAndControlPluginServerInitCallback(); \ - MatterThermostatPluginServerInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginClientInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); \ - MatterIlluminanceMeasurementPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginClientInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); \ - MatterPressureMeasurementPluginServerInitCallback(); \ - MatterFlowMeasurementPluginServerInitCallback(); \ - MatterRelativeHumidityMeasurementPluginClientInitCallback(); \ - MatterRelativeHumidityMeasurementPluginServerInitCallback(); \ - MatterTargetNavigatorPluginClientInitCallback(); \ - MatterTargetNavigatorPluginServerInitCallback(); \ - MatterKeypadInputPluginClientInitCallback(); \ - MatterKeypadInputPluginServerInitCallback(); \ - MatterContentLauncherPluginClientInitCallback(); \ - MatterContentLauncherPluginServerInitCallback(); \ - MatterApplicationBasicPluginClientInitCallback(); \ - MatterApplicationBasicPluginServerInitCallback(); diff --git a/zzz_generated/placeholder/app2/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/placeholder/app2/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index aa0b14313ab21e..00000000000000 --- a/zzz_generated/placeholder/app2/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,71 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterActionsPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterPowerSourceConfigurationPluginServerInitCallback(); \ - MatterPowerSourcePluginServerInitCallback(); \ - MatterGeneralCommissioningPluginClientInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginClientInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginClientInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterBooleanStatePluginServerInitCallback(); \ - MatterModeSelectPluginClientInitCallback(); \ - MatterModeSelectPluginServerInitCallback(); \ - MatterWindowCoveringPluginServerInitCallback(); \ - MatterPumpConfigurationAndControlPluginServerInitCallback(); \ - MatterThermostatPluginServerInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginClientInitCallback(); \ - MatterThermostatUserInterfaceConfigurationPluginServerInitCallback(); \ - MatterColorControlPluginServerInitCallback(); \ - MatterIlluminanceMeasurementPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginClientInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); \ - MatterPressureMeasurementPluginServerInitCallback(); \ - MatterFlowMeasurementPluginServerInitCallback(); \ - MatterRelativeHumidityMeasurementPluginClientInitCallback(); \ - MatterRelativeHumidityMeasurementPluginServerInitCallback(); \ - MatterTargetNavigatorPluginClientInitCallback(); \ - MatterTargetNavigatorPluginServerInitCallback(); \ - MatterKeypadInputPluginClientInitCallback(); \ - MatterKeypadInputPluginServerInitCallback(); \ - MatterContentLauncherPluginClientInitCallback(); \ - MatterContentLauncherPluginServerInitCallback(); \ - MatterApplicationBasicPluginClientInitCallback(); \ - MatterApplicationBasicPluginServerInitCallback(); diff --git a/zzz_generated/pump-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/pump-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 3e61d2b69546fa..00000000000000 --- a/zzz_generated/pump-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterPumpConfigurationAndControlPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); \ - MatterPressureMeasurementPluginServerInitCallback(); \ - MatterFlowMeasurementPluginServerInitCallback(); \ - MatterOccupancySensingPluginClientInitCallback(); diff --git a/zzz_generated/pump-controller-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/pump-controller-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index a8bc9fe9f3b492..00000000000000 --- a/zzz_generated/pump-controller-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterPumpConfigurationAndControlPluginClientInitCallback(); \ - MatterTemperatureMeasurementPluginClientInitCallback(); \ - MatterPressureMeasurementPluginClientInitCallback(); \ - MatterFlowMeasurementPluginClientInitCallback(); diff --git a/zzz_generated/temperature-measurement-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/temperature-measurement-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 8392297e883ed4..00000000000000 --- a/zzz_generated/temperature-measurement-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterTemperatureMeasurementPluginServerInitCallback(); diff --git a/zzz_generated/thermostat/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/thermostat/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index fc1f15a7696df2..00000000000000 --- a/zzz_generated/thermostat/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginClientInitCallback(); \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterThermostatPluginServerInitCallback(); diff --git a/zzz_generated/tv-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/tv-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 638b057baa7436..00000000000000 --- a/zzz_generated/tv-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,64 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginClientInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginClientInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginClientInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginClientInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterRelativeHumidityMeasurementPluginServerInitCallback(); \ - MatterWakeOnLanPluginServerInitCallback(); \ - MatterChannelPluginServerInitCallback(); \ - MatterTargetNavigatorPluginServerInitCallback(); \ - MatterMediaPlaybackPluginServerInitCallback(); \ - MatterMediaInputPluginServerInitCallback(); \ - MatterLowPowerPluginServerInitCallback(); \ - MatterKeypadInputPluginServerInitCallback(); \ - MatterContentLauncherPluginServerInitCallback(); \ - MatterAudioOutputPluginServerInitCallback(); \ - MatterApplicationLauncherPluginServerInitCallback(); \ - MatterApplicationBasicPluginServerInitCallback(); \ - MatterAccountLoginPluginServerInitCallback(); diff --git a/zzz_generated/tv-casting-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/tv-casting-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index d7963d5e5abad2..00000000000000 --- a/zzz_generated/tv-casting-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,67 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterOnOffPluginClientInitCallback(); \ - MatterOnOffPluginServerInitCallback(); \ - MatterLevelControlPluginClientInitCallback(); \ - MatterLevelControlPluginServerInitCallback(); \ - MatterBinaryInputBasicPluginServerInitCallback(); \ - MatterDescriptorPluginClientInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterBindingPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterDiagnosticLogsPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterSwitchPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterBarrierControlPluginServerInitCallback(); \ - MatterWakeOnLanPluginServerInitCallback(); \ - MatterChannelPluginClientInitCallback(); \ - MatterTargetNavigatorPluginClientInitCallback(); \ - MatterMediaPlaybackPluginClientInitCallback(); \ - MatterMediaInputPluginClientInitCallback(); \ - MatterKeypadInputPluginClientInitCallback(); \ - MatterContentLauncherPluginClientInitCallback(); \ - MatterAudioOutputPluginClientInitCallback(); \ - MatterApplicationLauncherPluginClientInitCallback(); \ - MatterApplicationBasicPluginClientInitCallback(); \ - MatterAccountLoginPluginClientInitCallback(); diff --git a/zzz_generated/window-app/zap-generated/PluginApplicationCallbacks.h b/zzz_generated/window-app/zap-generated/PluginApplicationCallbacks.h deleted file mode 100644 index 15053dcb75be49..00000000000000 --- a/zzz_generated/window-app/zap-generated/PluginApplicationCallbacks.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -// THIS FILE IS GENERATED BY ZAP - -#pragma once - -#include - -#define MATTER_PLUGINS_INIT \ - MatterIdentifyPluginServerInitCallback(); \ - MatterGroupsPluginServerInitCallback(); \ - MatterScenesPluginServerInitCallback(); \ - MatterDescriptorPluginServerInitCallback(); \ - MatterAccessControlPluginServerInitCallback(); \ - MatterBasicPluginServerInitCallback(); \ - MatterOtaSoftwareUpdateProviderPluginClientInitCallback(); \ - MatterOtaSoftwareUpdateRequestorPluginServerInitCallback(); \ - MatterLocalizationConfigurationPluginServerInitCallback(); \ - MatterTimeFormatLocalizationPluginServerInitCallback(); \ - MatterUnitLocalizationPluginServerInitCallback(); \ - MatterPowerSourcePluginServerInitCallback(); \ - MatterGeneralCommissioningPluginServerInitCallback(); \ - MatterNetworkCommissioningPluginServerInitCallback(); \ - MatterGeneralDiagnosticsPluginServerInitCallback(); \ - MatterSoftwareDiagnosticsPluginServerInitCallback(); \ - MatterThreadNetworkDiagnosticsPluginServerInitCallback(); \ - MatterWiFiNetworkDiagnosticsPluginServerInitCallback(); \ - MatterEthernetNetworkDiagnosticsPluginServerInitCallback(); \ - MatterAdministratorCommissioningPluginServerInitCallback(); \ - MatterOperationalCredentialsPluginServerInitCallback(); \ - MatterGroupKeyManagementPluginServerInitCallback(); \ - MatterFixedLabelPluginServerInitCallback(); \ - MatterUserLabelPluginServerInitCallback(); \ - MatterWindowCoveringPluginServerInitCallback();