diff --git a/.github/.wordlist.txt b/.github/.wordlist.txt
index a6d2183cfd5ea1..c2820eee66d529 100644
--- a/.github/.wordlist.txt
+++ b/.github/.wordlist.txt
@@ -95,6 +95,7 @@ ASR
AssertionError
AST
ASYNC
+ATLs
atomics
att
attId
@@ -160,6 +161,7 @@ blockquote
bluetoothd
bluez
BOOL
+booleans
BooleanState
bootable
Bootloader
@@ -380,6 +382,7 @@ DefaultOTARequestor
DefaultOTARequestorDriver
DefaultOTARequestorStorage
DefaultSuccess
+defaultValue
definedValue
DehumidificationControl
DelayedActionTime
@@ -503,6 +506,7 @@ emberAfExternalAttributeReadCallback
emberAfExternalAttributeWriteCallback
EmberAfInitializeAttributes
emberAfSetDynamicEndpoint
+emsp
EnableNetwork
EnableWiFiNetwork
endian
@@ -604,6 +608,7 @@ GenericWiFiConfigurationManagerImpl
GetDeviceId
GetDeviceInfo
GetDns
+GetInDevelopmentTests
GetIP
getManualTests
GetSafeAttributePersistenceProvider
@@ -673,6 +678,7 @@ IasWd
iaszone
ibb
ICA
+ICAC
ICD
ICDs
iCloud
@@ -724,6 +730,7 @@ IoT
ipaddr
iPadOS
ipadr
+IPK
ipp
iptables
iputils
@@ -935,6 +942,7 @@ namespacing
nano
natively
navpad
+nbsp
NCP
ncs
nding
@@ -1076,6 +1084,7 @@ Pigweed
PinCode
pinrequest
PIXIT
+PIXITs
pkgconfig
PKI
plaintext
@@ -1155,6 +1164,7 @@ RADVD
raspberryPi
RasPi
rAv
+RCAC
RCP
ReadAttribute
ReadConfigValue
@@ -1219,6 +1229,7 @@ RTOS
RTT
RTX
runArgs
+runIf
RUNAS
RunMain
runtime
@@ -1227,6 +1238,7 @@ rw
RXD
sandboxed
saveAs
+saveDataVersschemaionAs
sbin
scalability
scalable
@@ -1377,6 +1389,7 @@ TestArray
TestCluster
TestConstraints
TestEmptyString
+TestEqualities
TestGenExample
TestGroupDemoConfig
TestMultiRead
diff --git a/.github/workflows/examples-esp32.yaml b/.github/workflows/examples-esp32.yaml
index 47908d654006e9..2e5432dd4ec03f 100644
--- a/.github/workflows/examples-esp32.yaml
+++ b/.github/workflows/examples-esp32.yaml
@@ -165,3 +165,6 @@ jobs:
- name: Build example Lighting App (external platform)
run: scripts/examples/esp_example.sh lighting-app sdkconfig.ext_plat.defaults
+
+ - name: Build example Energy Management App
+ run: scripts/examples/esp_example.sh energy-management-app sdkconfig.defaults
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index b5ed62592ecfc6..4781ff8280d868 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -467,6 +467,7 @@ jobs:
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_CGEN_2_4.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_DA_1_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TestGroupTableReports.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
+ scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TestBatchInvoke.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TC_TIMESYNC_2_1.py" --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TC_TIMESYNC_2_2.py" --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --script "src/python_testing/TC_TIMESYNC_2_4.py" --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
@@ -484,6 +485,7 @@ jobs:
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-lit-icd-ipv6only-no-ble-no-wifi-tsan-clang-test/lit-icd-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_ICDM_2_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_DA_1_5.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --PICS src/app/tests/suites/certification/ci-pics-values --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_IDM_1_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
+ scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_IDM_1_4.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_IDM_4_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_1.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
scripts/run_in_python_env.sh out/venv './scripts/tests/run_python_test.py --app out/linux-x64-all-clusters-ipv6only-no-ble-no-wifi-tsan-clang-test/chip-all-clusters-app --factoryreset --app-args "--discriminator 1234 --KVS kvs1 --trace-to json:out/trace_data/app-{SCRIPT_BASE_NAME}.json" --script "src/python_testing/TC_FAN_3_2.py" --script-args "--storage-path admin_storage.json --commissioning-method on-network --discriminator 1234 --passcode 20202021 --trace-to json:out/trace_data/test-{SCRIPT_BASE_NAME}.json --trace-to perfetto:out/trace_data/test-{SCRIPT_BASE_NAME}.perfetto"'
@@ -591,4 +593,3 @@ jobs:
path: objdir-clone/
# objdirs are big; don't hold on to them too long.
retention-days: 5
-
diff --git a/.restyled.yaml b/.restyled.yaml
index ddea89227f3727..56ed3061e6e1fa 100644
--- a/.restyled.yaml
+++ b/.restyled.yaml
@@ -86,6 +86,8 @@ exclude:
- "scripts/setup/pigweed.json" # TODO(#29547). This file is temporary copy from pigweed repo that has minor edits. No restyle help in diff.
- "docs/ERROR_CODES.md" # generated by scripts, not easy to align tables
- "docs/clusters.md" # generated by scripts, not easy to align tables
+ - "docs/testing/yaml_pseudocluster.md" # generated by scripts, restyler makes the tables render improperly
+ - "docs/testing/yaml_schema.md" # generated by scripts, restyler makes the tables render improperly
changed_paths:
maximum: 100000
diff --git a/.spellcheck.yml b/.spellcheck.yml
index e3e470a696bbeb..c04880827addba 100644
--- a/.spellcheck.yml
+++ b/.spellcheck.yml
@@ -20,7 +20,7 @@
#
# Actual run:
#
-# pyspelling pyspelling --config .spellcheck.yml
+# pyspelling --config .spellcheck.yml
matrix:
- name: markdown
@@ -65,6 +65,6 @@ matrix:
# converts markdown to HTML
- pyspelling.filters.markdown:
sources:
- - '**/*.md|!third_party/**|!examples/common/**/repo/**|!docs/ERROR_CODES.md|!docs/clusters.md'
+ - '**/*.md|!third_party/**|!examples/common/**/repo/**|!docs/ERROR_CODES.md|!docs/clusters.md|!docs/testing/yaml_schema.md|!docs/testing/yaml_pseudocluster.md'
aspell:
ignore-case: true
diff --git a/build/chip/chip_test_group.gni b/build/chip/chip_test_group.gni
index bc092c46ab6bcd..9e26b19235e29c 100644
--- a/build/chip/chip_test_group.gni
+++ b/build/chip/chip_test_group.gni
@@ -39,10 +39,14 @@ template("chip_test_group") {
[
"build_monolithic_library",
"deps",
+ "tests",
])
deps = []
- foreach(_test, invoker.deps) {
+ if (defined(invoker.deps)) {
+ deps = invoker.deps
+ }
+ foreach(_test, invoker.tests) {
deps += [ get_label_info(_test, "label_no_toolchain") + ".lib" ]
}
@@ -53,7 +57,7 @@ template("chip_test_group") {
group("${_test_group_name}") {
deps = []
- data_deps = invoker.deps
+ data_deps = invoker.tests
if (_build_monolithic_library) {
deps += [ ":${_lib_target_name}" ]
@@ -64,7 +68,10 @@ template("chip_test_group") {
group("${_test_group_name}_run") {
if (chip_link_tests) {
deps = []
- foreach(_test, invoker.deps) {
+ if (defined(invoker.deps)) {
+ deps = invoker.deps
+ }
+ foreach(_test, invoker.tests) {
deps += [ get_label_info(_test, "label_no_toolchain") + "_run" ]
}
}
diff --git a/config/ameba/lib/pw_rpc/BUILD.gn b/config/ameba/lib/pw_rpc/BUILD.gn
index 4b47ab1d61a16a..0b125c8a98aada 100644
--- a/config/ameba/lib/pw_rpc/BUILD.gn
+++ b/config/ameba/lib/pw_rpc/BUILD.gn
@@ -24,7 +24,6 @@ static_library("pw_rpc") {
"$dir_pw_rpc:server",
"$dir_pw_rpc/nanopb:echo_service",
"${chip_root}/examples/platform/ameba/pw_sys_io:pw_sys_io_ameba",
- "${dir_pigweed}/pw_hdlc:pw_rpc",
dir_pw_assert,
dir_pw_hdlc,
dir_pw_log,
diff --git a/config/bouffalolab/common/lib/pw_rpc/BUILD.gn b/config/bouffalolab/common/lib/pw_rpc/BUILD.gn
index b1c9e1a596209e..999ffe37618ec7 100644
--- a/config/bouffalolab/common/lib/pw_rpc/BUILD.gn
+++ b/config/bouffalolab/common/lib/pw_rpc/BUILD.gn
@@ -36,7 +36,6 @@ static_library("pw_rpc") {
"$dir_pw_rpc:server",
"$dir_pw_rpc/nanopb:echo_service",
"${chip_root}/examples/platform/bouffalolab/common/rpc/pw_sys_io:pw_sys_io",
- "${dir_pigweed}/pw_hdlc:pw_rpc",
dir_pw_assert,
dir_pw_checksum,
dir_pw_hdlc,
diff --git a/config/efr32/lib/pw_rpc/BUILD.gn b/config/efr32/lib/pw_rpc/BUILD.gn
index ed2e3a47bc1305..f858f6c1321999 100644
--- a/config/efr32/lib/pw_rpc/BUILD.gn
+++ b/config/efr32/lib/pw_rpc/BUILD.gn
@@ -25,7 +25,6 @@ static_library("pw_rpc") {
"$dir_pw_rpc:server",
"$dir_pw_rpc/nanopb:echo_service",
"${chip_root}/examples/platform/silabs/pw_sys_io:pw_sys_io_silabs",
- "${dir_pigweed}/pw_hdlc:pw_rpc",
dir_pw_assert,
dir_pw_checksum,
dir_pw_hdlc,
diff --git a/config/esp32/lib/pw_rpc/BUILD.gn b/config/esp32/lib/pw_rpc/BUILD.gn
index 383e4b25f21d56..2ced13e5c5574d 100644
--- a/config/esp32/lib/pw_rpc/BUILD.gn
+++ b/config/esp32/lib/pw_rpc/BUILD.gn
@@ -24,7 +24,6 @@ static_library("pw_rpc") {
"$dir_pw_rpc:server",
"$dir_pw_rpc/nanopb:echo_service",
"${chip_root}/examples/platform/esp32/pw_sys_io:pw_sys_io_esp32",
- "${dir_pigweed}/pw_hdlc:pw_rpc",
dir_pw_assert,
dir_pw_hdlc,
dir_pw_log,
diff --git a/config/linux/lib/pw_rpc/BUILD.gn b/config/linux/lib/pw_rpc/BUILD.gn
index e79af448d13e57..a01627c32541d1 100644
--- a/config/linux/lib/pw_rpc/BUILD.gn
+++ b/config/linux/lib/pw_rpc/BUILD.gn
@@ -22,7 +22,6 @@ static_library("pw_rpc") {
public_configs = [ "${dir_pigweed}/pw_hdlc:default_config" ]
deps = [
"$dir_pw_hdlc:encoder",
- "$dir_pw_hdlc:pw_rpc",
"$dir_pw_hdlc:rpc_channel_output",
"$dir_pw_rpc/system_server:facade",
"$dir_pw_stream:socket_stream",
diff --git a/config/mbed/chip-gn/lib/pw_rpc/BUILD.gn b/config/mbed/chip-gn/lib/pw_rpc/BUILD.gn
index f1a5e071e9c619..c84adde4fb1e46 100644
--- a/config/mbed/chip-gn/lib/pw_rpc/BUILD.gn
+++ b/config/mbed/chip-gn/lib/pw_rpc/BUILD.gn
@@ -30,7 +30,6 @@ static_library("pw_rpc") {
deps = [
"$dir_pw_rpc:server",
"${chip_root}/examples/platform/mbed/pw_sys_io:pw_sys_io_mbed",
- "${dir_pigweed}/pw_hdlc:pw_rpc",
dir_pw_assert,
dir_pw_hdlc,
dir_pw_log,
diff --git a/config/qpg/lib/pw_rpc/BUILD.gn b/config/qpg/lib/pw_rpc/BUILD.gn
index bd633d591b3577..99c64201f5df19 100644
--- a/config/qpg/lib/pw_rpc/BUILD.gn
+++ b/config/qpg/lib/pw_rpc/BUILD.gn
@@ -36,7 +36,6 @@ static_library("pw_rpc") {
"$dir_pw_rpc:server",
"$dir_pw_rpc/nanopb:echo_service",
"${chip_root}/examples/platform/qpg/pw_sys_io:pw_sys_io_qpg",
- "${dir_pigweed}/pw_hdlc:pw_rpc",
dir_pw_assert,
dir_pw_checksum,
dir_pw_hdlc,
diff --git a/data_model/clusters/Scenes.xml b/data_model/clusters/Scenes.xml
index 920f9ae70746f0..2168c164a02460 100644
--- a/data_model/clusters/Scenes.xml
+++ b/data_model/clusters/Scenes.xml
@@ -1,68 +1,63 @@
-
-
+
-
-
-
-
-
-
+
diff --git a/docs/guides/esp32/setup_idf_chip.md b/docs/guides/esp32/setup_idf_chip.md
index 900bfc170b5dea..5a6728c44d8417 100644
--- a/docs/guides/esp32/setup_idf_chip.md
+++ b/docs/guides/esp32/setup_idf_chip.md
@@ -13,25 +13,25 @@ step.
### Install Prerequisites
-- [Linux](https://docs.espressif.com/projects/esp-idf/en/v5.1/esp32/get-started/linux-macos-setup.html#for-linux-users)
-- [macOS](https://docs.espressif.com/projects/esp-idf/en/v5.1/esp32/get-started/linux-macos-setup.html#for-macos-users)
+- [Linux](https://docs.espressif.com/projects/esp-idf/en/v5.1.2/esp32/get-started/linux-macos-setup.html#for-linux-users)
+- [macOS](https://docs.espressif.com/projects/esp-idf/en/v5.1.2/esp32/get-started/linux-macos-setup.html#for-macos-users)
-### Get IDF v5.1.1
+### Get IDF v5.1.2
-- Clone ESP-IDF [v5.1.1
- release](https://github.com/espressif/esp-idf/releases/tag/v5.1.1
+- Clone ESP-IDF [v5.1.2
+ release](https://github.com/espressif/esp-idf/releases/tag/v5.1.2
```
- git clone -b v5.1.1 --recursive --depth 1 --shallow-submodule https://github.com/espressif/esp-idf.git
+ git clone -b v5.1.2 --recursive --depth 1 --shallow-submodule https://github.com/espressif/esp-idf.git
cd esp-idf
./install.sh
```
-- To update an existing esp-idf toolchain to v5.1.1:
+- To update an existing esp-idf toolchain to v5.1.2:
```
cd path/to/esp-idf
- git fetch --depth 1 origin v5.1.1
+ git fetch --depth 1 origin v5.1.2
git reset --hard FETCH_HEAD
git submodule update --depth 1 --recursive --init
diff --git a/docs/index.md b/docs/index.md
index 12218445600743..8447850784787f 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -16,6 +16,7 @@ cluster_and_device_type_dev/index
guides/index
style/index
examples/index
+testing/index
tools/index
BUG_REPORT
code_generation
diff --git a/docs/testing/ci_testing.md b/docs/testing/ci_testing.md
new file mode 100644
index 00000000000000..7f974bb6f03604
--- /dev/null
+++ b/docs/testing/ci_testing.md
@@ -0,0 +1,6 @@
+# CI testing
+
+This file is a placeholder for information on how to run tests in the CI.
+
+NOTE: discuss in particular triggers direct to the device, test event triggers
+and the CI pics.
diff --git a/docs/testing/index.md b/docs/testing/index.md
new file mode 100644
index 00000000000000..0b9bbf4c494a38
--- /dev/null
+++ b/docs/testing/index.md
@@ -0,0 +1,31 @@
+# Testing Guides
+
+The following guide provide an introduction to the testing mechanisms available
+in the SDK.
+
+```{toctree}
+:glob:
+:maxdepth: 1
+:hidden:
+
+*
+```
+
+## Unit testing
+
+- [Unit tests](./unit_testing.md)
+
+## Integration and Certification tests
+
+- [Integration and Certification tests](./integration_tests.md)
+- [YAML](./yaml.md)
+- [Python testing framework](./python.md)
+- [Enabling tests in the CI](./ci_testing.md)
+
+## PICS and PIXIT
+
+- [PICS and PIXIT](./pics_and_pixit.md)
+
+## Testing in the CI
+
+- [CI testing](./ci_testing.md)
diff --git a/docs/testing/integration_tests.md b/docs/testing/integration_tests.md
new file mode 100644
index 00000000000000..46a20ebb8ac090
--- /dev/null
+++ b/docs/testing/integration_tests.md
@@ -0,0 +1,46 @@
+# Integration and Certification Tests
+
+Integration tests use a server and a controller or controllers to test the
+behavior of a device. Certification tests are all integration tests. For
+certified products, the device under test (DUT) is tested against one of the SDK
+controller implementations (either chip-tool or the python-based controller,
+depending on the test type). For software component certification, the software
+component is tested against a sample device built from the SDK.
+
+Certification tests require an accompanying certification test plan in order to
+be used in the certification testing process. More information about test plans
+can be found in the
+[test plans repository](https://github.com/CHIP-Specifications/chip-test-plans/tree/master/docs).
+Integration testing can also be used outside of the certification testing
+program to test device behavior in the SDK. Certification tests are all run in
+the [CI](./ci_testing).
+
+There are two main integration test types:
+
+- [YAML](./yaml.md)
+- [Python framework](./python.md)
+
+YAML is a human-readable serialization language that uses structured tags to
+define test steps. Tests are defined in YAML, and parsed and run through a
+runner that is backed by the chip-tool controller.
+
+The Python framework tests are written in python and use the
+[Mobly](https://github.com/google/mobly) test framework to execute tests.
+
+## Which test framework to use
+
+Both types of tests can be run through the Test Harness for certification
+testing, locally for the purposes of development and in the CI for the SDK. The
+appropriate test framework to use is whatever lets you automate your tests in a
+way that is understandable, readable, and has the features you need
+
+- YAML
+ - pros: more readable, simpler to write, easy for ATLs to parse and
+ understand
+ - cons: conditionals are harder (not all supported), no branch control,
+ schema not well documented
+- python
+ - pros: full programming language, full control API with support for core
+ (certs, commissioning, etc), less plumbing if you need to add features,
+ can use python libraries
+ - cons: more complex, can be harder to read
diff --git a/docs/testing/pics_and_pixit.md b/docs/testing/pics_and_pixit.md
new file mode 100644
index 00000000000000..ee8901c66fecab
--- /dev/null
+++ b/docs/testing/pics_and_pixit.md
@@ -0,0 +1,10 @@
+# PICS and PIXITs
+
+Placeholder file for PICS and PIXIT info
+
+- PICS formats - XML vs. test harness
+- PICS in CI
+- PICS tool and how we practically use it in Matter
+- PICS checker test
+- PIXITs in tests and how to set them
+- Why you should avoid using both of these things.
diff --git a/docs/testing/python.md b/docs/testing/python.md
new file mode 100644
index 00000000000000..3af81e2394fe85
--- /dev/null
+++ b/docs/testing/python.md
@@ -0,0 +1,6 @@
+# Python framework tests
+
+This file is a placeholder for python framework test information.
+
+NOTE: be sure to include information about how you need to commission with the
+python controller, not chip-tool and how to do that in the scripts
diff --git a/docs/testing/unit_testing.md b/docs/testing/unit_testing.md
new file mode 100644
index 00000000000000..e62940f15a9c7c
--- /dev/null
+++ b/docs/testing/unit_testing.md
@@ -0,0 +1,3 @@
+# Unit testing
+
+This doc is a placeholder for an guide around unit tests.
diff --git a/docs/testing/yaml.md b/docs/testing/yaml.md
new file mode 100644
index 00000000000000..2099d623c1b3db
--- /dev/null
+++ b/docs/testing/yaml.md
@@ -0,0 +1,362 @@
+# YAML tests
+
+YAML is a structured, human-readable data-serialization language. Much like json
+or proto, YAML refers to the structure and parser, and the schema used for any
+particular application is defined by the application.
+
+In Matter, we use YAML for describing tests and test steps. A YAML parser and
+runner is then used to translate the YAML instructions into actions used to
+interact with the device under test (DUT).
+
+The main runner we use for testing in Matter parses the YAML instructions into
+chip-tool commands.
+
+The schema description for the Matter test YAML is available here:
+[YAML Schema](./yaml_schema.md)
+
+## Writing YAML tests
+
+Most YAML tests are written for certification. These follow a standard format
+that is used to display the test easily in the test harness.
+
+### Placeholder for anatomy of a yaml test - need diagram
+
+### Placeholder for anatomy of a test step - need diagram
+
+### Common actions
+
+#### Sending a cluster command
+
+The following shows a test step sending a simple command with no arguments.
+
+```
+ - label: "This label gets printed"
+ cluster: "On/Off"
+ command: "On"
+```
+
+- label - label to print before performing the test step
+- cluster - name of the cluster to send the command to
+- command - name of the command to send
+
+This send the On command to the On/Off cluster on the DUT. For most tests, the
+nodeID of the DUT and endpoint for the cluster are defined in the top-level
+config section of the file and applied to every test step. However, these can
+also be overwritten in the individual test steps.
+
+The following shows how to send a command with arguments:
+
+```
+ - label: "This label gets printed before the test step"
+ command: "MoveToColor"
+ arguments:
+ values:
+ - name: "ColorX"
+ value: 32768
+ - name: "ColorY"
+ value: 19660
+ - name: "TransitionTime"
+ value: 0
+ - name: "OptionsMask"
+ value: 0
+ - name: "OptionsOverride"
+ value: 0
+```
+
+- label - label to print before performing the test step
+- command - name of the command to send
+- argument - this is a list parameter that takes either a "value" or "values"
+ tag. Commands with arguments all use structured fields, which require the
+ "values" tag with a list. Each of the fields is represented by a "name" and
+ "value" pair
+
+In this command, the cluster: tag is elided. The cluster for the entire test can
+be set in the config section at the top of the test. This can be overwritten for
+individual test steps (as above).
+
+#### Reading and writing attributes
+
+Reading and writing attributes is represented in the Matter test YAML schemas as
+a special command that requires an additional "attribute" tag.
+
+The following YAML would appear as a test step, and shows how to read an
+attribute.
+
+```
+- label: "TH reads the ClusterRevision from DUT"
+ command: "readAttribute"
+ attribute: "ClusterRevision"
+```
+
+The following YAML would appear as a test step and shows how to write an
+attribute. Commands to write attributes always require an argument: tag.
+
+```
+- label: "Write example attribute"
+ command: "writeAttribute"
+ attribute: "ExampleAttribute"
+ arguments:
+ value: 1
+```
+
+#### Parsing Responses
+
+After sending a command or read or write attribute request, you may want to
+verify the response. This is done using the "response" tag with various
+sub-tags.
+
+The following shows a simple response parsing with two (somewhat redundant)
+checks.
+
+```
+- label: "TH reads the ClusterRevision from DUT"
+ command: "readAttribute"
+ attribute: "ClusterRevision"
+ response:
+ value: 1
+ constraints:
+ minValue: 1
+```
+
+The following tags can be used to parse the response
+
+| Example | Description |
+| :---------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------- |
+| response:
value: [1, 2, 3, 4] | must match exactly. Variables and saveAs values allowed |
+| response:
values:
- name: response_field
value: 1 | Must match exactly
Use for commands that return command responses with named fields |
+| response:
error: CONSTRAINT_ERROR | expect an error back (omit for success)
Variables and saveAs values will not work. |
+| response:
constraints: | more complex checks - see [Schema](./yaml_schema.md) for a complete description |
+
+#### Lists and structs
+
+Lists and structs can be represented as follows:
+
+Lists: `[1,2,3,4,5]`
+
+structs: `{field1:value, field2:value}`
+
+lists of structs:
+
+```
+[
+
+{field1:value, field2:value, optionalfield:value},
+
+{field1:value, field2:value},
+
+]
+```
+
+Note that structs are different than command and command response fields, which
+are represented using name:, value: tags.
+
+#### Pseudo clusters
+
+Tests often require functionality that is not strictly cluster-based. Some of
+this functionality is supported in YAML using pseudo-clusters. These clusters
+accept command: tags like the DUT clusters to control the pseudo-cluster
+functionality.
+
+Some of the more common functionality is shown below:
+
+Establishing a connection to the DUT. This is the first step in nearly every
+test.
+
+```
+ - label: "Establish a connection to the DUT"
+ cluster: "DelayCommands"
+ command: "WaitForCommissionee"
+ arguments:
+ values:
+ - name: "nodeId"
+ value: nodeId
+```
+
+Wait for a user action:
+
+```
+ - label: "Do a simple user prompt message. Expect 'y' to pass."
+ cluster: "LogCommands"
+ command: "UserPrompt"
+ arguments:
+ values:
+ - name: "message"
+ value: "Please enter 'y' for success"
+ - name: "expectedValue"
+ value: "y"
+```
+
+Wait for a time:
+
+```
+ - label: "Wait for 5S"
+ cluster: "DelayCommands"
+ command: "WaitForMs"
+ arguments:
+ values:
+ - name: "ms"
+ value: 5000
+```
+
+A full description of the available pseudo-clusters and their commands is
+available at [Pseudo-cluster description](./yaml_pseudocluster.md).
+
+#### Config variables and saveAs:
+
+Certain tags can use variables that are either declared in the config: section
+or saved from other steps. Variables that are declared in the config can be
+overwritten on the command line when running locally or through the config file
+in the test harness.
+
+To declare config variables in the config section, use a label with the desired
+name, then provide the type and defaultValue tags as sub-tags.
+
+```
+config:
+ nodeId: 0x12344321
+ cluster: "Unit Testing"
+ endpoint: 1
+ myArg1:
+ type: int8u
+ defaultValue: 5
+```
+
+Variables can also be saved from responses:
+
+```
+ - label: "Send Test Add Arguments Command"
+ command: "TestAddArguments"
+ arguments:
+ values:
+ - name: "arg1"
+ value: 3
+ - name: "arg2"
+ value: 17
+ response:
+ values:
+ - name: "returnValue"
+ saveAs: TestAddArgumentDefaultValue
+ value: 20
+```
+
+Variables can then be used in later steps:
+
+```
+ - label: "Send Test Add Arguments Command"
+ command: "TestAddArguments"
+ arguments:
+ values:
+ - name: "arg1"
+ value: 3
+ - name: "arg2"
+ value: 17
+ response:
+ values:
+ - name: "returnValue"
+ value: TestAddArgumentDefaultValue
+```
+
+Tags where variables can be used are noted in the
+[schema description](./yaml_schema.md).
+
+Config variables can be used to implement PIXIT values in tests.
+
+#### Gating tests and steps: PICS, TestEqualities and runIf
+
+The PICS tag can be used to unconditionally gate a test step on the PICS value
+in the file.
+
+The PICS tag can handle standard boolean operations on pics (!, ||, &&, ()).
+
+A PICS tag at the top level of the file can be used to gate the entire test in
+the test harness. Note that full-test gating is not currently implemented in the
+local runner or in the CI.
+
+Some test steps need to be gated on values from earlier in the test. In these
+cases, PICS cannot be used. Instead, the runIf: tag can be used. This tag
+requires a boolean value. To convert values to booleans, the TestEqualities
+function can be use. See
+[TestEqualities](https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/TestEqualities.yaml)
+for an example of how to use this pseudo-cluster.
+
+## Running YAML tests
+
+YAML scripts are parsed and run using a python-based runner program that parses
+the file, then translates the tags into chip-tool commands, and sends those
+commands over a socket to chip-tool (running in interactive mode).
+
+### Running locally
+
+#### Commissioning the DUT
+
+All YAML tests assume that the DUT has previously been commissioned before
+running. DUTs should be commissioned using chip-tool. Use the same KVS file when
+running the test.
+
+#### Running the tests
+
+There are several options for running tests locally. Because the YAML runner
+uses python, it is necessary to compile and install the chip python package
+before using any YAML runner script.
+
+```
+./scripts/build_python.sh -i py
+source py/bin/activate
+```
+
+Compile chip-tool:
+
+```
+./scripts/build/build_examples.py --target linux-x64-chip-tool build
+
+```
+
+NOTE: use the target appropriate to your system
+
+[chiptool.py](https://github.com/project-chip/connectedhomeip/blob/master/scripts/tests/yaml/chiptool.py)
+can be used to run tests against a commissioned DUT (commissioned by chip-tool).
+This will start an interactive instance of chip-tool automatically.
+
+```
+./scripts/tests/yaml/chiptool.py tests Test_TC_OO_2_1 --server_path ./out/linux-x64-chip-tool/chip-tool
+
+```
+
+NOTE: substitute the appropriate test name and chip-tool path as appropriate.
+
+A list of available tests can be generated using:
+
+```
+./scripts/tests/yaml/chiptool.py list
+```
+
+Config variables can be passed to chiptool.py after the script by separating
+with --
+
+```
+./scripts/tests/yaml/chiptool.py tests Test_TC_OO_2_1 --server_path ./out/linux-x64-chip-tool/chip-tool -- nodeId 0x12344321
+
+```
+
+#### Factory resetting the DUT
+
+On the host machine, you can simulate a factory reset by deleting the KVS file.
+If you did not specify a location for the KVS file when starting the
+application, the KVS file will be in /tmp as chip_kvs
+
+### Running in the CI
+
+- YAML tests added to the certification directory get run automatically
+ - src/app/tests/suites/certification/
+ - PICS file: src/app/tests/suites/certification/ci-pics-values
+- If you DON’T want to run a test in the CI
+ - (ex under development), add it to \_GetInDevelopmentTests in
+ `scripts/tests/chiptest/__init__.py`
+
+Please see [CI testing](./ci_testing.md) for more information about how to set
+up examples apps, PICS and PIXIT values for use in the CI.
+
+### Running in the TH
+
+TODO: Do we have a permanent link to the most up to date TH documentation? If
+so, add here.
diff --git a/docs/testing/yaml_pseudocluster.md b/docs/testing/yaml_pseudocluster.md
new file mode 100644
index 00000000000000..49946187aa39b9
--- /dev/null
+++ b/docs/testing/yaml_pseudocluster.md
@@ -0,0 +1,74 @@
+
+
+# YAML Pseudo-clusters
+
+
+
+CommissionerCommands
+|command|args|arg type| arg optional|
+|:---|:---|:---|:---|
+|PairWithCode|nodeId
payload
discoverOnce|node_id
char_string
boolean|false
false
true|
+|Unpair|nodeId|node_id|false|
+|GetCommissionerNodeId||||
+|GetCommissionerNodeIdResponse|nodeId|node_id|false|
+|GetCommissionerRootCertificate||||
+|GetCommissionerRootCertificateResponse|RCAC|OCTET_STRING|false|
+|IssueNocChain|Elements
nodeId|octet_string
node_id|false
false|
+|IssueNocChainResponse|NOC
ICAC
RCAC
IPK|octet_string
octet_string
octet_string
octet_string|false
false
false
false|
+
+
+DelayCommands
+|command|args|arg type| arg optional|
+|:---|:---|:---|:---|
+|WaitForCommissioning||||
+|WaitForCommissionee|nodeId
expireExistingSession|node_id
bool|false
true|
+|WaitForMs|ms|int16u|false|
+|WaitForMessage|registerKey
message|char_string
char_string|false
false|
+
+
+DiscoveryCommands
+|command|args|arg type| arg optional|
+|:---|:---|:---|:---|
+|FindCommissionable||||
+|FindCommissionableByShortDiscriminator|value|int16u|false|
+|FindCommissionableByLongDiscriminator|value|int16u|false|
+|FindCommissionableByCommissioningMode||||
+|FindCommissionableByVendorId|value|vendor_id|false|
+|FindCommissionableByDeviceType|value|devtype_id|false|
+|FindCommissioner||||
+|FindCommissionerByVendorId|value|vendor_id|false|
+|FindCommissionerByDeviceType|value|devtype_id|false|
+|FindResponse|hostName
instanceName
longDiscriminator
shortDiscriminator
vendorId
productId
commissioningMode
deviceType
deviceName
rotatingId
rotatingIdLen
pairingHint
pairingInstruction
supportsTcp
numIPs
port
mrpRetryIntervalIdle
mrpRetryIntervalActive
mrpRetryActiveThreshold
isICDOperatingAsLIT|char_string
char_string
int16u
int16u
vendor_id
int16u
int8u
devtype_id
char_string
octet_string
int64u
int16u
char_string
boolean
int8u
int16u
int32u
int32u
int16u
boolean|false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
true
true
true
true|
+
+
+EqualityCommands
+|command|args|arg type| arg optional|
+|:---|:---|:---|:---|
+|BooleanEquals|Value1
Value2|boolean
boolean|false
false|
+|SignedNumberEquals|Value1
Value2|int64s
int64s|false
false|
+|UnsignedNumberEquals|Value1
Value2|int64u
int64u|false
false|
+|EqualityResponse|Equals|bool|false|
+
+
+LogCommands
+|command|args|arg type| arg optional|
+|:---|:---|:---|:---|
+|Log|message|char_string|false|
+|UserPrompt|message
expectedValue|char_string
char_string|false
true|
+
+
+SystemCommands
+|command|args|arg type| arg optional|
+|:---|:---|:---|:---|
+|Start|registerKey
discriminator
port
minCommissioningTimeout
kvs
filepath
otaDownloadPath
endUserSupportLogPath
networkDiagnosticsLogPath
crashLogPath|char_string
int16u
int16u
int16u
char_string
char_string
char_string
char_string
char_string
char_string|true
true
true
true
true
true
true
true
true
true|
+|Stop|registerKey|char_string|true|
+|Reboot|registerKey|char_string|true|
+|FactoryReset|registerKey|char_string|true|
+|CreateOtaImage|otaImageFilePath
rawImageFilePath
rawImageContent|char_string
char_string
char_string|false
false
false|
+|CompareFiles|file1
file2|char_string
char_string|false
false|
+|CreateFile|filePath
fileContent|char_string
char_string|false
false|
+|DeleteFile|filePath|char_string|false|
diff --git a/docs/testing/yaml_schema.md b/docs/testing/yaml_schema.md
new file mode 100644
index 00000000000000..8a4846bde5e4f1
--- /dev/null
+++ b/docs/testing/yaml_schema.md
@@ -0,0 +1,75 @@
+
+
+# YAML Schema
+
+YAML schema
+|key | type| supports variables
+|:---|:---|:---|
+|name |str||
+|PICS |str,list||
+|config | | |
+| nodeId |int||
+| cluster |str||
+| endpoint |int||
+| _variableName_ | | |
+| type |type||
+| defaultValue |Any||
+|tests | | |
+| label |str||
+| identity |str||
+| nodeId |int|Y|
+| runIf |str||
+| groupId |int|Y|
+| endpoint |int|Y|
+| cluster |str||
+| attribute |str||
+| command |str||
+| event |str||
+| eventNumber |int|Y|
+| disabled |bool||
+| fabricFiltered |bool||
+| verification |str||
+| PICS |str||
+| arguments | | |
+| values | | |
+| value |NoneType,bool,int,float,dict,list|Y|
+| name |str||
+| value |NoneType,bool,int,float,dict,list|Y|
+| response | |Y |
+| value |NoneType,bool,int,float,dict,list|Y|
+| name |str||
+| error |str||
+| clusterError |int||
+| constraints | | |
+| hasValue |bool||
+| type |str||
+| minLength |int||
+| maxLength |int||
+| isHexString |bool||
+| startsWith |str||
+| endsWith |str||
+| isUpperCase |bool||
+| isLowerCase |bool||
+| minValue |int,float|Y|
+| maxValue |int,float|Y|
+| contains |list||
+| excludes |list||
+| hasMasksSet |list||
+| hasMasksClear |list||
+| notValue |NoneType,bool,int,float,list,dict|Y|
+| anyOf |list||
+| saveAs |str||
+| saveDataVersschemaionAs |str||
+| saveResponseAs |str||
+| minInterval |int||
+| maxInterval |int||
+| keepSubscriptions |bool||
+| timeout |int||
+| timedInteractionTimeoutMs |int||
+| dataVersion |list,int|Y|
+| busyWaitMs |int||
+| wait |str||
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
index d36da33050f5de..b9223be71505ab 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
@@ -3484,7 +3484,7 @@ cluster RvcOperationalState = 97 {
/** Attributes and commands for scene configuration and manipulation. */
provisional cluster ScenesManagement = 98 {
- revision 5;
+ revision 1;
bitmap CopyModeBitmap : bitmap8 {
kCopyAllScenes = 0x1;
@@ -6608,6 +6608,10 @@ internal cluster UnitTesting = 4294048773 {
fabric_idx fabricIndex = 254;
}
+ info event TestDifferentVendorMeiEvent = 4294050030 {
+ int8u arg1 = 1;
+ }
+
attribute boolean boolean = 0;
attribute Bitmap8MaskMap bitmap8 = 1;
attribute Bitmap16MaskMap bitmap16 = 2;
@@ -6690,6 +6694,7 @@ internal cluster UnitTesting = 4294048773 {
attribute nullable int16u nullableRangeRestrictedInt16u = 16424;
attribute nullable int16s nullableRangeRestrictedInt16s = 16425;
attribute optional int8u writeOnlyInt8u = 16426;
+ attribute int8u meiInt8u = 4294070017;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -6885,6 +6890,15 @@ internal cluster UnitTesting = 4294048773 {
int8u fillCharacter = 2;
}
+ request struct TestDifferentVendorMeiRequestRequest {
+ int8u arg1 = 0;
+ }
+
+ response struct TestDifferentVendorMeiResponse = 4294049979 {
+ int8u arg1 = 0;
+ int64u eventNumber = 1;
+ }
+
/** Simple command without any parameters and without a specific response.
To aid in unit testing, this command will re-initialize attribute storage to defaults. */
command Test(): DefaultSuccess = 0;
@@ -6955,6 +6969,8 @@ internal cluster UnitTesting = 4294048773 {
command TestBatchHelperRequest(TestBatchHelperRequestRequest): TestBatchHelperResponse = 22;
/** Second command that responds after sleepBeforeResponseTimeMs with an octet_string the size requested with fillCharacter. */
command TestSecondBatchHelperRequest(TestSecondBatchHelperRequestRequest): TestBatchHelperResponse = 23;
+ /** Command having a different MEI vendor ID than the cluster. Also emits TestDifferentVendorMeiEvent. */
+ command TestDifferentVendorMeiRequest(TestDifferentVendorMeiRequestRequest): TestDifferentVendorMeiResponse = 4294049962;
}
/** The Fault Injection Cluster provide a means for a test harness to configure faults(for example triggering a fault in the system). */
@@ -7220,10 +7236,15 @@ endpoint 0 {
}
server cluster DiagnosticLogs {
+ callback attribute generatedCommandList;
+ callback attribute acceptedCommandList;
+ callback attribute eventList;
+ callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
handle command RetrieveLogsRequest;
+ handle command RetrieveLogsResponse;
}
server cluster GeneralDiagnostics {
@@ -7962,7 +7983,7 @@ endpoint 1 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 1;
- ram attribute clusterRevision default = 5;
+ ram attribute clusterRevision default = 1;
handle command AddScene;
handle command AddSceneResponse;
@@ -8697,6 +8718,7 @@ endpoint 1 {
server cluster UnitTesting {
emits event TestEvent;
emits event TestFabricScopedEvent;
+ emits event TestDifferentVendorMeiEvent;
ram attribute boolean default = false;
ram attribute bitmap8 default = 0;
ram attribute bitmap16 default = 0;
@@ -8780,6 +8802,7 @@ endpoint 1 {
callback attribute writeOnlyInt8u default = 0;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
+ ram attribute meiInt8u default = 0;
handle command Test;
handle command TestSpecificResponse;
@@ -8807,6 +8830,10 @@ endpoint 1 {
handle command TestSimpleOptionalArgumentRequest;
handle command TestEmitTestEventRequest;
handle command TestEmitTestFabricScopedEventRequest;
+ handle command TestBatchHelperRequest;
+ handle command TestSecondBatchHelperRequest;
+ handle command TestDifferentVendorMeiRequest;
+ handle command TestDifferentVendorMeiResponse;
}
}
endpoint 2 {
@@ -8909,7 +8936,7 @@ endpoint 2 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 1;
- ram attribute clusterRevision default = 5;
+ ram attribute clusterRevision default = 1;
handle command AddScene;
handle command AddSceneResponse;
diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
index 245477f4064099..2ac303591ac41b 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
@@ -2723,9 +2723,81 @@
"source": "client",
"isIncoming": 1,
"isEnabled": 1
+ },
+ {
+ "name": "RetrieveLogsResponse",
+ "code": 1,
+ "mfgCode": null,
+ "source": "server",
+ "isIncoming": 0,
+ "isEnabled": 1
}
],
"attributes": [
+ {
+ "name": "GeneratedCommandList",
+ "code": 65528,
+ "mfgCode": null,
+ "side": "server",
+ "type": "array",
+ "included": 1,
+ "storageOption": "External",
+ "singleton": 0,
+ "bounded": 0,
+ "defaultValue": "",
+ "reportable": 1,
+ "minInterval": 1,
+ "maxInterval": 65534,
+ "reportableChange": 0
+ },
+ {
+ "name": "AcceptedCommandList",
+ "code": 65529,
+ "mfgCode": null,
+ "side": "server",
+ "type": "array",
+ "included": 1,
+ "storageOption": "External",
+ "singleton": 0,
+ "bounded": 0,
+ "defaultValue": "",
+ "reportable": 1,
+ "minInterval": 1,
+ "maxInterval": 65534,
+ "reportableChange": 0
+ },
+ {
+ "name": "EventList",
+ "code": 65530,
+ "mfgCode": null,
+ "side": "server",
+ "type": "array",
+ "included": 1,
+ "storageOption": "External",
+ "singleton": 0,
+ "bounded": 0,
+ "defaultValue": "",
+ "reportable": 1,
+ "minInterval": 1,
+ "maxInterval": 65534,
+ "reportableChange": 0
+ },
+ {
+ "name": "AttributeList",
+ "code": 65531,
+ "mfgCode": null,
+ "side": "server",
+ "type": "array",
+ "included": 1,
+ "storageOption": "External",
+ "singleton": 0,
+ "bounded": 0,
+ "defaultValue": "",
+ "reportable": 1,
+ "minInterval": 1,
+ "maxInterval": 65534,
+ "reportableChange": 0
+ },
{
"name": "FeatureMap",
"code": 65532,
@@ -6780,7 +6852,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "5",
+ "defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
@@ -21121,6 +21193,38 @@
"source": "client",
"isIncoming": 1,
"isEnabled": 1
+ },
+ {
+ "name": "TestBatchHelperRequest",
+ "code": 22,
+ "mfgCode": null,
+ "source": "client",
+ "isIncoming": 1,
+ "isEnabled": 1
+ },
+ {
+ "name": "TestSecondBatchHelperRequest",
+ "code": 23,
+ "mfgCode": null,
+ "source": "client",
+ "isIncoming": 1,
+ "isEnabled": 1
+ },
+ {
+ "name": "TestDifferentVendorMeiRequest",
+ "code": 4294049962,
+ "mfgCode": null,
+ "source": "client",
+ "isIncoming": 1,
+ "isEnabled": 1
+ },
+ {
+ "name": "TestDifferentVendorMeiResponse",
+ "code": 4294049979,
+ "mfgCode": null,
+ "source": "server",
+ "isIncoming": 0,
+ "isEnabled": 1
}
],
"attributes": [
@@ -22420,6 +22524,22 @@
"maxInterval": 65534,
"reportableChange": 0
},
+ {
+ "name": "MeiInt8u",
+ "code": 4294070017,
+ "mfgCode": null,
+ "side": "server",
+ "type": "int8u",
+ "included": 1,
+ "storageOption": "RAM",
+ "singleton": 0,
+ "bounded": 0,
+ "defaultValue": "0",
+ "reportable": 1,
+ "minInterval": 0,
+ "maxInterval": 65344,
+ "reportableChange": 0
+ },
{
"name": "FeatureMap",
"code": 65532,
@@ -22467,6 +22587,13 @@
"mfgCode": null,
"side": "server",
"included": 1
+ },
+ {
+ "name": "TestDifferentVendorMeiEvent",
+ "code": 4294050030,
+ "mfgCode": null,
+ "side": "server",
+ "included": 1
}
]
}
@@ -23136,7 +23263,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "5",
+ "defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
diff --git a/examples/all-clusters-app/linux/AppOptions.cpp b/examples/all-clusters-app/linux/AppOptions.cpp
index ef42660972f8d9..50be6561c6bb4a 100644
--- a/examples/all-clusters-app/linux/AppOptions.cpp
+++ b/examples/all-clusters-app/linux/AppOptions.cpp
@@ -27,11 +27,23 @@ using chip::ArgParser::OptionDef;
using chip::ArgParser::OptionSet;
using chip::ArgParser::PrintArgError;
-constexpr uint16_t kOptionDacProviderFilePath = 0xFF01;
-constexpr uint16_t kOptionMinCommissioningTimeout = 0xFF02;
+constexpr uint16_t kOptionDacProviderFilePath = 0xFF01;
+constexpr uint16_t kOptionMinCommissioningTimeout = 0xFF02;
+constexpr uint16_t kOptionEndUserSupportFilePath = 0xFF03;
+constexpr uint16_t kOptionNetworkDiagnosticsFilePath = 0xFF04;
+constexpr uint16_t kOptionCrashFilePath = 0xFF05;
static chip::Credentials::Examples::TestHarnessDACProvider mDacProvider;
+static chip::Optional sEndUserSupportLogFilePath;
+static chip::Optional sNetworkDiagnosticsLogFilePath;
+static chip::Optional sCrashLogFilePath;
+
+bool AppOptions::IsEmptyString(const char * value)
+{
+ return (value == nullptr || strlen(value) == 0);
+}
+
bool AppOptions::HandleOptions(const char * program, OptionSet * options, int identifier, const char * name, const char * value)
{
bool retval = true;
@@ -45,6 +57,27 @@ bool AppOptions::HandleOptions(const char * program, OptionSet * options, int id
commissionMgr.OverrideMinCommissioningTimeout(chip::System::Clock::Seconds16(static_cast(atoi(value))));
break;
}
+ case kOptionEndUserSupportFilePath: {
+ if (!IsEmptyString(value))
+ {
+ sEndUserSupportLogFilePath.SetValue(value);
+ }
+ break;
+ }
+ case kOptionNetworkDiagnosticsFilePath: {
+ if (!IsEmptyString(value))
+ {
+ sNetworkDiagnosticsLogFilePath.SetValue(value);
+ }
+ break;
+ }
+ case kOptionCrashFilePath: {
+ if (!IsEmptyString(value))
+ {
+ sCrashLogFilePath.SetValue(value);
+ }
+ break;
+ }
default:
PrintArgError("%s: INTERNAL ERROR: Unhandled option: %s\n", program, name);
retval = false;
@@ -59,6 +92,9 @@ OptionSet * AppOptions::GetOptions()
static OptionDef optionsDef[] = {
{ "dac_provider", kArgumentRequired, kOptionDacProviderFilePath },
{ "min_commissioning_timeout", kArgumentRequired, kOptionMinCommissioningTimeout },
+ { "end_user_support_log", kArgumentRequired, kOptionEndUserSupportFilePath },
+ { "network_diagnostics_log", kArgumentRequired, kOptionNetworkDiagnosticsFilePath },
+ { "crash_log", kArgumentRequired, kOptionCrashFilePath },
{},
};
@@ -68,6 +104,12 @@ OptionSet * AppOptions::GetOptions()
" A json file with data used by the example dac provider to validate device attestation procedure.\n"
" --min_commissioning_timeout \n"
" The minimum time in seconds during which commissioning session establishment is allowed by the Node.\n"
+ " --end_user_support_log \n"
+ " The end user support log file to be used for diagnostic logs transfer.\n"
+ " --network_diagnostics_log \n"
+ " The network diagnostics log file to be used for diagnostic logs transfer.\n"
+ " --crash_log \n"
+ " The crash log file to be used for diagnostic logs transfer.\n"
};
return &options;
@@ -77,3 +119,18 @@ chip::Credentials::DeviceAttestationCredentialsProvider * AppOptions::GetDACProv
{
return &mDacProvider;
}
+
+chip::Optional AppOptions::GetEndUserSupportLogFilePath()
+{
+ return sEndUserSupportLogFilePath;
+}
+
+chip::Optional AppOptions::GetNetworkDiagnosticsLogFilePath()
+{
+ return sNetworkDiagnosticsLogFilePath;
+}
+
+chip::Optional AppOptions::GetCrashLogFilePath()
+{
+ return sCrashLogFilePath;
+}
diff --git a/examples/all-clusters-app/linux/AppOptions.h b/examples/all-clusters-app/linux/AppOptions.h
index 3073c66176331f..dfdd2c0e66fe70 100644
--- a/examples/all-clusters-app/linux/AppOptions.h
+++ b/examples/all-clusters-app/linux/AppOptions.h
@@ -1,6 +1,6 @@
/*
*
- * Copyright (c) 2022 Project CHIP Authors
+ * Copyright (c) 2022-2023 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -27,8 +27,13 @@ class AppOptions
public:
static chip::ArgParser::OptionSet * GetOptions();
static chip::Credentials::DeviceAttestationCredentialsProvider * GetDACProvider();
+ static chip::Optional GetEndUserSupportLogFilePath();
+ static chip::Optional GetNetworkDiagnosticsLogFilePath();
+ static chip::Optional GetCrashLogFilePath();
private:
static bool HandleOptions(const char * program, chip::ArgParser::OptionSet * options, int identifier, const char * name,
const char * value);
+
+ static bool IsEmptyString(const char * value);
};
diff --git a/examples/all-clusters-app/linux/BUILD.gn b/examples/all-clusters-app/linux/BUILD.gn
index 960d3aadbc9ed7..20dd248abf2a1a 100644
--- a/examples/all-clusters-app/linux/BUILD.gn
+++ b/examples/all-clusters-app/linux/BUILD.gn
@@ -45,6 +45,7 @@ source_set("chip-all-clusters-common") {
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-modes-manager.cpp",
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/static-supported-temperature-levels.cpp",
"${chip_root}/examples/all-clusters-app/all-clusters-common/src/tcc-mode.cpp",
+ "${chip_root}/examples/all-clusters-app/linux/diagnostic-logs-provider-delegate-impl.cpp",
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementDelegateImpl.cpp",
"${chip_root}/examples/energy-management-app/energy-management-common/src/DeviceEnergyManagementManager.cpp",
"${chip_root}/examples/energy-management-app/energy-management-common/src/EnergyEvseDelegateImpl.cpp",
diff --git a/examples/all-clusters-app/linux/diagnostic-logs-provider-delegate-impl.cpp b/examples/all-clusters-app/linux/diagnostic-logs-provider-delegate-impl.cpp
new file mode 100644
index 00000000000000..4dc94da1338c28
--- /dev/null
+++ b/examples/all-clusters-app/linux/diagnostic-logs-provider-delegate-impl.cpp
@@ -0,0 +1,177 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+
+#include "include/diagnostic-logs-provider-delegate-impl.h"
+
+#include
+
+using namespace chip;
+using namespace chip::app::Clusters::DiagnosticLogs;
+
+LogProvider LogProvider::sInstance;
+
+namespace {
+bool IsValidIntent(IntentEnum intent)
+{
+ return intent != IntentEnum::kUnknownEnumValue;
+}
+
+size_t GetFileSize(FILE * fp)
+{
+ VerifyOrReturnValue(nullptr != fp, 0);
+
+ auto offset = ftell(fp);
+ VerifyOrReturnValue(offset != -1, 0);
+
+ auto rv = fseek(fp, 0, SEEK_END);
+ VerifyOrReturnValue(rv == 0, 0);
+
+ auto fileSize = ftell(fp);
+ VerifyOrReturnValue(fileSize != -1, 0);
+
+ rv = fseek(fp, offset, SEEK_SET);
+ VerifyOrReturnValue(rv == 0, 0);
+
+ return static_cast(fileSize);
+}
+} // namespace
+
+LogProvider::~LogProvider()
+{
+ for (auto f : mFiles)
+ {
+ auto rv = fclose(f.second);
+ if (rv != 0)
+ {
+ ChipLogError(NotSpecified, "Error when closing file pointer: %p (%d)", f.second, errno);
+ }
+ }
+ mFiles.clear();
+}
+
+CHIP_ERROR LogProvider::GetLogForIntent(IntentEnum intent, MutableByteSpan & outBuffer, Optional & outTimeStamp,
+ Optional & outTimeSinceBoot)
+{
+ CHIP_ERROR err = CHIP_NO_ERROR;
+ LogSessionHandle sessionHandle = kInvalidLogSessionHandle;
+
+ err = StartLogCollection(intent, sessionHandle, outTimeStamp, outTimeSinceBoot);
+ VerifyOrReturnError(CHIP_NO_ERROR == err, err, outBuffer.reduce_size(0));
+
+ bool unusedOutIsEndOfLog;
+ err = CollectLog(sessionHandle, outBuffer, unusedOutIsEndOfLog);
+ VerifyOrReturnError(CHIP_NO_ERROR == err, err, outBuffer.reduce_size(0));
+
+ err = EndLogCollection(sessionHandle);
+ VerifyOrReturnError(CHIP_NO_ERROR == err, err, outBuffer.reduce_size(0));
+
+ return CHIP_NO_ERROR;
+}
+
+CHIP_ERROR LogProvider::StartLogCollection(IntentEnum intent, LogSessionHandle & outHandle, Optional & outTimeStamp,
+ Optional & outTimeSinceBoot)
+{
+ VerifyOrReturnValue(IsValidIntent(intent), CHIP_ERROR_INVALID_ARGUMENT);
+
+ auto filePath = GetFilePathForIntent(intent);
+ VerifyOrReturnValue(filePath.HasValue(), CHIP_ERROR_NOT_FOUND);
+
+ auto fp = fopen(filePath.Value().c_str(), "rb");
+ VerifyOrReturnValue(!(nullptr == fp && errno == ENOENT), CHIP_ERROR_NOT_FOUND);
+ VerifyOrReturnValue(nullptr != fp, CHIP_ERROR_INTERNAL);
+
+ mLogSessionHandle++;
+ // If the session handle rolls over to UINT16_MAX which is invalid, reset to 0.
+ VerifyOrDo(mLogSessionHandle != kInvalidLogSessionHandle, mLogSessionHandle = 0);
+
+ outHandle = mLogSessionHandle;
+ mFiles[mLogSessionHandle] = fp;
+ return CHIP_NO_ERROR;
+}
+
+CHIP_ERROR LogProvider::EndLogCollection(LogSessionHandle sessionHandle)
+{
+ VerifyOrReturnValue(sessionHandle != kInvalidLogSessionHandle, CHIP_ERROR_INVALID_ARGUMENT);
+ VerifyOrReturnValue(mFiles.count(sessionHandle), CHIP_ERROR_INVALID_ARGUMENT);
+
+ auto fp = mFiles[sessionHandle];
+ mFiles.erase(sessionHandle);
+
+ auto rv = fclose(fp);
+ VerifyOrReturnError(rv == 0, CHIP_ERROR_POSIX(errno));
+
+ return CHIP_NO_ERROR;
+}
+
+CHIP_ERROR LogProvider::CollectLog(LogSessionHandle sessionHandle, MutableByteSpan & outBuffer, bool & outIsEndOfLog)
+{
+ VerifyOrReturnValue(sessionHandle != kInvalidLogSessionHandle, CHIP_ERROR_INVALID_ARGUMENT);
+ VerifyOrReturnValue(mFiles.count(sessionHandle), CHIP_ERROR_INVALID_ARGUMENT);
+
+ auto fp = mFiles[sessionHandle];
+ auto fileSize = GetFileSize(fp);
+ auto count = std::min(fileSize, outBuffer.size());
+
+ VerifyOrReturnError(CanCastTo(count), CHIP_ERROR_INVALID_ARGUMENT, outBuffer.reduce_size(0));
+
+ auto bytesRead = fread(outBuffer.data(), 1, count, fp);
+ VerifyOrReturnError(CanCastTo(bytesRead), CHIP_ERROR_INTERNAL, outBuffer.reduce_size(0));
+
+ outBuffer.reduce_size(static_cast(bytesRead));
+ outIsEndOfLog = fileSize == static_cast(ftell(fp));
+ return CHIP_NO_ERROR;
+}
+
+size_t LogProvider::GetSizeForIntent(IntentEnum intent)
+{
+ VerifyOrReturnValue(IsValidIntent(intent), 0);
+
+ auto filePath = GetFilePathForIntent(intent);
+ VerifyOrReturnValue(filePath.HasValue(), 0);
+
+ auto fp = fopen(filePath.Value().c_str(), "rb");
+ VerifyOrReturnValue(nullptr != fp, 0);
+
+ auto fileSize = GetFileSize(fp);
+
+ auto rv = fclose(fp);
+ if (rv != 0)
+ {
+ ChipLogError(NotSpecified, "Error when closing file pointer (%d)", errno);
+ }
+
+ return fileSize;
+}
+
+Optional LogProvider::GetFilePathForIntent(IntentEnum intent) const
+{
+ switch (intent)
+ {
+ case IntentEnum::kEndUserSupport:
+ return mEndUserSupportLogFilePath;
+ case IntentEnum::kNetworkDiag:
+ return mNetworkDiagnosticsLogFilePath;
+ case IntentEnum::kCrashLogs:
+ return mCrashLogFilePath;
+ case IntentEnum::kUnknownEnumValue:
+ // It should never happen.
+ chipDie();
+ }
+
+ return NullOptional;
+}
diff --git a/examples/all-clusters-app/linux/include/CHIPProjectAppConfig.h b/examples/all-clusters-app/linux/include/CHIPProjectAppConfig.h
index 2553ccd9cd4ed1..588d77da1ce652 100644
--- a/examples/all-clusters-app/linux/include/CHIPProjectAppConfig.h
+++ b/examples/all-clusters-app/linux/include/CHIPProjectAppConfig.h
@@ -45,3 +45,5 @@
// Enable batching of up to 5 commands.
#define CHIP_CONFIG_MAX_PATHS_PER_INVOKE 5
+
+#define CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER 1
diff --git a/examples/all-clusters-app/linux/include/diagnostic-logs-provider-delegate-impl.h b/examples/all-clusters-app/linux/include/diagnostic-logs-provider-delegate-impl.h
new file mode 100644
index 00000000000000..c0e69f1c5bde0b
--- /dev/null
+++ b/examples/all-clusters-app/linux/include/diagnostic-logs-provider-delegate-impl.h
@@ -0,0 +1,78 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+
+#pragma once
+
+#include
+
+#include
+#include
'''
@@ -81,3 +93,9 @@ async def CreateOtaImage(self, request):
async def CompareFiles(self, request):
AccessoryServerBridge.compareFiles(request)
+
+ async def CreateFile(self, request):
+ AccessoryServerBridge.createFile(request)
+
+ async def DeleteFile(self, request):
+ AccessoryServerBridge.deleteFile(request)
diff --git a/scripts/py_matter_yamltests/matter_yamltests/yaml_loader.py b/scripts/py_matter_yamltests/matter_yamltests/yaml_loader.py
index 01b9e040f3efd8..eebd570256d1ac 100644
--- a/scripts/py_matter_yamltests/matter_yamltests/yaml_loader.py
+++ b/scripts/py_matter_yamltests/matter_yamltests/yaml_loader.py
@@ -13,7 +13,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from typing import Tuple, Union
+from __future__ import annotations
+
+from dataclasses import dataclass
+from typing import Any, Tuple, Union
from .errors import (TestStepArgumentsValueError, TestStepError, TestStepGroupEndPointError, TestStepGroupResponseError,
TestStepInvalidTypeError, TestStepKeyError, TestStepNodeIdAndGroupIdError, TestStepResponseVariableError,
@@ -30,6 +33,121 @@
import yaml
+_TOP_LEVEL_SCHEMA = {
+ 'name': str,
+ 'PICS': (str, list),
+ 'config': dict,
+ 'tests': list,
+}
+
+_TEST_STEP_SCHEMA = {
+ 'label': str,
+ 'identity': str,
+ 'nodeId': (int, str), # Can be a variable.
+ 'runIf': str, # Should be a variable.
+ 'groupId': (int, str), # Can be a variable.
+ 'endpoint': (int, str), # Can be a variable
+ 'cluster': str,
+ 'attribute': str,
+ 'command': str,
+ 'event': str,
+ 'eventNumber': (int, str), # Can be a variable.
+ 'disabled': bool,
+ 'fabricFiltered': bool,
+ 'verification': str,
+ 'PICS': str,
+ 'arguments': dict,
+ 'response': (dict, list, str), # Can be a variable
+ 'saveResponseAs': str,
+ 'minInterval': int,
+ 'maxInterval': int,
+ 'keepSubscriptions': bool,
+ 'timeout': int,
+ 'timedInteractionTimeoutMs': int,
+ 'dataVersion': (list, int, str), # Can be a variable
+ 'busyWaitMs': int,
+ 'wait': str,
+}
+
+_TEST_STEP_ARGUMENTS_SCHEMA = {
+ 'values': list,
+ 'value': (type(None), bool, str, int, float, dict, list),
+}
+
+_TEST_STEP_ARGUMENTS_VALUES_SCHEMA = {
+ 'value': (type(None), bool, str, int, float, dict, list),
+ 'name': str,
+}
+
+_TEST_STEP_RESPONSE_SCHEMA = {
+ 'value': (type(None), bool, str, int, float, dict, list),
+ 'name': str,
+ 'error': str,
+ 'clusterError': int,
+ 'constraints': dict,
+ 'saveAs': str,
+ 'saveDataVersschemaionAs': str,
+}
+
+_TEST_STEP_RESPONSE_CONSTRAINTS_SCHEMA = {
+ 'hasValue': bool,
+ 'type': str,
+ 'minLength': int,
+ 'maxLength': int,
+ 'isHexString': bool,
+ 'startsWith': str,
+ 'endsWith': str,
+ 'isUpperCase': bool,
+ 'isLowerCase': bool,
+ 'minValue': (int, float, str), # Can be a variable
+ 'maxValue': (int, float, str), # Can be a variable
+ 'contains': list,
+ 'excludes': list,
+ 'hasMasksSet': list,
+ 'hasMasksClear': list,
+ 'notValue': (type(None), bool, str, int, float, list, dict),
+ 'anyOf': list
+}
+
+# Note: this is not used in the loader, just provided for information in the schema tree
+_CONFIG_SCHEMA = {
+ 'nodeId': int,
+ 'cluster': str,
+ 'endpoint': int,
+ '_variableName_': str,
+}
+
+# Note: this is not used in the loader, just provided for information in the schema tree
+_CONFIG_VARIABLE_SCHEMA = {
+ 'type': type,
+ 'defaultValue': Any,
+}
+
+
+@dataclass
+class SchemaTree:
+ schema: dict[str, type]
+ children: Union[dict[str, SchemaTree], None] = None
+
+
+_constraint_tree = SchemaTree(schema=_TEST_STEP_RESPONSE_CONSTRAINTS_SCHEMA)
+_response_tree = SchemaTree(schema=_TEST_STEP_RESPONSE_SCHEMA, children={
+ 'constraints': _constraint_tree})
+
+_arguments_values_tree = SchemaTree(schema=_TEST_STEP_ARGUMENTS_VALUES_SCHEMA)
+_arguments_tree = SchemaTree(schema=_TEST_STEP_ARGUMENTS_SCHEMA, children={
+ 'values': _arguments_values_tree})
+
+_test_step_tree = SchemaTree(schema=_TEST_STEP_SCHEMA, children={
+ 'arguments': _arguments_tree, 'response': _response_tree})
+
+_config_variable_tree = SchemaTree(schema=_CONFIG_VARIABLE_SCHEMA)
+_config_tree = SchemaTree(schema=_CONFIG_SCHEMA, children={
+ '_variableName_': _config_variable_tree})
+
+yaml_tree = SchemaTree(schema=_TOP_LEVEL_SCHEMA, children={
+ 'tests': _test_step_tree, 'config': _config_tree})
+
class YamlLoader:
"""This class loads a file from the disk and validates that the content is a well formed yaml test."""
@@ -58,12 +176,7 @@ def load(self, yaml_file: str) -> Tuple[str, Union[list, str], dict, list]:
return (filename, name, pics, config, tests)
def __check_content(self, content):
- schema = {
- 'name': str,
- 'PICS': (str, list),
- 'config': dict,
- 'tests': list,
- }
+ schema = _TOP_LEVEL_SCHEMA
try:
self.__check(content, schema)
@@ -86,34 +199,7 @@ def __check_content(self, content):
raise
def __check_test_step(self, config: dict, content):
- schema = {
- 'label': str,
- 'identity': str,
- 'nodeId': (int, str), # Can be a variable.
- 'runIf': str, # Should be a variable.
- 'groupId': (int, str), # Can be a variable.
- 'endpoint': (int, str), # Can be a variable
- 'cluster': str,
- 'attribute': str,
- 'command': str,
- 'event': str,
- 'eventNumber': (int, str), # Can be a variable.
- 'disabled': bool,
- 'fabricFiltered': bool,
- 'verification': str,
- 'PICS': str,
- 'arguments': dict,
- 'response': (dict, list, str), # Can be a variable
- 'saveResponseAs': str,
- 'minInterval': int,
- 'maxInterval': int,
- 'keepSubscriptions': bool,
- 'timeout': int,
- 'timedInteractionTimeoutMs': int,
- 'dataVersion': (list, int, str), # Can be a variable
- 'busyWaitMs': int,
- 'wait': str,
- }
+ schema = _TEST_STEP_SCHEMA
self.__check(content, schema)
self.__rule_node_id_and_group_id_are_mutually_exclusive(content)
@@ -145,10 +231,7 @@ def __check_test_step(self, config: dict, content):
self.__check_test_step_response(response)
def __check_test_step_arguments(self, content):
- schema = {
- 'values': list,
- 'value': (type(None), bool, str, int, float, dict, list),
- }
+ schema = _TEST_STEP_ARGUMENTS_SCHEMA
self.__check(content, schema)
@@ -158,10 +241,7 @@ def __check_test_step_arguments(self, content):
[self.__check_test_step_argument_value(x) for x in values]
def __check_test_step_argument_value(self, content):
- schema = {
- 'value': (type(None), bool, str, int, float, dict, list),
- 'name': str,
- }
+ schema = _TEST_STEP_ARGUMENTS_VALUES_SCHEMA
self.__check(content, schema)
@@ -177,15 +257,7 @@ def __check_test_step_response(self, content):
self.__check_test_step_response_value(content)
def __check_test_step_response_value(self, content, allow_name_key=False):
- schema = {
- 'value': (type(None), bool, str, int, float, dict, list),
- 'name': str,
- 'error': str,
- 'clusterError': int,
- 'constraints': dict,
- 'saveAs': str,
- 'saveDataVersionAs': str,
- }
+ schema = _TEST_STEP_RESPONSE_SCHEMA
if allow_name_key:
schema['name'] = str
@@ -197,25 +269,7 @@ def __check_test_step_response_value(self, content, allow_name_key=False):
self.__check_test_step_response_value_constraints(constraints)
def __check_test_step_response_value_constraints(self, content):
- schema = {
- 'hasValue': bool,
- 'type': str,
- 'minLength': int,
- 'maxLength': int,
- 'isHexString': bool,
- 'startsWith': str,
- 'endsWith': str,
- 'isUpperCase': bool,
- 'isLowerCase': bool,
- 'minValue': (int, float, str), # Can be a variable
- 'maxValue': (int, float, str), # Can be a variable
- 'contains': list,
- 'excludes': list,
- 'hasMasksSet': list,
- 'hasMasksClear': list,
- 'notValue': (type(None), bool, str, int, float, list, dict),
- 'anyOf': list
- }
+ schema = _TEST_STEP_RESPONSE_CONSTRAINTS_SCHEMA
self.__check(content, schema)
diff --git a/scripts/tests/chiptest/__init__.py b/scripts/tests/chiptest/__init__.py
index ad2cc6a4782df0..378e3df2e02669 100644
--- a/scripts/tests/chiptest/__init__.py
+++ b/scripts/tests/chiptest/__init__.py
@@ -203,6 +203,7 @@ def _GetChipReplUnsupportedTests() -> Set[str]:
"Test_TC_ACL_2_6.yaml", # chip-repl does not support LastReceivedEventNumber : https://github.com/project-chip/connectedhomeip/issues/28884
"Test_TC_RVCCLEANM_3_3.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
"Test_TC_BINFO_2_1.yaml", # chip-repl does not support EqualityCommands pseudo-cluster
+ "TestDiagnosticLogs.yaml", # chip-repl does not implement a BDXTransferServerDelegate
}
diff --git a/scripts/tests/chiptest/accessories.py b/scripts/tests/chiptest/accessories.py
index d8ca1c02945cc9..60e2136209ec19 100644
--- a/scripts/tests/chiptest/accessories.py
+++ b/scripts/tests/chiptest/accessories.py
@@ -126,6 +126,16 @@ def compareFiles(self, file1, file2):
raise Exception('Files %s and %s do not match' % (file1, file2))
return True
+ def createFile(self, filePath, fileContent):
+ with open(filePath, 'w') as rawFile:
+ rawFile.write(fileContent)
+ return True
+
+ def deleteFile(self, filePath):
+ if os.path.exists(filePath):
+ os.remove(filePath)
+ return True
+
def __startXMLRPCServer(self):
self.server = SimpleXMLRPCServer((IP, PORT))
@@ -136,6 +146,8 @@ def __startXMLRPCServer(self):
self.server.register_function(self.waitForMessage, 'waitForMessage')
self.server.register_function(self.compareFiles, 'compareFiles')
self.server.register_function(self.createOtaImage, 'createOtaImage')
+ self.server.register_function(self.createFile, 'createFile')
+ self.server.register_function(self.deleteFile, 'deleteFile')
self.server_thread = threading.Thread(target=self.server.serve_forever)
self.server_thread.start()
diff --git a/scripts/tests/chiptest/runner.py b/scripts/tests/chiptest/runner.py
index fdba938224d45e..b8ede3f79b147b 100644
--- a/scripts/tests/chiptest/runner.py
+++ b/scripts/tests/chiptest/runner.py
@@ -52,7 +52,7 @@ def __init__(self, level, capture_delegate=None, name=None):
def CapturedLogContains(self, txt: str, index=0):
for i, line in enumerate(self.captured_logs[index:]):
if txt in line:
- return True, i
+ return True, index + i
return False, len(self.captured_logs)
def FindLastMatchingLine(self, matcher):
diff --git a/scripts/tests/chiptest/test_definition.py b/scripts/tests/chiptest/test_definition.py
index bae92baff5d001..037bf5aafbb29c 100644
--- a/scripts/tests/chiptest/test_definition.py
+++ b/scripts/tests/chiptest/test_definition.py
@@ -16,6 +16,7 @@
import logging
import os
import shutil
+import subprocess
import tempfile
import threading
import time
@@ -63,10 +64,7 @@ def stop(self):
with self.cv_stopped:
self.stopped = True
self.cv_stopped.notify()
- self.process.kill()
- self.process.wait(10)
- self.process = None
- self.outpipe = None
+ self.__terminateProcess()
return True
return False
@@ -90,8 +88,7 @@ def waitForMessage(self, message):
return True
def kill(self):
- if self.process:
- self.process.kill()
+ self.__terminateProcess()
self.killed = True
def wait(self, timeout=None):
@@ -133,6 +130,9 @@ def __waitFor(self, waitForString, server_process, outpipe):
start_time = time.monotonic()
ready, self.lastLogIndex = outpipe.CapturedLogContains(
waitForString, self.lastLogIndex)
+ if ready:
+ self.lastLogIndex += 1
+
while not ready:
if server_process.poll() is not None:
died_str = ('Server died while waiting for %s, returncode %d' %
@@ -144,6 +144,8 @@ def __waitFor(self, waitForString, server_process, outpipe):
time.sleep(0.1)
ready, self.lastLogIndex = outpipe.CapturedLogContains(
waitForString, self.lastLogIndex)
+ if ready:
+ self.lastLogIndex += 1
logging.debug('Success waiting for: %s' % waitForString)
@@ -153,6 +155,18 @@ def __updateSetUpCode(self):
raise Exception("Unable to find QR code")
self.setupCode = qrLine.group(1)
+ def __terminateProcess(self):
+ if self.process:
+ self.process.terminate() # sends SIGTERM
+ try:
+ self.process.wait(10)
+ except subprocess.TimeoutExpired:
+ logging.debug('Subprocess did not terminated on SIGTERM, killing it now')
+ self.process.kill()
+ self.process.wait(10)
+ self.process = None
+ self.outpipe = None
+
class TestTarget(Enum):
ALL_CLUSTERS = auto()
diff --git a/scripts/tools/zap/tests/inputs/all-clusters-app.zap b/scripts/tools/zap/tests/inputs/all-clusters-app.zap
index ff6ea72c7e2aad..7e28b20523ec8d 100644
--- a/scripts/tools/zap/tests/inputs/all-clusters-app.zap
+++ b/scripts/tools/zap/tests/inputs/all-clusters-app.zap
@@ -6209,7 +6209,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "5",
+ "defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
@@ -15380,7 +15380,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
- "defaultValue": "5",
+ "defaultValue": "1",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
diff --git a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h
index 62a6e8d9e558c2..3d30ba408dd2f7 100644
--- a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h
+++ b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h
@@ -873,7 +873,7 @@
\
/* Endpoint: 1, Cluster: Scenes Management (server) */ \
{ ZAP_SIMPLE_DEFAULT(1), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \
- { ZAP_SIMPLE_DEFAULT(5), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
+ { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
\
/* Endpoint: 1, Cluster: Door Lock (server) */ \
{ ZAP_SIMPLE_DEFAULT(2), 0x00000000, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LockState */ \
@@ -1440,7 +1440,7 @@
\
/* Endpoint: 2, Cluster: Scenes Management (server) */ \
{ ZAP_SIMPLE_DEFAULT(1), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \
- { ZAP_SIMPLE_DEFAULT(5), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
+ { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \
\
/* Endpoint: 2, Cluster: Occupancy Sensing (server) */ \
{ ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(BITMAP8), 0 }, /* Occupancy */ \
diff --git a/src/BUILD.gn b/src/BUILD.gn
index c074f5e0df1150..ee3fd4d9c7a2ba 100644
--- a/src/BUILD.gn
+++ b/src/BUILD.gn
@@ -56,7 +56,8 @@ if (chip_build_tests) {
import("${chip_root}/build/chip/chip_test_group.gni")
chip_test_group("tests") {
- deps = [
+ deps = []
+ tests = [
"${chip_root}/src/access/tests",
"${chip_root}/src/crypto/tests",
"${chip_root}/src/inet/tests",
@@ -72,7 +73,7 @@ if (chip_build_tests) {
# Skip DNSSD tests for Mbed platform due to flash memory size limitations
if (current_os != "mbed") {
- deps += [
+ tests += [
"${chip_root}/src/lib/dnssd/minimal_mdns/core/tests",
"${chip_root}/src/lib/dnssd/minimal_mdns/responders/tests",
"${chip_root}/src/lib/dnssd/minimal_mdns/tests",
@@ -81,19 +82,19 @@ if (chip_build_tests) {
}
if (current_os != "zephyr" && current_os != "mbed") {
- deps += [ "${chip_root}/src/lib/dnssd/minimal_mdns/records/tests" ]
+ tests += [ "${chip_root}/src/lib/dnssd/minimal_mdns/records/tests" ]
}
if (current_os != "zephyr" && current_os != "mbed" &&
chip_device_platform != "efr32") {
- deps += [
+ tests += [
"${chip_root}/src/setup_payload/tests",
"${chip_root}/src/transport/raw/tests",
]
}
if (chip_device_platform != "efr32") {
- deps += [
+ tests += [
# TODO(#10447): App test has HF on EFR32.
"${chip_root}/src/app/tests",
"${chip_root}/src/credentials/tests",
@@ -106,21 +107,21 @@ if (chip_build_tests) {
if (matter_enable_tracing_support &&
matter_trace_config == "multiplexed") {
- deps += [ "${chip_root}/src/tracing/tests" ]
+ tests += [ "${chip_root}/src/tracing/tests" ]
}
}
if (chip_device_platform != "none") {
- deps += [ "${chip_root}/src/lib/dnssd/minimal_mdns/tests" ]
+ tests += [ "${chip_root}/src/lib/dnssd/minimal_mdns/tests" ]
}
if (chip_device_platform != "esp32" && chip_device_platform != "efr32" &&
chip_device_platform != "ameba") {
- deps += [ "${chip_root}/src/platform/tests" ]
+ tests += [ "${chip_root}/src/platform/tests" ]
}
if (chip_config_network_layer_ble) {
- deps += [ "${chip_root}/src/ble/tests" ]
+ tests += [ "${chip_root}/src/ble/tests" ]
}
# On nrfconnect, the controller tests run into
@@ -128,21 +129,26 @@ if (chip_build_tests) {
if (chip_device_platform != "nrfconnect" &&
chip_device_platform != "efr32") {
# TODO(#10447): Controller test has HF on EFR32.
- deps += [ "${chip_root}/src/controller/tests/data_model" ]
+ tests += [ "${chip_root}/src/controller/tests/data_model" ]
# Skip controller test for Open IoT SDK
# https://github.com/project-chip/connectedhomeip/issues/23747
if (chip_device_platform != "openiotsdk") {
- deps += [ "${chip_root}/src/controller/tests" ]
+ tests += [ "${chip_root}/src/controller/tests" ]
}
}
if (current_os != "zephyr" && current_os != "mbed" &&
chip_device_platform != "esp32" && chip_device_platform != "ameba") {
- deps += [ "${chip_root}/src/lib/shell/tests" ]
+ tests += [ "${chip_root}/src/lib/shell/tests" ]
}
if (chip_monolithic_tests) {
+ # TODO [PW_MIGRATION] Remove this if after migartion to PW_TEST is completed for all platforms
+ # TODO [PW_MIGRATION] There will be a list of already migrated platforms
+ if (false) {
+ deps += [ "${chip_root}/src/lib/support:pw_tests_wrapper" ]
+ }
build_monolithic_library = true
output_name = "libCHIP_tests"
output_dir = "${root_out_dir}/lib"
@@ -150,12 +156,12 @@ if (chip_build_tests) {
}
chip_test_group("fake_platform_tests") {
- deps = [ "${chip_root}/src/lib/dnssd/platform/tests" ]
+ tests = [ "${chip_root}/src/lib/dnssd/platform/tests" ]
}
# Tests to run with each Crypto PAL
chip_test_group("crypto_tests") {
- deps = [
+ tests = [
"${chip_root}/src/credentials/tests",
"${chip_root}/src/crypto/tests",
]
diff --git a/src/app/BUILD.gn b/src/app/BUILD.gn
index 9150bfa7857185..74d01091b8d791 100644
--- a/src/app/BUILD.gn
+++ b/src/app/BUILD.gn
@@ -201,6 +201,10 @@ static_library("app") {
"TimerDelegates.h",
"WriteClient.cpp",
"WriteHandler.cpp",
+ "data-model/FabricScopedPreEncodedValue.cpp",
+ "data-model/FabricScopedPreEncodedValue.h",
+ "data-model/PreEncodedValue.cpp",
+ "data-model/PreEncodedValue.h",
"reporting/Engine.cpp",
"reporting/Engine.h",
"reporting/ReportScheduler.h",
diff --git a/src/app/CommandResponseSender.cpp b/src/app/CommandResponseSender.cpp
index 6e69cd45a9538f..5b322c72ce9d06 100644
--- a/src/app/CommandResponseSender.cpp
+++ b/src/app/CommandResponseSender.cpp
@@ -39,9 +39,10 @@ CHIP_ERROR CommandResponseSender::OnMessageReceived(Messaging::ExchangeContext *
VerifyOrExit(err == CHIP_NO_ERROR, failureStatusToSend.SetValue(Status::InvalidAction));
// If SendCommandResponse() fails, we are responsible for closing the exchange,
- // as stipulated by the API contract. We fulfill this obligation by setting
- // `failureStatusToSend` to a value that triggers the transmission of a final
- // StatusResponse, which does not expect a response.
+ // as stipulated by the API contract. We fulfill this obligation by not sending
+ // a message expecting a response on the exchange. Since we are in the middle
+ // of processing an incoming message, the exchange will close itself once we are
+ // done processing it, if there is no response to wait for at that point.
err = SendCommandResponse();
VerifyOrExit(err == CHIP_NO_ERROR, failureStatusToSend.SetValue(Status::Failure));
diff --git a/src/app/CommandSender.cpp b/src/app/CommandSender.cpp
index 6ab19b2ebd2276..1066ca92825891 100644
--- a/src/app/CommandSender.cpp
+++ b/src/app/CommandSender.cpp
@@ -63,7 +63,7 @@ CHIP_ERROR GetRef(ParserT aParser, Optional & aRef, bool commandRefExp
CommandSender::CommandSender(Callback * apCallback, Messaging::ExchangeManager * apExchangeMgr, bool aIsTimedRequest,
bool aSuppressResponse) :
mExchangeCtx(*this),
- mpCallback(apCallback), mpExchangeMgr(apExchangeMgr), mSuppressResponse(aSuppressResponse), mTimedRequest(aIsTimedRequest)
+ mCallbackHandle(apCallback), mpExchangeMgr(apExchangeMgr), mSuppressResponse(aSuppressResponse), mTimedRequest(aIsTimedRequest)
{
assertChipStackLockedByCurrentThread();
}
@@ -71,8 +71,8 @@ CommandSender::CommandSender(Callback * apCallback, Messaging::ExchangeManager *
CommandSender::CommandSender(ExtendableCallback * apExtendableCallback, Messaging::ExchangeManager * apExchangeMgr,
bool aIsTimedRequest, bool aSuppressResponse) :
mExchangeCtx(*this),
- mpExtendableCallback(apExtendableCallback), mpExchangeMgr(apExchangeMgr), mSuppressResponse(aSuppressResponse),
- mTimedRequest(aIsTimedRequest)
+ mCallbackHandle(apExtendableCallback), mpExchangeMgr(apExchangeMgr), mSuppressResponse(aSuppressResponse),
+ mTimedRequest(aIsTimedRequest), mUseExtendableCallback(true)
{
assertChipStackLockedByCurrentThread();
}
@@ -86,12 +86,6 @@ CHIP_ERROR CommandSender::AllocateBuffer()
{
if (!mBufferAllocated)
{
- // We are making sure that both callbacks are not set. This should never happen as the constructors
- // are strongly typed and only one should ever be set, but explicit check is here to ensure that is
- // always the case.
- bool bothCallbacksAreSet = mpExtendableCallback != nullptr && mpCallback != nullptr;
- VerifyOrDie(!bothCallbacksAreSet);
-
mCommandMessageWriter.Reset();
System::PacketBufferHandle commandPacket = System::PacketBufferHandle::New(chip::app::kMaxSecureSduLengthBytes);
@@ -417,8 +411,7 @@ CHIP_ERROR CommandSender::ProcessInvokeResponseIB(InvokeResponseIB::Parser & aIn
// When using ExtendableCallbacks, we are adhering to a different API contract where path
// specific errors are sent to the OnResponse callback. For more information on the history
// of this issue please see https://github.com/project-chip/connectedhomeip/issues/30991
- bool usingExtendableCallbacks = mpExtendableCallback != nullptr;
- if (statusIB.IsSuccess() || usingExtendableCallbacks)
+ if (statusIB.IsSuccess() || mUseExtendableCallback)
{
const ConcreteCommandPath concretePath = ConcreteCommandPath(endpointId, clusterId, commandId);
ResponseData responseData = { concretePath, statusIB };
@@ -456,8 +449,7 @@ CHIP_ERROR CommandSender::PrepareCommand(const CommandPathParams & aCommandPathP
//
// We must not be in the middle of preparing a command, and must not have already sent InvokeRequestMessage.
//
- bool usingExtendableCallbacks = mpExtendableCallback != nullptr;
- bool canAddAnotherCommand = (mState == State::AddedCommand && mBatchCommandsEnabled && usingExtendableCallbacks);
+ bool canAddAnotherCommand = (mState == State::AddedCommand && mBatchCommandsEnabled && mUseExtendableCallback);
VerifyOrReturnError(mState == State::Idle || canAddAnotherCommand, CHIP_ERROR_INCORRECT_STATE);
VerifyOrReturnError(mFinishedCommandCount < mRemoteMaxPathsPerInvoke, CHIP_ERROR_MAXIMUM_PATHS_PER_INVOKE_EXCEEDED);
diff --git a/src/app/CommandSender.h b/src/app/CommandSender.h
index dfcd3e1a62a5f0..76374416886e9b 100644
--- a/src/app/CommandSender.h
+++ b/src/app/CommandSender.h
@@ -26,6 +26,8 @@
#include
+#include "CommandSenderLegacyCallback.h"
+
#include
#include
#include
@@ -53,77 +55,6 @@ namespace app {
class CommandSender final : public Messaging::ExchangeDelegate
{
public:
- // TODO(#30453) Reorder CommandSender::Callback and CommandSender::ExtendableCallback. To keep follow up
- // review simple, this was not done initially, and is expected to be completed within day of PR
- // introducing CommandSender::ExtendableCallback getting merged.
- /**
- * @brief Legacy callbacks for CommandSender
- */
- class Callback
- {
- public:
- virtual ~Callback() = default;
-
- /**
- * OnResponse will be called when a successful response from server has been received and processed.
- * Specifically:
- * - When a status code is received and it is IM::Success, aData will be nullptr.
- * - When a data response is received, aData will point to a valid TLVReader initialized to point at the struct container
- * that contains the data payload (callee will still need to open and process the container).
- *
- * The CommandSender object MUST continue to exist after this call is completed. The application shall wait until it
- * receives an OnDone call to destroy the object.
- *
- * @param[in] apCommandSender The command sender object that initiated the command transaction.
- * @param[in] aPath The command path field in invoke command response.
- * @param[in] aStatusIB It will always have a success status. If apData is null, it can be any success status,
- * including possibly a cluster-specific one. If apData is not null it aStatusIB will always
- * be a generic SUCCESS status with no-cluster specific information.
- * @param[in] apData The command data, will be nullptr if the server returns a StatusIB.
- */
- virtual void OnResponse(CommandSender * apCommandSender, const ConcreteCommandPath & aPath, const StatusIB & aStatusIB,
- TLV::TLVReader * apData)
- {}
-
- /**
- * OnError will be called when an error occurs *after* a successful call to SendCommandRequest(). The following
- * errors will be delivered through this call in the aError field:
- *
- * - CHIP_ERROR_TIMEOUT: A response was not received within the expected response timeout.
- * - CHIP_ERROR_*TLV*: A malformed, non-compliant response was received from the server.
- * - CHIP_ERROR encapsulating a StatusIB: If we got a non-path-specific or path-specific
- * status response from the server. In that case,
- * StatusIB::InitFromChipError can be used to extract the status.
- * - Note: a CommandSender using `CommandSender::Callback` only supports sending
- * a single InvokeRequest. As a result, only one path-specific error is expected
- * to ever be sent to the OnError callback.
- * - CHIP_ERROR*: All other cases.
- *
- * The CommandSender object MUST continue to exist after this call is completed. The application shall wait until it
- * receives an OnDone call to destroy and free the object.
- *
- * @param[in] apCommandSender The command sender object that initiated the command transaction.
- * @param[in] aError A system error code that conveys the overall error code.
- */
- virtual void OnError(const CommandSender * apCommandSender, CHIP_ERROR aError) {}
-
- /**
- * OnDone will be called when CommandSender has finished all work and it is safe to destroy and free the
- * allocated CommandSender object.
- *
- * This function will:
- * - Always be called exactly *once* for a given CommandSender instance.
- * - Be called even in error circumstances.
- * - Only be called after a successful call to SendCommandRequest returns, if SendCommandRequest is used.
- * - Always be called before a successful return from SendGroupCommandRequest, if SendGroupCommandRequest is used.
- *
- * This function must be implemented to destroy the CommandSender object.
- *
- * @param[in] apCommandSender The command sender object of the terminated invoke command transaction.
- */
- virtual void OnDone(CommandSender * apCommandSender) = 0;
- };
-
// CommandSender::ExtendableCallback::OnResponse is public SDK API, so we cannot break
// source compatibility for it. To allow for additional values to be added at a future
// time without constantly changing the function's declaration parameter list, we are
@@ -229,6 +160,10 @@ class CommandSender final : public Messaging::ExchangeDelegate
virtual void OnDone(CommandSender * apCommandSender) = 0;
};
+ // `Callback` exists for legacy purposes. If you are developing a new callback implementation,
+ // please use `ExtendableCallback`.
+ using Callback = CommandSenderLegacyCallback;
+
// SetCommandSenderConfig is a public SDK API, so we cannot break source compatibility
// for it. By having parameters to that API use this struct instead of individual
// function arguments, we centralize required changes to one file when adding new
@@ -455,7 +390,7 @@ class CommandSender final : public Messaging::ExchangeDelegate
private:
friend class TestCommandInteraction;
- enum class State
+ enum class State : uint8_t
{
Idle, ///< Default state that the object starts out in, where no work has commenced
AddingCommand, ///< In the process of adding a command.
@@ -466,6 +401,14 @@ class CommandSender final : public Messaging::ExchangeDelegate
AwaitingDestruction, ///< The object has completed its work and is awaiting destruction by the application.
};
+ union CallbackHandle
+ {
+ CallbackHandle(Callback * apCallback) : legacyCallback(apCallback) {}
+ CallbackHandle(ExtendableCallback * apExtendableCallback) : extendableCallback(apExtendableCallback) {}
+ Callback * legacyCallback;
+ ExtendableCallback * extendableCallback;
+ };
+
void MoveToState(const State aTargetState);
const char * GetStateStr() const;
@@ -513,46 +456,45 @@ class CommandSender final : public Messaging::ExchangeDelegate
void OnResponseCallback(const ResponseData & aResponseData)
{
// mpExtendableCallback and mpCallback are mutually exclusive.
- if (mpExtendableCallback)
+ if (mUseExtendableCallback && mCallbackHandle.extendableCallback)
{
- mpExtendableCallback->OnResponse(this, aResponseData);
+ mCallbackHandle.extendableCallback->OnResponse(this, aResponseData);
}
- else if (mpCallback)
+ else if (mCallbackHandle.legacyCallback)
{
- mpCallback->OnResponse(this, aResponseData.path, aResponseData.statusIB, aResponseData.data);
+ mCallbackHandle.legacyCallback->OnResponse(this, aResponseData.path, aResponseData.statusIB, aResponseData.data);
}
}
void OnErrorCallback(CHIP_ERROR aError)
{
// mpExtendableCallback and mpCallback are mutually exclusive.
- if (mpExtendableCallback)
+ if (mUseExtendableCallback && mCallbackHandle.extendableCallback)
{
ErrorData errorData = { aError };
- mpExtendableCallback->OnError(this, errorData);
+ mCallbackHandle.extendableCallback->OnError(this, errorData);
}
- else if (mpCallback)
+ else if (mCallbackHandle.legacyCallback)
{
- mpCallback->OnError(this, aError);
+ mCallbackHandle.legacyCallback->OnError(this, aError);
}
}
void OnDoneCallback()
{
// mpExtendableCallback and mpCallback are mutually exclusive.
- if (mpExtendableCallback)
+ if (mUseExtendableCallback && mCallbackHandle.extendableCallback)
{
- mpExtendableCallback->OnDone(this);
+ mCallbackHandle.extendableCallback->OnDone(this);
}
- else if (mpCallback)
+ else if (mCallbackHandle.legacyCallback)
{
- mpCallback->OnDone(this);
+ mCallbackHandle.legacyCallback->OnDone(this);
}
}
Messaging::ExchangeHolder mExchangeCtx;
- Callback * mpCallback = nullptr;
- ExtendableCallback * mpExtendableCallback = nullptr;
+ CallbackHandle mCallbackHandle;
Messaging::ExchangeManager * mpExchangeMgr = nullptr;
InvokeRequestMessage::Builder mInvokeRequestBuilder;
// TODO Maybe we should change PacketBufferTLVWriter so we can finalize it
@@ -564,15 +506,16 @@ class CommandSender final : public Messaging::ExchangeDelegate
Optional mTimedInvokeTimeoutMs;
TLV::TLVType mDataElementContainerType = TLV::kTLVType_NotSpecified;
- State mState = State::Idle;
chip::System::PacketBufferTLVWriter mCommandMessageWriter;
uint16_t mFinishedCommandCount = 0;
uint16_t mRemoteMaxPathsPerInvoke = 1;
- bool mSuppressResponse = false;
- bool mTimedRequest = false;
- bool mBufferAllocated = false;
- bool mBatchCommandsEnabled = false;
+ State mState = State::Idle;
+ bool mSuppressResponse = false;
+ bool mTimedRequest = false;
+ bool mBufferAllocated = false;
+ bool mBatchCommandsEnabled = false;
+ bool mUseExtendableCallback = false;
};
} // namespace app
diff --git a/src/app/CommandSenderLegacyCallback.h b/src/app/CommandSenderLegacyCallback.h
new file mode 100644
index 00000000000000..f6c63c1fd96292
--- /dev/null
+++ b/src/app/CommandSenderLegacyCallback.h
@@ -0,0 +1,101 @@
+/*
+ * Copyright (c) 2024 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.
+ */
+
+#pragma once
+
+#include
+#include
+#include
+
+namespace chip {
+namespace app {
+
+class CommandSender;
+
+/**
+ * @brief Legacy callbacks for CommandSender
+ *
+ * This class exists for legacy purposes. If you are developing a new callback implementation,
+ * please use `CommandSender::ExtendableCallback`.
+ */
+class CommandSenderLegacyCallback
+{
+public:
+ virtual ~CommandSenderLegacyCallback() = default;
+
+ /**
+ * OnResponse will be called when a successful response from server has been received and processed.
+ * Specifically:
+ * - When a status code is received and it is IM::Success, aData will be nullptr.
+ * - When a data response is received, aData will point to a valid TLVReader initialized to point at the struct container
+ * that contains the data payload (callee will still need to open and process the container).
+ *
+ * The CommandSender object MUST continue to exist after this call is completed. The application shall wait until it
+ * receives an OnDone call to destroy the object.
+ *
+ * @param[in] apCommandSender The command sender object that initiated the command transaction.
+ * @param[in] aPath The command path field in invoke command response.
+ * @param[in] aStatusIB It will always have a success status. If apData is null, it can be any success status,
+ * including possibly a cluster-specific one. If apData is not null it aStatusIB will always
+ * be a generic SUCCESS status with no-cluster specific information.
+ * @param[in] apData The command data, will be nullptr if the server returns a StatusIB.
+ */
+ virtual void OnResponse(CommandSender * apCommandSender, const ConcreteCommandPath & aPath, const StatusIB & aStatusIB,
+ TLV::TLVReader * apData)
+ {}
+
+ /**
+ * OnError will be called when an error occurs *after* a successful call to SendCommandRequest(). The following
+ * errors will be delivered through this call in the aError field:
+ *
+ * - CHIP_ERROR_TIMEOUT: A response was not received within the expected response timeout.
+ * - CHIP_ERROR_*TLV*: A malformed, non-compliant response was received from the server.
+ * - CHIP_ERROR encapsulating a StatusIB: If we got a non-path-specific or path-specific
+ * status response from the server. In that case,
+ * StatusIB::InitFromChipError can be used to extract the status.
+ * - Note: a CommandSender using `CommandSender::Callback` only supports sending
+ * a single InvokeRequest. As a result, only one path-specific error is expected
+ * to ever be sent to the OnError callback.
+ * - CHIP_ERROR*: All other cases.
+ *
+ * The CommandSender object MUST continue to exist after this call is completed. The application shall wait until it
+ * receives an OnDone call to destroy and free the object.
+ *
+ * @param[in] apCommandSender The command sender object that initiated the command transaction.
+ * @param[in] aError A system error code that conveys the overall error code.
+ */
+ virtual void OnError(const CommandSender * apCommandSender, CHIP_ERROR aError) {}
+
+ /**
+ * OnDone will be called when CommandSender has finished all work and it is safe to destroy and free the
+ * allocated CommandSender object.
+ *
+ * This function will:
+ * - Always be called exactly *once* for a given CommandSender instance.
+ * - Be called even in error circumstances.
+ * - Only be called after a successful call to SendCommandRequest returns, if SendCommandRequest is used.
+ * - Always be called before a successful return from SendGroupCommandRequest, if SendGroupCommandRequest is used.
+ *
+ * This function must be implemented to destroy the CommandSender object.
+ *
+ * @param[in] apCommandSender The command sender object of the terminated invoke command transaction.
+ */
+ virtual void OnDone(CommandSender * apCommandSender) = 0;
+};
+
+} // namespace app
+} // namespace chip
diff --git a/src/app/chip_data_model.gni b/src/app/chip_data_model.gni
index 31551b55256d13..7f8f477c19a2cd 100644
--- a/src/app/chip_data_model.gni
+++ b/src/app/chip_data_model.gni
@@ -344,6 +344,14 @@ template("chip_data_model") {
"${_app_root}/clusters/${cluster}/EnergyEvseTestEventTriggerDelegate.cpp",
"${_app_root}/clusters/${cluster}/EnergyEvseTestEventTriggerDelegate.h",
]
+ } else if (cluster == "diagnostic-logs-server") {
+ sources += [
+ "${_app_root}/clusters/${cluster}/${cluster}.cpp",
+ "${_app_root}/clusters/${cluster}/${cluster}.h",
+ "${_app_root}/clusters/${cluster}/BDXDiagnosticLogsProvider.cpp",
+ "${_app_root}/clusters/${cluster}/BDXDiagnosticLogsProvider.h",
+ "${_app_root}/clusters/${cluster}/DiagnosticLogsProviderDelegate.h",
+ ]
} else {
sources += [ "${_app_root}/clusters/${cluster}/${cluster}.cpp" ]
}
diff --git a/src/app/clusters/barrier-control-server/barrier-control-server.cpp b/src/app/clusters/barrier-control-server/barrier-control-server.cpp
index 8d1cedce012ec5..e4e72eeb2ae930 100644
--- a/src/app/clusters/barrier-control-server/barrier-control-server.cpp
+++ b/src/app/clusters/barrier-control-server/barrier-control-server.cpp
@@ -74,15 +74,6 @@ typedef struct
} State;
static State state;
-#ifdef EMBER_SCRIPTED_TEST
-#define ZCL_USING_BARRIER_CONTROL_CLUSTER_OPEN_PERIOD_ATTRIBUTE
-#define ZCL_USING_BARRIER_CONTROL_CLUSTER_CLOSE_PERIOD_ATTRIBUTE
-#define ZCL_USING_BARRIER_CONTROL_CLUSTER_BARRIER_OPEN_EVENTS_ATTRIBUTE
-#define ZCL_USING_BARRIER_CONTROL_CLUSTER_BARRIER_CLOSE_EVENTS_ATTRIBUTE
-#define ZCL_USING_BARRIER_CONTROL_CLUSTER_BARRIER_COMMAND_OPEN_EVENTS_ATTRIBUTE
-#define ZCL_USING_BARRIER_CONTROL_CLUSTER_BARRIER_COMMAND_CLOSE_EVENTS_ATTRIBUTE
-#endif
-
/**********************************************************
* Matter timer scheduling glue logic
*********************************************************/
diff --git a/src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.cpp b/src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.cpp
new file mode 100644
index 00000000000000..6119652990679f
--- /dev/null
+++ b/src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.cpp
@@ -0,0 +1,307 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+
+#include
+
+#if CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER
+#include "BDXDiagnosticLogsProvider.h"
+#include
+#include
+#include
+
+using namespace chip::bdx;
+
+namespace chip {
+namespace app {
+namespace Clusters {
+namespace DiagnosticLogs {
+
+// BDX transfer session polling interval.
+constexpr System::Clock::Timeout kBdxPollIntervalMs = System::Clock::Milliseconds32(50);
+
+// Timeout for the BDX transfer session
+constexpr System::Clock::Timeout kBdxTimeout = System::Clock::Seconds16(5 * 60);
+
+constexpr uint16_t kBdxMaxBlockSize = 1024;
+
+CHIP_ERROR BDXDiagnosticLogsProvider::InitializeTransfer(CommandHandler * commandObj, const ConcreteCommandPath & path,
+ DiagnosticLogsProviderDelegate * delegate, IntentEnum intent,
+ CharSpan fileDesignator)
+{
+ auto exchangeCtx = commandObj->GetExchangeContext();
+ VerifyOrReturnError(nullptr != exchangeCtx, CHIP_ERROR_INVALID_ARGUMENT);
+
+ auto exchangeMgr = exchangeCtx->GetExchangeMgr();
+ VerifyOrReturnError(nullptr != exchangeMgr, CHIP_ERROR_INVALID_ARGUMENT);
+
+ auto sessionHandle = exchangeCtx->GetSessionHandle();
+ VerifyOrReturnError(sessionHandle->IsSecureSession(), CHIP_ERROR_INVALID_ARGUMENT);
+
+ ScopedNodeId scopedPeerNodeId = sessionHandle->AsSecureSession()->GetPeer();
+ auto fabricIndex = scopedPeerNodeId.GetFabricIndex();
+ VerifyOrReturnError(kUndefinedFabricIndex != fabricIndex, CHIP_ERROR_INVALID_ARGUMENT);
+
+ auto peerNodeId = scopedPeerNodeId.GetNodeId();
+ VerifyOrReturnError(kUndefinedNodeId != peerNodeId, CHIP_ERROR_INVALID_ARGUMENT);
+
+ LogSessionHandle logSessionHandle;
+ Optional timeStamp;
+ Optional timeSinceBoot;
+ VerifyOrReturnError(delegate != nullptr, CHIP_ERROR_INVALID_ARGUMENT);
+ ReturnErrorOnFailure(delegate->StartLogCollection(intent, logSessionHandle, timeStamp, timeSinceBoot));
+
+ // Create a new exchange context to use for the BDX transfer session
+ // and send the SendInit message over the exchange.
+ auto transferExchangeCtx = exchangeMgr->NewContext(sessionHandle, this);
+ VerifyOrReturnError(nullptr != transferExchangeCtx, CHIP_ERROR_NO_MEMORY);
+
+ TransferSession::TransferInitData initOptions;
+ initOptions.TransferCtlFlags = TransferControlFlags::kSenderDrive;
+ initOptions.MaxBlockSize = kBdxMaxBlockSize;
+ initOptions.FileDesLength = static_cast(fileDesignator.size());
+ initOptions.FileDesignator = Uint8::from_const_char(fileDesignator.data());
+
+ CHIP_ERROR err = Initiator::InitiateTransfer(&DeviceLayer::SystemLayer(), TransferRole::kSender, initOptions, kBdxTimeout,
+ kBdxPollIntervalMs);
+ if (CHIP_NO_ERROR != err)
+ {
+ LogErrorOnFailure(err);
+ transferExchangeCtx->Close();
+ return err;
+ }
+
+ mBDXTransferExchangeCtx = transferExchangeCtx;
+ mDelegate = delegate;
+ mFabricIndex.SetValue(fabricIndex);
+ mPeerNodeId.SetValue(peerNodeId);
+ mIsAcceptReceived = false;
+ mLogSessionHandle = logSessionHandle;
+ mTimeStamp = timeStamp;
+ mTimeSinceBoot = timeSinceBoot;
+ mAsyncCommandHandle = CommandHandler::Handle(commandObj);
+ mRequestPath = path;
+ mInitialized = true;
+
+ return CHIP_NO_ERROR;
+}
+
+void BDXDiagnosticLogsProvider::HandleTransferSessionOutput(TransferSession::OutputEvent & event)
+{
+ if (event.EventType != TransferSession::OutputEventType::kNone)
+ {
+ ChipLogDetail(BDX, "OutputEvent type: %s", event.ToString(event.EventType));
+ }
+
+ switch (event.EventType)
+ {
+ case TransferSession::OutputEventType::kMsgToSend:
+ OnMsgToSend(event);
+ break;
+ case TransferSession::OutputEventType::kAcceptReceived:
+ OnAcceptReceived();
+ // Upon acceptance of the transfer, the OnAckReceived method initiates the process of sending logs.
+ OnAckReceived();
+ break;
+ case TransferSession::OutputEventType::kAckReceived:
+ OnAckReceived();
+ break;
+ case TransferSession::OutputEventType::kAckEOFReceived:
+ OnAckEOFReceived();
+ break;
+ case TransferSession::OutputEventType::kStatusReceived:
+ OnStatusReceived(event);
+ break;
+ case TransferSession::OutputEventType::kInternalError:
+ OnInternalError();
+ break;
+ case TransferSession::OutputEventType::kTransferTimeout:
+ OnTimeout();
+ break;
+ case TransferSession::OutputEventType::kNone:
+ case TransferSession::OutputEventType::kInitReceived:
+ break;
+ case TransferSession::OutputEventType::kBlockReceived:
+ case TransferSession::OutputEventType::kQueryReceived:
+ case TransferSession::OutputEventType::kQueryWithSkipReceived:
+ // TransferSession should prevent this case from happening.
+ ChipLogError(BDX, "Unsupported event type");
+ break;
+ }
+}
+
+void BDXDiagnosticLogsProvider::OnMsgToSend(TransferSession::OutputEvent & event)
+{
+ VerifyOrReturn(mBDXTransferExchangeCtx != nullptr);
+
+ auto & msgTypeData = event.msgTypeData;
+ bool isStatusReport = msgTypeData.HasMessageType(Protocols::SecureChannel::MsgType::StatusReport);
+
+ // All messages sent from the Sender expect a response, except for a StatusReport which would indicate an error and the
+ // end of the transfer.
+ Messaging::SendFlags sendFlags;
+ if (!isStatusReport)
+ {
+ sendFlags.Set(Messaging::SendMessageFlags::kExpectResponse);
+ }
+
+ auto err =
+ mBDXTransferExchangeCtx->SendMessage(msgTypeData.ProtocolId, msgTypeData.MessageType, std::move(event.MsgData), sendFlags);
+
+ VerifyOrDo(CHIP_NO_ERROR == err, Reset());
+}
+
+void BDXDiagnosticLogsProvider::OnAcceptReceived()
+{
+ mIsAcceptReceived = true;
+
+ // On reception of a BDX SendAccept message the Node SHALL send a RetrieveLogsResponse command with a Status field set to
+ // Success and proceed with the log transfer over BDX.
+ SendCommandResponse(StatusEnum::kSuccess);
+}
+
+void BDXDiagnosticLogsProvider::OnAckReceived()
+{
+ uint16_t blockSize = mTransfer.GetTransferBlockSize();
+
+ auto blockBuf = System::PacketBufferHandle::New(blockSize);
+ VerifyOrReturn(!blockBuf.IsNull(), mTransfer.AbortTransfer(GetBdxStatusCodeFromChipError(CHIP_ERROR_NO_MEMORY)));
+
+ auto buffer = MutableByteSpan(blockBuf->Start(), blockSize);
+ bool isEndOfLog = false;
+
+ // Get the log next chunk and see if it fits i.e. if is end of log is reported
+ auto err = mDelegate->CollectLog(mLogSessionHandle, buffer, isEndOfLog);
+ VerifyOrReturn(CHIP_NO_ERROR == err, mTransfer.AbortTransfer(GetBdxStatusCodeFromChipError(err)));
+
+ // If the buffer has empty space, end the log collection session.
+ if (isEndOfLog)
+ {
+ mDelegate->EndLogCollection(mLogSessionHandle);
+ mLogSessionHandle = kInvalidLogSessionHandle;
+ }
+
+ // Prepare the BDX block to send to the requestor
+ TransferSession::BlockData blockData;
+ blockData.Data = blockBuf->Start();
+ blockData.Length = static_cast(buffer.size());
+ blockData.IsEof = isEndOfLog;
+
+ err = mTransfer.PrepareBlock(blockData);
+ if (err != CHIP_NO_ERROR)
+ {
+ ChipLogError(BDX, "PrepareBlock failed: %" CHIP_ERROR_FORMAT, err.Format());
+ mTransfer.AbortTransfer(GetBdxStatusCodeFromChipError(err));
+ }
+}
+
+void BDXDiagnosticLogsProvider::OnAckEOFReceived()
+{
+ ChipLogProgress(BDX, "Diagnostic logs transfer: Success");
+
+ Reset();
+}
+
+void BDXDiagnosticLogsProvider::OnStatusReceived(TransferSession::OutputEvent & event)
+{
+ ChipLogError(BDX, "Diagnostic logs transfer: StatusReport Error %x", to_underlying(event.statusData.statusCode));
+
+ // If a failure StatusReport is received in response to the SendInit message, the Node SHALL send a RetrieveLogsResponse command
+ // with a Status of Denied.
+ VerifyOrDo(mIsAcceptReceived, SendCommandResponse(StatusEnum::kDenied));
+ Reset();
+}
+
+void BDXDiagnosticLogsProvider::OnInternalError()
+{
+ ChipLogError(BDX, "Internal Error");
+ VerifyOrDo(mIsAcceptReceived, SendCommandResponse(StatusEnum::kDenied));
+ Reset();
+}
+
+void BDXDiagnosticLogsProvider::OnTimeout()
+{
+ ChipLogError(BDX, "Timeout");
+ VerifyOrDo(mIsAcceptReceived, SendCommandResponse(StatusEnum::kDenied));
+ Reset();
+}
+
+void BDXDiagnosticLogsProvider::SendCommandResponse(StatusEnum status)
+{
+ auto commandHandleRef = std::move(mAsyncCommandHandle);
+ auto commandHandle = commandHandleRef.Get();
+
+ VerifyOrReturn(nullptr != commandHandle, ChipLogError(Zcl, "SendCommandResponse - commandHandler is null"));
+
+ Commands::RetrieveLogsResponse::Type response;
+ response.status = status;
+ if (status == StatusEnum::kSuccess)
+ {
+ if (mTimeStamp.HasValue())
+ {
+ response.UTCTimeStamp = mTimeStamp;
+ }
+
+ if (mTimeSinceBoot.HasValue())
+ {
+ response.timeSinceBoot = mTimeSinceBoot;
+ }
+ }
+ commandHandle->AddResponse(mRequestPath, response);
+}
+
+void BDXDiagnosticLogsProvider::Reset()
+{
+ assertChipStackLockedByCurrentThread();
+
+ Initiator::ResetTransfer();
+ mExchangeCtx = nullptr;
+
+ if (mBDXTransferExchangeCtx != nullptr)
+ {
+ mBDXTransferExchangeCtx->Close();
+ mBDXTransferExchangeCtx = nullptr;
+ }
+
+ if (mDelegate != nullptr)
+ {
+ mDelegate->EndLogCollection(mLogSessionHandle);
+ mDelegate = nullptr;
+ }
+
+ mFabricIndex.ClearValue();
+ mPeerNodeId.ClearValue();
+ mIsAcceptReceived = false;
+ mLogSessionHandle = kInvalidLogSessionHandle;
+ mTimeStamp.ClearValue();
+ mTimeSinceBoot.ClearValue();
+ mAsyncCommandHandle = nullptr;
+ mRequestPath = ConcreteCommandPath(kInvalidEndpointId, kInvalidClusterId, kInvalidCommandId);
+ mInitialized = false;
+}
+
+void BDXDiagnosticLogsProvider::OnExchangeClosing(Messaging::ExchangeContext * ec)
+{
+ mBDXTransferExchangeCtx = nullptr;
+}
+
+} // namespace DiagnosticLogs
+} // namespace Clusters
+} // namespace app
+} // namespace chip
+
+#endif
diff --git a/src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.h b/src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.h
new file mode 100644
index 00000000000000..6122998eae986c
--- /dev/null
+++ b/src/app/clusters/diagnostic-logs-server/BDXDiagnosticLogsProvider.h
@@ -0,0 +1,99 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+
+#pragma once
+
+#include
+
+#if CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER
+
+#include
+#include
+#include
+
+namespace chip {
+namespace app {
+namespace Clusters {
+namespace DiagnosticLogs {
+
+class BDXDiagnosticLogsProvider : public bdx::Initiator
+{
+public:
+ BDXDiagnosticLogsProvider(){};
+ ~BDXDiagnosticLogsProvider(){};
+
+ /**
+ * Intializes the BDX transfer session by creating a new exchange context for the transfer session.
+ * It starts the BDX transfer session by calling InitiateTransfer which sends the SendInit BDX message
+ * to the log requestor.
+ *
+ * @param commandObj The command handler object from the RetrieveLogsRequest command
+ * @param path The command path from the RetrieveLogsRequest command
+ * @param delegate The log provider delegate that will provide the log chunks
+ * @param intent The log type requested
+ * @param fileDesignator The file designator to use for the BDX transfer
+ */
+ CHIP_ERROR InitializeTransfer(CommandHandler * commandObj, const ConcreteCommandPath & path,
+ DiagnosticLogsProviderDelegate * delegate, IntentEnum intent, CharSpan fileDesignator);
+
+ /**
+ * This method handles BDX messages and other TransferSession events.
+ *
+ * @param[in] event An OutputEvent that contains output from the TransferSession object.
+ */
+ void HandleTransferSessionOutput(bdx::TransferSession::OutputEvent & event) override;
+
+ bool IsBusy() const { return mInitialized; }
+
+ void OnExchangeClosing(Messaging::ExchangeContext * ec) override;
+
+private:
+ void OnMsgToSend(bdx::TransferSession::OutputEvent & event);
+ void OnAcceptReceived();
+ void OnAckReceived();
+ void OnAckEOFReceived();
+ void OnStatusReceived(bdx::TransferSession::OutputEvent & event);
+ void OnInternalError();
+ void OnTimeout();
+
+ void SendCommandResponse(StatusEnum status);
+
+ /**
+ * This method is called to reset state. It resets the transfer, cleans up the
+ * exchange and ends log collection.
+ */
+ void Reset();
+
+ Messaging::ExchangeContext * mBDXTransferExchangeCtx;
+ DiagnosticLogsProviderDelegate * mDelegate;
+ Optional mFabricIndex;
+ Optional mPeerNodeId;
+ bool mIsAcceptReceived = false;
+ LogSessionHandle mLogSessionHandle = kInvalidLogSessionHandle;
+ Optional mTimeStamp;
+ Optional mTimeSinceBoot;
+ CommandHandler::Handle mAsyncCommandHandle;
+ ConcreteCommandPath mRequestPath = ConcreteCommandPath(kInvalidEndpointId, kInvalidClusterId, kInvalidCommandId);
+ bool mInitialized = false;
+};
+
+} // namespace DiagnosticLogs
+} // namespace Clusters
+} // namespace app
+} // namespace chip
+#endif
diff --git a/src/app/clusters/diagnostic-logs-server/DiagnosticLogsProviderDelegate.h b/src/app/clusters/diagnostic-logs-server/DiagnosticLogsProviderDelegate.h
new file mode 100644
index 00000000000000..dc511fdacadeaa
--- /dev/null
+++ b/src/app/clusters/diagnostic-logs-server/DiagnosticLogsProviderDelegate.h
@@ -0,0 +1,104 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+
+#pragma once
+
+#include
+
+namespace chip {
+namespace app {
+namespace Clusters {
+namespace DiagnosticLogs {
+
+typedef uint16_t LogSessionHandle;
+
+// The value UINT16_MAX will be used as an invalid log session handle and must not be used as a valid value for LogSessionHandle
+constexpr LogSessionHandle kInvalidLogSessionHandle = UINT16_MAX;
+
+/** @brief
+ * Defines methods for implementing application-specific logic for getting the log data from the diagnostic logs provider
+ * DiagnosticLogsProviderDelegate.
+ */
+class DiagnosticLogsProviderDelegate
+{
+public:
+ DiagnosticLogsProviderDelegate() = default;
+
+ virtual ~DiagnosticLogsProviderDelegate() = default;
+
+ /**
+ * Called to start log collection for the log type passed in.
+ *
+ * @param[in] intent The type of log for which the start of log collection is requested.
+ * @param[out] outHandle The unique log session handle that identifies the log collection session that has been started.
+ * @param[out] outTimeStamp An optional value with the timestamp of the oldest log entry
+ * @param[out] outTimeSinceBoot An optional value with the time since boot of the oldest log entry
+ * Returns kInvalidLogSessionHandle if there are no logs of the intent.
+ */
+ virtual CHIP_ERROR StartLogCollection(IntentEnum intent, LogSessionHandle & outHandle, Optional & outTimeStamp,
+ Optional & outTimeSinceBoot) = 0;
+
+ /**
+ * Called to end log collection for the log session identified by sessionHandle.
+ * This must be called if StartLogCollection happens successfully and a valid sessionHandle has been
+ * returned from StartLogCollection.
+ *
+ * @param[in] sessionHandle The unique handle for this log session returned from a call to StartLogCollection.
+ *
+ */
+ virtual CHIP_ERROR EndLogCollection(LogSessionHandle sessionHandle) = 0;
+
+ /**
+ * Called to get the next chunk for the log session identified by sessionHandle.
+ * The outBuffer is resized to the actual size of data that was successfully read from the file.
+ * Should return CHIP_NO_ERROR if we were able to read successfully from the file into the buffer, otherwise
+ * an appropriate error code is returned.
+ *
+ * @param[in] sessionHandle The unique handle for this log session returned from a call to StartLogCollection.
+ * @param[out] outBuffer The buffer thats passed in by the caller to write to.
+ * @param[out] outIsEndOfLog Set to true if there is no more log data otherwise set to false.
+ */
+ virtual CHIP_ERROR CollectLog(LogSessionHandle sessionHandle, MutableByteSpan & outBuffer, bool & outIsEndOfLog) = 0;
+
+ /**
+ * Called to get the file size for the log type passed in.
+ *
+ * @param[in] intent The type of log for which the file size is requested.
+ *
+ * Returns the size of the logs for the target intent. Retuns 0 if there are no logs for the given intent, otherwise returns the
+ * size in bytes.
+ */
+ virtual size_t GetSizeForIntent(IntentEnum intent) = 0;
+
+ /**
+ * Called to get the newest diagnostic log entries for the target intent.
+ *
+ * @param[in] intent The intent for which the log size is requested.
+ * @param[out] outBuffer The buffer thats passed in by the caller to write to.
+ * @param[out] outTimeStamp An optional value with the timestamp of the oldest log entry
+ * @param[out] outTimeSinceBoot An optional value with the time since boot of the oldest log entry
+ *
+ */
+ virtual CHIP_ERROR GetLogForIntent(IntentEnum intent, MutableByteSpan & outBuffer, Optional & outTimeStamp,
+ Optional & outTimeSinceBoot) = 0;
+};
+
+} // namespace DiagnosticLogs
+} // namespace Clusters
+} // namespace app
+} // namespace chip
diff --git a/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.cpp b/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.cpp
index 2965beff147d3b..5d7de3b077a982 100644
--- a/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.cpp
+++ b/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.cpp
@@ -15,104 +15,176 @@
* limitations under the License.
*/
-#include
-#include
-#include
-#include
#include
-#include
+
#include
-#include
+#include
#include
+#include
+
+#include "BDXDiagnosticLogsProvider.h"
+
+#ifdef EMBER_AF_DIAGNOSTIC_LOGS_CLUSTER_SERVER_ENDPOINT_COUNT
+static constexpr size_t kDiagnosticLogsDiagnosticLogsProviderDelegateTableSize =
+ EMBER_AF_DIAGNOSTIC_LOGS_CLUSTER_SERVER_ENDPOINT_COUNT + CHIP_DEVICE_CONFIG_DYNAMIC_ENDPOINT_COUNT;
+static_assert(kDiagnosticLogsDiagnosticLogsProviderDelegateTableSize < kEmberInvalidEndpointIndex,
+ "DiagnosticLogs: log provider delegate table size error");
+
+using namespace chip::app::Clusters::DiagnosticLogs;
+using chip::Protocols::InteractionModel::Status;
+
+using chip::bdx::DiagnosticLogs::kMaxFileDesignatorLen;
+using chip::bdx::DiagnosticLogs::kMaxLogContentSize;
+
+namespace chip {
+namespace app {
+namespace Clusters {
+namespace DiagnosticLogs {
+
+namespace {
+
+DiagnosticLogsProviderDelegate * gDiagnosticLogsProviderDelegateTable[kDiagnosticLogsDiagnosticLogsProviderDelegateTableSize] = {
+ nullptr
+};
+
+DiagnosticLogsProviderDelegate * GetDiagnosticLogsProviderDelegate(EndpointId endpoint)
+{
+ uint16_t ep = emberAfGetClusterServerEndpointIndex(endpoint, Id, EMBER_AF_DIAGNOSTIC_LOGS_CLUSTER_SERVER_ENDPOINT_COUNT);
+ auto delegate = (ep >= ArraySize(gDiagnosticLogsProviderDelegateTable) ? nullptr : gDiagnosticLogsProviderDelegateTable[ep]);
+
+ if (delegate == nullptr)
+ {
+ ChipLogProgress(Zcl, "Diagnosticlogs: no log provider delegate set for endpoint:%u", endpoint);
+ }
+
+ return delegate;
+}
+
+void AddResponse(CommandHandler * commandObj, const ConcreteCommandPath & path, StatusEnum status)
+{
+ Commands::RetrieveLogsResponse::Type response;
+ response.status = status;
+ commandObj->AddResponse(path, response);
+}
+
+void AddResponse(CommandHandler * commandObj, const ConcreteCommandPath & path, StatusEnum status, MutableByteSpan & logContent,
+ const Optional & timeStamp, const Optional & timeSinceBoot)
+{
+ Commands::RetrieveLogsResponse::Type response;
+ response.status = status;
+ response.logContent = ByteSpan(logContent);
+ response.UTCTimeStamp = timeStamp;
+ response.timeSinceBoot = timeSinceBoot;
+
+ commandObj->AddResponse(path, response);
+}
+
+#if CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER
+BDXDiagnosticLogsProvider gBDXDiagnosticLogsProvider;
+#endif // CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER
+
+} // anonymous namespace
-#include
+DiagnosticLogsServer DiagnosticLogsServer::sInstance;
-// We store our times as millisecond times, to save space.
-using TimeInBufferType = chip::System::Clock::Milliseconds32::rep;
+void DiagnosticLogsServer::SetDiagnosticLogsProviderDelegate(EndpointId endpoint, DiagnosticLogsProviderDelegate * delegate)
+{
+ uint16_t ep = emberAfGetClusterServerEndpointIndex(endpoint, Id, EMBER_AF_DIAGNOSTIC_LOGS_CLUSTER_SERVER_ENDPOINT_COUNT);
+ if (ep < kDiagnosticLogsDiagnosticLogsProviderDelegateTableSize)
+ {
+ gDiagnosticLogsProviderDelegateTable[ep] = delegate;
+ }
+}
-CHIP_ERROR DiagnosticLogsCommandHandler::PushLog(const chip::ByteSpan & payload)
+DiagnosticLogsServer & DiagnosticLogsServer::Instance()
{
- auto now = std::chrono::duration_cast(chip::Server::GetInstance().TimeSinceInit());
- TimeInBufferType timeMs = now.count();
- chip::ByteSpan payloadTime(reinterpret_cast(&timeMs), sizeof(timeMs));
- return mBuffer.Push(payloadTime, payload);
+ return sInstance;
}
-void DiagnosticLogsCommandHandler::InvokeCommand(HandlerContext & handlerContext)
+void DiagnosticLogsServer::HandleLogRequestForResponsePayload(CommandHandler * commandObj, const ConcreteCommandPath & path,
+ IntentEnum intent, StatusEnum status)
{
- HandleCommand(
- handlerContext, [&](auto & _u, auto & payload) {
- if (payload.requestedProtocol == chip::app::Clusters::DiagnosticLogs::TransferProtocolEnum::kUnknownEnumValue)
- {
- handlerContext.mCommandHandler.AddStatus(handlerContext.mRequestPath,
- chip::Protocols::InteractionModel::Status::InvalidCommand);
- return;
- }
-
- switch (payload.intent)
- {
- case chip::app::Clusters::DiagnosticLogs::IntentEnum::kEndUserSupport: {
- chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsResponse::Type response;
- if (mBuffer.IsEmpty())
- {
- response.status = chip::app::Clusters::DiagnosticLogs::StatusEnum::kNoLogs;
- handlerContext.mCommandHandler.AddResponse(handlerContext.mRequestPath, response);
- break;
- }
-
- size_t logSize = mBuffer.GetFrontSize();
- TimeInBufferType timeFromBuffer;
- VerifyOrDie(logSize > sizeof(timeFromBuffer));
-
- chip::Platform::ScopedMemoryBuffer buf;
- if (!buf.Calloc(logSize))
- {
- response.status = chip::app::Clusters::DiagnosticLogs::StatusEnum::kBusy;
- handlerContext.mCommandHandler.AddResponse(handlerContext.mRequestPath, response);
- break;
- }
-
- // The entry is | time (4 bytes) | content (var size) |
- chip::MutableByteSpan entry(buf.Get(), logSize);
- CHIP_ERROR err = mBuffer.ReadFront(entry);
- VerifyOrDie(err == CHIP_NO_ERROR);
- memcpy(&timeFromBuffer, buf.Get(), sizeof(timeFromBuffer));
-
- auto timestamp = chip::System::Clock::Milliseconds32(timeFromBuffer);
-
- response.status = chip::app::Clusters::DiagnosticLogs::StatusEnum::kSuccess;
- response.logContent = chip::ByteSpan(buf.Get() + sizeof(timeFromBuffer), logSize - sizeof(timeFromBuffer));
- response.timeSinceBoot.SetValue(chip::System::Clock::Microseconds64(timestamp).count());
- handlerContext.mCommandHandler.AddResponse(handlerContext.mRequestPath, response);
- }
- break;
- case chip::app::Clusters::DiagnosticLogs::IntentEnum::kNetworkDiag: {
- chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsResponse::Type response;
- response.status = chip::app::Clusters::DiagnosticLogs::StatusEnum::kNoLogs;
- handlerContext.mCommandHandler.AddResponse(handlerContext.mRequestPath, response);
- }
- break;
- case chip::app::Clusters::DiagnosticLogs::IntentEnum::kCrashLogs: {
- chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsResponse::Type response;
- response.status = chip::app::Clusters::DiagnosticLogs::StatusEnum::kNoLogs;
- handlerContext.mCommandHandler.AddResponse(handlerContext.mRequestPath, response);
- }
- break;
- case chip::app::Clusters::DiagnosticLogs::IntentEnum::kUnknownEnumValue: {
- handlerContext.mCommandHandler.AddStatus(handlerContext.mRequestPath,
- chip::Protocols::InteractionModel::Status::InvalidCommand);
- break;
- }
- }
- });
+ // If there is no delegate, there is no mechanism to read the logs. Assume those are empty and return NoLogs
+ auto * delegate = GetDiagnosticLogsProviderDelegate(path.mEndpointId);
+ VerifyOrReturn(nullptr != delegate, AddResponse(commandObj, path, StatusEnum::kNoLogs));
+
+ Platform::ScopedMemoryBuffer buffer;
+ VerifyOrReturn(buffer.Alloc(kMaxLogContentSize), AddResponse(commandObj, path, StatusEnum::kDenied));
+
+ auto logContent = MutableByteSpan(buffer.Get(), kMaxLogContentSize);
+ Optional timeStamp;
+ Optional timeSinceBoot;
+
+ auto err = delegate->GetLogForIntent(intent, logContent, timeStamp, timeSinceBoot);
+ VerifyOrReturn(CHIP_ERROR_NOT_FOUND != err, AddResponse(commandObj, path, StatusEnum::kNoLogs));
+ VerifyOrReturn(CHIP_NO_ERROR == err, AddResponse(commandObj, path, StatusEnum::kDenied));
+
+ AddResponse(commandObj, path, status, logContent, timeStamp, timeSinceBoot);
}
-bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback(
- chip::app::CommandHandler * commandObj, const chip::app::ConcreteCommandPath & commandPath,
- const chip::app::Clusters::DiagnosticLogs::Commands::RetrieveLogsRequest::DecodableType & commandData)
+void DiagnosticLogsServer::HandleLogRequestForBdx(CommandHandler * commandObj, const ConcreteCommandPath & path, IntentEnum intent,
+ Optional transferFileDesignator)
{
- commandObj->AddStatus(commandPath, chip::Protocols::InteractionModel::Status::UnsupportedCommand);
+ // If the RequestedProtocol is set to BDX and there is no TransferFileDesignator the command SHALL fail with a Status Code of
+ // INVALID_COMMAND.
+ VerifyOrReturn(transferFileDesignator.HasValue(), commandObj->AddStatus(path, Status::InvalidCommand));
+
+ VerifyOrReturn(transferFileDesignator.Value().size() <= kMaxFileDesignatorLen,
+ commandObj->AddStatus(path, Status::ConstraintError));
+
+ // If there is no delegate, there is no mechanism to read the logs. Assume those are empty and return NoLogs
+ auto * delegate = GetDiagnosticLogsProviderDelegate(path.mEndpointId);
+ VerifyOrReturn(nullptr != delegate, AddResponse(commandObj, path, StatusEnum::kNoLogs));
+
+ // In the case where the Node is able to fit the entirety of the requested logs within the LogContent field, the Status field of
+ // the RetrieveLogsResponse SHALL be set to Exhausted and a BDX session SHALL NOT be initiated.
+ VerifyOrReturn(delegate->GetSizeForIntent(intent) > kMaxLogContentSize,
+ HandleLogRequestForResponsePayload(commandObj, path, intent, StatusEnum::kExhausted));
+
+ // If the RequestedProtocol is set to BDX and either the Node does not support BDX or it is not possible for the Node
+ // to establish a BDX session, then the Node SHALL utilize the LogContent field of the RetrieveLogsResponse command
+ // to transfer as much of the current logs as it can fit within the response, and the Status field of the
+ // RetrieveLogsResponse SHALL be set to Exhausted.
+#if CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER
+ VerifyOrReturn(!gBDXDiagnosticLogsProvider.IsBusy(), AddResponse(commandObj, path, StatusEnum::kBusy));
+ auto err = gBDXDiagnosticLogsProvider.InitializeTransfer(commandObj, path, delegate, intent, transferFileDesignator.Value());
+ VerifyOrReturn(CHIP_NO_ERROR == err, AddResponse(commandObj, path, StatusEnum::kDenied));
+#else
+ HandleLogRequestForResponsePayload(commandObj, path, intent, StatusEnum::kExhausted);
+#endif // CHIP_CONFIG_ENABLE_BDX_LOG_TRANSFER
+}
+
+} // namespace DiagnosticLogs
+} // namespace Clusters
+} // namespace app
+} // namespace chip
+
+bool emberAfDiagnosticLogsClusterRetrieveLogsRequestCallback(chip::app::CommandHandler * commandObj,
+ const chip::app::ConcreteCommandPath & commandPath,
+ const Commands::RetrieveLogsRequest::DecodableType & commandData)
+{
+ // If the Intent and/or the RequestedProtocol arguments contain invalid (out of range) values the command SHALL fail with a
+ // Status Code of INVALID_COMMAND.
+ auto intent = commandData.intent;
+ auto protocol = commandData.requestedProtocol;
+ if (intent == IntentEnum::kUnknownEnumValue || protocol == TransferProtocolEnum::kUnknownEnumValue)
+ {
+ commandObj->AddStatus(commandPath, Status::InvalidCommand);
+ return true;
+ }
+
+ auto instance = DiagnosticLogsServer::Instance();
+ if (protocol == TransferProtocolEnum::kResponsePayload)
+ {
+ instance.HandleLogRequestForResponsePayload(commandObj, commandPath, intent);
+ }
+ else
+ {
+ instance.HandleLogRequestForBdx(commandObj, commandPath, intent, commandData.transferFileDesignator);
+ }
+
return true;
}
void MatterDiagnosticLogsPluginServerInitCallback() {}
+#endif // #ifdef EMBER_AF_DIAGNOSTIC_LOGS_CLUSTER_SERVER_ENDPOINT_COUNT
diff --git a/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.h b/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.h
index 91348717c481c5..68627245f2a7d9 100644
--- a/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.h
+++ b/src/app/clusters/diagnostic-logs-server/diagnostic-logs-server.h
@@ -20,29 +20,49 @@
#include
#include
-#include
+#include
-#include
+namespace chip {
+namespace app {
+namespace Clusters {
+namespace DiagnosticLogs {
/// A reference implementation for DiagnosticLogs source.
-class DiagnosticLogsCommandHandler : public chip::app::CommandHandlerInterface
+class DiagnosticLogsServer
{
public:
- static constexpr const uint16_t kDiagnosticLogsEndpoint = 0;
- static constexpr const uint16_t kDiagnosticLogsBufferSize = 4 * 1024; // 4K internal memory to store text logs
+ static DiagnosticLogsServer & Instance();
- DiagnosticLogsCommandHandler() :
- CommandHandlerInterface(chip::MakeOptional(chip::EndpointId(kDiagnosticLogsEndpoint)),
- chip::app::Clusters::DiagnosticLogs::Id),
- mBuffer(mStorage.data(), mStorage.size())
- {}
+ /**
+ * Set the default delegate of the diagnostic logs cluster for the specified endpoint
+ *
+ * @param endpoint ID of the endpoint
+ *
+ * @param delegate The log provider delegate at the endpoint
+ */
+ void SetDiagnosticLogsProviderDelegate(EndpointId endpoint, DiagnosticLogsProviderDelegate * delegate);
- // Inherited from CommandHandlerInterface
- void InvokeCommand(HandlerContext & handlerContext) override;
+ /**
+ * Handles the request to download diagnostic logs of type specified in the intent argument for protocol type ResponsePayload
+ * This should return whatever fits in the logContent field of the RetrieveLogsResponse command
+ *
+ * @param commandObj The command handler object from the RetrieveLogsRequest command
+ * @param path The command path from the RetrieveLogsRequest command
+ * @param intent The log type requested in the RetrieveLogsRequest command
+ * @param status The status to be returned on success
+ *
+ */
+ void HandleLogRequestForResponsePayload(CommandHandler * commandObj, const ConcreteCommandPath & path, IntentEnum intent,
+ StatusEnum status = StatusEnum::kSuccess);
- CHIP_ERROR PushLog(const chip::ByteSpan & payload);
+ void HandleLogRequestForBdx(CommandHandler * commandObj, const ConcreteCommandPath & path, IntentEnum intent,
+ Optional transferFileDesignator);
private:
- std::array mStorage;
- chip::BytesCircularBuffer mBuffer;
+ static DiagnosticLogsServer sInstance;
};
+
+} // namespace DiagnosticLogs
+} // namespace Clusters
+} // namespace app
+} // namespace chip
diff --git a/src/app/clusters/test-cluster-server/test-cluster-server.cpp b/src/app/clusters/test-cluster-server/test-cluster-server.cpp
index cfecf37ec14929..8d23cd3075db54 100644
--- a/src/app/clusters/test-cluster-server/test-cluster-server.cpp
+++ b/src/app/clusters/test-cluster-server/test-cluster-server.cpp
@@ -780,6 +780,27 @@ static bool SendBooleanResponse(CommandHandler * commandObj, const ConcreteComma
return true;
}
+bool emberAfUnitTestingClusterTestDifferentVendorMeiRequestCallback(
+ app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath,
+ const Commands::TestDifferentVendorMeiRequest::DecodableType & commandData)
+{
+ Commands::TestDifferentVendorMeiResponse::Type response;
+
+ {
+ Events::TestDifferentVendorMeiEvent::Type event{ commandData.arg1 };
+
+ if (CHIP_NO_ERROR != LogEvent(event, commandPath.mEndpointId, response.eventNumber))
+ {
+ commandObj->AddStatus(commandPath, Status::Failure);
+ return true;
+ }
+ }
+
+ response.arg1 = commandData.arg1;
+ commandObj->AddResponse(commandPath, response);
+ return true;
+}
+
bool emberAfUnitTestingClusterTestStructArgumentRequestCallback(
app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath,
const Commands::TestStructArgumentRequest::DecodableType & commandData)
@@ -833,6 +854,7 @@ bool emberAfUnitTestingClusterTestEmitTestEventRequestCallback(
commandObj->AddStatus(commandPath, Status::Failure);
return true;
}
+
commandObj->AddResponse(commandPath, responseData);
return true;
}
diff --git a/src/app/data-model/FabricScopedPreEncodedValue.cpp b/src/app/data-model/FabricScopedPreEncodedValue.cpp
new file mode 100644
index 00000000000000..30bd9a4f5101bd
--- /dev/null
+++ b/src/app/data-model/FabricScopedPreEncodedValue.cpp
@@ -0,0 +1,103 @@
+/*
+ * Copyright (c) 2024 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.
+ */
+
+#include "FabricScopedPreEncodedValue.h"
+#include
+#include
+
+#include
+
+namespace chip {
+namespace app {
+namespace DataModel {
+
+FabricScopedPreEncodedValue::FabricScopedPreEncodedValue(const ByteSpan & aData) : mData(aData) {}
+
+CHIP_ERROR FabricScopedPreEncodedValue::EncodeForRead(TLV::TLVWriter & aWriter, TLV::Tag aTag, FabricIndex aFabricIndex) const
+{
+ TLV::TLVReader reader;
+ reader.Init(mData);
+
+ ReturnErrorOnFailure(reader.Next());
+
+ return aWriter.CopyElement(aTag, reader);
+}
+
+FabricIndex FabricScopedPreEncodedValue::GetFabricIndex() const
+{
+ TLV::TLVReader reader;
+ reader.Init(mData);
+ CHIP_ERROR err = reader.Next();
+ if (err != CHIP_NO_ERROR)
+ {
+ return kUndefinedFabricIndex;
+ }
+
+ // We must have a struct here.
+ if (reader.GetType() != TLV::kTLVType_Structure)
+ {
+ return kUndefinedFabricIndex;
+ }
+
+ TLV::TLVType structType;
+ err = reader.EnterContainer(structType);
+ if (err != CHIP_NO_ERROR)
+ {
+ return kUndefinedFabricIndex;
+ }
+
+ // Now look for a single field with the right tag.
+ std::optional foundFabricIndex;
+ constexpr TLV::Tag kFabricIndexTag = TLV::ContextTag(254);
+ while ((err = reader.Next()) == CHIP_NO_ERROR)
+ {
+ if (reader.GetTag() != kFabricIndexTag)
+ {
+ continue;
+ }
+
+ if (foundFabricIndex.has_value())
+ {
+ // Two fabric indices? Just give up. Note that this will lead to
+ // errors encoding our value.
+ return kUndefinedFabricIndex;
+ }
+
+ err = reader.Get(foundFabricIndex.emplace());
+ if (err != CHIP_NO_ERROR)
+ {
+ return kUndefinedFabricIndex;
+ }
+ }
+
+ if (err != CHIP_ERROR_END_OF_TLV)
+ {
+ return kUndefinedFabricIndex;
+ }
+
+ err = reader.ExitContainer(structType);
+ if (err != CHIP_NO_ERROR)
+ {
+ return kUndefinedFabricIndex;
+ }
+
+ return foundFabricIndex.value_or(kUndefinedFabricIndex);
+}
+
+} // namespace DataModel
+} // namespace app
+} // namespace chip
diff --git a/src/app/data-model/FabricScopedPreEncodedValue.h b/src/app/data-model/FabricScopedPreEncodedValue.h
new file mode 100644
index 00000000000000..b95b99369c9b45
--- /dev/null
+++ b/src/app/data-model/FabricScopedPreEncodedValue.h
@@ -0,0 +1,58 @@
+/*
+ * Copyright (c) 2024 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.
+ */
+
+#include
+#include
+#include
+#include
+
+namespace chip {
+namespace app {
+namespace DataModel {
+
+/**
+ * FabridScopedPreEncodedValue represents the value of a single item in a list
+ * of fabric-scoped structs that has already been encoded as TLV. To enable
+ * reading these values successfully, the struct must have the fabric index it
+ * corresponds to encoded with the right tag.
+ *
+ * Note: Fabric-sensitive fields are currently not supported; there is no way to
+ * specify which fields are fabric-sensitive.
+ */
+class FabricScopedPreEncodedValue
+{
+public:
+ /**
+ * The data buffer backing the ByteSpan must outlive the
+ * FabricScopedPreEncodedValue instance.
+ */
+ FabricScopedPreEncodedValue(const ByteSpan & aData);
+
+ /**
+ * Encodable object API implementation.
+ */
+ static constexpr bool kIsFabricScoped = true;
+ CHIP_ERROR EncodeForRead(TLV::TLVWriter & aWriter, TLV::Tag aTag, FabricIndex aFabricIndex) const;
+ FabricIndex GetFabricIndex() const;
+
+private:
+ const ByteSpan mData;
+};
+
+} // namespace DataModel
+} // namespace app
+} // namespace chip
diff --git a/src/app/data-model/PreEncodedValue.cpp b/src/app/data-model/PreEncodedValue.cpp
new file mode 100644
index 00000000000000..3de3e1c98e8b11
--- /dev/null
+++ b/src/app/data-model/PreEncodedValue.cpp
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2024 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.
+ */
+
+#include "PreEncodedValue.h"
+#include
+#include
+
+namespace chip {
+namespace app {
+namespace DataModel {
+
+PreEncodedValue::PreEncodedValue(const ByteSpan & aData) : mData(aData) {}
+
+CHIP_ERROR PreEncodedValue::Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const
+{
+ TLV::TLVReader reader;
+ reader.Init(mData);
+
+ ReturnErrorOnFailure(reader.Next());
+
+ return aWriter.CopyElement(aTag, reader);
+}
+
+} // namespace DataModel
+} // namespace app
+} // namespace chip
diff --git a/src/app/data-model/PreEncodedValue.h b/src/app/data-model/PreEncodedValue.h
new file mode 100644
index 00000000000000..052c3872adc9b9
--- /dev/null
+++ b/src/app/data-model/PreEncodedValue.h
@@ -0,0 +1,52 @@
+/*
+ * Copyright (c) 2024 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.
+ */
+
+#include
+#include
+#include
+
+namespace chip {
+namespace app {
+namespace DataModel {
+
+/**
+ * PreEncodedValue represents the value of an attribute or the value of a single
+ * item in a list of non-fabric-scoped structs that has already been
+ * encoded as TLV.
+ */
+class PreEncodedValue
+{
+public:
+ /**
+ * The data buffer backing the ByteSpan must outlive the PreEncodedValue
+ * instance.
+ */
+ PreEncodedValue(const ByteSpan & aData);
+
+ /**
+ * Encodable object API implementation.
+ */
+ static constexpr bool kIsFabricScoped = false;
+ CHIP_ERROR Encode(TLV::TLVWriter & aWriter, TLV::Tag aTag) const;
+
+private:
+ const ByteSpan mData;
+};
+
+} // namespace DataModel
+} // namespace app
+} // namespace chip
diff --git a/src/app/data-model/WrappedStructEncoder.h b/src/app/data-model/WrappedStructEncoder.h
index 7c5e77912ca5fe..66909221404ac4 100644
--- a/src/app/data-model/WrappedStructEncoder.h
+++ b/src/app/data-model/WrappedStructEncoder.h
@@ -18,6 +18,7 @@
#pragma once
#include
+#include
#include
#include
diff --git a/src/app/icd/ICDConfigurationData.h b/src/app/icd/ICDConfigurationData.h
index 2bdd832c52f0c5..48f3966a5e5948 100644
--- a/src/app/icd/ICDConfigurationData.h
+++ b/src/app/icd/ICDConfigurationData.h
@@ -61,6 +61,8 @@ class ICDConfigurationData
System::Clock::Milliseconds32 GetFastPollingInterval() { return mFastPollingInterval; }
+ uint32_t GetMinLitActiveModeThresholdMs() { return kMinLitActiveModeThreshold_ms; }
+
/**
* If ICD_ENFORCE_SIT_SLOW_POLL_LIMIT is set to 0, function will always return the configured Slow Polling interval
* (CHIP_DEVICE_CONFIG_ICD_SLOW_POLL_INTERVAL).
@@ -93,6 +95,8 @@ class ICDConfigurationData
void SetSlowPollingInterval(System::Clock::Milliseconds32 slowPollInterval) { mSlowPollingInterval = slowPollInterval; };
void SetFastPollingInterval(System::Clock::Milliseconds32 fastPollInterval) { mFastPollingInterval = fastPollInterval; };
+ static constexpr uint32_t kMinLitActiveModeThreshold_ms = 5000;
+
static_assert((CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC) <= 64800,
"Spec requires the IdleModeDuration to be equal or inferior to 64800s.");
static_assert((CHIP_CONFIG_ICD_IDLE_MODE_DURATION_SEC) >= 1,
diff --git a/src/app/icd/ICDManager.cpp b/src/app/icd/ICDManager.cpp
index f1c787d391a8f1..99e8e950dd853f 100644
--- a/src/app/icd/ICDManager.cpp
+++ b/src/app/icd/ICDManager.cpp
@@ -48,15 +48,20 @@ void ICDManager::Init(PersistentStorageDelegate * storage, FabricTable * fabricT
VerifyOrDie(symmetricKeystore != nullptr);
VerifyOrDie(exchangeManager != nullptr);
- bool supportLIT = SupportsFeature(Feature::kLongIdleTimeSupport);
- VerifyOrDieWithMsg((supportLIT == false) || SupportsFeature(Feature::kCheckInProtocolSupport), AppServer,
- "The CheckIn protocol feature is required for LIT support");
- VerifyOrDieWithMsg((supportLIT == false) || SupportsFeature(Feature::kUserActiveModeTrigger), AppServer,
- "The user ActiveMode trigger feature is required for LIT support");
-
- // Disabling check until LIT support is compelte
- // VerifyOrDieWithMsg((supportLIT == false) && (GetSlowPollingInterval() <= GetSITPollingThreshold()) , AppServer,
- // "LIT support is required for slow polling intervals superior to 15 seconds");
+ // LIT ICD Verification Checks
+ if (SupportsFeature(Feature::kLongIdleTimeSupport))
+ {
+ VerifyOrDieWithMsg(SupportsFeature(Feature::kCheckInProtocolSupport), AppServer,
+ "The CheckIn protocol feature is required for LIT support.");
+ VerifyOrDieWithMsg(SupportsFeature(Feature::kUserActiveModeTrigger), AppServer,
+ "The user ActiveMode trigger feature is required for LIT support.");
+ VerifyOrDieWithMsg(ICDConfigurationData::GetInstance().GetMinLitActiveModeThresholdMs() <=
+ ICDConfigurationData::GetInstance().GetActiveModeThresholdMs(),
+ AppServer, "The minimum ActiveModeThreshold value for a LIT ICD is 5 seconds.");
+ // Disabling check until LIT support is compelte
+ // VerifyOrDieWithMsg((GetSlowPollingInterval() <= GetSITPollingThreshold()) , AppServer,
+ // "LIT support is required for slow polling intervals superior to 15 seconds");
+ }
mStorage = storage;
mFabricTable = fabricTable;
@@ -66,11 +71,6 @@ void ICDManager::Init(PersistentStorageDelegate * storage, FabricTable * fabricT
VerifyOrDie(InitCounter() == CHIP_NO_ERROR);
- // Removing the check for now since it is possible for the Fast polling
- // to be larger than the ActiveModeDuration for now
- // uint32_t activeModeDuration = ICDConfigurationData::GetInstance().GetActiveModeDurationMs();
- // VerifyOrDie(kFastPollingInterval.count() < activeModeDuration);
-
UpdateICDMode();
UpdateOperationState(OperationalState::IdleMode);
}
diff --git a/src/app/tests/TestAttributeValueEncoder.cpp b/src/app/tests/TestAttributeValueEncoder.cpp
index 991f0ab0169307..bd4a59ebec5463 100644
--- a/src/app/tests/TestAttributeValueEncoder.cpp
+++ b/src/app/tests/TestAttributeValueEncoder.cpp
@@ -25,10 +25,16 @@
#include
#include
#include
+#include
+#include
+#include
+#include
#include
#include
#include
+#include
+
using namespace chip;
using namespace chip::app;
using namespace chip::TLV;
@@ -43,6 +49,7 @@ constexpr ClusterId kRandomClusterId = 0xaa;
constexpr AttributeId kRandomAttributeId = 0xcc;
constexpr DataVersion kRandomDataVersion = 0x99;
constexpr FabricIndex kTestFabricIndex = 1;
+constexpr TLV::Tag kFabricIndexTag = TLV::ContextTag(254);
template
struct LimitedTestSetup
@@ -553,6 +560,288 @@ void TestEncodeListChunking2(nlTestSuite * aSuite, void * aContext)
}
}
+void TestEncodePreEncoded(nlTestSuite * aSuite, void * aContext)
+{
+ TestSetup test(aSuite);
+
+ uint8_t buffer[128];
+ TLV::TLVWriter writer;
+ writer.Init(buffer);
+ // Use a random tag that is not the right tag.
+ CHIP_ERROR err = writer.PutString(TLV::ProfileTag(0x1234abcd, 0x5678fedc), "hello");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ ByteSpan value(buffer, writer.GetLengthWritten());
+ err = test.encoder.Encode(DataModel::PreEncodedValue(value));
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ const uint8_t expected[] = {
+ // clang-format off
+ 0x15, 0x36, 0x01, // Test overhead, Start Anonymous struct + Start 1 byte Tag Array + Tag (01)
+ 0x15, // Start anonymous struct
+ 0x35, 0x01, // Start 1 byte tag struct + Tag (01)
+ 0x24, 0x00, 0x99, // Tag (00) Value (1 byte uint) 0x99 (Attribute Version)
+ 0x37, 0x01, // Start 1 byte tag list + Tag (01) (Attribute Path)
+ 0x24, 0x02, 0x55, // Tag (02) Value (1 byte uint) 0x55
+ 0x24, 0x03, 0xaa, // Tag (03) Value (1 byte uint) 0xaa
+ 0x24, 0x04, 0xcc, // Tag (04) Value (1 byte uint) 0xcc
+ 0x18, // End of container
+ 0x2C, 0x02, 0x05, 0x68, 0x65, 0x6C, 0x6C, 0x6F, // Tag (02) Value "hello", with 1-byte length of 0x05 (Attribute Value)
+ 0x18, // End of container
+ 0x18, // End of container
+ // clang-format on
+ };
+ VERIFY_BUFFER_STATE(aSuite, test, expected);
+}
+
+void TestEncodeListOfPreEncoded(nlTestSuite * aSuite, void * aContext)
+{
+ TestSetup test(aSuite);
+
+ uint8_t buffers[2][128];
+ std::optional values[2];
+
+ {
+ TLV::TLVWriter writer;
+ writer.Init(buffers[0]);
+ // Use a random tag that is not the right tag.
+ CHIP_ERROR err = writer.PutString(TLV::ProfileTag(0x1234abcd, 0x5678fedc), "hello");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ values[0].emplace(ByteSpan(buffers[0], writer.GetLengthWritten()));
+ }
+
+ {
+ TLV::TLVWriter writer;
+ writer.Init(buffers[1]);
+ // Use a random tag that is not the right tag.
+ CHIP_ERROR err = writer.PutString(TLV::ProfileTag(0x1234abcd, 0x00010002), "bye");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ values[1].emplace(ByteSpan(buffers[1], writer.GetLengthWritten()));
+ }
+
+ CHIP_ERROR err = test.encoder.EncodeList([&values](const auto & encoder) {
+ for (auto & value : values)
+ {
+ ReturnErrorOnFailure(encoder.Encode(value.value()));
+ }
+ return CHIP_NO_ERROR;
+ });
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ const uint8_t expected[] = {
+ // clang-format off
+ 0x15, 0x36, 0x01, // Test overhead, Start Anonymous struct + Start 1 byte Tag Array + Tag (01)
+ 0x15, // Start anonymous struct
+ 0x35, 0x01, // Start 1 byte tag struct + Tag (01)
+ 0x24, 0x00, 0x99, // Tag (00) Value (1 byte uint) 0x99 (Attribute Version)
+ 0x37, 0x01, // Start 1 byte tag list + Tag (01) (Attribute Path)
+ 0x24, 0x02, 0x55, // Tag (02) Value (1 byte uint) 0x55
+ 0x24, 0x03, 0xaa, // Tag (03) Value (1 byte uint) 0xaa
+ 0x24, 0x04, 0xcc, // Tag (04) Value (1 byte uint) 0xcc
+ 0x18, // End of container
+ 0x36, 0x02, // Start 1 byte tag array + Tag (02) (Attribute Value)
+ 0x0C, 0x05, 0x68, 0x65, 0x6C, 0x6C, 0x6F, // "hello", with 1-byte length of 0x05
+ 0x0C, 0x03, 0x62, 0x79, 0x65, // "bye", with 1-byte length of 0x03
+ 0x18, // End of array
+ 0x18, // End of container
+ 0x18, // End of container
+ // clang-format on
+ };
+ VERIFY_BUFFER_STATE(aSuite, test, expected);
+}
+
+void TestEncodeListOfFabricScopedPreEncoded(nlTestSuite * aSuite, void * aContext)
+{
+ TestSetup test(aSuite);
+
+ uint8_t buffers[2][128];
+ std::optional values[2];
+
+ {
+ TLV::TLVWriter writer;
+ writer.Init(buffers[0]);
+ // Use a random tag that is not the right tag.
+ TLV::TLVType outerContainerType;
+ CHIP_ERROR err =
+ writer.StartContainer(TLV::ProfileTag(0x1234abcd, 0x5678fedc), TLV::kTLVType_Structure, outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.PutString(TLV::ContextTag(7), "hello");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Put(kFabricIndexTag, kTestFabricIndex);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.EndContainer(outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ values[0].emplace(ByteSpan(buffers[0], writer.GetLengthWritten()));
+ }
+
+ {
+ TLV::TLVWriter writer;
+ writer.Init(buffers[1]);
+ // Use a random tag that is not the right tag.
+ TLV::TLVType outerContainerType;
+ CHIP_ERROR err =
+ writer.StartContainer(TLV::ProfileTag(0x1234abcd, 0x00010002), TLV::kTLVType_Structure, outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.PutString(TLV::ContextTag(7), "bye");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Put(kFabricIndexTag, static_cast(kTestFabricIndex + 1));
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.EndContainer(outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ values[1].emplace(ByteSpan(buffers[1], writer.GetLengthWritten()));
+ }
+
+ CHIP_ERROR err = test.encoder.EncodeList([&values](const auto & encoder) {
+ for (auto & value : values)
+ {
+ ReturnErrorOnFailure(encoder.Encode(value.value()));
+ }
+ return CHIP_NO_ERROR;
+ });
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ const uint8_t expected[] = {
+ // clang-format off
+ 0x15, 0x36, 0x01, // Test overhead, Start Anonymous struct + Start 1 byte Tag Array + Tag (01)
+ 0x15, // Start anonymous struct
+ 0x35, 0x01, // Start 1 byte tag struct + Tag (01)
+ 0x24, 0x00, 0x99, // Tag (00) Value (1 byte uint) 0x99 (Attribute Version)
+ 0x37, 0x01, // Start 1 byte tag list + Tag (01) (Attribute Path)
+ 0x24, 0x02, 0x55, // Tag (02) Value (1 byte uint) 0x55
+ 0x24, 0x03, 0xaa, // Tag (03) Value (1 byte uint) 0xaa
+ 0x24, 0x04, 0xcc, // Tag (04) Value (1 byte uint) 0xcc
+ 0x18, // End of container
+ 0x36, 0x02, // Start 1 byte tag array + Tag (02) (Attribute Value)
+ 0x15, // Start of struct
+ 0x2C, 0x07, 0x05, 0x68, 0x65, 0x6C, 0x6C, 0x6F, // "hello", with tag 07 and 1-byte length of 0x05
+ 0x24, 0xFE, 0x01, // Fabric index, tag 254, value 1
+ 0x18, // End of struct
+ 0x15, // Start of struct
+ 0x2C, 0x07, 0x03, 0x62, 0x79, 0x65, // "bye", with tag 07 and 1-byte length of 0x03
+ 0x24, 0xFE, 0x02, // Fabric index, tag 254, value 2
+ 0x18, // End of struct
+ 0x18, // End of array
+ 0x18, // End of container
+ 0x18, // End of container
+ // clang-format on
+ };
+ VERIFY_BUFFER_STATE(aSuite, test, expected);
+}
+
+void TestEncodeFabricFilteredListOfPreEncoded(nlTestSuite * aSuite, void * aContext)
+{
+ TestSetup test(aSuite, kTestFabricIndex);
+
+ uint8_t buffers[2][128];
+ std::optional values[2];
+
+ {
+ TLV::TLVWriter writer;
+ writer.Init(buffers[0]);
+ // Use a random tag that is not the right tag.
+ TLV::TLVType outerContainerType;
+ CHIP_ERROR err =
+ writer.StartContainer(TLV::ProfileTag(0x1234abcd, 0x5678fedc), TLV::kTLVType_Structure, outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.PutString(TLV::ContextTag(7), "hello");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Put(kFabricIndexTag, kTestFabricIndex);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.EndContainer(outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ values[0].emplace(ByteSpan(buffers[0], writer.GetLengthWritten()));
+ }
+
+ {
+ TLV::TLVWriter writer;
+ writer.Init(buffers[1]);
+ // Use a random tag that is not the right tag.
+ TLV::TLVType outerContainerType;
+ CHIP_ERROR err =
+ writer.StartContainer(TLV::ProfileTag(0x1234abcd, 0x00010002), TLV::kTLVType_Structure, outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.PutString(TLV::ContextTag(7), "bye");
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Put(kFabricIndexTag, static_cast(kTestFabricIndex + 1));
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.EndContainer(outerContainerType);
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ err = writer.Finalize();
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ values[1].emplace(ByteSpan(buffers[1], writer.GetLengthWritten()));
+ }
+
+ CHIP_ERROR err = test.encoder.EncodeList([&values](const auto & encoder) {
+ for (auto & value : values)
+ {
+ ReturnErrorOnFailure(encoder.Encode(value.value()));
+ }
+ return CHIP_NO_ERROR;
+ });
+ NL_TEST_ASSERT(aSuite, err == CHIP_NO_ERROR);
+
+ const uint8_t expected[] = {
+ // clang-format off
+ 0x15, 0x36, 0x01, // Test overhead, Start Anonymous struct + Start 1 byte Tag Array + Tag (01)
+ 0x15, // Start anonymous struct
+ 0x35, 0x01, // Start 1 byte tag struct + Tag (01)
+ 0x24, 0x00, 0x99, // Tag (00) Value (1 byte uint) 0x99 (Attribute Version)
+ 0x37, 0x01, // Start 1 byte tag list + Tag (01) (Attribute Path)
+ 0x24, 0x02, 0x55, // Tag (02) Value (1 byte uint) 0x55
+ 0x24, 0x03, 0xaa, // Tag (03) Value (1 byte uint) 0xaa
+ 0x24, 0x04, 0xcc, // Tag (04) Value (1 byte uint) 0xcc
+ 0x18, // End of container
+ 0x36, 0x02, // Start 1 byte tag array + Tag (02) (Attribute Value)
+ 0x15, // Start of struct
+ 0x2C, 0x07, 0x05, 0x68, 0x65, 0x6C, 0x6C, 0x6F, // "hello", with tag 07 and 1-byte length of 0x05
+ 0x24, 0xFE, 0x01, // Fabric index, tag 254, value 1
+ 0x18, // End of struct
+ // No second struct, because we are doing fabric filtering
+ 0x18, // End of array
+ 0x18, // End of container
+ 0x18, // End of container
+ // clang-format on
+ };
+ VERIFY_BUFFER_STATE(aSuite, test, expected);
+}
+
#undef VERIFY_BUFFER_STATE
} // anonymous namespace
@@ -569,6 +858,11 @@ const nlTest sTests[] = {
NL_TEST_DEF("TestEncodeListChunking", TestEncodeListChunking),
NL_TEST_DEF("TestEncodeListChunking2", TestEncodeListChunking2),
NL_TEST_DEF("TestEncodeFabricScoped", TestEncodeFabricScoped),
+ NL_TEST_DEF("TestEncodePreEncoded", TestEncodePreEncoded),
+ NL_TEST_DEF("TestEncodeListOfPreEncoded", TestEncodeListOfPreEncoded),
+ NL_TEST_DEF("TestEncodeListFabricScopedPreEncoded", TestEncodeListOfPreEncoded),
+ NL_TEST_DEF("TestEncodeListOfFabricScopedPreEncoded", TestEncodeListOfFabricScopedPreEncoded),
+ NL_TEST_DEF("TestEncodeFabricFilteredListOfPreEncoded", TestEncodeFabricFilteredListOfPreEncoded),
NL_TEST_SENTINEL()
// clang-format on
};
diff --git a/src/app/tests/suites/TestCluster.yaml b/src/app/tests/suites/TestCluster.yaml
index c6e8dc0946970c..d51aea86b777f6 100644
--- a/src/app/tests/suites/TestCluster.yaml
+++ b/src/app/tests/suites/TestCluster.yaml
@@ -1317,6 +1317,17 @@ tests:
h: 0.1,
}
+ - label: "Send MEI command in cluster"
+ command: "TestDifferentVendorMeiRequest"
+ arguments:
+ values:
+ - name: "arg1"
+ value: 76
+ response:
+ values:
+ - name: "arg1"
+ value: 76
+
# Tests for List
- label: "Send Test Command With List of INT8U and none of them is set to 0"
@@ -3850,7 +3861,19 @@ tests:
# here yet.
error: FAILURE
- - label: "read AcceptedCommandList attribute"
+ - label: "Write different vendor MEI attribute"
+ command: "writeAttribute"
+ attribute: "mei_int8u"
+ arguments:
+ value: 201
+
+ - label: "Verify different vendor MEI attribute"
+ command: "readAttribute"
+ attribute: "mei_int8u"
+ response:
+ value: 201
+
+ - label: "Validate AcceptedCommandList attribute"
command: "readAttribute"
attribute: "AcceptedCommandList"
response:
@@ -3876,13 +3899,21 @@ tests:
21,
22,
23,
+ 4294049962,
]
- - label: "read GeneratedCommandList attribute"
+ - label: "Validate GeneratedCommandList attribute"
command: "readAttribute"
attribute: "GeneratedCommandList"
response:
- value: [0, 1, 4, 5, 6, 8, 9, 10, 11, 12]
+ value: [0, 1, 4, 5, 6, 8, 9, 10, 11, 12, 4294049979]
+
+ - label: "Validate presence of MEI attribute"
+ command: "readAttribute"
+ attribute: "AttributeList"
+ response:
+ constraints:
+ contains: [4294070017]
# Struct-typed attribute
- label: "Write struct-typed attribute"
diff --git a/src/app/tests/suites/TestDiagnosticLogs.yaml b/src/app/tests/suites/TestDiagnosticLogs.yaml
new file mode 100644
index 00000000000000..cf31a96b8ddf58
--- /dev/null
+++ b/src/app/tests/suites/TestDiagnosticLogs.yaml
@@ -0,0 +1,660 @@
+# Copyright (c) 2023 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.
+
+name: Diagnostic Logs Tests
+
+config:
+ nodeId: 0x12344321
+ cluster: "Diagnostic Logs"
+ endpoint: 0
+ end_user_support_log_file_path: "/tmp/end_user_support_log.txt"
+ end_user_support_log_file_content: "End User Support Log Content"
+ end_user_support_log_file_content_long:
+ "End User Support Log Content is more than 1024
+ bytes............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................X"
+ network_diagnostics_log_file_path: "/tmp/network_diagnostics_log.txt"
+ network_diagnostics_log_file_content: "Network Diagnostic Log Content"
+ crash_log_file_path: "/tmp/crash_log.txt"
+ crash_log_file_content: "Crash Log Content"
+
+ bdx_transfer_file_path: "/tmp/end_user_support_bdx_output.txt"
+ bdx_transfer_file_name: "end_user_support_bdx_output.txt"
+
+tests:
+ #
+ # Set up the test by adding some destination log files for the target accessory:
+ # 1. End User Support
+ # 2. Network Diagnostics
+ # 3. Crash
+ #
+ # The first thing to do is to delete them if they exist. It could be some
+ # left over from a previous test run.
+ #
+
+ - label: "Delete EndUserSupport logs"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: end_user_support_log_file_path
+
+ - label: "Delete NetworkDiag logs"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: network_diagnostics_log_file_path
+
+ - label: "Delete CrashLogs logs"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: crash_log_file_path
+
+ - label: "Stop the accessory"
+ cluster: "SystemCommands"
+ command: "Stop"
+
+ - label: "Create End User Support logs"
+ cluster: "SystemCommands"
+ command: "CreateFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: end_user_support_log_file_path
+ - name: "fileContent"
+ value: end_user_support_log_file_content
+
+ - label: "Create NetworkDiag logs"
+ cluster: "SystemCommands"
+ command: "CreateFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: network_diagnostics_log_file_path
+ - name: "fileContent"
+ value: network_diagnostics_log_file_content
+
+ - label: "Create CrashLogs logs"
+ cluster: "SystemCommands"
+ command: "CreateFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: crash_log_file_path
+ - name: "fileContent"
+ value: crash_log_file_content
+
+ - label: "Start the accessory with the destination logs files"
+ cluster: "SystemCommands"
+ command: "Start"
+ arguments:
+ values:
+ - name: "endUserSupportLogPath"
+ value: end_user_support_log_file_path
+ - name: "networkDiagnosticsLogPath"
+ value: network_diagnostics_log_file_path
+ - name: "crashLogPath"
+ value: crash_log_file_path
+
+ - label: "Wait for the commissioned device to be retrieved"
+ cluster: "DelayCommands"
+ command: "WaitForCommissionee"
+ arguments:
+ values:
+ - name: "nodeId"
+ value: nodeId
+
+ - label: "Read End User Support log intent"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 0 # ResponsePayload
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: end_user_support_log_file_content
+
+ - label: "Read NetworkDiag intent"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 1 # NetworkDiag
+ - name: "RequestedProtocol"
+ value: 0 # ResponsePayload
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: network_diagnostics_log_file_content
+
+ - label: "Read CrashLogs intent"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 2 # CrashLogs
+ - name: "RequestedProtocol"
+ value: 0 # ResponsePayload
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: crash_log_file_content
+
+ - label: "Write End User Support logs to be over the 1024 bytes limit"
+ cluster: "SystemCommands"
+ command: "CreateFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: end_user_support_log_file_path
+ - name: "fileContent"
+ value: end_user_support_log_file_content_long
+
+ - label: "Read End User Support log intent"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 0 # ResponsePayload
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ constraints:
+ minLength: 1024
+ maxLength: 1024
+
+ - label: "Write End User Support logs back to the previous value"
+ cluster: "SystemCommands"
+ command: "CreateFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: end_user_support_log_file_path
+ - name: "fileContent"
+ value: end_user_support_log_file_content
+
+ #
+ # Check BDX Implementation
+ #
+
+ # In the case where the Node is able to fit the entirety of the requested logs within the LogContent field, the Status field of
+ # the RetrieveLogsResponse SHALL be set to Exhausted and a BDX session SHALL NOT be initiated.
+ - label: "Read End User Support log using BDX"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: "ItDoesNotMatterForThisTest"
+ response:
+ values:
+ - name: "Status"
+ value: 1 # Exhausted
+ - name: "LogContent"
+ value: end_user_support_log_file_content
+
+ - label: "Write End User Support logs to be over the 1024 bytes limit"
+ cluster: "SystemCommands"
+ command: "CreateFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: end_user_support_log_file_path
+ - name: "fileContent"
+ value: end_user_support_log_file_content_long
+
+ # If the RequestedProtocol is set to BDX the Node SHOULD immediately realize the RetrieveLogsResponse command by initiating a BDX
+ # Transfer, sending a BDX SendInit message with the File Designator field of the message set to the value of the TransferFileDesignator
+ # field of the RetrieveLogsRequest.
+ # On reception of a BDX SendAccept message the Node SHALL send a RetrieveLogsResponse command with a Status field set to Success and
+ # proceed with the log transfer over BDX.
+ - label: "Delete possible leftover from previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: bdx_transfer_file_name
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: ""
+
+ - label:
+ "BDX: Request End User Support while the previous request is running"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: "ItDoesNotMatterForThisBusyTest"
+ response:
+ values:
+ - name: "Status"
+ value: 3 # Busy
+ - name: "LogContent"
+ value: ""
+
+ - label: "BDX: Wait for 'Diagnostic logs transfer: Success' message"
+ cluster: "DelayCommands"
+ command: "WaitForMessage"
+ arguments:
+ values:
+ - name: "registerKey"
+ value: "default"
+ - name: "message"
+ value: "Diagnostic logs transfer: Success"
+
+ - label:
+ "Compare the content the original log and the file that has been
+ created as the result of the BDX transfer"
+ cluster: "SystemCommands"
+ command: "CompareFiles"
+ arguments:
+ values:
+ - name: "file1"
+ value: end_user_support_log_file_path
+ - name: "file2"
+ value: bdx_transfer_file_path
+
+ # If a failure StatusReport is received in response to the SendInit message, the Node SHALL send a RetrieveLogsResponse command with a
+ # Status of Denied.
+ - label:
+ "BDX: Request End User Support log with a special
+ TransferFileDesignator name that forces the responder to issue an
+ error when SendInit is received"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: "Error:OnTransferBegin" # Should issue an error when SendInit is received.
+ response:
+ values:
+ - name: "Status"
+ value: 4 # Denied
+ - name: "LogContent"
+ value: ""
+
+ #
+ # If the Intent and/or the RequestedProtocol arguments contain invalid (out of range) values the command SHALL fail with a Status Code of INVALID_COMMAND.
+ #
+ - label: "Read unknown log intent"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 128 # undefined value
+ - name: "RequestedProtocol"
+ value: 0 # ResponsePayload
+ response:
+ error: "INVALID_COMMAND"
+
+ - label: "Read known log intent on unknown protocol"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 128 # undefined value
+ response:
+ error: "INVALID_COMMAND"
+
+ #
+ # If the RequestedProtocol is set to BDX and there is no TransferFileDesignator the command SHALL fail with a Status Code of INVALID_COMMAND.
+ #
+ - label:
+ "Read End User Support log intent using BDX but without a
+ TransferFileDesignator"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ response:
+ error: "INVALID_COMMAND"
+
+ - label:
+ "Read End User Support log intent using BDX but with a
+ TransferFileDesignator that is longer than the kMaxFileDesignatorLen
+ character limit"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: "ThisNameIsLongerThanThekMaxFileDesignatorLenCharacterConstraint"
+ response:
+ error: "CONSTRAINT_ERROR"
+
+ #
+ # Validate that a new BDX transfer can be started after a previous successful BDX transfer
+ #
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: bdx_transfer_file_name
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: ""
+
+ - label: "BDX: Wait for 'Diagnostic logs transfer: Success' message"
+ cluster: "DelayCommands"
+ command: "WaitForMessage"
+ arguments:
+ values:
+ - name: "registerKey"
+ value: "default"
+ - name: "message"
+ value: "Diagnostic logs transfer: Success"
+
+ - label:
+ "Compare the content the original log and the file that has been
+ created as the result of the BDX transfer"
+ cluster: "SystemCommands"
+ command: "CompareFiles"
+ arguments:
+ values:
+ - name: "file1"
+ value: end_user_support_log_file_path
+ - name: "file2"
+ value: bdx_transfer_file_path
+
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: bdx_transfer_file_name
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: ""
+
+ - label: "BDX: Wait for 'Diagnostic logs transfer: Success' message"
+ cluster: "DelayCommands"
+ command: "WaitForMessage"
+ arguments:
+ values:
+ - name: "registerKey"
+ value: "default"
+ - name: "message"
+ value: "Diagnostic logs transfer: Success"
+
+ - label:
+ "Compare the content the original log and the file that has been
+ created as the result of the BDX transfer"
+ cluster: "SystemCommands"
+ command: "CompareFiles"
+ arguments:
+ values:
+ - name: "file1"
+ value: end_user_support_log_file_path
+ - name: "file2"
+ value: bdx_transfer_file_path
+
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ #
+ # Validate that a new BDX transfer can be started after a previous unsuccessful BDX transfer
+ #
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: "Error:OnTransferBegin" # Should issue an error when SendInit is received.
+ response:
+ values:
+ - name: "Status"
+ value: 4 # kDenied
+ - name: "LogContent"
+ value: ""
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: bdx_transfer_file_name
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: ""
+
+ - label: "BDX: Wait for 'Diagnostic logs transfer: Success' message"
+ cluster: "DelayCommands"
+ command: "WaitForMessage"
+ arguments:
+ values:
+ - name: "registerKey"
+ value: "default"
+ - name: "message"
+ value: "Diagnostic logs transfer: Success"
+
+ - label:
+ "Compare the content the original log and the file that has been
+ created as the result of the BDX transfer"
+ cluster: "SystemCommands"
+ command: "CompareFiles"
+ arguments:
+ values:
+ - name: "file1"
+ value: end_user_support_log_file_path
+ - name: "file2"
+ value: bdx_transfer_file_path
+
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ #
+ # Validate that a new BDX transfer can be started after a previous unsuccessful BDX transfer
+ # stopped once the RetrieveLogsResponse has been sent/received.
+ #
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
+
+ - label: "Delete possible leftover from previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: "/tmp/Error:OnTransferData"
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: "Error:OnTransferData" # Should issue an error after SendInit is received.
+ response:
+ values:
+ - name: "Status"
+ value: 0 # kSuccess
+ - name: "LogContent"
+ value: ""
+
+ - label:
+ "BDX: Wait for 'Diagnostic logs transfer: StatusReport Error' message"
+ cluster: "DelayCommands"
+ command: "WaitForMessage"
+ arguments:
+ values:
+ - name: "registerKey"
+ value: "default"
+ - name: "message"
+ value: "Diagnostic logs transfer: StatusReport Error"
+
+ - label: "BDX: Request End User Support"
+ command: "RetrieveLogsRequest"
+ arguments:
+ values:
+ - name: "Intent"
+ value: 0 # EndUserSupport
+ - name: "RequestedProtocol"
+ value: 1 # BDX
+ - name: "TransferFileDesignator"
+ value: bdx_transfer_file_name
+ response:
+ values:
+ - name: "Status"
+ value: 0 # Success
+ - name: "LogContent"
+ value: ""
+
+ - label: "BDX: Wait for 'Diagnostic logs transfer: Success' message"
+ cluster: "DelayCommands"
+ command: "WaitForMessage"
+ arguments:
+ values:
+ - name: "registerKey"
+ value: "default"
+ - name: "message"
+ value: "Diagnostic logs transfer: Success"
+
+ - label:
+ "Compare the content the original log and the file that has been
+ created as the result of the BDX transfer"
+ cluster: "SystemCommands"
+ command: "CompareFiles"
+ arguments:
+ values:
+ - name: "file1"
+ value: end_user_support_log_file_path
+ - name: "file2"
+ value: bdx_transfer_file_path
+
+ - label: "Delete the result of the previous run"
+ cluster: "SystemCommands"
+ command: "DeleteFile"
+ arguments:
+ values:
+ - name: "filePath"
+ value: bdx_transfer_file_path
diff --git a/src/app/tests/suites/TestIcdManagementCluster.yaml b/src/app/tests/suites/TestIcdManagementCluster.yaml
index eb611f27db24b9..3d69afd7744af8 100644
--- a/src/app/tests/suites/TestIcdManagementCluster.yaml
+++ b/src/app/tests/suites/TestIcdManagementCluster.yaml
@@ -58,7 +58,7 @@ tests:
command: "readAttribute"
attribute: "ActiveModeThreshold"
response:
- value: 1000
+ value: 5000
- label: "Read ICDCounter"
command: "readAttribute"
diff --git a/src/app/tests/suites/TestUnitTestingClusterMei.yaml b/src/app/tests/suites/TestUnitTestingClusterMei.yaml
new file mode 100644
index 00000000000000..542c5568cbbbc7
--- /dev/null
+++ b/src/app/tests/suites/TestUnitTestingClusterMei.yaml
@@ -0,0 +1,103 @@
+# Copyright (c) 2024 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.
+
+name: Unit Testing Cluster MEI Elements Tests
+
+config:
+ nodeId: 0x12344321
+ cluster: "Unit Testing"
+ endpoint: 1
+
+tests:
+ - label: "Wait for the commissioned device to be retrieved"
+ cluster: "DelayCommands"
+ command: "WaitForCommissionee"
+ arguments:
+ values:
+ - name: "nodeId"
+ value: nodeId
+
+ - label: "Write different vendor MEI attribute"
+ command: "writeAttribute"
+ attribute: "mei_int8u"
+ arguments:
+ value: 201
+
+ - label: "Verify different vendor MEI attribute"
+ command: "readAttribute"
+ attribute: "mei_int8u"
+ response:
+ value: 201
+
+ - label: "Validate AcceptedCommandList attribute"
+ command: "readAttribute"
+ attribute: "AcceptedCommandList"
+ response:
+ constraints:
+ contains: [4294049962]
+
+ - label: "Validate GeneratedCommandList attribute"
+ command: "readAttribute"
+ attribute: "GeneratedCommandList"
+ response:
+ constraints:
+ contains: [0, 1, 4, 5, 6, 8, 9, 10, 11, 12, 4294049979]
+
+ - label: "Validate presence of MEI attribute"
+ command: "readAttribute"
+ attribute: "AttributeList"
+ response:
+ constraints:
+ type: list
+ contains: [4294070017]
+
+ - label: "Send MEI command and force event generation"
+ command: "TestDifferentVendorMeiRequest"
+ arguments:
+ values:
+ - name: "arg1"
+ value: 76
+ response:
+ values:
+ - name: "arg1"
+ value: 76
+ - name: "eventNumber"
+ saveAs: firstMeiEventNumber
+
+ - label: "Validate event generation 1/2"
+ command: "readEvent"
+ event: "TestDifferentVendorMeiEvent"
+ eventNumber: firstMeiEventNumber
+ response:
+ value: { arg1: 76 }
+
+ - label: "Force event generation"
+ command: "TestEmitTestEventRequest"
+ arguments:
+ values:
+ - name: "arg1"
+ value: 42
+ - name: "arg2"
+ value: 1
+ - name: "arg3"
+ value: true
+ response:
+ values:
+ - name: "value"
+ saveAs: firstEventNumber
+
+ - label: "Validate event generation 2/2"
+ command: "readEvent"
+ event: "TestEvent"
+ eventNumber: firstEventNumber
diff --git a/src/app/tests/suites/certification/Test_TC_S_1_1.yaml b/src/app/tests/suites/certification/Test_TC_S_1_1.yaml
index 9f7cb7e7ced455..9b5eb4dbb4b155 100644
--- a/src/app/tests/suites/certification/Test_TC_S_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_S_1_1.yaml
@@ -37,7 +37,7 @@ tests:
command: "readAttribute"
attribute: "ClusterRevision"
response:
- value: 5
+ value: 1
constraints:
type: int16u
diff --git a/src/app/util/af.h b/src/app/util/af.h
index 0875c09478c8d8..0af5d755f8ca9b 100644
--- a/src/app/util/af.h
+++ b/src/app/util/af.h
@@ -252,14 +252,6 @@ int8_t emberAfCompareValues(const uint8_t * val1, const uint8_t * val2, uint16_t
/** @} END addtogroup */
-#if !defined(DOXYGEN_SHOULD_SKIP_THIS)
-#if defined(EMBER_TEST)
-#define EMBER_TEST_ASSERT(x) assert(x)
-#else
-#define EMBER_TEST_ASSERT(x)
-#endif
-#endif
-
/**
* Returns the pointer to the data version storage for the given endpoint and
* cluster. Can return null in the following cases:
diff --git a/src/app/util/attribute-storage.cpp b/src/app/util/attribute-storage.cpp
index e810c7cfb32edf..ea4c3cc0071b80 100644
--- a/src/app/util/attribute-storage.cpp
+++ b/src/app/util/attribute-storage.cpp
@@ -132,14 +132,6 @@ constexpr const EmberAfDeviceType fixedDeviceTypeList[] = FIXED_DEVI
// Not const, because these need to mutate.
DataVersion fixedEndpointDataVersions[ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT];
-#if !defined(EMBER_SCRIPTED_TEST)
-#define endpointNumber(x) fixedEndpoints[x]
-#define endpointDeviceTypeList(x) \
- Span(&fixedDeviceTypeList[fixedDeviceTypeListOffsets[x]], fixedDeviceTypeListLengths[x])
-// Added 'Macro' to silence MISRA warning about conflict with synonymous vars.
-#define endpointTypeMacro(x) (&(generatedEmberAfEndpointTypes[fixedEmberAfEndpointTypes[x]]))
-#endif
-
AttributeAccessInterface * gAttributeAccessOverrides = nullptr;
// shouldUnregister returns true if the given AttributeAccessInterface should be
@@ -186,12 +178,10 @@ void emberAfEndpointConfigure()
static_assert(FIXED_ENDPOINT_COUNT <= std::numeric_limits::max(),
"FIXED_ENDPOINT_COUNT must not exceed the size of the endpoint data type");
-#if !defined(EMBER_SCRIPTED_TEST)
uint16_t fixedEndpoints[] = FIXED_ENDPOINT_ARRAY;
uint16_t fixedDeviceTypeListLengths[] = FIXED_DEVICE_TYPE_LENGTHS;
uint16_t fixedDeviceTypeListOffsets[] = FIXED_DEVICE_TYPE_OFFSETS;
uint8_t fixedEmberAfEndpointTypes[] = FIXED_ENDPOINT_TYPES;
-#endif
#if ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT > 0
// Initialize our data version storage. If
@@ -210,10 +200,11 @@ void emberAfEndpointConfigure()
DataVersion * currentDataVersions = fixedEndpointDataVersions;
for (ep = 0; ep < FIXED_ENDPOINT_COUNT; ep++)
{
- emAfEndpoints[ep].endpoint = endpointNumber(ep);
- emAfEndpoints[ep].deviceTypeList = endpointDeviceTypeList(ep);
- emAfEndpoints[ep].endpointType = endpointTypeMacro(ep);
- emAfEndpoints[ep].dataVersions = currentDataVersions;
+ emAfEndpoints[ep].endpoint = fixedEndpoints[ep];
+ emAfEndpoints[ep].deviceTypeList =
+ Span(&fixedDeviceTypeList[fixedDeviceTypeListOffsets[ep]], fixedDeviceTypeListLengths[ep]);
+ emAfEndpoints[ep].endpointType = &generatedEmberAfEndpointTypes[fixedEmberAfEndpointTypes[ep]];
+ emAfEndpoints[ep].dataVersions = currentDataVersions;
emAfEndpoints[ep].bitmask.Set(EmberAfEndpointOptions::isEnabled);
emAfEndpoints[ep].bitmask.Set(EmberAfEndpointOptions::isFlatComposition);
@@ -918,10 +909,7 @@ uint16_t emberAfGetClusterServerEndpointIndex(EndpointId endpoint, ClusterId clu
bool emberAfEndpointIsEnabled(EndpointId endpoint)
{
- uint16_t index = findIndexFromEndpoint(endpoint,
- false); // ignore disabled endpoints?
-
- EMBER_TEST_ASSERT(kEmberInvalidEndpointIndex != index);
+ uint16_t index = findIndexFromEndpoint(endpoint, false /* ignoreDisabledEndpoints */);
if (kEmberInvalidEndpointIndex == index)
{
@@ -933,8 +921,7 @@ bool emberAfEndpointIsEnabled(EndpointId endpoint)
bool emberAfEndpointEnableDisable(EndpointId endpoint, bool enable)
{
- uint16_t index = findIndexFromEndpoint(endpoint,
- false); // ignore disabled endpoints?
+ uint16_t index = findIndexFromEndpoint(endpoint, false /* ignoreDisabledEndpoints */);
bool currentlyEnabled;
if (kEmberInvalidEndpointIndex == index)
@@ -990,15 +977,13 @@ bool emberAfEndpointEnableDisable(EndpointId endpoint, bool enable)
// Returns the index of a given endpoint. Does not consider disabled endpoints.
uint16_t emberAfIndexFromEndpoint(EndpointId endpoint)
{
- return findIndexFromEndpoint(endpoint,
- true); // ignore disabled endpoints?
+ return findIndexFromEndpoint(endpoint, true /* ignoreDisabledEndpoints */);
}
// Returns the index of a given endpoint. Considers disabled endpoints.
uint16_t emberAfIndexFromEndpointIncludingDisabledEndpoints(EndpointId endpoint)
{
- return findIndexFromEndpoint(endpoint,
- false); // ignore disabled endpoints?
+ return findIndexFromEndpoint(endpoint, false /* ignoreDisabledEndpoints */);
}
EndpointId emberAfEndpointFromIndex(uint16_t index)
diff --git a/src/app/util/attribute-storage.h b/src/app/util/attribute-storage.h
index 175af556933eac..210e327aaad977 100644
--- a/src/app/util/attribute-storage.h
+++ b/src/app/util/attribute-storage.h
@@ -25,24 +25,8 @@
#include
#include
-#if !defined(EMBER_SCRIPTED_TEST)
#include
-#endif
-
-#if !defined(ATTRIBUTE_STORAGE_CONFIGURATION) && defined(EMBER_TEST)
-#define ATTRIBUTE_STORAGE_CONFIGURATION "attribute-storage-test.h"
-#endif
-
-// ATTRIBUTE_STORAGE_CONFIGURATION macro
-// contains the file that contains the initial set-up of the
-// attribute data structures. If it is missing
-// we use the provider sample.
-#ifndef ATTRIBUTE_STORAGE_CONFIGURATION
-// #error "Must define ATTRIBUTE_STORAGE_CONFIGURATION to specify the App. Builder default attributes file."
#include
-#else
-#include ATTRIBUTE_STORAGE_CONFIGURATION
-#endif
// If we have fixed number of endpoints, then max is the same.
#ifdef FIXED_ENDPOINT_COUNT
diff --git a/src/app/util/attribute-table.cpp b/src/app/util/attribute-table.cpp
index 58430ac5aebab6..c16cad8811dbcf 100644
--- a/src/app/util/attribute-table.cpp
+++ b/src/app/util/attribute-table.cpp
@@ -32,17 +32,6 @@
using namespace chip;
-//------------------------------------------------------------------------------
-
-//------------------------------------------------------------------------------
-// External Declarations
-
-//------------------------------------------------------------------------------
-// Forward Declarations
-
-//------------------------------------------------------------------------------
-// Globals
-
EmberAfStatus emberAfWriteAttributeExternal(EndpointId endpoint, ClusterId cluster, AttributeId attributeID, uint8_t * dataPtr,
EmberAfAttributeType dataType)
{
diff --git a/src/app/util/attribute-table.h b/src/app/util/attribute-table.h
index bc46ddd467df05..e18c21bf349052 100644
--- a/src/app/util/attribute-table.h
+++ b/src/app/util/attribute-table.h
@@ -19,8 +19,6 @@
#include
-#define ZCL_NULL_ATTRIBUTE_TABLE_INDEX 0xFFFF
-
// Remote devices writing attributes of local device
EmberAfStatus emberAfWriteAttributeExternal(chip::EndpointId endpoint, chip::ClusterId cluster, chip::AttributeId attributeID,
uint8_t * dataPtr, EmberAfAttributeType dataType);
diff --git a/src/app/util/config.h b/src/app/util/config.h
index b71f49b307e6ed..288935eee4beae 100644
--- a/src/app/util/config.h
+++ b/src/app/util/config.h
@@ -21,19 +21,9 @@
#if !CHIP_CONFIG_SKIP_APP_SPECIFIC_GENERATED_HEADER_INCLUDES
-// include generated configuration information from AppBuilder.
-// ZA_GENERATED_HEADER is defined in the project file
-#ifdef ZA_GENERATED_HEADER
-#include ZA_GENERATED_HEADER
-#else
#include
-#endif
-#ifdef ATTRIBUTE_STORAGE_CONFIGURATION
-#include ATTRIBUTE_STORAGE_CONFIGURATION
-#else
#include
-#endif
#endif // !CHIP_CONFIG_SKIP_APP_SPECIFIC_GENERATED_HEADER_INCLUDES
@@ -42,8 +32,3 @@
#ifndef EMBER_BINDING_TABLE_SIZE
#define EMBER_BINDING_TABLE_SIZE 10
#endif // EMBER_BINDING_TABLE_SIZE
-
-/**
- * @brief CHIP uses millisecond ticks
- */
-#define MILLISECOND_TICKS_PER_SECOND 1000
diff --git a/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml
index 929988e9c3b258..a2665916e23204 100644
--- a/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml
@@ -87,10 +87,6 @@ limitations under the License.
UserActiveModeTriggerInstruction
OperatingMode
-
- OnTransitionToActiveMode
-
-
Register a client to the end device
diff --git a/src/app/zap-templates/zcl/data-model/chip/scene.xml b/src/app/zap-templates/zcl/data-model/chip/scene.xml
index 484a5f0c7fd27c..e16047b9c14c07 100644
--- a/src/app/zap-templates/zcl/data-model/chip/scene.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/scene.xml
@@ -50,7 +50,7 @@ limitations under the License.
SCENES_CLUSTER
true
true
-
+
LastConfiguredBy
SceneTableSize
diff --git a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml
index 7fdc585a0c82e9..d0312fdc9a8982 100644
--- a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml
@@ -127,7 +127,7 @@ limitations under the License.
-
+
@@ -135,7 +135,7 @@ limitations under the License.
-
+
CHIP
Unit Testing
@@ -234,6 +234,9 @@ limitations under the License.
write_only_int8u
+
+ mei_int8u
+
unsupported
@@ -461,6 +464,14 @@ limitations under the License.
+
+
+ Command having a different MEI vendor ID than the cluster. Also emits TestDifferentVendorMeiEvent.
+
+
+
+
Simple response for TestWithResponse with a simple return value
@@ -594,6 +605,14 @@ limitations under the License.
+
+
+ Response to TestDifferentVendorMeiRequest, which is a command having a different MEI vendor ID than the cluster.
+
+
+ >
+
+
Example test event
@@ -608,5 +627,9 @@ limitations under the License.
Example test event
+
+ Example test event having a different vendor ID in the MEI than the cluster.
+
+
diff --git a/src/controller/CHIPDeviceControllerFactory.cpp b/src/controller/CHIPDeviceControllerFactory.cpp
index 60a29f1afb2363..8268b07b7f3dcc 100644
--- a/src/controller/CHIPDeviceControllerFactory.cpp
+++ b/src/controller/CHIPDeviceControllerFactory.cpp
@@ -177,6 +177,7 @@ CHIP_ERROR DeviceControllerFactory::InitSystemState(FactoryInitParams params)
stateParams.timerDelegate = chip::Platform::New();
stateParams.reportScheduler = chip::Platform::New(stateParams.timerDelegate);
stateParams.sessionKeystore = params.sessionKeystore;
+ stateParams.bdxTransferServer = chip::Platform::New();
// if no fabricTable was provided, create one and track it in stateParams for cleanup
stateParams.fabricTable = params.fabricTable;
@@ -225,6 +226,7 @@ CHIP_ERROR DeviceControllerFactory::InitSystemState(FactoryInitParams params)
ReturnErrorOnFailure(stateParams.exchangeMgr->Init(stateParams.sessionMgr));
ReturnErrorOnFailure(stateParams.messageCounterManager->Init(stateParams.exchangeMgr));
ReturnErrorOnFailure(stateParams.unsolicitedStatusHandler->Init(stateParams.exchangeMgr));
+ ReturnErrorOnFailure(stateParams.bdxTransferServer->ListenForSendInit(stateParams.systemLayer, stateParams.exchangeMgr));
InitDataModelHandler();
@@ -438,6 +440,13 @@ void DeviceControllerSystemState::Shutdown()
mFabricTableDelegate = nullptr;
}
+ if (mBDXTransferServer != nullptr)
+ {
+ mBDXTransferServer->Shutdown();
+ chip::Platform::Delete(mBDXTransferServer);
+ mBDXTransferServer = nullptr;
+ }
+
if (mCASEServer != nullptr)
{
mCASEServer->Shutdown();
diff --git a/src/controller/CHIPDeviceControllerSystemState.h b/src/controller/CHIPDeviceControllerSystemState.h
index 5c1731651cd2a1..bc89d6c1d21ec2 100644
--- a/src/controller/CHIPDeviceControllerSystemState.h
+++ b/src/controller/CHIPDeviceControllerSystemState.h
@@ -36,6 +36,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -102,6 +103,7 @@ struct DeviceControllerSystemStateParams
Protocols::SecureChannel::UnsolicitedStatusHandler * unsolicitedStatusHandler = nullptr;
Messaging::ExchangeManager * exchangeMgr = nullptr;
secure_channel::MessageCounterManager * messageCounterManager = nullptr;
+ bdx::BDXTransferServer * bdxTransferServer = nullptr;
CASEServer * caseServer = nullptr;
CASESessionManager * caseSessionManager = nullptr;
SessionSetupPool * sessionSetupPool = nullptr;
@@ -136,7 +138,8 @@ class DeviceControllerSystemState
mSystemLayer(params.systemLayer), mTCPEndPointManager(params.tcpEndPointManager),
mUDPEndPointManager(params.udpEndPointManager), mTransportMgr(params.transportMgr), mSessionMgr(params.sessionMgr),
mUnsolicitedStatusHandler(params.unsolicitedStatusHandler), mExchangeMgr(params.exchangeMgr),
- mMessageCounterManager(params.messageCounterManager), mFabrics(params.fabricTable), mCASEServer(params.caseServer),
+ mMessageCounterManager(params.messageCounterManager), mFabrics(params.fabricTable),
+ mBDXTransferServer(params.bdxTransferServer), mCASEServer(params.caseServer),
mCASESessionManager(params.caseSessionManager), mSessionSetupPool(params.sessionSetupPool),
mCASEClientPool(params.caseClientPool), mGroupDataProvider(params.groupDataProvider), mTimerDelegate(params.timerDelegate),
mReportScheduler(params.reportScheduler), mSessionKeystore(params.sessionKeystore),
@@ -190,7 +193,7 @@ class DeviceControllerSystemState
mUnsolicitedStatusHandler != nullptr && mExchangeMgr != nullptr && mMessageCounterManager != nullptr &&
mFabrics != nullptr && mCASESessionManager != nullptr && mSessionSetupPool != nullptr && mCASEClientPool != nullptr &&
mGroupDataProvider != nullptr && mReportScheduler != nullptr && mTimerDelegate != nullptr &&
- mSessionKeystore != nullptr && mSessionResumptionStorage != nullptr;
+ mSessionKeystore != nullptr && mSessionResumptionStorage != nullptr && mBDXTransferServer != nullptr;
};
System::Layer * SystemLayer() const { return mSystemLayer; };
@@ -214,6 +217,7 @@ class DeviceControllerSystemState
mTempFabricTable = tempFabricTable;
mEnableServerInteractions = enableServerInteractions;
}
+ bdx::BDXTransferServer * BDXTransferServer() const { return mBDXTransferServer; }
private:
DeviceControllerSystemState() {}
@@ -230,6 +234,7 @@ class DeviceControllerSystemState
Messaging::ExchangeManager * mExchangeMgr = nullptr;
secure_channel::MessageCounterManager * mMessageCounterManager = nullptr;
FabricTable * mFabrics = nullptr;
+ bdx::BDXTransferServer * mBDXTransferServer = nullptr;
CASEServer * mCASEServer = nullptr;
CASESessionManager * mCASESessionManager = nullptr;
SessionSetupPool * mSessionSetupPool = nullptr;
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 62712e8abece50..bce23162858231 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -2692,9 +2692,6 @@ cluster IcdManagement = 70 {
fabric_idx fabricIndex = 254;
}
- critical event OnTransitionToActiveMode = 0 {
- }
-
readonly attribute int32u idleModeDuration = 0;
readonly attribute int32u activeModeDuration = 1;
readonly attribute int16u activeModeThreshold = 2;
@@ -3719,7 +3716,7 @@ cluster RvcOperationalState = 97 {
/** Attributes and commands for scene configuration and manipulation. */
provisional cluster ScenesManagement = 98 {
- revision 5;
+ revision 1;
bitmap CopyModeBitmap : bitmap8 {
kCopyAllScenes = 0x1;
@@ -8729,6 +8726,10 @@ internal cluster UnitTesting = 4294048773 {
fabric_idx fabricIndex = 254;
}
+ info event TestDifferentVendorMeiEvent = 4294050030 {
+ int8u arg1 = 1;
+ }
+
attribute boolean boolean = 0;
attribute Bitmap8MaskMap bitmap8 = 1;
attribute Bitmap16MaskMap bitmap16 = 2;
@@ -8811,6 +8812,7 @@ internal cluster UnitTesting = 4294048773 {
attribute nullable int16u nullableRangeRestrictedInt16u = 16424;
attribute nullable int16s nullableRangeRestrictedInt16s = 16425;
attribute optional int8u writeOnlyInt8u = 16426;
+ attribute int8u meiInt8u = 4294070017;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -9006,6 +9008,15 @@ internal cluster UnitTesting = 4294048773 {
int8u fillCharacter = 2;
}
+ request struct TestDifferentVendorMeiRequestRequest {
+ int8u arg1 = 0;
+ }
+
+ response struct TestDifferentVendorMeiResponse = 4294049979 {
+ int8u arg1 = 0;
+ int64u eventNumber = 1;
+ }
+
/** Simple command without any parameters and without a specific response.
To aid in unit testing, this command will re-initialize attribute storage to defaults. */
command Test(): DefaultSuccess = 0;
@@ -9076,6 +9087,8 @@ internal cluster UnitTesting = 4294048773 {
command TestBatchHelperRequest(TestBatchHelperRequestRequest): TestBatchHelperResponse = 22;
/** Second command that responds after sleepBeforeResponseTimeMs with an octet_string the size requested with fillCharacter. */
command TestSecondBatchHelperRequest(TestSecondBatchHelperRequestRequest): TestBatchHelperResponse = 23;
+ /** Command having a different MEI vendor ID than the cluster. Also emits TestDifferentVendorMeiEvent. */
+ command TestDifferentVendorMeiRequest(TestDifferentVendorMeiRequestRequest): TestDifferentVendorMeiResponse = 4294049962;
}
/** The Fault Injection Cluster provide a means for a test harness to configure faults(for example triggering a fault in the system). */
diff --git a/src/controller/java/BdxOTASender.cpp b/src/controller/java/BdxOTASender.cpp
index 294d8ebc0f88a5..41f116762f9f8b 100644
--- a/src/controller/java/BdxOTASender.cpp
+++ b/src/controller/java/BdxOTASender.cpp
@@ -160,19 +160,6 @@ CHIP_ERROR BdxOTASender::OnMessageToSend(TransferSession::OutputEvent & event)
return err;
}
-bdx::StatusCode BdxOTASender::GetBdxStatusCodeFromChipError(CHIP_ERROR err)
-{
- if (err == CHIP_ERROR_INCORRECT_STATE)
- {
- return bdx::StatusCode::kUnexpectedMessage;
- }
- if (err == CHIP_ERROR_INVALID_ARGUMENT)
- {
- return bdx::StatusCode::kBadMessageContents;
- }
- return bdx::StatusCode::kUnknown;
-}
-
CHIP_ERROR BdxOTASender::OnTransferSessionBegin(TransferSession::OutputEvent & event)
{
assertChipStackLockedByCurrentThread();
diff --git a/src/controller/java/BdxOTASender.h b/src/controller/java/BdxOTASender.h
index b4130540d43ec5..b339a4455827ca 100644
--- a/src/controller/java/BdxOTASender.h
+++ b/src/controller/java/BdxOTASender.h
@@ -51,8 +51,6 @@ class BdxOTASender : public chip::bdx::Responder
CHIP_ERROR OnMessageToSend(chip::bdx::TransferSession::OutputEvent & event);
- chip::bdx::StatusCode GetBdxStatusCodeFromChipError(CHIP_ERROR err);
-
CHIP_ERROR OnTransferSessionBegin(chip::bdx::TransferSession::OutputEvent & event);
CHIP_ERROR OnTransferSessionEnd(chip::bdx::TransferSession::OutputEvent & event);
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java b/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java
index ece17eab1039d5..3a912e782d24cb 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ChipClusters.java
@@ -58890,6 +58890,7 @@ public static class UnitTestingCluster extends BaseChipCluster {
private static final long NULLABLE_RANGE_RESTRICTED_INT16U_ATTRIBUTE_ID = 16424L;
private static final long NULLABLE_RANGE_RESTRICTED_INT16S_ATTRIBUTE_ID = 16425L;
private static final long WRITE_ONLY_INT8U_ATTRIBUTE_ID = 16426L;
+ private static final long MEI_INT8U_ATTRIBUTE_ID = 4294070017L;
private static final long GENERATED_COMMAND_LIST_ATTRIBUTE_ID = 65528L;
private static final long ACCEPTED_COMMAND_LIST_ATTRIBUTE_ID = 65529L;
private static final long EVENT_LIST_ATTRIBUTE_ID = 65530L;
@@ -59902,6 +59903,43 @@ public void onResponse(StructType invokeStructValue) {
}}, commandId, value, timedInvokeTimeoutMs);
}
+ public void testDifferentVendorMeiRequest(TestDifferentVendorMeiResponseCallback callback, Integer arg1) {
+ testDifferentVendorMeiRequest(callback, arg1, 0);
+ }
+
+ public void testDifferentVendorMeiRequest(TestDifferentVendorMeiResponseCallback callback, Integer arg1, int timedInvokeTimeoutMs) {
+ final long commandId = 4294049962L;
+
+ ArrayList elements = new ArrayList<>();
+ final long arg1FieldID = 0L;
+ BaseTLVType arg1tlvValue = new UIntType(arg1);
+ elements.add(new StructElement(arg1FieldID, arg1tlvValue));
+
+ StructType value = new StructType(elements);
+ invoke(new InvokeCallbackImpl(callback) {
+ @Override
+ public void onResponse(StructType invokeStructValue) {
+ final long arg1FieldID = 0L;
+ Integer arg1 = null;
+ final long eventNumberFieldID = 1L;
+ Long eventNumber = null;
+ for (StructElement element: invokeStructValue.value()) {
+ if (element.contextTagNum() == arg1FieldID) {
+ if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
+ UIntType castingValue = element.value(UIntType.class);
+ arg1 = castingValue.value(Integer.class);
+ }
+ } else if (element.contextTagNum() == eventNumberFieldID) {
+ if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
+ UIntType castingValue = element.value(UIntType.class);
+ eventNumber = castingValue.value(Long.class);
+ }
+ }
+ }
+ callback.onSuccess(arg1, eventNumber);
+ }}, commandId, value, timedInvokeTimeoutMs);
+ }
+
public interface TestSpecificResponseCallback extends BaseClusterCallback {
void onSuccess(Integer returnValue);
}
@@ -59954,6 +59992,10 @@ public interface TestBatchHelperResponseCallback extends BaseClusterCallback {
void onSuccess(byte[] buffer);
}
+ public interface TestDifferentVendorMeiResponseCallback extends BaseClusterCallback {
+ void onSuccess(Integer arg1, Long eventNumber);
+ }
+
public interface ListInt8uAttributeCallback extends BaseAttributeCallback {
void onSuccess(List value);
}
@@ -62919,6 +62961,40 @@ public void onSuccess(byte[] tlv) {
}, WRITE_ONLY_INT8U_ATTRIBUTE_ID, minInterval, maxInterval);
}
+ public void readMeiInt8uAttribute(
+ IntegerAttributeCallback callback) {
+ ChipAttributePath path = ChipAttributePath.newInstance(endpointId, clusterId, MEI_INT8U_ATTRIBUTE_ID);
+
+ readAttribute(new ReportCallbackImpl(callback, path) {
+ @Override
+ public void onSuccess(byte[] tlv) {
+ Integer value = ChipTLVValueDecoder.decodeAttributeValue(path, tlv);
+ callback.onSuccess(value);
+ }
+ }, MEI_INT8U_ATTRIBUTE_ID, true);
+ }
+
+ public void writeMeiInt8uAttribute(DefaultClusterCallback callback, Integer value) {
+ writeMeiInt8uAttribute(callback, value, 0);
+ }
+
+ public void writeMeiInt8uAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ BaseTLVType tlvValue = new UIntType(value);
+ writeAttribute(new WriteAttributesCallbackImpl(callback), MEI_INT8U_ATTRIBUTE_ID, tlvValue, timedWriteTimeoutMs);
+ }
+
+ public void subscribeMeiInt8uAttribute(
+ IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ ChipAttributePath path = ChipAttributePath.newInstance(endpointId, clusterId, MEI_INT8U_ATTRIBUTE_ID);
+
+ subscribeAttribute(new ReportCallbackImpl(callback, path) {
+ @Override
+ public void onSuccess(byte[] tlv) {
+ Integer value = ChipTLVValueDecoder.decodeAttributeValue(path, tlv);
+ }
+ }, MEI_INT8U_ATTRIBUTE_ID, minInterval, maxInterval);
+ }
+
public void readGeneratedCommandListAttribute(
GeneratedCommandListAttributeCallback callback) {
ChipAttributePath path = ChipAttributePath.newInstance(endpointId, clusterId, GENERATED_COMMAND_LIST_ATTRIBUTE_ID);
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ChipEventStructs.java b/src/controller/java/generated/java/chip/devicecontroller/ChipEventStructs.java
index c1d134f2735191..2fce0d9f588dfc 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ChipEventStructs.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ChipEventStructs.java
@@ -2297,34 +2297,6 @@ public String toString() {
return output.toString();
}
}
-public static class IcdManagementClusterOnTransitionToActiveModeEvent {
-
- public IcdManagementClusterOnTransitionToActiveModeEvent(
- ) {
- }
-
- public StructType encodeTlv() {
- ArrayList values = new ArrayList<>();
-
- return new StructType(values);
- }
-
- public static IcdManagementClusterOnTransitionToActiveModeEvent decodeTlv(BaseTLVType tlvValue) {
- if (tlvValue == null || tlvValue.type() != TLVType.Struct) {
- return null;
- }
- return new IcdManagementClusterOnTransitionToActiveModeEvent(
- );
- }
-
- @Override
- public String toString() {
- StringBuilder output = new StringBuilder();
- output.append("IcdManagementClusterOnTransitionToActiveModeEvent {\n");
- output.append("}\n");
- return output.toString();
- }
-}
public static class OvenCavityOperationalStateClusterOperationalErrorEvent {
public ChipStructs.OvenCavityOperationalStateClusterErrorStateStruct errorState;
private static final long ERROR_STATE_ID = 0L;
@@ -5866,6 +5838,52 @@ public String toString() {
return output.toString();
}
}
+public static class UnitTestingClusterTestDifferentVendorMeiEventEvent {
+ public Integer arg1;
+ private static final long ARG1_ID = 1L;
+
+ public UnitTestingClusterTestDifferentVendorMeiEventEvent(
+ Integer arg1
+ ) {
+ this.arg1 = arg1;
+ }
+
+ public StructType encodeTlv() {
+ ArrayList values = new ArrayList<>();
+ values.add(new StructElement(ARG1_ID, new UIntType(arg1)));
+
+ return new StructType(values);
+ }
+
+ public static UnitTestingClusterTestDifferentVendorMeiEventEvent decodeTlv(BaseTLVType tlvValue) {
+ if (tlvValue == null || tlvValue.type() != TLVType.Struct) {
+ return null;
+ }
+ Integer arg1 = null;
+ for (StructElement element: ((StructType)tlvValue).value()) {
+ if (element.contextTagNum() == ARG1_ID) {
+ if (element.value(BaseTLVType.class).type() == TLVType.UInt) {
+ UIntType castingValue = element.value(UIntType.class);
+ arg1 = castingValue.value(Integer.class);
+ }
+ }
+ }
+ return new UnitTestingClusterTestDifferentVendorMeiEventEvent(
+ arg1
+ );
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder output = new StringBuilder();
+ output.append("UnitTestingClusterTestDifferentVendorMeiEventEvent {\n");
+ output.append("\targ1: ");
+ output.append(arg1);
+ output.append("\n");
+ output.append("}\n");
+ return output.toString();
+ }
+}
public static class SampleMeiClusterPingCountEventEvent {
public Long count;
public Integer fabricIndex;
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java
index b877102067dcc7..5932e39fc5ba03 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterIDMapping.java
@@ -5779,8 +5779,7 @@ public static Attribute value(long id) throws NoSuchFieldError {
}
}
- public enum Event {
- OnTransitionToActiveMode(0L),;
+ public enum Event {;
private final long id;
Event(long id) {
this.id = id;
@@ -16297,6 +16296,7 @@ public enum Attribute {
NullableRangeRestrictedInt16u(16424L),
NullableRangeRestrictedInt16s(16425L),
WriteOnlyInt8u(16426L),
+ MeiInt8u(4294070017L),
GeneratedCommandList(65528L),
AcceptedCommandList(65529L),
EventList(65530L),
@@ -16324,7 +16324,8 @@ public static Attribute value(long id) throws NoSuchFieldError {
public enum Event {
TestEvent(1L),
- TestFabricScopedEvent(2L),;
+ TestFabricScopedEvent(2L),
+ TestDifferentVendorMeiEvent(4294050030L),;
private final long id;
Event(long id) {
this.id = id;
@@ -16368,7 +16369,8 @@ public enum Command {
TestEmitTestEventRequest(20L),
TestEmitTestFabricScopedEventRequest(21L),
TestBatchHelperRequest(22L),
- TestSecondBatchHelperRequest(23L),;
+ TestSecondBatchHelperRequest(23L),
+ TestDifferentVendorMeiRequest(4294049962L),;
private final long id;
Command(long id) {
this.id = id;
@@ -16709,6 +16711,23 @@ public static TestSecondBatchHelperRequestCommandField value(int id) throws NoSu
}
throw new NoSuchFieldError();
}
+ }public enum TestDifferentVendorMeiRequestCommandField {Arg1(0),;
+ private final int id;
+ TestDifferentVendorMeiRequestCommandField(int id) {
+ this.id = id;
+ }
+
+ public int getID() {
+ return id;
+ }
+ public static TestDifferentVendorMeiRequestCommandField value(int id) throws NoSuchFieldError {
+ for (TestDifferentVendorMeiRequestCommandField field : TestDifferentVendorMeiRequestCommandField.values()) {
+ if (field.getID() == id) {
+ return field;
+ }
+ }
+ throw new NoSuchFieldError();
+ }
}@Override
public String getAttributeName(long id) throws NoSuchFieldError {
return Attribute.value(id).toString();
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
index 8622bf293b71e5..b26d4c611a6ce8 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterInfoMapping.java
@@ -18888,6 +18888,30 @@ public void onError(Exception error) {
callback.onFailure(error);
}
}
+
+ public static class DelegatedUnitTestingClusterTestDifferentVendorMeiResponseCallback implements ChipClusters.UnitTestingCluster.TestDifferentVendorMeiResponseCallback, DelegatedClusterCallback {
+ private ClusterCommandCallback callback;
+ @Override
+ public void setCallbackDelegate(ClusterCommandCallback callback) {
+ this.callback = callback;
+ }
+
+ @Override
+ public void onSuccess(Integer arg1, Long eventNumber) {
+ Map responseValues = new LinkedHashMap<>();
+
+ CommandResponseInfo arg1ResponseValue = new CommandResponseInfo("arg1", "Integer");
+ responseValues.put(arg1ResponseValue, arg1);
+ CommandResponseInfo eventNumberResponseValue = new CommandResponseInfo("eventNumber", "Long");
+ responseValues.put(eventNumberResponseValue, eventNumber);
+ callback.onSuccess(responseValues);
+ }
+
+ @Override
+ public void onError(Exception error) {
+ callback.onFailure(error);
+ }
+ }
public static class DelegatedUnitTestingClusterListInt8uAttributeCallback implements ChipClusters.UnitTestingCluster.ListInt8uAttributeCallback, DelegatedClusterCallback {
private ClusterCommandCallback callback;
@Override
@@ -26993,6 +27017,24 @@ public Map> getCommandMap() {
);
unitTestingClusterInteractionInfoMap.put("testSecondBatchHelperRequest", unitTestingtestSecondBatchHelperRequestInteractionInfo);
+ Map unitTestingtestDifferentVendorMeiRequestCommandParams = new LinkedHashMap();
+
+ CommandParameterInfo unitTestingtestDifferentVendorMeiRequestarg1CommandParameterInfo = new CommandParameterInfo("arg1", Integer.class, Integer.class);
+ unitTestingtestDifferentVendorMeiRequestCommandParams.put("arg1",unitTestingtestDifferentVendorMeiRequestarg1CommandParameterInfo);
+ InteractionInfo unitTestingtestDifferentVendorMeiRequestInteractionInfo = new InteractionInfo(
+ (cluster, callback, commandArguments) -> {
+ ((ChipClusters.UnitTestingCluster) cluster)
+ .testDifferentVendorMeiRequest((ChipClusters.UnitTestingCluster.TestDifferentVendorMeiResponseCallback) callback
+ , (Integer)
+ commandArguments.get("arg1")
+
+ );
+ },
+ () -> new DelegatedUnitTestingClusterTestDifferentVendorMeiResponseCallback(),
+ unitTestingtestDifferentVendorMeiRequestCommandParams
+ );
+ unitTestingClusterInteractionInfoMap.put("testDifferentVendorMeiRequest", unitTestingtestDifferentVendorMeiRequestInteractionInfo);
+
commandMap.put("unitTesting", unitTestingClusterInteractionInfoMap);
Map faultInjectionClusterInteractionInfoMap = new LinkedHashMap<>();
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java
index 61bf9d64268693..d54d7e6fc90e38 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterReadMapping.java
@@ -19790,6 +19790,17 @@ private static Map readUnitTestingInteractionInfo() {
readUnitTestingWriteOnlyInt8uCommandParams
);
result.put("readWriteOnlyInt8uAttribute", readUnitTestingWriteOnlyInt8uAttributeInteractionInfo);
+ Map readUnitTestingMeiInt8uCommandParams = new LinkedHashMap();
+ InteractionInfo readUnitTestingMeiInt8uAttributeInteractionInfo = new InteractionInfo(
+ (cluster, callback, commandArguments) -> {
+ ((ChipClusters.UnitTestingCluster) cluster).readMeiInt8uAttribute(
+ (ChipClusters.IntegerAttributeCallback) callback
+ );
+ },
+ () -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(),
+ readUnitTestingMeiInt8uCommandParams
+ );
+ result.put("readMeiInt8uAttribute", readUnitTestingMeiInt8uAttributeInteractionInfo);
Map readUnitTestingGeneratedCommandListCommandParams = new LinkedHashMap();
InteractionInfo readUnitTestingGeneratedCommandListAttributeInteractionInfo = new InteractionInfo(
(cluster, callback, commandArguments) -> {
diff --git a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java
index 606254ec584308..02945b53e25deb 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java
+++ b/src/controller/java/generated/java/chip/devicecontroller/ClusterWriteMapping.java
@@ -5465,6 +5465,28 @@ public Map> getWriteAttributeMap() {
writeUnitTestingWriteOnlyInt8uCommandParams
);
writeUnitTestingInteractionInfo.put("writeWriteOnlyInt8uAttribute", writeUnitTestingWriteOnlyInt8uAttributeInteractionInfo);
+ Map writeUnitTestingMeiInt8uCommandParams = new LinkedHashMap();
+ CommandParameterInfo unitTestingmeiInt8uCommandParameterInfo =
+ new CommandParameterInfo(
+ "value",
+ Integer.class,
+ Integer.class
+ );
+ writeUnitTestingMeiInt8uCommandParams.put(
+ "value",
+ unitTestingmeiInt8uCommandParameterInfo
+ );
+ InteractionInfo writeUnitTestingMeiInt8uAttributeInteractionInfo = new InteractionInfo(
+ (cluster, callback, commandArguments) -> {
+ ((ChipClusters.UnitTestingCluster) cluster).writeMeiInt8uAttribute(
+ (DefaultClusterCallback) callback,
+ (Integer) commandArguments.get("value")
+ );
+ },
+ () -> new ClusterInfoMapping.DelegatedDefaultClusterCallback(),
+ writeUnitTestingMeiInt8uCommandParams
+ );
+ writeUnitTestingInteractionInfo.put("writeMeiInt8uAttribute", writeUnitTestingMeiInt8uAttributeInteractionInfo);
writeAttributeMap.put("unitTesting", writeUnitTestingInteractionInfo);
Map writeFaultInjectionInteractionInfo = new LinkedHashMap<>();
writeAttributeMap.put("faultInjection", writeFaultInjectionInteractionInfo);
diff --git a/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt b/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt
new file mode 100644
index 00000000000000..034966430b11c4
--- /dev/null
+++ b/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt
@@ -0,0 +1,55 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+package chip.devicecontroller.cluster.eventstructs
+
+import chip.devicecontroller.cluster.*
+import matter.tlv.ContextSpecificTag
+import matter.tlv.Tag
+import matter.tlv.TlvReader
+import matter.tlv.TlvWriter
+
+class UnitTestingClusterTestDifferentVendorMeiEventEvent(val arg1: UInt) {
+ override fun toString(): String = buildString {
+ append("UnitTestingClusterTestDifferentVendorMeiEventEvent {\n")
+ append("\targ1 : $arg1\n")
+ append("}\n")
+ }
+
+ fun toTlv(tlvTag: Tag, tlvWriter: TlvWriter) {
+ tlvWriter.apply {
+ startStructure(tlvTag)
+ put(ContextSpecificTag(TAG_ARG1), arg1)
+ endStructure()
+ }
+ }
+
+ companion object {
+ private const val TAG_ARG1 = 1
+
+ fun fromTlv(
+ tlvTag: Tag,
+ tlvReader: TlvReader
+ ): UnitTestingClusterTestDifferentVendorMeiEventEvent {
+ tlvReader.enterStructure(tlvTag)
+ val arg1 = tlvReader.getUInt(ContextSpecificTag(TAG_ARG1))
+
+ tlvReader.exitContainer()
+
+ return UnitTestingClusterTestDifferentVendorMeiEventEvent(arg1)
+ }
+ }
+}
diff --git a/src/controller/java/generated/java/chip/devicecontroller/cluster/files.gni b/src/controller/java/generated/java/chip/devicecontroller/cluster/files.gni
index b0b58a8d5f5cfe..2af0e85f583ec8 100644
--- a/src/controller/java/generated/java/chip/devicecontroller/cluster/files.gni
+++ b/src/controller/java/generated/java/chip/devicecontroller/cluster/files.gni
@@ -202,6 +202,7 @@ eventstructs_sources = [
"${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent.kt",
"${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/TimeSynchronizationClusterDSTStatusEvent.kt",
"${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/TimeSynchronizationClusterTimeZoneStatusEvent.kt",
+ "${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt",
"${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/UnitTestingClusterTestEventEvent.kt",
"${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/UnitTestingClusterTestFabricScopedEventEvent.kt",
"${chip_root}/src/controller/java/generated/java/chip/devicecontroller/cluster/eventstructs/ValveConfigurationAndControlClusterValveFaultEvent.kt",
diff --git a/src/controller/java/generated/java/matter/controller/cluster/clusters/UnitTestingCluster.kt b/src/controller/java/generated/java/matter/controller/cluster/clusters/UnitTestingCluster.kt
index 468d4e4b310802..dd71f008893fa9 100644
--- a/src/controller/java/generated/java/matter/controller/cluster/clusters/UnitTestingCluster.kt
+++ b/src/controller/java/generated/java/matter/controller/cluster/clusters/UnitTestingCluster.kt
@@ -121,6 +121,8 @@ class UnitTestingCluster(private val controller: MatterController, private val e
class TestBatchHelperResponse(val buffer: ByteArray)
+ class TestDifferentVendorMeiResponse(val arg1: UByte, val eventNumber: ULong)
+
class ListInt8uAttribute(val value: List)
sealed class ListInt8uAttributeSubscriptionState {
@@ -2335,6 +2337,64 @@ class UnitTestingCluster(private val controller: MatterController, private val e
return TestBatchHelperResponse(buffer_decoded)
}
+ suspend fun testDifferentVendorMeiRequest(
+ arg1: UByte,
+ timedInvokeTimeout: Duration? = null
+ ): TestDifferentVendorMeiResponse {
+ val commandId: UInt = 4294049962u
+
+ val tlvWriter = TlvWriter()
+ tlvWriter.startStructure(AnonymousTag)
+
+ val TAG_ARG1_REQ: Int = 0
+ tlvWriter.put(ContextSpecificTag(TAG_ARG1_REQ), arg1)
+ tlvWriter.endStructure()
+
+ val request: InvokeRequest =
+ InvokeRequest(
+ CommandPath(endpointId, clusterId = CLUSTER_ID, commandId),
+ tlvPayload = tlvWriter.getEncoded(),
+ timedRequest = timedInvokeTimeout
+ )
+
+ val response: InvokeResponse = controller.invoke(request)
+ logger.log(Level.FINE, "Invoke command succeeded: ${response}")
+
+ val tlvReader = TlvReader(response.payload)
+ tlvReader.enterStructure(AnonymousTag)
+ val TAG_ARG1: Int = 0
+ var arg1_decoded: UByte? = null
+
+ val TAG_EVENT_NUMBER: Int = 1
+ var eventNumber_decoded: ULong? = null
+
+ while (!tlvReader.isEndOfContainer()) {
+ val tag = tlvReader.peekElement().tag
+
+ if (tag == ContextSpecificTag(TAG_ARG1)) {
+ arg1_decoded = tlvReader.getUByte(tag)
+ }
+
+ if (tag == ContextSpecificTag(TAG_EVENT_NUMBER)) {
+ eventNumber_decoded = tlvReader.getULong(tag)
+ } else {
+ tlvReader.skipElement()
+ }
+ }
+
+ if (arg1_decoded == null) {
+ throw IllegalStateException("arg1 not found in TLV")
+ }
+
+ if (eventNumber_decoded == null) {
+ throw IllegalStateException("eventNumber not found in TLV")
+ }
+
+ tlvReader.exitContainer()
+
+ return TestDifferentVendorMeiResponse(arg1_decoded, eventNumber_decoded)
+ }
+
suspend fun readBooleanAttribute(): Boolean {
val ATTRIBUTE_ID: UInt = 0u
@@ -12942,6 +13002,127 @@ class UnitTestingCluster(private val controller: MatterController, private val e
}
}
+ suspend fun readMeiInt8uAttribute(): UByte {
+ val ATTRIBUTE_ID: UInt = 4294070017u
+
+ val attributePath =
+ AttributePath(endpointId = endpointId, clusterId = CLUSTER_ID, attributeId = ATTRIBUTE_ID)
+
+ val readRequest = ReadRequest(eventPaths = emptyList(), attributePaths = listOf(attributePath))
+
+ val response = controller.read(readRequest)
+
+ if (response.successes.isEmpty()) {
+ logger.log(Level.WARNING, "Read command failed")
+ throw IllegalStateException("Read command failed with failures: ${response.failures}")
+ }
+
+ logger.log(Level.FINE, "Read command succeeded")
+
+ val attributeData =
+ response.successes.filterIsInstance().firstOrNull {
+ it.path.attributeId == ATTRIBUTE_ID
+ }
+
+ requireNotNull(attributeData) { "Meiint8u attribute not found in response" }
+
+ // Decode the TLV data into the appropriate type
+ val tlvReader = TlvReader(attributeData.data)
+ val decodedValue: UByte = tlvReader.getUByte(AnonymousTag)
+
+ return decodedValue
+ }
+
+ suspend fun writeMeiInt8uAttribute(value: UByte, timedWriteTimeout: Duration? = null) {
+ val ATTRIBUTE_ID: UInt = 4294070017u
+
+ val tlvWriter = TlvWriter()
+ tlvWriter.put(AnonymousTag, value)
+
+ val writeRequests: WriteRequests =
+ WriteRequests(
+ requests =
+ listOf(
+ WriteRequest(
+ attributePath =
+ AttributePath(endpointId, clusterId = CLUSTER_ID, attributeId = ATTRIBUTE_ID),
+ tlvPayload = tlvWriter.getEncoded()
+ )
+ ),
+ timedRequest = timedWriteTimeout
+ )
+
+ val response: WriteResponse = controller.write(writeRequests)
+
+ when (response) {
+ is WriteResponse.Success -> {
+ logger.log(Level.FINE, "Write command succeeded")
+ }
+ is WriteResponse.PartialWriteFailure -> {
+ val aggregatedErrorMessage =
+ response.failures.joinToString("\n") { failure ->
+ "Error at ${failure.attributePath}: ${failure.ex.message}"
+ }
+
+ response.failures.forEach { failure ->
+ logger.log(Level.WARNING, "Error at ${failure.attributePath}: ${failure.ex.message}")
+ }
+
+ throw IllegalStateException("Write command failed with errors: \n$aggregatedErrorMessage")
+ }
+ }
+ }
+
+ suspend fun subscribeMeiInt8uAttribute(
+ minInterval: Int,
+ maxInterval: Int
+ ): Flow {
+ val ATTRIBUTE_ID: UInt = 4294070017u
+ val attributePaths =
+ listOf(
+ AttributePath(endpointId = endpointId, clusterId = CLUSTER_ID, attributeId = ATTRIBUTE_ID)
+ )
+
+ val subscribeRequest: SubscribeRequest =
+ SubscribeRequest(
+ eventPaths = emptyList(),
+ attributePaths = attributePaths,
+ minInterval = Duration.ofSeconds(minInterval.toLong()),
+ maxInterval = Duration.ofSeconds(maxInterval.toLong())
+ )
+
+ return controller.subscribe(subscribeRequest).transform { subscriptionState ->
+ when (subscriptionState) {
+ is SubscriptionState.SubscriptionErrorNotification -> {
+ emit(
+ UByteSubscriptionState.Error(
+ Exception(
+ "Subscription terminated with error code: ${subscriptionState.terminationCause}"
+ )
+ )
+ )
+ }
+ is SubscriptionState.NodeStateUpdate -> {
+ val attributeData =
+ subscriptionState.updateState.successes
+ .filterIsInstance()
+ .firstOrNull { it.path.attributeId == ATTRIBUTE_ID }
+
+ requireNotNull(attributeData) { "Meiint8u attribute not found in Node State update" }
+
+ // Decode the TLV data into the appropriate type
+ val tlvReader = TlvReader(attributeData.data)
+ val decodedValue: UByte = tlvReader.getUByte(AnonymousTag)
+
+ emit(UByteSubscriptionState.Success(decodedValue))
+ }
+ SubscriptionState.SubscriptionEstablished -> {
+ emit(UByteSubscriptionState.SubscriptionEstablished)
+ }
+ }
+ }
+ }
+
suspend fun readGeneratedCommandListAttribute(): GeneratedCommandListAttribute {
val ATTRIBUTE_ID: UInt = 65528u
diff --git a/src/controller/java/generated/java/matter/controller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt b/src/controller/java/generated/java/matter/controller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt
new file mode 100644
index 00000000000000..db7bddcfeb96e1
--- /dev/null
+++ b/src/controller/java/generated/java/matter/controller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt
@@ -0,0 +1,55 @@
+/*
+ *
+ * Copyright (c) 2023 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.
+ */
+package matter.controller.cluster.eventstructs
+
+import matter.controller.cluster.*
+import matter.tlv.ContextSpecificTag
+import matter.tlv.Tag
+import matter.tlv.TlvReader
+import matter.tlv.TlvWriter
+
+class UnitTestingClusterTestDifferentVendorMeiEventEvent(val arg1: UByte) {
+ override fun toString(): String = buildString {
+ append("UnitTestingClusterTestDifferentVendorMeiEventEvent {\n")
+ append("\targ1 : $arg1\n")
+ append("}\n")
+ }
+
+ fun toTlv(tlvTag: Tag, tlvWriter: TlvWriter) {
+ tlvWriter.apply {
+ startStructure(tlvTag)
+ put(ContextSpecificTag(TAG_ARG1), arg1)
+ endStructure()
+ }
+ }
+
+ companion object {
+ private const val TAG_ARG1 = 1
+
+ fun fromTlv(
+ tlvTag: Tag,
+ tlvReader: TlvReader
+ ): UnitTestingClusterTestDifferentVendorMeiEventEvent {
+ tlvReader.enterStructure(tlvTag)
+ val arg1 = tlvReader.getUByte(ContextSpecificTag(TAG_ARG1))
+
+ tlvReader.exitContainer()
+
+ return UnitTestingClusterTestDifferentVendorMeiEventEvent(arg1)
+ }
+ }
+}
diff --git a/src/controller/java/generated/java/matter/controller/cluster/files.gni b/src/controller/java/generated/java/matter/controller/cluster/files.gni
index 63e3175b3e0a60..948acea4fffff5 100644
--- a/src/controller/java/generated/java/matter/controller/cluster/files.gni
+++ b/src/controller/java/generated/java/matter/controller/cluster/files.gni
@@ -202,6 +202,7 @@ matter_eventstructs_sources = [
"${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/ThreadNetworkDiagnosticsClusterNetworkFaultChangeEvent.kt",
"${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/TimeSynchronizationClusterDSTStatusEvent.kt",
"${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/TimeSynchronizationClusterTimeZoneStatusEvent.kt",
+ "${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/UnitTestingClusterTestDifferentVendorMeiEventEvent.kt",
"${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/UnitTestingClusterTestEventEvent.kt",
"${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/UnitTestingClusterTestFabricScopedEventEvent.kt",
"${chip_root}/src/controller/java/generated/java/matter/controller/cluster/eventstructs/ValveConfigurationAndControlClusterValveFaultEvent.kt",
diff --git a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
index bd3eae2fb7a9e6..3fa1be7c6f0a8e 100644
--- a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
+++ b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
@@ -43841,6 +43841,22 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR
value);
return value;
}
+ case Attributes::MeiInt8u::Id: {
+ using TypeInfo = Attributes::MeiInt8u::TypeInfo;
+ TypeInfo::DecodableType cppValue;
+ *aError = app::DataModel::Decode(aReader, cppValue);
+ if (*aError != CHIP_NO_ERROR)
+ {
+ return nullptr;
+ }
+ jobject value;
+ std::string valueClassName = "java/lang/Integer";
+ std::string valueCtorSignature = "(I)V";
+ jint jnivalue = static_cast(cppValue);
+ chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(), jnivalue,
+ value);
+ return value;
+ }
default:
*aError = CHIP_ERROR_IM_MALFORMED_ATTRIBUTE_PATH_IB;
break;
diff --git a/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp b/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp
index 7ff04b2b3e7fbf..5d003f3a064e83 100644
--- a/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp
+++ b/src/controller/java/zap-generated/CHIPClustersWrite-JNI.cpp
@@ -14994,6 +14994,58 @@ JNI_METHOD(void, UnitTestingCluster, writeWriteOnlyInt8uAttribute)
onFailure.release();
}
+JNI_METHOD(void, UnitTestingCluster, writeMeiInt8uAttribute)
+(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs)
+{
+ chip::DeviceLayer::StackLock lock;
+ ListFreer listFreer;
+ using TypeInfo = chip::app::Clusters::UnitTesting::Attributes::MeiInt8u::TypeInfo;
+ TypeInfo::Type cppValue;
+
+ std::vector> cleanupByteArrays;
+ std::vector> cleanupStrings;
+
+ cppValue =
+ static_cast>(chip::JniReferences::GetInstance().IntegerToPrimitive(value));
+
+ std::unique_ptr onSuccess(
+ Platform::New(callback), Platform::Delete);
+ VerifyOrReturn(onSuccess.get() != nullptr,
+ chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
+ env, callback, "Error creating native success callback", CHIP_ERROR_NO_MEMORY));
+
+ std::unique_ptr onFailure(
+ Platform::New(callback), Platform::Delete);
+ VerifyOrReturn(onFailure.get() != nullptr,
+ chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
+ env, callback, "Error creating native failure callback", CHIP_ERROR_NO_MEMORY));
+
+ CHIP_ERROR err = CHIP_NO_ERROR;
+ UnitTestingCluster * cppCluster = reinterpret_cast(clusterPtr);
+ VerifyOrReturn(cppCluster != nullptr,
+ chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(
+ env, callback, "Could not get native cluster", CHIP_ERROR_INCORRECT_STATE));
+
+ auto successFn = chip::Callback::Callback::FromCancelable(onSuccess->Cancel());
+ auto failureFn = chip::Callback::Callback::FromCancelable(onFailure->Cancel());
+
+ if (timedWriteTimeoutMs == nullptr)
+ {
+ err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall);
+ }
+ else
+ {
+ err = cppCluster->WriteAttribute(cppValue, onSuccess->mContext, successFn->mCall, failureFn->mCall,
+ chip::JniReferences::GetInstance().IntegerToPrimitive(timedWriteTimeoutMs));
+ }
+ VerifyOrReturn(
+ err == CHIP_NO_ERROR,
+ chip::AndroidClusterExceptions::GetInstance().ReturnIllegalStateException(env, callback, "Error writing attribute", err));
+
+ onSuccess.release();
+ onFailure.release();
+}
+
JNI_METHOD(void, SampleMeiCluster, writeFlipFlopAttribute)
(JNIEnv * env, jobject self, jlong clusterPtr, jobject callback, jobject value, jobject timedWriteTimeoutMs)
{
diff --git a/src/controller/java/zap-generated/CHIPEventTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPEventTLVValueDecoder.cpp
index a800cbf1b37920..c69aaf67df9e4d 100644
--- a/src/controller/java/zap-generated/CHIPEventTLVValueDecoder.cpp
+++ b/src/controller/java/zap-generated/CHIPEventTLVValueDecoder.cpp
@@ -2584,36 +2584,6 @@ jobject DecodeEventValue(const app::ConcreteEventPath & aPath, TLV::TLVReader &
using namespace app::Clusters::IcdManagement;
switch (aPath.mEventId)
{
- case Events::OnTransitionToActiveMode::Id: {
- Events::OnTransitionToActiveMode::DecodableType cppValue;
- *aError = app::DataModel::Decode(aReader, cppValue);
- if (*aError != CHIP_NO_ERROR)
- {
- return nullptr;
- }
- jclass onTransitionToActiveModeStructClass;
- err = chip::JniReferences::GetInstance().GetClassRef(
- env, "chip/devicecontroller/ChipEventStructs$IcdManagementClusterOnTransitionToActiveModeEvent",
- onTransitionToActiveModeStructClass);
- if (err != CHIP_NO_ERROR)
- {
- ChipLogError(Zcl, "Could not find class ChipEventStructs$IcdManagementClusterOnTransitionToActiveModeEvent");
- return nullptr;
- }
-
- jmethodID onTransitionToActiveModeStructCtor;
- err = chip::JniReferences::GetInstance().FindMethod(env, onTransitionToActiveModeStructClass, "", "()V",
- &onTransitionToActiveModeStructCtor);
- if (err != CHIP_NO_ERROR || onTransitionToActiveModeStructCtor == nullptr)
- {
- ChipLogError(Zcl, "Could not find ChipEventStructs$IcdManagementClusterOnTransitionToActiveModeEvent constructor");
- return nullptr;
- }
-
- jobject value = env->NewObject(onTransitionToActiveModeStructClass, onTransitionToActiveModeStructCtor);
-
- return value;
- }
default:
*aError = CHIP_ERROR_IM_MALFORMED_EVENT_PATH_IB;
break;
@@ -7707,6 +7677,44 @@ jobject DecodeEventValue(const app::ConcreteEventPath & aPath, TLV::TLVReader &
return value;
}
+ case Events::TestDifferentVendorMeiEvent::Id: {
+ Events::TestDifferentVendorMeiEvent::DecodableType cppValue;
+ *aError = app::DataModel::Decode(aReader, cppValue);
+ if (*aError != CHIP_NO_ERROR)
+ {
+ return nullptr;
+ }
+ jobject value_arg1;
+ std::string value_arg1ClassName = "java/lang/Integer";
+ std::string value_arg1CtorSignature = "(I)V";
+ jint jnivalue_arg1 = static_cast(cppValue.arg1);
+ chip::JniReferences::GetInstance().CreateBoxedObject(value_arg1ClassName.c_str(), value_arg1CtorSignature.c_str(),
+ jnivalue_arg1, value_arg1);
+
+ jclass testDifferentVendorMeiEventStructClass;
+ err = chip::JniReferences::GetInstance().GetClassRef(
+ env, "chip/devicecontroller/ChipEventStructs$UnitTestingClusterTestDifferentVendorMeiEventEvent",
+ testDifferentVendorMeiEventStructClass);
+ if (err != CHIP_NO_ERROR)
+ {
+ ChipLogError(Zcl, "Could not find class ChipEventStructs$UnitTestingClusterTestDifferentVendorMeiEventEvent");
+ return nullptr;
+ }
+
+ jmethodID testDifferentVendorMeiEventStructCtor;
+ err = chip::JniReferences::GetInstance().FindMethod(env, testDifferentVendorMeiEventStructClass, "",
+ "(Ljava/lang/Integer;)V", &testDifferentVendorMeiEventStructCtor);
+ if (err != CHIP_NO_ERROR || testDifferentVendorMeiEventStructCtor == nullptr)
+ {
+ ChipLogError(Zcl, "Could not find ChipEventStructs$UnitTestingClusterTestDifferentVendorMeiEventEvent constructor");
+ return nullptr;
+ }
+
+ jobject value =
+ env->NewObject(testDifferentVendorMeiEventStructClass, testDifferentVendorMeiEventStructCtor, value_arg1);
+
+ return value;
+ }
default:
*aError = CHIP_ERROR_IM_MALFORMED_EVENT_PATH_IB;
break;
diff --git a/src/controller/java/zap-generated/CHIPInvokeCallbacks.cpp b/src/controller/java/zap-generated/CHIPInvokeCallbacks.cpp
index 32d21277117e5e..8f9274f6171770 100644
--- a/src/controller/java/zap-generated/CHIPInvokeCallbacks.cpp
+++ b/src/controller/java/zap-generated/CHIPInvokeCallbacks.cpp
@@ -8395,6 +8395,73 @@ void CHIPUnitTestingClusterTestBatchHelperResponseCallback::CallbackFn(
env->CallVoidMethod(javaCallbackRef, javaMethod, buffer);
}
+CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback::CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback(
+ jobject javaCallback) : Callback::Callback(CallbackFn, this)
+{
+ JNIEnv * env = JniReferences::GetInstance().GetEnvForCurrentThread();
+ if (env == nullptr)
+ {
+ ChipLogError(Zcl, "Could not create global reference for Java callback");
+ return;
+ }
+
+ javaCallbackRef = env->NewGlobalRef(javaCallback);
+ if (javaCallbackRef == nullptr)
+ {
+ ChipLogError(Zcl, "Could not create global reference for Java callback");
+ }
+}
+
+CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback::~CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback()
+{
+ JNIEnv * env = JniReferences::GetInstance().GetEnvForCurrentThread();
+ if (env == nullptr)
+ {
+ ChipLogError(Zcl, "Could not delete global reference for Java callback");
+ return;
+ }
+ env->DeleteGlobalRef(javaCallbackRef);
+};
+
+void CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback::CallbackFn(
+ void * context, const chip::app::Clusters::UnitTesting::Commands::TestDifferentVendorMeiResponse::DecodableType & dataResponse)
+{
+ chip::DeviceLayer::StackUnlock unlock;
+ CHIP_ERROR err = CHIP_NO_ERROR;
+ JNIEnv * env = JniReferences::GetInstance().GetEnvForCurrentThread();
+ jobject javaCallbackRef;
+ jmethodID javaMethod;
+
+ VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Error invoking Java callback: no JNIEnv"));
+
+ std::unique_ptr
+ cppCallback(reinterpret_cast(context),
+ chip::Platform::Delete);
+ VerifyOrReturn(cppCallback != nullptr, ChipLogError(Zcl, "Error invoking Java callback: failed to cast native callback"));
+
+ javaCallbackRef = cppCallback->javaCallbackRef;
+ // Java callback is allowed to be null, exit early if this is the case.
+ VerifyOrReturn(javaCallbackRef != nullptr);
+
+ err = JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;Ljava/lang/Long;)V",
+ &javaMethod);
+ VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error invoking Java callback: %s", ErrorStr(err)));
+
+ jobject arg1;
+ std::string arg1ClassName = "java/lang/Integer";
+ std::string arg1CtorSignature = "(I)V";
+ jint jniarg1 = static_cast(dataResponse.arg1);
+ chip::JniReferences::GetInstance().CreateBoxedObject(arg1ClassName.c_str(), arg1CtorSignature.c_str(), jniarg1, arg1);
+ jobject eventNumber;
+ std::string eventNumberClassName = "java/lang/Long";
+ std::string eventNumberCtorSignature = "(J)V";
+ jlong jnieventNumber = static_cast(dataResponse.eventNumber);
+ chip::JniReferences::GetInstance().CreateBoxedObject(eventNumberClassName.c_str(), eventNumberCtorSignature.c_str(),
+ jnieventNumber, eventNumber);
+
+ env->CallVoidMethod(javaCallbackRef, javaMethod, arg1, eventNumber);
+}
CHIPSampleMeiClusterAddArgumentsResponseCallback::CHIPSampleMeiClusterAddArgumentsResponseCallback(jobject javaCallback) :
Callback::Callback(CallbackFn, this)
{
diff --git a/src/controller/java/zap-generated/CHIPInvokeCallbacks.h b/src/controller/java/zap-generated/CHIPInvokeCallbacks.h
index 70befc9c57771c..53212aa8617211 100644
--- a/src/controller/java/zap-generated/CHIPInvokeCallbacks.h
+++ b/src/controller/java/zap-generated/CHIPInvokeCallbacks.h
@@ -1152,6 +1152,21 @@ class CHIPUnitTestingClusterTestBatchHelperResponseCallback
jobject javaCallbackRef;
};
+class CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback
+ : public Callback::Callback
+{
+public:
+ CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback(jobject javaCallback);
+
+ ~CHIPUnitTestingClusterTestDifferentVendorMeiResponseCallback();
+
+ static void CallbackFn(void * context,
+ const chip::app::Clusters::UnitTesting::Commands::TestDifferentVendorMeiResponse::DecodableType & data);
+
+private:
+ jobject javaCallbackRef;
+};
+
class CHIPSampleMeiClusterAddArgumentsResponseCallback
: public Callback::Callback
{
diff --git a/src/controller/python/chip/clusters/CHIPClusters.py b/src/controller/python/chip/clusters/CHIPClusters.py
index b31bd5b38356a1..efe54e8a48dfc7 100644
--- a/src/controller/python/chip/clusters/CHIPClusters.py
+++ b/src/controller/python/chip/clusters/CHIPClusters.py
@@ -13473,6 +13473,13 @@ class ChipClusters:
"fillCharacter": "int",
},
},
+ 0xFFF200AA: {
+ "commandId": 0xFFF200AA,
+ "commandName": "TestDifferentVendorMeiRequest",
+ "args": {
+ "arg1": "int",
+ },
+ },
},
"attributes": {
0x00000000: {
@@ -14085,6 +14092,13 @@ class ChipClusters:
"type": "int",
"reportable": True,
},
+ 0xFFF24F01: {
+ "attributeName": "MeiInt8u",
+ "attributeId": 0xFFF24F01,
+ "type": "int",
+ "reportable": True,
+ "writable": True,
+ },
},
}
_FAULT_INJECTION_CLUSTER_INFO = {
diff --git a/src/controller/python/chip/clusters/Objects.py b/src/controller/python/chip/clusters/Objects.py
index 41547753dd4409..d73c0117d762e9 100644
--- a/src/controller/python/chip/clusters/Objects.py
+++ b/src/controller/python/chip/clusters/Objects.py
@@ -14523,23 +14523,6 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
- class Events:
- @dataclass
- class OnTransitionToActiveMode(ClusterEvent):
- @ChipUtility.classproperty
- def cluster_id(cls) -> int:
- return 0x00000046
-
- @ChipUtility.classproperty
- def event_id(cls) -> int:
- return 0x00000000
-
- @ChipUtility.classproperty
- def descriptor(cls) -> ClusterObjectDescriptor:
- return ClusterObjectDescriptor(
- Fields=[
- ])
-
@dataclass
class Timer(Cluster):
@@ -46003,6 +45986,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
ClusterObjectFieldDescriptor(Label="attributeList", Tag=0x0000FFFB, Type=typing.List[uint]),
ClusterObjectFieldDescriptor(Label="featureMap", Tag=0x0000FFFC, Type=uint),
ClusterObjectFieldDescriptor(Label="clusterRevision", Tag=0x0000FFFD, Type=uint),
+ ClusterObjectFieldDescriptor(Label="meiInt8u", Tag=0xFFF24F01, Type=uint),
])
boolean: 'bool' = None
@@ -46093,6 +46077,7 @@ def descriptor(cls) -> ClusterObjectDescriptor:
attributeList: 'typing.List[uint]' = None
featureMap: 'uint' = None
clusterRevision: 'uint' = None
+ meiInt8u: 'uint' = None
class Enums:
class SimpleEnum(MatterIntEnum):
@@ -46984,6 +46969,40 @@ def descriptor(cls) -> ClusterObjectDescriptor:
sizeOfResponseBuffer: 'uint' = 0
fillCharacter: 'uint' = 0
+ @dataclass
+ class TestDifferentVendorMeiRequest(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0xFFF1FC05
+ command_id: typing.ClassVar[int] = 0xFFF200AA
+ is_client: typing.ClassVar[bool] = True
+ response_type: typing.ClassVar[str] = 'TestDifferentVendorMeiResponse'
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields=[
+ ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint),
+ ])
+
+ arg1: 'uint' = 0
+
+ @dataclass
+ class TestDifferentVendorMeiResponse(ClusterCommand):
+ cluster_id: typing.ClassVar[int] = 0xFFF1FC05
+ command_id: typing.ClassVar[int] = 0xFFF200BB
+ is_client: typing.ClassVar[bool] = False
+ response_type: typing.ClassVar[str] = None
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields=[
+ ClusterObjectFieldDescriptor(Label="arg1", Tag=0, Type=uint),
+ ClusterObjectFieldDescriptor(Label="eventNumber", Tag=1, Type=uint),
+ ])
+
+ arg1: 'uint' = 0
+ eventNumber: 'uint' = 0
+
class Attributes:
@dataclass
class Boolean(ClusterAttributeDescriptor):
@@ -48397,6 +48416,22 @@ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
value: 'uint' = 0
+ @dataclass
+ class MeiInt8u(ClusterAttributeDescriptor):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0xFFF1FC05
+
+ @ChipUtility.classproperty
+ def attribute_id(cls) -> int:
+ return 0xFFF24F01
+
+ @ChipUtility.classproperty
+ def attribute_type(cls) -> ClusterObjectFieldDescriptor:
+ return ClusterObjectFieldDescriptor(Type=uint)
+
+ value: 'uint' = 0
+
class Events:
@dataclass
class TestEvent(ClusterEvent):
@@ -48446,6 +48481,25 @@ def descriptor(cls) -> ClusterObjectDescriptor:
fabricIndex: 'uint' = 0
+ @dataclass
+ class TestDifferentVendorMeiEvent(ClusterEvent):
+ @ChipUtility.classproperty
+ def cluster_id(cls) -> int:
+ return 0xFFF1FC05
+
+ @ChipUtility.classproperty
+ def event_id(cls) -> int:
+ return 0xFFF200EE
+
+ @ChipUtility.classproperty
+ def descriptor(cls) -> ClusterObjectDescriptor:
+ return ClusterObjectDescriptor(
+ Fields=[
+ ClusterObjectFieldDescriptor(Label="arg1", Tag=1, Type=uint),
+ ])
+
+ arg1: 'uint' = 0
+
@dataclass
class FaultInjection(Cluster):
diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.h b/src/darwin/Framework/CHIP/MTRBaseDevice.h
index 5371dd22962ab4..64c8fd99981595 100644
--- a/src/darwin/Framework/CHIP/MTRBaseDevice.h
+++ b/src/darwin/Framework/CHIP/MTRBaseDevice.h
@@ -121,30 +121,30 @@ typedef void (^MTRDeviceResubscriptionScheduledHandler)(NSError * error, NSNumbe
MTR_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2))
typedef void (^MTRDeviceOpenCommissioningWindowHandler)(MTRSetupPayload * _Nullable payload, NSError * _Nullable error);
-extern NSString * const MTRAttributePathKey;
-extern NSString * const MTRCommandPathKey;
-extern NSString * const MTREventPathKey;
-extern NSString * const MTRDataKey;
-extern NSString * const MTRErrorKey;
-extern NSString * const MTRTypeKey;
-extern NSString * const MTRValueKey;
-extern NSString * const MTRContextTagKey;
-extern NSString * const MTRSignedIntegerValueType;
-extern NSString * const MTRUnsignedIntegerValueType;
-extern NSString * const MTRBooleanValueType;
-extern NSString * const MTRUTF8StringValueType;
-extern NSString * const MTROctetStringValueType;
-extern NSString * const MTRFloatValueType;
-extern NSString * const MTRDoubleValueType;
-extern NSString * const MTRNullValueType;
-extern NSString * const MTRStructureValueType;
-extern NSString * const MTRArrayValueType;
-extern NSString * const MTREventNumberKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
-extern NSString * const MTREventPriorityKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
-extern NSString * const MTREventTimeTypeKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
-extern NSString * const MTREventSystemUpTimeKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
-extern NSString * const MTREventTimestampDateKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
-extern NSString * const MTREventIsHistoricalKey MTR_AVAILABLE(ios(17.3), macos(14.3), watchos(10.3), tvos(17.3));
+MTR_EXTERN NSString * const MTRAttributePathKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRCommandPathKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTREventPathKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRDataKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRErrorKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRTypeKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRValueKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRContextTagKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRSignedIntegerValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRUnsignedIntegerValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRBooleanValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRUTF8StringValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTROctetStringValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRFloatValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRDoubleValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRNullValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRStructureValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTRArrayValueType MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSString * const MTREventNumberKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
+MTR_EXTERN NSString * const MTREventPriorityKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
+MTR_EXTERN NSString * const MTREventTimeTypeKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
+MTR_EXTERN NSString * const MTREventSystemUpTimeKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
+MTR_EXTERN NSString * const MTREventTimestampDateKey MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
+MTR_EXTERN NSString * const MTREventIsHistoricalKey MTR_AVAILABLE(ios(17.3), macos(14.3), watchos(10.3), tvos(17.3));
@class MTRClusterStateCacheContainer;
@class MTRAttributeCacheContainer;
@@ -165,8 +165,7 @@ typedef NS_ENUM(uint8_t, MTRTransportType) {
*/
MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
@interface MTRAttributeRequestPath : NSObject
-@property (nonatomic, readonly, copy, nullable) NSNumber * endpoint MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
- ;
+@property (nonatomic, readonly, copy, nullable) NSNumber * endpoint MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@property (nonatomic, readonly, copy, nullable) NSNumber * cluster MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@property (nonatomic, readonly, copy, nullable)
NSNumber * attribute MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@@ -184,8 +183,7 @@ MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
*/
MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
@interface MTREventRequestPath : NSObject
-@property (nonatomic, readonly, copy, nullable) NSNumber * endpoint MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
- ;
+@property (nonatomic, readonly, copy, nullable) NSNumber * endpoint MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@property (nonatomic, readonly, copy, nullable) NSNumber * cluster MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@property (nonatomic, readonly, copy, nullable) NSNumber * event MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@@ -195,6 +193,7 @@ MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0));
@end
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRBaseDevice : NSObject
- (instancetype)init NS_UNAVAILABLE;
@@ -551,6 +550,7 @@ MTR_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
*/
MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
@interface MTRClusterPath : NSObject
+
@property (nonatomic, readonly, copy) NSNumber * endpoint;
@property (nonatomic, readonly, copy) NSNumber * cluster;
@@ -564,7 +564,9 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
* A path indicating a specific attribute on a device (i.e. without any
* wildcards).
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRAttributePath : MTRClusterPath
+
@property (nonatomic, readonly, copy) NSNumber * attribute;
+ (MTRAttributePath *)attributePathWithEndpointID:(NSNumber *)endpointID
@@ -578,7 +580,9 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
* (i.e. without any wildcards). There can be multiple instances of actual
* events for a given event path.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTREventPath : MTRClusterPath
+
@property (nonatomic, readonly, copy) NSNumber * event;
+ (MTREventPath *)eventPathWithEndpointID:(NSNumber *)endpointID
@@ -590,7 +594,9 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
* A path indicating a specific command on a device (i.e. without any
* wildcards).
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRCommandPath : MTRClusterPath
+
@property (nonatomic, readonly, copy) NSNumber * command;
+ (MTRCommandPath *)commandPathWithEndpointID:(NSNumber *)endpointID
@@ -598,7 +604,9 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
commandID:(NSNumber *)commandID MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
@end
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRAttributeReport : NSObject
+
@property (nonatomic, readonly, copy) MTRAttributePath * path;
/**
@@ -665,7 +673,9 @@ typedef NS_ENUM(NSUInteger, MTREventPriority) {
MTREventPriorityCritical = 2
} MTR_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTREventReport : NSObject
+
@property (nonatomic, readonly, copy) MTREventPath * path;
/**
diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice.mm b/src/darwin/Framework/CHIP/MTRBaseDevice.mm
index 626480db8e0a8e..a14986d2e24f5a 100644
--- a/src/darwin/Framework/CHIP/MTRBaseDevice.mm
+++ b/src/darwin/Framework/CHIP/MTRBaseDevice.mm
@@ -90,7 +90,6 @@
class MTRDataValueDictionaryCallbackBridge;
-MTR_HIDDEN
@interface MTRReadClientContainer : NSObject
@property (nonatomic, readwrite) app::ReadClient * readClientPtr;
@property (nonatomic, readwrite) app::AttributePathParams * pathParams;
@@ -744,6 +743,27 @@ static CHIP_ERROR MTREncodeTLVFromDataValueDictionary(id object, chip::TLV::TLVW
return CHIP_ERROR_INVALID_ARGUMENT;
}
+NSData * _Nullable MTREncodeTLVFromDataValueDictionary(NSDictionary * value, NSError * __autoreleasing * error)
+{
+ // A single data item cannot be bigger than a packet, so just use 1200 bytes
+ // as the max size of our buffer. This assumes that lists will not be
+ // passed as-is to this method but will get chunked, with each list item
+ // passed to this method separately.
+ uint8_t buffer[1200];
+ TLV::TLVWriter writer;
+ writer.Init(buffer);
+
+ CHIP_ERROR err = MTREncodeTLVFromDataValueDictionary(value, writer, TLV::AnonymousTag());
+ if (err != CHIP_NO_ERROR) {
+ if (error) {
+ *error = [MTRError errorForCHIPErrorCode:err];
+ }
+ return nil;
+ }
+
+ return AsData(ByteSpan(buffer, writer.GetLengthWritten()));
+}
+
// Callback type to pass data value as an NSObject
typedef void (*MTRDataValueDictionaryCallback)(void * context, id value);
diff --git a/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h b/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h
index 606ebdfac3a2e8..71cdee11d3687d 100644
--- a/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRBaseDevice_Internal.h
@@ -230,4 +230,10 @@ static inline MTRTransportType MTRMakeTransportType(chip::Transport::Type type)
// Convert TLV data into data-value dictionary as described in MTRDeviceResponseHandler
NSDictionary * _Nullable MTRDecodeDataValueDictionaryFromCHIPTLV(chip::TLV::TLVReader * data);
+// Convert a data-value dictionary as described in MTRDeviceResponseHandler into
+// TLV Data with an anonymous tag. This method assumes the encoding of the
+// value fits in a single UDP MTU; for lists this method might need to be used
+// on each list item separately.
+NSData * _Nullable MTREncodeTLVFromDataValueDictionary(NSDictionary * value, NSError * __autoreleasing * error);
+
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/MTRCertificates.h b/src/darwin/Framework/CHIP/MTRCertificates.h
index 67b3cebef895bf..d414ca760117c0 100644
--- a/src/darwin/Framework/CHIP/MTRCertificates.h
+++ b/src/darwin/Framework/CHIP/MTRCertificates.h
@@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
@protocol MTRKeypair;
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRCertificates : NSObject
- (instancetype)init NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRCluster.h b/src/darwin/Framework/CHIP/MTRCluster.h
index 2c2dcca175754d..f1863bbc05bc95 100644
--- a/src/darwin/Framework/CHIP/MTRCluster.h
+++ b/src/darwin/Framework/CHIP/MTRCluster.h
@@ -37,6 +37,7 @@ NS_ASSUME_NONNULL_BEGIN
* MTRCluster
* This is the base class for clusters.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRCluster : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@@ -71,6 +72,7 @@ MTR_AVAILABLE(ios(17.4), macos(14.4), watchos(10.4), tvos(17.4))
* If not provided (i.e. nil passed for the CHIPWriteParams argument), will be
* treated as if a default-initialized object was passed in.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRWriteParams : NSObject
/**
@@ -106,6 +108,7 @@ MTR_AVAILABLE(ios(17.4), macos(14.4), watchos(10.4), tvos(17.4))
* If not provided (i.e. nil passed for the MTRReadParams argument), will be
* treated as if a default-initialized object was passed in.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRReadParams : NSObject
/**
@@ -137,6 +140,7 @@ MTR_AVAILABLE(ios(17.4), macos(14.4), watchos(10.4), tvos(17.4))
* provided (i.e. nil passed for the MTRSubscribeParams argument), will be
* treated as if a default-initialized object was passed in.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRSubscribeParams : MTRReadParams
/**
diff --git a/src/darwin/Framework/CHIP/MTRCluster.mm b/src/darwin/Framework/CHIP/MTRCluster.mm
index 27324cde294b85..96d4c4bb462e34 100644
--- a/src/darwin/Framework/CHIP/MTRCluster.mm
+++ b/src/darwin/Framework/CHIP/MTRCluster.mm
@@ -28,7 +28,7 @@ - (instancetype)initWithEndpointID:(NSNumber *)endpointID queue:(dispatch_queue_
if (self = [super init]) {
// TODO consider range-checking the incoming number to make sure it's
// actually in the EndpointId range
- _endpoint = endpointID.unsignedShortValue;
+ _endpointID = endpointID;
_callbackQueue = queue;
}
return self;
diff --git a/src/darwin/Framework/CHIP/MTRCluster_Internal.h b/src/darwin/Framework/CHIP/MTRCluster_Internal.h
index 937c110a4ea171..78e4c491f6c999 100644
--- a/src/darwin/Framework/CHIP/MTRCluster_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRCluster_Internal.h
@@ -30,7 +30,6 @@ NS_ASSUME_NONNULL_BEGIN
@interface MTRCluster ()
@property (readonly, nonatomic) dispatch_queue_t callbackQueue;
-@property (nonatomic, readonly) chip::EndpointId endpoint;
- (instancetype)initWithEndpointID:(NSNumber *)endpointID queue:(dispatch_queue_t)queue;
@end
diff --git a/src/darwin/Framework/CHIP/MTRCommandTimedCheck.h b/src/darwin/Framework/CHIP/MTRCommandTimedCheck.h
index 423a133d93dcc7..ba72bf99960311 100644
--- a/src/darwin/Framework/CHIP/MTRCommandTimedCheck.h
+++ b/src/darwin/Framework/CHIP/MTRCommandTimedCheck.h
@@ -15,9 +15,7 @@
* limitations under the License.
*/
-#pragma once
-
-#import
+#import
NS_ASSUME_NONNULL_BEGIN
diff --git a/src/darwin/Framework/CHIP/MTRCommissionableBrowser.h b/src/darwin/Framework/CHIP/MTRCommissionableBrowser.h
index 1a05c13a59021a..52d0bc875464f0 100644
--- a/src/darwin/Framework/CHIP/MTRCommissionableBrowser.h
+++ b/src/darwin/Framework/CHIP/MTRCommissionableBrowser.h
@@ -23,7 +23,6 @@ NS_ASSUME_NONNULL_BEGIN
@protocol MTRCommissionableBrowserDelegate;
@class MTRDeviceController;
-MTR_HIDDEN
@interface MTRCommissionableBrowser : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRCommissionableBrowserResult_Internal.h b/src/darwin/Framework/CHIP/MTRCommissionableBrowserResult_Internal.h
index bf312d83361117..4500ab8eb877f2 100644
--- a/src/darwin/Framework/CHIP/MTRCommissionableBrowserResult_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRCommissionableBrowserResult_Internal.h
@@ -24,7 +24,6 @@
NS_ASSUME_NONNULL_BEGIN
-MTR_HIDDEN
@interface MTRCommissionableBrowserResultInterfaces : NSObject
@property (nonatomic, readwrite) chip::Optional resolutionData;
diff --git a/src/darwin/Framework/CHIP/MTRCommissioningParameters.h b/src/darwin/Framework/CHIP/MTRCommissioningParameters.h
index a6568dae900f69..771dfe54fc8893 100644
--- a/src/darwin/Framework/CHIP/MTRCommissioningParameters.h
+++ b/src/darwin/Framework/CHIP/MTRCommissioningParameters.h
@@ -25,6 +25,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Information that can be provided to commissionWithNodeID to commision devices.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRCommissioningParameters : NSObject
/**
diff --git a/src/darwin/Framework/CHIP/MTRDefines.h b/src/darwin/Framework/CHIP/MTRDefines.h
index 232a97f33dd7c9..fea32d4a0e076e 100644
--- a/src/darwin/Framework/CHIP/MTRDefines.h
+++ b/src/darwin/Framework/CHIP/MTRDefines.h
@@ -17,12 +17,39 @@
#import
+#pragma mark - Overridable options
+
+/**
+ * @define `MTR_NO_AVAILABILITY`
+ * Turns off availability annotations, to allow compiling a version of
+ * Matter.framework for "local use", not as a system framework.
+ */
+#ifndef MTR_NO_AVAILABILITY
+#define MTR_NO_AVAILABILITY 0
+#endif
+
+/**
+ * @define `MTR_ENABLE_PROVISIONAL`
+ * Makes provisional spec features available for evaluation / testing purposes.
+ * The usual API / ABI stability guarantees DO NOT APPLY to provisional features.
+ */
+#ifndef MTR_ENABLE_PROVISIONAL
+#define MTR_ENABLE_PROVISIONAL 0
+#endif
+
+/**
+ * @define `MTR_ENABLE_UNSTABLE_API`
+ * Makes unstbale APIs available for evaluation / testing purposes.
+ * The usual API / ABI stability guarantees DO NOT APPLY to unstable APIs.
+ */
+#ifndef MTR_ENABLE_UNSTABLE_API
+#define MTR_ENABLE_UNSTABLE_API 0
+#endif
+
#pragma mark - Attribute macros
#define MTR_EXPORT __attribute__((visibility("default")))
-#define MTR_HIDDEN __attribute__((visibility("hidden")))
-
#ifdef __cplusplus
#define MTR_EXTERN extern "C" MTR_EXPORT
#else
@@ -35,51 +62,44 @@
#define MTR_SWIFT_DISFAVORED_OVERLOAD
#endif
-#pragma mark - Deprecation macros (can be overriden via build system)
+#pragma mark - Availability / deprecation
-/**
- * MTR_NO_AVAILABILITY can be used to turn off availability
- * annotations, to allow compiling a version of Matter.framework for "local
- * use", not as a system framework.
- */
-#if !defined(MTR_NO_AVAILABILITY)
-#define MTR_NO_AVAILABILITY 0
-#endif
+// clang-format off
+#define _MTR_IMPLICIT_EXPORT \
+ _Pragma("clang diagnostic push") \
+ _Pragma("clang diagnostic ignored \"-Wignored-attributes\"")\
+ MTR_EXPORT \
+ _Pragma("clang diagnostic pop")
+// clang-format on
+#define _MTR_DEPRECATED _MTR_IMPLICIT_EXPORT MTR_SWIFT_DISFAVORED_OVERLOAD
+#define _MTR_UNAVAILABLE _MTR_IMPLICIT_EXPORT NS_UNAVAILABLE
+
+// clang-format off
#if MTR_NO_AVAILABILITY
-#define MTR_DEPRECATED(...) MTR_SWIFT_DISFAVORED_OVERLOAD
-#define MTR_DEPRECATED_WITH_REPLACEMENT(...) MTR_SWIFT_DISFAVORED_OVERLOAD
-#define MTR_AVAILABLE(...)
+#define MTR_DEPRECATED(...) _MTR_DEPRECATED
+#define MTR_DEPRECATED_WITH_REPLACEMENT(...) _MTR_DEPRECATED
+#define MTR_AVAILABLE(...) _MTR_IMPLICIT_EXPORT
#else
-#define MTR_DEPRECATED(...) API_DEPRECATED(__VA_ARGS__) MTR_SWIFT_DISFAVORED_OVERLOAD
-#define MTR_DEPRECATED_WITH_REPLACEMENT(...) API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__) MTR_SWIFT_DISFAVORED_OVERLOAD
-#define MTR_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
+#define MTR_DEPRECATED(...) _MTR_DEPRECATED API_DEPRECATED(__VA_ARGS__)
+#define MTR_DEPRECATED_WITH_REPLACEMENT(...) _MTR_DEPRECATED API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
+#define MTR_AVAILABLE(...) _MTR_IMPLICIT_EXPORT API_AVAILABLE(__VA_ARGS__)
#endif // MTR_NO_AVAILABILITY
+// clang-format on
-#define MTR_NEWLY_DEPRECATED(message)
-
-#define MTR_NEWLY_AVAILABLE
-
-#define MTR_UNAVAILABLE NS_UNAVAILABLE MTR_HIDDEN
-
-#if !defined(MTR_ENABLE_PROVISIONAL)
-#define MTR_ENABLE_PROVISIONAL 0
-#endif
+#define MTR_NEWLY_DEPRECATED(message) _MTR_IMPLICIT_EXPORT
+#define MTR_NEWLY_AVAILABLE _MTR_IMPLICIT_EXPORT
#if MTR_ENABLE_PROVISIONAL
#define MTR_PROVISIONALLY_AVAILABLE MTR_NEWLY_AVAILABLE
#else
-#define MTR_PROVISIONALLY_AVAILABLE MTR_UNAVAILABLE
-#endif
-
-#if !defined(MTR_ENABLE_UNSTABLE_API)
-#define MTR_ENABLE_UNSTABLE_API 0
+#define MTR_PROVISIONALLY_AVAILABLE _MTR_UNAVAILABLE
#endif
#if MTR_ENABLE_UNSTABLE_API
#define MTR_UNSTABLE_API MTR_NEWLY_AVAILABLE
#else
-#define MTR_UNSTABLE_API MTR_UNAVAILABLE
+#define MTR_UNSTABLE_API _MTR_UNAVAILABLE
#endif
#ifndef MTR_PER_CONTROLLER_STORAGE_ENABLED
diff --git a/src/darwin/Framework/CHIP/MTRDefines_Internal.h b/src/darwin/Framework/CHIP/MTRDefines_Internal.h
index 731ea45d4ce17a..6a684f5f879e04 100644
--- a/src/darwin/Framework/CHIP/MTRDefines_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRDefines_Internal.h
@@ -31,7 +31,7 @@
#ifdef DEBUG
#define MTR_TESTABLE MTR_EXPORT
#else
-#define MTR_TESTABLE MTR_HIDDEN
+#define MTR_TESTABLE
#endif
// clang-format off
diff --git a/src/darwin/Framework/CHIP/MTRDevice.h b/src/darwin/Framework/CHIP/MTRDevice.h
index 21c72cb70f7a65..32a4593a2e40fc 100644
--- a/src/darwin/Framework/CHIP/MTRDevice.h
+++ b/src/darwin/Framework/CHIP/MTRDevice.h
@@ -18,6 +18,7 @@
#import
#import
#import
+#import
NS_ASSUME_NONNULL_BEGIN
@@ -31,6 +32,7 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
@protocol MTRDeviceDelegate;
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRDevice : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@@ -324,6 +326,26 @@ typedef NS_ENUM(NSUInteger, MTRDeviceState) {
*/
- (void)removeClientDataForKey:(NSString *)key endpointID:(NSNumber *)endpointID MTR_UNSTABLE_API;
+/**
+ * Download log of the desired type from the device.
+ *
+ * Note: The consumer of this API should move the file that the url points to or open it for reading before the
+ * completion handler returns. Otherwise, the file will be deleted, and the data will be lost.
+ *
+ * @param type The type of log being requested. This should correspond to a value in the enum MTRDiagnosticLogType.
+ * @param timeout The timeout for getting the log. If the timeout expires, completion will be called with whatever
+ * has been retrieved by that point (which might be none or a partial log).
+ * If the timeout is set to 0, the request will not expire and completion will not be called until
+ * the log is fully retrieved or an error occurs.
+ * @param queue The queue on which completion will be called.
+ * @param completion The completion that will be called to return the URL of the requested log if successful. Otherwise
+ * returns an error.
+ */
+- (void)downloadLogOfType:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+ MTR_NEWLY_AVAILABLE;
@end
@protocol MTRDeviceDelegate
diff --git a/src/darwin/Framework/CHIP/MTRDevice.mm b/src/darwin/Framework/CHIP/MTRDevice.mm
index 021d00c64f2e62..f25ac5b9564187 100644
--- a/src/darwin/Framework/CHIP/MTRDevice.mm
+++ b/src/darwin/Framework/CHIP/MTRDevice.mm
@@ -48,7 +48,6 @@
// Consider moving utility classes to their own file
#pragma mark - Utility Classes
// This class is for storing weak references in a container
-MTR_HIDDEN
@interface MTRWeakReference : NSObject
+ (instancetype)weakReferenceWithObject:(ObjectType)object;
- (instancetype)initWithObject:(ObjectType)object;
@@ -1364,6 +1363,18 @@ - (void)openCommissioningWindowWithDiscriminator:(NSNumber *)discriminator
[baseDevice openCommissioningWindowWithDiscriminator:discriminator duration:duration queue:queue completion:completion];
}
+- (void)downloadLogOfType:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+{
+ [_deviceController downloadLogFromNodeWithID:_nodeID
+ type:type
+ timeout:timeout
+ queue:queue
+ completion:completion];
+}
+
#pragma mark - Cache management
// assume lock is held
diff --git a/src/darwin/Framework/CHIP/MTRDeviceAttestationDelegate.h b/src/darwin/Framework/CHIP/MTRDeviceAttestationDelegate.h
index 1eab2b22beb8b1..0c3e35e9809548 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceAttestationDelegate.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceAttestationDelegate.h
@@ -24,6 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
@class MTRDeviceController;
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRDeviceAttestationDeviceInfo : NSObject
- (instancetype)init NS_UNAVAILABLE;
@@ -51,8 +52,7 @@ NS_ASSUME_NONNULL_BEGIN
* used for device attestation. If attestation succeeds, this must match one of
* the product IDs from the certification declaration.
*/
-@property (nonatomic, readonly) NSNumber * basicInformationProductID MTR_AVAILABLE(ios(16.6), macos(13.5), watchos(9.6), tvos(16.6))
- ;
+@property (nonatomic, readonly) NSNumber * basicInformationProductID MTR_AVAILABLE(ios(16.6), macos(13.5), watchos(9.6), tvos(16.6));
@property (nonatomic, readonly) MTRCertificateDERBytes dacCertificate;
@property (nonatomic, readonly) MTRCertificateDERBytes dacPAICertificate;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceController.h b/src/darwin/Framework/CHIP/MTRDeviceController.h
index e830f024d8d155..a3757e6353f796 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceController.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceController.h
@@ -38,6 +38,7 @@ typedef void (^MTRDeviceConnectionCallback)(MTRBaseDevice * _Nullable device, NS
@protocol MTRDevicePairingDelegate;
@protocol MTRDeviceControllerDelegate;
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRDeviceController : NSObject
/**
diff --git a/src/darwin/Framework/CHIP/MTRDeviceController.mm b/src/darwin/Framework/CHIP/MTRDeviceController.mm
index ba3ec1958a42fd..decd879a657ef3 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceController.mm
+++ b/src/darwin/Framework/CHIP/MTRDeviceController.mm
@@ -1216,13 +1216,26 @@ - (void)operationalInstanceAdded:(chip::NodeId)nodeID
[device nodeMayBeAdvertisingOperational];
}
+- (void)downloadLogFromNodeWithID:(NSNumber *)nodeID
+ type:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+{
+ [_factory downloadLogFromNodeWithID:nodeID
+ controller:self
+ type:type
+ timeout:timeout
+ queue:queue
+ completion:completion];
+}
+
@end
/**
* Shim to allow us to treat an MTRDevicePairingDelegate as an
* MTRDeviceControllerDelegate.
*/
-MTR_HIDDEN
@interface MTRDevicePairingDelegateShim : NSObject
@property (nonatomic, readonly) id delegate;
- (instancetype)initWithDelegate:(id)delegate;
@@ -1280,7 +1293,6 @@ - (void)onPairingDeleted:(NSError * _Nullable)error
* Shim to allow us to treat an MTRNOCChainIssuer as an
* MTROperationalCertificateIssuer.
*/
-MTR_HIDDEN
@interface MTROperationalCertificateChainIssuerShim : NSObject
@property (nonatomic, readonly) id nocChainIssuer;
@property (nonatomic, readonly) BOOL shouldSkipAttestationCertificateValidation;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.h b/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.h
index 3abab9ea48adcc..21adb966b80997 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerDataStore.h
@@ -30,7 +30,6 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Interface that represents a single CASE session resumption entry.
*/
-MTR_HIDDEN
@interface MTRCASESessionResumptionInfo : NSObject
@property (nonatomic) NSNumber * nodeID;
@property (nonatomic) NSData * resumptionID;
@@ -42,7 +41,6 @@ MTR_HIDDEN
* Interface that wraps a type-safe API around
* MTRDeviceControllerStorageDelegate.
*/
-MTR_HIDDEN
@interface MTRDeviceControllerDataStore : NSObject
- (nullable instancetype)initWithController:(MTRDeviceController *)controller
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm b/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm
index b87155b0f17b13..319c33fdac999e 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerFactory.mm
@@ -31,6 +31,7 @@
#import "MTRDeviceControllerStartupParams.h"
#import "MTRDeviceControllerStartupParams_Internal.h"
#import "MTRDeviceController_Internal.h"
+#import "MTRDiagnosticLogsDownloader.h"
#import "MTRError_Internal.h"
#import "MTRFabricInfo_Internal.h"
#import "MTRFramework.h"
@@ -133,6 +134,8 @@ @interface MTRDeviceControllerFactory ()
@property (nonatomic, readonly, nullable) id otaProviderDelegate;
@property (nonatomic, readonly, nullable) dispatch_queue_t otaProviderDelegateQueue;
+@property (nonatomic, readonly) MTRDiagnosticLogsDownloader * diagnosticLogsDownloader;
+
- (BOOL)findMatchingFabric:(FabricTable &)fabricTable
params:(MTRDeviceControllerStartupParams *)params
fabric:(const FabricInfo * _Nullable * _Nonnull)fabric;
@@ -332,6 +335,8 @@ - (void)cleanupStartupObjects
delete _persistentStorageDelegate;
_persistentStorageDelegate = nullptr;
}
+
+ _diagnosticLogsDownloader = nil;
}
- (CHIP_ERROR)_initFabricTable:(FabricTable &)fabricTable
@@ -1066,6 +1071,33 @@ - (nullable MTRDeviceController *)runningControllerForFabricIndex:(chip::FabricI
return [self runningControllerForFabricIndex:fabricIndex includeControllerStartingUp:YES includeControllerShuttingDown:YES];
}
+- (void)downloadLogFromNodeWithID:(NSNumber *)nodeID
+ controller:(MTRDeviceController *)controller
+ type:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+{
+ dispatch_sync(_chipWorkQueue, ^{
+ if (![self isRunning]) {
+ return;
+ }
+
+ if (_diagnosticLogsDownloader == nil) {
+ _diagnosticLogsDownloader = [[MTRDiagnosticLogsDownloader alloc] init];
+ auto systemState = _controllerFactory->GetSystemState();
+ systemState->BDXTransferServer()->SetDelegate([_diagnosticLogsDownloader getBridge]);
+ }
+
+ [_diagnosticLogsDownloader downloadLogFromNodeWithID:nodeID
+ controller:controller
+ type:type
+ timeout:timeout
+ queue:queue
+ completion:completion];
+ });
+}
+
- (void)operationalInstanceAdded:(chip::PeerId &)operationalID
{
assertChipStackLockedByCurrentThread();
@@ -1128,7 +1160,6 @@ - (PersistentStorageDelegate *)storageDelegate
@end
-MTR_HIDDEN
@interface MTRDummyStorage : NSObject
@end
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerFactory_Internal.h b/src/darwin/Framework/CHIP/MTRDeviceControllerFactory_Internal.h
index 72827d10131d89..e41300127be59e 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerFactory_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerFactory_Internal.h
@@ -22,6 +22,7 @@
#import
#import
#import
+#import
#if MTR_PER_CONTROLLER_STORAGE_ENABLED
#import
@@ -75,6 +76,16 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)operationalInstanceAdded:(chip::PeerId &)operationalID;
+/**
+ * Download log of the desired type from the device.
+ */
+- (void)downloadLogFromNodeWithID:(NSNumber *)nodeID
+ controller:(MTRDeviceController *)controller
+ type:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion;
+
/**
* Initialize an MTRDeviceController with the given parameters.
*/
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h
index b4c383b6481963..9616e22b7a494c 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerOverXPC.h
@@ -24,7 +24,6 @@ NS_ASSUME_NONNULL_BEGIN
typedef NSXPCConnection * _Nonnull (^MTRXPCConnectBlock)(void);
-MTR_HIDDEN
@interface MTRDeviceControllerOverXPC : MTRDeviceController
- (instancetype)init NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerParameters.h b/src/darwin/Framework/CHIP/MTRDeviceControllerParameters.h
index b9c72d5598f92b..73369cdf0d1361 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerParameters.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerParameters.h
@@ -14,7 +14,6 @@
* limitations under the License.
*/
-#import
#import
#if defined(MTR_INTERNAL_INCLUDE) && defined(MTR_INCLUDED_FROM_UMBRELLA_HEADER)
@@ -33,10 +32,9 @@ NS_ASSUME_NONNULL_BEGIN
* interfaces inheriting from this one should be used to actually do the
* initialization.
*/
-#if !MTR_PER_CONTROLLER_STORAGE_ENABLED
-MTR_HIDDEN
-#endif
+#if MTR_PER_CONTROLLER_STORAGE_ENABLED
MTR_NEWLY_AVAILABLE
+#endif
@interface MTRDeviceControllerAbstractParameters : NSObject
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@@ -46,10 +44,9 @@ MTR_NEWLY_AVAILABLE
* Parameters that can be used to initialize an MTRDeviceController which
* has a node identity.
*/
-#if !MTR_PER_CONTROLLER_STORAGE_ENABLED
-MTR_HIDDEN
-#endif
+#if MTR_PER_CONTROLLER_STORAGE_ENABLED
MTR_NEWLY_AVAILABLE
+#endif
@interface MTRDeviceControllerParameters : MTRDeviceControllerAbstractParameters
/**
@@ -92,10 +89,9 @@ MTR_NEWLY_AVAILABLE
@end
-#if !MTR_PER_CONTROLLER_STORAGE_ENABLED
-MTR_HIDDEN
-#endif
+#if MTR_PER_CONTROLLER_STORAGE_ENABLED
MTR_NEWLY_AVAILABLE
+#endif
@interface MTRDeviceControllerExternalCertificateParameters : MTRDeviceControllerParameters
- (instancetype)init NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h
index 76dd5a9c8d5d04..f9cabae78b3418 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams.h
@@ -24,6 +24,7 @@ NS_ASSUME_NONNULL_BEGIN
@protocol MTRKeypair;
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRDeviceControllerStartupParams : NSObject
- (instancetype)init NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h
index 71e6a74f5688f3..66ced06e8e1673 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStartupParams_Internal.h
@@ -91,7 +91,6 @@ NS_ASSUME_NONNULL_BEGIN
@end
-MTR_HIDDEN
@interface MTRDeviceControllerStartupParamsInternal : MTRDeviceControllerStartupParams
// Fabric table we can use to do things like allocate operational keys.
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerStorageDelegate.h b/src/darwin/Framework/CHIP/MTRDeviceControllerStorageDelegate.h
index 2a322eb07f799a..dd8bdd07366498 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerStorageDelegate.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerStorageDelegate.h
@@ -67,7 +67,9 @@ typedef NS_ENUM(NSUInteger, MTRStorageSharingType) {
* stored and calling MTRDeviceControllerStorageClasses(), is likely to lead
* to deadlocks.
*/
+#if MTR_PER_CONTROLLER_STORAGE_ENABLED
MTR_NEWLY_AVAILABLE
+#endif
@protocol MTRDeviceControllerStorageDelegate
@required
/**
@@ -113,11 +115,10 @@ MTR_NEWLY_AVAILABLE
// TODO: FIXME: Is this a sane place to put this API?
#if MTR_PER_CONTROLLER_STORAGE_ENABLED
-MTR_EXTERN
-#else
-MTR_HIDDEN
-#endif // MTR_PER_CONTROLLER_STORAGE_ENABLED
-MTR_NEWLY_AVAILABLE NSSet * MTRDeviceControllerStorageClasses(void);
+MTR_EXTERN MTR_NEWLY_AVAILABLE
+#endif
+ NSSet *
+ MTRDeviceControllerStorageClasses(void);
NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h b/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h
index 0dc4592f2ea981..641413b82c9084 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceControllerXPCConnection.h
@@ -29,7 +29,6 @@ typedef void (^MTRXPCReportHandler)(id _Nullable values, NSError * _Nullable err
* Releasing the handle may cause invalidating the XPC connection. Hence, in order to retain the connection, the handle must not be
* released.
*/
-MTR_HIDDEN
@interface MTRDeviceControllerXPCProxyHandle : NSObject
@property (nonatomic, readonly, getter=proxy) id proxy;
@@ -43,7 +42,6 @@ typedef void (^MTRGetProxyHandleHandler)(dispatch_queue_t queue, MTRDeviceContro
*
* This class is in charge of making a new XPC connection and disconnecting as needed by the clients and by the report handlers.
*/
-MTR_HIDDEN
@interface MTRDeviceControllerXPCConnection : NSObject
/**
diff --git a/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h b/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h
index 6bc64e03d8594a..92873cf4016b9e 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceController_Internal.h
@@ -33,6 +33,7 @@
#import
#import
+#import
#if MTR_PER_CONTROLLER_STORAGE_ENABLED
#import
#else
@@ -233,6 +234,15 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (void)operationalInstanceAdded:(chip::NodeId)nodeID;
+/**
+ * Download log of the desired type from the device.
+ */
+- (void)downloadLogFromNodeWithID:(NSNumber *)nodeID
+ type:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion;
+
#pragma mark - Device-specific data and SDK access
// DeviceController will act as a central repository for this opaque dictionary that MTRDevice manages
- (MTRDevice *)deviceForNodeID:(NSNumber *)nodeID;
diff --git a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h
index c7da1f211110e0..dadd7b4bf50e88 100644
--- a/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h
+++ b/src/darwin/Framework/CHIP/MTRDeviceOverXPC.h
@@ -25,7 +25,6 @@
NS_ASSUME_NONNULL_BEGIN
-MTR_HIDDEN
@interface MTRDeviceOverXPC : MTRBaseDevice
- (instancetype)init NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRDiagnosticLogsDownloader.h b/src/darwin/Framework/CHIP/MTRDiagnosticLogsDownloader.h
new file mode 100644
index 00000000000000..f10fea520fb4fb
--- /dev/null
+++ b/src/darwin/Framework/CHIP/MTRDiagnosticLogsDownloader.h
@@ -0,0 +1,42 @@
+/**
+ *
+ * Copyright (c) 2024 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
+
+#import
+#import
+
+namespace chip {
+namespace bdx {
+ class BDXTransferServerDelegate;
+}
+}
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface MTRDiagnosticLogsDownloader : NSObject
+- (chip::bdx::BDXTransferServerDelegate *)getBridge;
+
+- (void)downloadLogFromNodeWithID:(NSNumber *)nodeID
+ controller:(MTRDeviceController *)controller
+ type:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion;
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/src/darwin/Framework/CHIP/MTRDiagnosticLogsDownloader.mm b/src/darwin/Framework/CHIP/MTRDiagnosticLogsDownloader.mm
new file mode 100644
index 00000000000000..4814b37d7a82f4
--- /dev/null
+++ b/src/darwin/Framework/CHIP/MTRDiagnosticLogsDownloader.mm
@@ -0,0 +1,630 @@
+/**
+ *
+ * Copyright (c) 2024 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 "MTRDiagnosticLogsDownloader.h"
+
+#include
+
+#import "MTRDeviceControllerFactory_Internal.h"
+#import "MTRDeviceController_Internal.h"
+#import "MTRError_Internal.h"
+#import "MTRLogging_Internal.h"
+#import "NSDataSpanConversion.h"
+#import "NSStringSpanConversion.h"
+
+#import "zap-generated/MTRClusters.h"
+
+typedef void (^AbortHandler)(NSError * error);
+
+static NSString * const kErrorInitDiagnosticLogsDownloader = @"Init failure while initializing Diagnostic Logs bridge.";
+static NSString * const kEndUserSupport = @"EndUserSupport";
+static NSString * const kNetworkDiagnostics = @"NetworkDiagnostics";
+static NSString * const kCrash = @"Crash";
+
+constexpr uint8_t kDiagnosticLogsEndPoint = 0;
+
+class DiagnosticLogsDownloaderBridge;
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface Download : NSObject
+@property (nonatomic) NSString * fileDesignator;
+@property (nonatomic) NSNumber * fabricIndex;
+@property (nonatomic) NSNumber * nodeID;
+@property (nonatomic) NSURL * fileURL;
+@property (nonatomic) NSFileHandle * fileHandle;
+@property (nonatomic) AbortHandler abortHandler;
+@property (nonatomic) MTRStatusCompletion finalize;
+
+- (instancetype)initWithType:(MTRDiagnosticLogType)type
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+ done:(void (^)(Download * finishedDownload))done;
+
+- (void)writeToFile:(NSData *)data error:(out NSError **)error;
+
+- (BOOL)compare:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID;
+
+- (void)checkInteractionModelResponse:(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable)response error:(NSError * _Nullable)error;
+
+- (void)success;
+- (void)failure:(NSError * _Nullable)error;
+@end
+
+@interface Downloads : NSObject
+@property (nonatomic, strong) NSMutableArray * downloads;
+
+- (Download * _Nullable)get:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID;
+
+- (Download * _Nullable)add:(MTRDiagnosticLogType)type
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+ done:(void (^)(Download * finishedDownload))done;
+@end
+
+@interface MTRDiagnosticLogsDownloader ()
+@property (readonly) DiagnosticLogsDownloaderBridge * bridge;
+@property (nonatomic, strong) Downloads * downloads;
+
+/**
+ * Notify the delegate when a BDX Session starts for some logs.
+ *
+ * If completion is passed a non-nil error, that will be converted into
+ * an error response to the BDX initiatior. Otherwise a success response will be sent.
+ */
+- (void)handleBDXTransferSessionBeginForFileDesignator:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ completion:(MTRStatusCompletion)completion
+ abortHandler:(AbortHandler)abortHandler;
+
+/**
+ * Notify the delegate when some data is received on the BDX Session.
+ *
+ * If completion is passed a non-nil error, that will be converted into
+ * an error response to the sender. Otherwise a success response will be sent.
+ */
+- (void)handleBDXTransferSessionDataForFileDesignator:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ data:(NSData *)data
+ completion:(MTRStatusCompletion)completion;
+
+/**
+ * Notify the delegate when a BDX Session ends for some logs.
+ */
+- (void)handleBDXTransferSessionEndForFileDesignator:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ error:(NSError * _Nullable)error;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+class DiagnosticLogsDownloaderBridge : public chip::bdx::BDXTransferServerDelegate {
+public:
+ DiagnosticLogsDownloaderBridge(MTRDiagnosticLogsDownloader * delegate);
+ ~DiagnosticLogsDownloaderBridge();
+
+ /////////// BDXTransferServerDelegate Interface /////////
+ CHIP_ERROR OnTransferBegin(chip::bdx::BDXTransferProxy * transfer) override;
+ CHIP_ERROR OnTransferEnd(chip::bdx::BDXTransferProxy * transfer, CHIP_ERROR error) override;
+ CHIP_ERROR OnTransferData(chip::bdx::BDXTransferProxy * transfer, const chip::ByteSpan & data) override;
+
+ CHIP_ERROR StartBDXTransferTimeout(Download * download, uint16_t timeoutInSeconds);
+ void CancelBDXTransferTimeout(Download * download);
+
+private:
+ static void OnTransferTimeout(chip::System::Layer * layer, void * context);
+ MTRDiagnosticLogsDownloader * mDelegate;
+ AbortHandler mAbortHandler;
+};
+
+@implementation Download
+- (instancetype)initWithType:(MTRDiagnosticLogType)type
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+ done:(void (^)(Download * finishedDownload))done;
+{
+ self = [super init];
+ if (self) {
+ auto * fileDesignator = [self _toFileDesignatorString:type nodeID:nodeID];
+ auto * fileURL = [self _toFileURL:type nodeID:nodeID];
+
+ __weak typeof(self) weakSelf = self;
+ auto bdxTransferDone = ^(NSError * bdxError) {
+ dispatch_async(queue, ^{
+ Download * strongSelf = weakSelf;
+ if (strongSelf) {
+ // If a fileHandle exists, it means that the BDX session has been initiated and a file has
+ // been created to host the data of the session. So even if there is an error it may be some
+ // data in the logs that the caller may find useful. For this reason, fileURL is passed in even
+ // when there is an error but fileHandle is not nil.
+ completion(strongSelf->_fileHandle ? fileURL : nil, bdxError);
+ [strongSelf deleteFile];
+
+ done(strongSelf);
+ }
+ });
+ };
+
+ _fileDesignator = fileDesignator;
+ _fabricIndex = fabricIndex;
+ _nodeID = nodeID;
+ _fileURL = fileURL;
+ _fileHandle = nil;
+ _finalize = bdxTransferDone;
+ }
+ return self;
+}
+
+- (void)checkInteractionModelResponse:(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable)response error:(NSError * _Nullable)error
+{
+ VerifyOrReturn(nil == error, [self failure:error]);
+
+ auto status = response.status;
+
+ VerifyOrReturn(![status isEqual:@(MTRDiagnosticLogsStatusBusy)], [self failure:[MTRError errorForCHIPErrorCode:CHIP_ERROR_BUSY]]);
+ VerifyOrReturn(![status isEqual:@(MTRDiagnosticLogsStatusDenied)], [self failure:[MTRError errorForCHIPErrorCode:CHIP_ERROR_ACCESS_DENIED]]);
+
+ // If there is not logs for the given type, forward it to the caller with a nil url and stop here.
+ VerifyOrReturn(![status isEqual:@(MTRDiagnosticLogsStatusNoLogs)], [self success]);
+
+ // If the whole log content fits into the response LogContent field, forward it to the caller
+ // and stop here.
+ if ([status isEqual:@(MTRDiagnosticLogsStatusExhausted)]) {
+ NSError * writeError = nil;
+ [self writeToFile:response.logContent error:&writeError];
+ VerifyOrReturn(nil == writeError, [self failure:[MTRError errorForCHIPErrorCode:CHIP_ERROR_INTERNAL]]);
+
+ [self success];
+ return;
+ };
+
+ // The file is going to be transferred over BDX. Everything past this point will be handled in bdxTransferDone.
+}
+
+- (void)createFile:(NSError **)error
+{
+ VerifyOrReturn(nil == _fileHandle);
+
+ auto * fileManager = [NSFileManager defaultManager];
+ [fileManager URLForDirectory:NSItemReplacementDirectory
+ inDomain:NSUserDomainMask
+ appropriateForURL:_fileURL
+ create:YES
+ error:error];
+ VerifyOrReturn(nil == *error);
+
+ BOOL success = [fileManager createFileAtPath:[_fileURL path] contents:nil attributes:nil];
+ VerifyOrReturn(success, *error = [MTRError errorForCHIPErrorCode:CHIP_ERROR_INTERNAL]);
+
+ auto * fileHandle = [NSFileHandle fileHandleForWritingToURL:_fileURL error:error];
+ VerifyOrReturn(nil == *error);
+
+ _fileHandle = fileHandle;
+}
+
+- (void)deleteFile
+{
+ VerifyOrReturn(nil != _fileHandle);
+
+ NSError * error = nil;
+ [[NSFileManager defaultManager] removeItemAtPath:[_fileURL path] error:&error];
+ if (nil != error) {
+ // There is an error but there is really not much we can do at that point besides logging it.
+ MTR_LOG_ERROR("Error: %@", error);
+ }
+}
+
+- (void)writeToFile:(NSData *)data error:(out NSError **)error
+{
+ [self createFile:error];
+ [_fileHandle seekToEndOfFile];
+ [_fileHandle writeData:data error:error];
+}
+
+- (BOOL)compare:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+{
+ return [_fileDesignator isEqualToString:fileDesignator] && _fabricIndex == fabricIndex && _nodeID == nodeID;
+}
+
+- (void)failure:(NSError * _Nullable)error
+{
+ _finalize(error);
+}
+
+- (void)success
+{
+ _finalize(nil);
+}
+
+- (NSURL *)_toFileURL:(MTRDiagnosticLogType)type nodeID:(NSNumber *)nodeID
+{
+ auto * dateFormatter = [[NSDateFormatter alloc] init];
+ dateFormatter.dateFormat = @"yyyy-MM-dd_HH:mm:ss.SSSZZZ";
+ auto * timeString = [dateFormatter stringFromDate:NSDate.now];
+ auto * nodeIDString = [self _toNodeIDString:nodeID];
+ auto * typeString = [self _toTypeString:type];
+ auto * filename = [NSString stringWithFormat:@"%@_%@_%@", timeString, nodeIDString, typeString];
+ return [NSURL fileURLWithPath:[NSTemporaryDirectory() stringByAppendingPathComponent:filename] isDirectory:YES];
+}
+
+- (NSString *)_toFileDesignatorString:(MTRDiagnosticLogType)type nodeID:(NSNumber *)nodeID
+{
+ auto * nodeIDString = [self _toNodeIDString:nodeID];
+ auto * typeString = [self _toTypeString:type];
+ auto * fileDesignator = [NSString stringWithFormat:@"bdx://%@/%@", nodeIDString, typeString];
+ auto substringIndex = MIN(chip::bdx::DiagnosticLogs::kMaxFileDesignatorLen, [fileDesignator length]);
+ return [fileDesignator substringToIndex:substringIndex];
+}
+
+- (NSString *)_toNodeIDString:(NSNumber *)nodeID
+{
+ return [NSString stringWithFormat:@"%016llX", nodeID.unsignedLongLongValue];
+}
+
+- (NSString *)_toTypeString:(MTRDiagnosticLogType)type
+{
+ switch (type) {
+ case MTRDiagnosticLogTypeEndUserSupport:
+ return kEndUserSupport;
+ case MTRDiagnosticLogTypeNetworkDiagnostics:
+ return kNetworkDiagnostics;
+ case MTRDiagnosticLogTypeCrash:
+ return kCrash;
+ default:
+ // This should never happen.
+ chipDie();
+ }
+}
+
+@end
+
+@implementation Downloads
+- (instancetype)init
+{
+ if (self = [super init]) {
+ _downloads = [[NSMutableArray alloc] init];
+ }
+ return self;
+}
+
+- (void)dealloc
+{
+ auto error = [MTRError errorForCHIPErrorCode:CHIP_ERROR_INTERNAL];
+ for (Download * download in _downloads) {
+ [download failure:error];
+ }
+ _downloads = nil;
+}
+
+- (Download * _Nullable)get:(NSString *)fileDesignator fabricIndex:(NSNumber *)fabricIndex nodeID:(NSNumber *)nodeID
+{
+ for (Download * download in _downloads) {
+ if ([download compare:fileDesignator fabricIndex:fabricIndex nodeID:nodeID]) {
+ return download;
+ }
+ }
+
+ return nil;
+}
+
+- (Download * _Nullable)add:(MTRDiagnosticLogType)type
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion
+ done:(void (^)(Download * finishedDownload))done
+{
+ auto download = [[Download alloc] initWithType:type fabricIndex:fabricIndex nodeID:nodeID queue:queue completion:completion done:done];
+ VerifyOrReturnValue(nil != download, nil);
+
+ [_downloads addObject:download];
+ return download;
+}
+
+- (void)remove:(Download *)download
+{
+ [_downloads removeObject:download];
+}
+@end
+
+@implementation MTRDiagnosticLogsDownloader
+- (instancetype)init
+{
+ assertChipStackLockedByCurrentThread();
+
+ if (self = [super init]) {
+ _downloads = [[Downloads alloc] init];
+ _bridge = new DiagnosticLogsDownloaderBridge(self);
+ if (_bridge == nullptr) {
+ MTR_LOG_ERROR("Error: %@", kErrorInitDiagnosticLogsDownloader);
+ return nil;
+ }
+ }
+ return self;
+}
+
+- (void)dealloc
+{
+ if (_bridge) {
+ delete _bridge;
+ _bridge = nil;
+ }
+ _downloads = nil;
+}
+
+- (chip::bdx::BDXTransferServerDelegate *)getBridge
+{
+ return _bridge;
+}
+
+- (void)downloadLogFromNodeWithID:(NSNumber *)nodeID
+ controller:(MTRDeviceController *)controller
+ type:(MTRDiagnosticLogType)type
+ timeout:(NSTimeInterval)timeout
+ queue:(dispatch_queue_t)queue
+ completion:(void (^)(NSURL * _Nullable url, NSError * _Nullable error))completion;
+{
+ assertChipStackLockedByCurrentThread();
+
+ uint16_t timeoutInSeconds = 0;
+ if (timeout <= 0) {
+ timeoutInSeconds = 0;
+ } else if (timeout > UINT16_MAX) {
+ MTR_LOG_INFO("Warning: timeout is too large. It will be truncated to UINT16_MAX.");
+ timeoutInSeconds = UINT16_MAX;
+ } else {
+ timeoutInSeconds = static_cast(timeout);
+ }
+
+ // This block is always called when a download is finished.
+ auto done = ^(Download * finishedDownload) {
+ [controller asyncDispatchToMatterQueue:^() {
+ [self->_downloads remove:finishedDownload];
+
+ if (timeoutInSeconds > 0) {
+ self->_bridge->CancelBDXTransferTimeout(finishedDownload);
+ }
+ } errorHandler:nil];
+ };
+
+ auto fabricIndex = @(controller.fabricIndex);
+ auto download = [_downloads add:type fabricIndex:fabricIndex nodeID:nodeID queue:queue completion:completion done:done];
+ VerifyOrReturn(nil != download,
+ dispatch_async(queue, ^{ completion(nil, [MTRError errorForCHIPErrorCode:CHIP_ERROR_INTERNAL]); }));
+
+ auto interactionModelDone = ^(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable response, NSError * _Nullable error) {
+ [download checkInteractionModelResponse:response error:error];
+ };
+
+ auto * device = [controller deviceForNodeID:nodeID];
+ auto * cluster = [[MTRClusterDiagnosticLogs alloc] initWithDevice:device endpointID:@(kDiagnosticLogsEndPoint) queue:queue];
+
+ auto * params = [[MTRDiagnosticLogsClusterRetrieveLogsRequestParams alloc] init];
+ params.intent = @(type);
+ params.requestedProtocol = @(MTRDiagnosticLogsTransferProtocolBDX);
+ params.transferFileDesignator = download.fileDesignator;
+
+ [cluster retrieveLogsRequestWithParams:params expectedValues:nil expectedValueInterval:nil completion:interactionModelDone];
+
+ if (timeoutInSeconds > 0) {
+ auto err = _bridge->StartBDXTransferTimeout(download, timeoutInSeconds);
+ VerifyOrReturn(CHIP_NO_ERROR == err, [download failure:[MTRError errorForCHIPErrorCode:err]]);
+ }
+}
+
+- (void)handleBDXTransferSessionBeginForFileDesignator:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ completion:(MTRStatusCompletion)completion
+ abortHandler:(AbortHandler)abortHandler;
+{
+ assertChipStackLockedByCurrentThread();
+ MTR_LOG_DEFAULT("BDX Transfer Session Begin: %@", fileDesignator);
+
+ auto * download = [_downloads get:fileDesignator fabricIndex:fabricIndex nodeID:nodeID];
+ VerifyOrReturn(nil != download, completion([MTRError errorForCHIPErrorCode:CHIP_ERROR_NOT_FOUND]));
+
+ download.abortHandler = abortHandler;
+ completion(nil);
+}
+
+- (void)handleBDXTransferSessionDataForFileDesignator:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ data:(NSData *)data
+ completion:(MTRStatusCompletion)completion
+{
+ assertChipStackLockedByCurrentThread();
+ MTR_LOG_DEFAULT("BDX Transfer Session Data: %@: %@", fileDesignator, data);
+
+ auto * download = [_downloads get:fileDesignator fabricIndex:fabricIndex nodeID:nodeID];
+ VerifyOrReturn(nil != download, completion([MTRError errorForCHIPErrorCode:CHIP_ERROR_NOT_FOUND]));
+
+ NSError * error = nil;
+ [download writeToFile:data error:&error];
+ VerifyOrReturn(nil != error, completion(error));
+
+ completion(nil);
+}
+
+- (void)handleBDXTransferSessionEndForFileDesignator:(NSString *)fileDesignator
+ fabricIndex:(NSNumber *)fabricIndex
+ nodeID:(NSNumber *)nodeID
+ error:(NSError * _Nullable)error
+{
+ assertChipStackLockedByCurrentThread();
+ MTR_LOG_DEFAULT("BDX Transfer Session End: %@: %@", fileDesignator, error);
+
+ auto * download = [_downloads get:fileDesignator fabricIndex:fabricIndex nodeID:nodeID];
+ VerifyOrReturn(nil != download);
+
+ VerifyOrReturn(nil == error, [download failure:error]);
+ [download success];
+}
+@end
+
+DiagnosticLogsDownloaderBridge::DiagnosticLogsDownloaderBridge(MTRDiagnosticLogsDownloader * delegate)
+{
+ mDelegate = delegate;
+}
+
+DiagnosticLogsDownloaderBridge::~DiagnosticLogsDownloaderBridge()
+{
+ mDelegate = nil;
+}
+
+CHIP_ERROR DiagnosticLogsDownloaderBridge::OnTransferBegin(chip::bdx::BDXTransferProxy * transfer)
+{
+ VerifyOrReturnError(nil != mDelegate, CHIP_ERROR_INCORRECT_STATE);
+
+ auto fileDesignatorSpan = transfer->GetFileDesignator();
+ auto fileDesignator = AsString(fileDesignatorSpan);
+ VerifyOrReturnError(nil != fileDesignator, CHIP_ERROR_INCORRECT_STATE);
+
+ auto * fabricIndex = @(transfer->GetFabricIndex());
+ auto * nodeId = @(transfer->GetPeerNodeId());
+
+ auto completionHandler = ^(NSError * _Nullable error) {
+ assertChipStackLockedByCurrentThread();
+
+ if (error != nil) {
+ auto err = [MTRError errorToCHIPErrorCode:error];
+ transfer->Reject(err);
+ } else {
+ transfer->Accept();
+ }
+ };
+
+ // Ideally we would like to handle aborts a bit differently since this only works
+ // because our BDX stack supports one transfer at a time.
+ mAbortHandler = ^(NSError * error) {
+ assertChipStackLockedByCurrentThread();
+ auto err = [MTRError errorToCHIPErrorCode:error];
+ transfer->Reject(err);
+ };
+
+ [mDelegate handleBDXTransferSessionBeginForFileDesignator:fileDesignator
+ fabricIndex:fabricIndex
+ nodeID:nodeId
+ completion:completionHandler
+ abortHandler:mAbortHandler];
+ return CHIP_NO_ERROR;
+}
+
+CHIP_ERROR DiagnosticLogsDownloaderBridge::OnTransferEnd(chip::bdx::BDXTransferProxy * transfer, CHIP_ERROR error)
+{
+ VerifyOrReturnError(nil != mDelegate, CHIP_ERROR_INCORRECT_STATE);
+
+ auto fileDesignatorSpan = transfer->GetFileDesignator();
+ auto fileDesignator = AsString(fileDesignatorSpan);
+ VerifyOrReturnError(nil != fileDesignator, CHIP_ERROR_INCORRECT_STATE);
+
+ NSError * mtrError = nil;
+ if (CHIP_NO_ERROR != error) {
+ mtrError = [MTRError errorForCHIPErrorCode:error];
+ }
+
+ auto * fabricIndex = @(transfer->GetFabricIndex());
+ auto * nodeId = @(transfer->GetPeerNodeId());
+ [mDelegate handleBDXTransferSessionEndForFileDesignator:fileDesignator
+ fabricIndex:fabricIndex
+ nodeID:nodeId
+ error:mtrError];
+ return CHIP_NO_ERROR;
+}
+
+CHIP_ERROR DiagnosticLogsDownloaderBridge::OnTransferData(chip::bdx::BDXTransferProxy * transfer, const chip::ByteSpan & dataSpan)
+{
+ VerifyOrReturnError(nil != mDelegate, CHIP_ERROR_INCORRECT_STATE);
+
+ auto fileDesignatorSpan = transfer->GetFileDesignator();
+ auto fileDesignator = AsString(fileDesignatorSpan);
+ VerifyOrReturnError(nil != fileDesignator, CHIP_ERROR_INCORRECT_STATE);
+
+ auto * fabricIndex = @(transfer->GetFabricIndex());
+ auto * nodeId = @(transfer->GetPeerNodeId());
+
+ auto data = AsData(dataSpan);
+ VerifyOrReturnError(nil != data, CHIP_ERROR_INCORRECT_STATE);
+
+ auto completionHandler = ^(NSError * _Nullable error) {
+ assertChipStackLockedByCurrentThread();
+
+ if (error != nil) {
+ auto err = [MTRError errorToCHIPErrorCode:error];
+ transfer->Reject(err);
+ } else {
+ transfer->Continue();
+ }
+ };
+
+ mAbortHandler = nil;
+
+ [mDelegate handleBDXTransferSessionDataForFileDesignator:fileDesignator
+ fabricIndex:fabricIndex
+ nodeID:nodeId
+ data:data
+ completion:completionHandler];
+ return CHIP_NO_ERROR;
+}
+
+CHIP_ERROR DiagnosticLogsDownloaderBridge::StartBDXTransferTimeout(Download * download, uint16_t timeoutInSeconds)
+{
+ assertChipStackLockedByCurrentThread();
+ return chip::DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Seconds16(timeoutInSeconds), OnTransferTimeout, (__bridge void *) download);
+}
+
+void DiagnosticLogsDownloaderBridge::CancelBDXTransferTimeout(Download * download)
+{
+ assertChipStackLockedByCurrentThread();
+ chip::DeviceLayer::SystemLayer().CancelTimer(OnTransferTimeout, (__bridge void *) download);
+}
+
+void DiagnosticLogsDownloaderBridge::OnTransferTimeout(chip::System::Layer * layer, void * context)
+{
+ assertChipStackLockedByCurrentThread();
+
+ auto * download = (__bridge Download *) context;
+ VerifyOrReturn(nil != download);
+
+ // If there is no abortHandler, it means that the BDX transfer has not started.
+ // When a BDX transfer has started we need to abort the transfer and we would error out
+ // at next poll. We would end up calling OnTransferEnd and eventually [download failure:error].
+ // But if the transfer has not started we would stop right now.
+ auto error = [MTRError errorForCHIPErrorCode:CHIP_ERROR_TIMEOUT];
+ if (download.abortHandler == nil) {
+ [download failure:error];
+ } else {
+ download.abortHandler(error);
+ }
+}
diff --git a/src/darwin/Framework/CHIP/MTRDiagnosticLogsType.h b/src/darwin/Framework/CHIP/MTRDiagnosticLogsType.h
new file mode 100644
index 00000000000000..7d8675903329bb
--- /dev/null
+++ b/src/darwin/Framework/CHIP/MTRDiagnosticLogsType.h
@@ -0,0 +1,27 @@
+/**
+ *
+ * Copyright (c) 2024 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 enum is used to specify the type of log requested from this device.
+ *
+ * The log types are : End User Support, Network Diagnostics and Crash logs.
+ */
+typedef NS_ENUM(NSInteger, MTRDiagnosticLogType) {
+ MTRDiagnosticLogTypeEndUserSupport = 0, // End user support log is requested
+ MTRDiagnosticLogTypeNetworkDiagnostics = 1, // Network Diagnostics log is requested
+ MTRDiagnosticLogTypeCrash = 2 // Crash log is requested
+} MTR_NEWLY_AVAILABLE;
diff --git a/src/darwin/Framework/CHIP/MTRError.h b/src/darwin/Framework/CHIP/MTRError.h
index 1abc415a35b0d1..a2bea3e5a49e40 100644
--- a/src/darwin/Framework/CHIP/MTRError.h
+++ b/src/darwin/Framework/CHIP/MTRError.h
@@ -20,9 +20,9 @@
#import
NS_ASSUME_NONNULL_BEGIN
-FOUNDATION_EXPORT NSErrorDomain const MTRErrorDomain;
-FOUNDATION_EXPORT NSErrorDomain const MTRInteractionErrorDomain;
+MTR_EXTERN NSErrorDomain const MTRErrorDomain MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN NSErrorDomain const MTRInteractionErrorDomain MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
/**
* MTRErrorDomain contains errors caused by data processing the framework
diff --git a/src/darwin/Framework/CHIP/MTRError.mm b/src/darwin/Framework/CHIP/MTRError.mm
index 8d326a098f3681..9f7c0938b41c61 100644
--- a/src/darwin/Framework/CHIP/MTRError.mm
+++ b/src/darwin/Framework/CHIP/MTRError.mm
@@ -34,7 +34,6 @@
// Class for holding on to a CHIP_ERROR that we can use as the value
// in a dictionary.
-MTR_HIDDEN
@interface MTRErrorHolder : NSObject
@property (nonatomic, readonly) CHIP_ERROR error;
diff --git a/src/darwin/Framework/CHIP/MTRError_Internal.h b/src/darwin/Framework/CHIP/MTRError_Internal.h
index 8fb49d97f08237..9997118ae95191 100644
--- a/src/darwin/Framework/CHIP/MTRError_Internal.h
+++ b/src/darwin/Framework/CHIP/MTRError_Internal.h
@@ -25,7 +25,6 @@
NS_ASSUME_NONNULL_BEGIN
-MTR_HIDDEN
@interface MTRError : NSObject
+ (NSError * _Nullable)errorForCHIPErrorCode:(CHIP_ERROR)errorCode;
+ (NSError * _Nullable)errorForIMStatus:(const chip::app::StatusIB &)status;
diff --git a/src/darwin/Framework/CHIP/MTROTAHeader.h b/src/darwin/Framework/CHIP/MTROTAHeader.h
index 4eb7bbac849f4b..60a2bcabdb1683 100644
--- a/src/darwin/Framework/CHIP/MTROTAHeader.h
+++ b/src/darwin/Framework/CHIP/MTROTAHeader.h
@@ -37,8 +37,9 @@ typedef NS_ENUM(NSUInteger, MTROTAImageDigestType) {
MTROTAImageDigestTypeSha3_256,
MTROTAImageDigestTypeSha3_384,
MTROTAImageDigestTypeSha3_512,
-};
+} MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTROTAHeader : NSObject
/**
diff --git a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm
index 6fe3c48a17548a..5e4843312ba4ff 100644
--- a/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm
+++ b/src/darwin/Framework/CHIP/MTROTAProviderDelegateBridge.mm
@@ -198,17 +198,6 @@ CHIP_ERROR OnMessageToSend(TransferSession::OutputEvent & event)
return err;
}
- bdx::StatusCode GetBdxStatusCodeFromChipError(CHIP_ERROR err)
- {
- if (err == CHIP_ERROR_INCORRECT_STATE) {
- return bdx::StatusCode::kUnexpectedMessage;
- }
- if (err == CHIP_ERROR_INVALID_ARGUMENT) {
- return bdx::StatusCode::kBadMessageContents;
- }
- return bdx::StatusCode::kUnknown;
- }
-
CHIP_ERROR OnTransferSessionBegin(TransferSession::OutputEvent & event)
{
assertChipStackLockedByCurrentThread();
diff --git a/src/darwin/Framework/CHIP/MTRSetupPayload.h b/src/darwin/Framework/CHIP/MTRSetupPayload.h
index 267e1d39f05f21..9d6466b9cbdc32 100644
--- a/src/darwin/Framework/CHIP/MTRSetupPayload.h
+++ b/src/darwin/Framework/CHIP/MTRSetupPayload.h
@@ -50,6 +50,7 @@ typedef NS_ENUM(NSUInteger, MTROptionalQRCodeInfoType) {
* An optional information item present in the QR code the setup payload was
* initialized from.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTROptionalQRCodeInfo : NSObject
@property (nonatomic, assign) MTROptionalQRCodeInfoType type MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
@@ -74,6 +75,7 @@ typedef NS_ENUM(NSUInteger, MTROptionalQRCodeInfoType) {
* creating from numeric code will not work, because some required information
* will be missing.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRSetupPayload : NSObject
@property (nonatomic, copy) NSNumber * version;
diff --git a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h
index 76cfdbb6b49d4e..2464f54d18070b 100644
--- a/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h
+++ b/src/darwin/Framework/CHIP/MTRThreadOperationalDataset.h
@@ -26,6 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
* The latter can be used to pass Thread network credentials via
* MTRCommissioningParameters.
*/
+MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRThreadOperationalDataset : NSObject
- (instancetype)init NS_UNAVAILABLE;
@@ -61,13 +62,13 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The expected lengths of each of the NSData fields in the MTRThreadOperationalDataset
*/
-extern size_t const MTRSizeThreadNetworkName;
-extern size_t const MTRSizeThreadExtendedPanId MTR_DEPRECATED(
+MTR_EXTERN size_t const MTRSizeThreadNetworkName MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN size_t const MTRSizeThreadExtendedPanId MTR_DEPRECATED(
"Please use MTRSizeThreadExtendedPANID", ios(16.1, 16.4), macos(13.0, 13.3), watchos(9.1, 9.4), tvos(16.1, 16.4));
-extern size_t const MTRSizeThreadExtendedPANID MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
-extern size_t const MTRSizeThreadMasterKey;
-extern size_t const MTRSizeThreadPSKc;
-extern size_t const MTRSizeThreadPANID MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
+MTR_EXTERN size_t const MTRSizeThreadExtendedPANID MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
+MTR_EXTERN size_t const MTRSizeThreadMasterKey MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN size_t const MTRSizeThreadPSKc MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1));
+MTR_EXTERN size_t const MTRSizeThreadPANID MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
/**
* The Thread Network name
diff --git a/src/darwin/Framework/CHIP/Matter.h b/src/darwin/Framework/CHIP/Matter.h
index 2cf62428bbfc2c..85f1399268f1a1 100644
--- a/src/darwin/Framework/CHIP/Matter.h
+++ b/src/darwin/Framework/CHIP/Matter.h
@@ -45,6 +45,7 @@
#import
#import
#import
+#import
#import
#import
#import
diff --git a/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt b/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt
index 42b20c0c6cb0ef..de92791826c666 100644
--- a/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRBaseClusters-src.zapt
@@ -91,7 +91,7 @@ MTR{{cluster}}Cluster{{command}}Params
{{/if}}
using RequestType = {{asUpperCamelCase parent.name}}::Commands::{{asUpperCamelCase name}}::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -127,7 +127,7 @@ MTR{{cluster}}Cluster{{command}}Params
(void (^)({{asObjectiveCClass type parent.name}} * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = {{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
{{#if_is_fabric_scoped_struct type}}
@@ -176,7 +176,7 @@ MTR{{cluster}}Cluster{{command}}Params
TypeInfo::Type cppValue;
{{>encode_value target="cppValue" source="value" cluster=parent.name errorCode="return CHIP_ERROR_INVALID_ARGUMENT;" depth=0}}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout);
});
std::move(*bridge).DispatchAction(self.device);
@@ -189,7 +189,7 @@ subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptio
reportHandler:(void (^)({{asObjectiveCClass type parent.name}} * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = {{asUpperCamelCase parent.name}}::Attributes::{{asUpperCamelCase name}}::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
diff --git a/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt b/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt
index 41027b72fa8cc2..c42b95e71ef9b7 100644
--- a/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt
+++ b/src/darwin/Framework/CHIP/templates/MTRClusters-src.zapt
@@ -72,7 +72,7 @@ MTR{{cluster}}Cluster{{command}}Params
{{/if}}
using RequestType = {{asUpperCamelCase parent.name}}::Commands::{{asUpperCamelCase name}}::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -107,7 +107,7 @@ MTR{{cluster}}Cluster{{command}}Params
{{#*inline "cluster"}}{{asUpperCamelCase parent.name preserveAcronyms=true}}{{/inline}}
{{#*inline "attribute"}}Attribute{{asUpperCamelCase name preserveAcronyms=true}}{{/inline}}
- (NSDictionary * _Nullable)read{{>attribute}}WithParams:(MTRReadParams * _Nullable)params {
- return [self.device readAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDType{{>cluster}}ID) attributeID:@(MTRAttributeIDTypeCluster{{>cluster}}{{>attribute}}ID) params:params];
+ return [self.device readAttributeWithEndpointID:self.endpointID clusterID:@(MTRClusterIDType{{>cluster}}ID) attributeID:@(MTRAttributeIDTypeCluster{{>cluster}}{{>attribute}}ID) params:params];
}
{{#if (or isWritableAttribute
@@ -126,7 +126,7 @@ MTR{{cluster}}Cluster{{command}}Params
}
{{/if}}
- [self.device writeAttributeWithEndpointID:@(self.endpoint) clusterID:@(MTRClusterIDType{{>cluster}}ID) attributeID:@(MTRAttributeIDTypeCluster{{>cluster}}{{>attribute}}ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout];
+ [self.device writeAttributeWithEndpointID:self.endpointID clusterID:@(MTRClusterIDType{{>cluster}}ID) attributeID:@(MTRAttributeIDTypeCluster{{>cluster}}{{>attribute}}ID) value:dataValueDictionary expectedValueInterval:expectedValueIntervalMs timedWriteTimeout:timedWriteTimeout];
}
{{/if}}
diff --git a/src/darwin/Framework/CHIP/templates/availability.yaml b/src/darwin/Framework/CHIP/templates/availability.yaml
index e1f129f9d0e763..4850889f6ce132 100644
--- a/src/darwin/Framework/CHIP/templates/availability.yaml
+++ b/src/darwin/Framework/CHIP/templates/availability.yaml
@@ -8544,6 +8544,10 @@
- release: "Future"
versions: "future"
provisional:
+ clusters:
+ # Targeting Spring 2024 Matter release
+ - EnergyEVSEMode
+ - DeviceEnergyManagementMode
attributes:
DoorLock:
# Aliro is not ready yet.
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm
index 409477e714aa42..afcc6d33e323c9 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeSpecifiedCheck.mm
@@ -6318,6 +6318,9 @@ static BOOL AttributeIsSpecifiedInUnitTestingCluster(AttributeId aAttributeId)
case Attributes::ClusterRevision::Id: {
return YES;
}
+ case Attributes::MeiInt8u::Id: {
+ return YES;
+ }
default: {
return NO;
}
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
index d70ed9476c0894..c1ed4f5b55baf5 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
@@ -18571,6 +18571,17 @@ static id _Nullable DecodeAttributeValueForUnitTestingCluster(AttributeId aAttri
value = [NSNumber numberWithUnsignedChar:cppValue];
return value;
}
+ case Attributes::MeiInt8u::Id: {
+ using TypeInfo = Attributes::MeiInt8u::TypeInfo;
+ TypeInfo::DecodableType cppValue;
+ *aError = DataModel::Decode(aReader, cppValue);
+ if (*aError != CHIP_NO_ERROR) {
+ return nil;
+ }
+ NSNumber * _Nonnull value;
+ value = [NSNumber numberWithUnsignedChar:cppValue];
+ return value;
+ }
default: {
break;
}
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
index b94528681b3308..c5df1be9dcf6de 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h
@@ -15149,6 +15149,12 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
* Second command that responds after sleepBeforeResponseTimeMs with an octet_string the size requested with fillCharacter.
*/
- (void)testSecondBatchHelperRequestWithParams:(MTRUnitTestingClusterTestSecondBatchHelperRequestParams *)params completion:(void (^)(MTRUnitTestingClusterTestBatchHelperResponseParams * _Nullable data, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
+/**
+ * Command TestDifferentVendorMeiRequest
+ *
+ * Command having a different MEI vendor ID than the cluster. Also emits TestDifferentVendorMeiEvent.
+ */
+- (void)testDifferentVendorMeiRequestWithParams:(MTRUnitTestingClusterTestDifferentVendorMeiRequestParams *)params completion:(void (^)(MTRUnitTestingClusterTestDifferentVendorMeiResponseParams * _Nullable data, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
- (void)readAttributeBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
- (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
@@ -15842,6 +15848,14 @@ MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4))
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_AVAILABLE(ios(16.4), macos(13.3), watchos(9.4), tvos(16.4));
+- (void)readAttributeMeiInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
+- (void)writeAttributeMeiInt8uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
+- (void)writeAttributeMeiInt8uWithValue:(NSNumber * _Nonnull)value params:(MTRWriteParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_PROVISIONALLY_AVAILABLE;
+- (void)subscribeAttributeMeiInt8uWithParams:(MTRSubscribeParams *)params
+ subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
+ reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler MTR_PROVISIONALLY_AVAILABLE;
++ (void)readAttributeMeiInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer endpoint:(NSNumber *)endpoint queue:(dispatch_queue_t)queue completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE;
+
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
index 21983a269060d0..5cc698604d8bb2 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
@@ -76,7 +76,7 @@ - (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params completion
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Identify::Commands::Identify::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -100,7 +100,7 @@ - (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Identify::Commands::TriggerEffect::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -114,7 +114,7 @@ - (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params
- (void)readAttributeIdentifyTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::IdentifyTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -145,7 +145,7 @@ - (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value params:(M
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -155,7 +155,7 @@ - (void)subscribeAttributeIdentifyTimeWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::IdentifyTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -178,7 +178,7 @@ + (void)readAttributeIdentifyTimeWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeIdentifyTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::IdentifyType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -191,7 +191,7 @@ - (void)subscribeAttributeIdentifyTypeWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::IdentifyType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -214,7 +214,7 @@ + (void)readAttributeIdentifyTypeWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -227,7 +227,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -250,7 +250,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -263,7 +263,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -286,7 +286,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -299,7 +299,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -322,7 +322,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -335,7 +335,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -358,7 +358,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -371,7 +371,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -394,7 +394,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Identify::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -407,7 +407,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Identify::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -720,7 +720,7 @@ - (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params completion:(
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Groups::Commands::AddGroup::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -744,7 +744,7 @@ - (void)viewGroupWithParams:(MTRGroupsClusterViewGroupParams *)params completion
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Groups::Commands::ViewGroup::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -768,7 +768,7 @@ - (void)getGroupMembershipWithParams:(MTRGroupsClusterGetGroupMembershipParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Groups::Commands::GetGroupMembership::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -792,7 +792,7 @@ - (void)removeGroupWithParams:(MTRGroupsClusterRemoveGroupParams *)params comple
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Groups::Commands::RemoveGroup::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -820,7 +820,7 @@ - (void)removeAllGroupsWithParams:(MTRGroupsClusterRemoveAllGroupsParams * _Null
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Groups::Commands::RemoveAllGroups::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -844,7 +844,7 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Groups::Commands::AddGroupIfIdentifying::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -858,7 +858,7 @@ - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingPa
- (void)readAttributeNameSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::NameSupport::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -871,7 +871,7 @@ - (void)subscribeAttributeNameSupportWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::NameSupport::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -894,7 +894,7 @@ + (void)readAttributeNameSupportWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -907,7 +907,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -930,7 +930,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -943,7 +943,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -966,7 +966,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -979,7 +979,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1002,7 +1002,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1015,7 +1015,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1038,7 +1038,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1051,7 +1051,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1074,7 +1074,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Groups::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1087,7 +1087,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Groups::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1397,7 +1397,7 @@ - (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params completion:(M
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OnOff::Commands::Off::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -1425,7 +1425,7 @@ - (void)onWithParams:(MTROnOffClusterOnParams * _Nullable)params completion:(MTR
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OnOff::Commands::On::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -1453,7 +1453,7 @@ - (void)toggleWithParams:(MTROnOffClusterToggleParams * _Nullable)params complet
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OnOff::Commands::Toggle::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -1477,7 +1477,7 @@ - (void)offWithEffectWithParams:(MTROnOffClusterOffWithEffectParams *)params com
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OnOff::Commands::OffWithEffect::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -1505,7 +1505,7 @@ - (void)onWithRecallGlobalSceneWithParams:(MTROnOffClusterOnWithRecallGlobalScen
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OnOff::Commands::OnWithRecallGlobalScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -1529,7 +1529,7 @@ - (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params c
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OnOff::Commands::OnWithTimedOff::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -1543,7 +1543,7 @@ - (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params c
- (void)readAttributeOnOffWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::OnOff::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1556,7 +1556,7 @@ - (void)subscribeAttributeOnOffWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::OnOff::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1579,7 +1579,7 @@ + (void)readAttributeOnOffWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeGlobalSceneControlWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::GlobalSceneControl::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1592,7 +1592,7 @@ - (void)subscribeAttributeGlobalSceneControlWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::GlobalSceneControl::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1615,7 +1615,7 @@ + (void)readAttributeGlobalSceneControlWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeOnTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::OnTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1646,7 +1646,7 @@ - (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value params:(MTRWrit
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -1656,7 +1656,7 @@ - (void)subscribeAttributeOnTimeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::OnTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1679,7 +1679,7 @@ + (void)readAttributeOnTimeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeOffWaitTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::OffWaitTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1710,7 +1710,7 @@ - (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value params:(MT
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -1720,7 +1720,7 @@ - (void)subscribeAttributeOffWaitTimeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::OffWaitTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1743,7 +1743,7 @@ + (void)readAttributeOffWaitTimeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpOnOffWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::StartUpOnOff::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1779,7 +1779,7 @@ - (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value params:(
nonNullValue_0 = static_cast>(value.unsignedCharValue);
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -1789,7 +1789,7 @@ - (void)subscribeAttributeStartUpOnOffWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::StartUpOnOff::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1812,7 +1812,7 @@ + (void)readAttributeStartUpOnOffWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1825,7 +1825,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1848,7 +1848,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1861,7 +1861,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1884,7 +1884,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1897,7 +1897,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1920,7 +1920,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1933,7 +1933,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1956,7 +1956,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -1969,7 +1969,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -1992,7 +1992,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOff::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2005,7 +2005,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOff::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2464,7 +2464,7 @@ @implementation MTRBaseClusterOnOffSwitchConfiguration
- (void)readAttributeSwitchTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::SwitchType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2477,7 +2477,7 @@ - (void)subscribeAttributeSwitchTypeWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::SwitchType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2500,7 +2500,7 @@ + (void)readAttributeSwitchTypeWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeSwitchActionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::SwitchActions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2531,7 +2531,7 @@ - (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value params:(
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -2541,7 +2541,7 @@ - (void)subscribeAttributeSwitchActionsWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::SwitchActions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2564,7 +2564,7 @@ + (void)readAttributeSwitchActionsWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2577,7 +2577,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2600,7 +2600,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2613,7 +2613,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2636,7 +2636,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2649,7 +2649,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2672,7 +2672,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2685,7 +2685,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2708,7 +2708,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2721,7 +2721,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -2744,7 +2744,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -2757,7 +2757,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OnOffSwitchConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3059,7 +3059,7 @@ - (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::MoveToLevel::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3083,7 +3083,7 @@ - (void)moveWithParams:(MTRLevelControlClusterMoveParams *)params completion:(MT
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::Move::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3107,7 +3107,7 @@ - (void)stepWithParams:(MTRLevelControlClusterStepParams *)params completion:(MT
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::Step::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3131,7 +3131,7 @@ - (void)stopWithParams:(MTRLevelControlClusterStopParams *)params completion:(MT
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::Stop::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3155,7 +3155,7 @@ - (void)moveToLevelWithOnOffWithParams:(MTRLevelControlClusterMoveToLevelWithOnO
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::MoveToLevelWithOnOff::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3179,7 +3179,7 @@ - (void)moveWithOnOffWithParams:(MTRLevelControlClusterMoveWithOnOffParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::MoveWithOnOff::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3203,7 +3203,7 @@ - (void)stepWithOnOffWithParams:(MTRLevelControlClusterStepWithOnOffParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::StepWithOnOff::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3227,7 +3227,7 @@ - (void)stopWithOnOffWithParams:(MTRLevelControlClusterStopWithOnOffParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::StopWithOnOff::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3251,7 +3251,7 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LevelControl::Commands::MoveToClosestFrequency::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -3265,7 +3265,7 @@ - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFre
- (void)readAttributeCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::CurrentLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3278,7 +3278,7 @@ - (void)subscribeAttributeCurrentLevelWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::CurrentLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3301,7 +3301,7 @@ + (void)readAttributeCurrentLevelWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeRemainingTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::RemainingTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3314,7 +3314,7 @@ - (void)subscribeAttributeRemainingTimeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::RemainingTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3337,7 +3337,7 @@ + (void)readAttributeRemainingTimeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::MinLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3350,7 +3350,7 @@ - (void)subscribeAttributeMinLevelWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::MinLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3373,7 +3373,7 @@ + (void)readAttributeMinLevelWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::MaxLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3386,7 +3386,7 @@ - (void)subscribeAttributeMaxLevelWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::MaxLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3409,7 +3409,7 @@ + (void)readAttributeMaxLevelWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeCurrentFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::CurrentFrequency::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3422,7 +3422,7 @@ - (void)subscribeAttributeCurrentFrequencyWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::CurrentFrequency::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3445,7 +3445,7 @@ + (void)readAttributeCurrentFrequencyWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeMinFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::MinFrequency::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3458,7 +3458,7 @@ - (void)subscribeAttributeMinFrequencyWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::MinFrequency::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3481,7 +3481,7 @@ + (void)readAttributeMinFrequencyWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeMaxFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::MaxFrequency::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3494,7 +3494,7 @@ - (void)subscribeAttributeMaxFrequencyWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::MaxFrequency::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3517,7 +3517,7 @@ + (void)readAttributeMaxFrequencyWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeOptionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::Options::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3548,7 +3548,7 @@ - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value params:(MTRWri
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3558,7 +3558,7 @@ - (void)subscribeAttributeOptionsWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::Options::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3581,7 +3581,7 @@ + (void)readAttributeOptionsWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeOnOffTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::OnOffTransitionTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3612,7 +3612,7 @@ - (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value pa
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3622,7 +3622,7 @@ - (void)subscribeAttributeOnOffTransitionTimeWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::OnOffTransitionTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3645,7 +3645,7 @@ + (void)readAttributeOnOffTransitionTimeWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeOnLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::OnLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3681,7 +3681,7 @@ - (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value params:(MTRWr
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3691,7 +3691,7 @@ - (void)subscribeAttributeOnLevelWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::OnLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3714,7 +3714,7 @@ + (void)readAttributeOnLevelWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeOnTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::OnTransitionTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3750,7 +3750,7 @@ - (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value para
nonNullValue_0 = value.unsignedShortValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3760,7 +3760,7 @@ - (void)subscribeAttributeOnTransitionTimeWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::OnTransitionTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3783,7 +3783,7 @@ + (void)readAttributeOnTransitionTimeWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOffTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::OffTransitionTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3819,7 +3819,7 @@ - (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value par
nonNullValue_0 = value.unsignedShortValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3829,7 +3829,7 @@ - (void)subscribeAttributeOffTransitionTimeWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::OffTransitionTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3852,7 +3852,7 @@ + (void)readAttributeOffTransitionTimeWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeDefaultMoveRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::DefaultMoveRate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3888,7 +3888,7 @@ - (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value param
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3898,7 +3898,7 @@ - (void)subscribeAttributeDefaultMoveRateWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::DefaultMoveRate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3921,7 +3921,7 @@ + (void)readAttributeDefaultMoveRateWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeStartUpCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::StartUpCurrentLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -3957,7 +3957,7 @@ - (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value p
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -3967,7 +3967,7 @@ - (void)subscribeAttributeStartUpCurrentLevelWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::StartUpCurrentLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -3990,7 +3990,7 @@ + (void)readAttributeStartUpCurrentLevelWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -4003,7 +4003,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -4026,7 +4026,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -4039,7 +4039,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -4062,7 +4062,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -4075,7 +4075,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -4098,7 +4098,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -4111,7 +4111,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -4134,7 +4134,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -4147,7 +4147,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -4170,7 +4170,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LevelControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -4183,7 +4183,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LevelControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -4988,7 +4988,7 @@ @implementation MTRBaseClusterBinaryInputBasic
- (void)readAttributeActiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::ActiveText::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5019,7 +5019,7 @@ - (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value params:(MTR
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -5029,7 +5029,7 @@ - (void)subscribeAttributeActiveTextWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::ActiveText::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5052,7 +5052,7 @@ + (void)readAttributeActiveTextWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::Description::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5083,7 +5083,7 @@ - (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value params:(MT
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -5093,7 +5093,7 @@ - (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::Description::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5116,7 +5116,7 @@ + (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeInactiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::InactiveText::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5147,7 +5147,7 @@ - (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value params:(M
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -5157,7 +5157,7 @@ - (void)subscribeAttributeInactiveTextWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::InactiveText::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5180,7 +5180,7 @@ + (void)readAttributeInactiveTextWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeOutOfServiceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::OutOfService::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5211,7 +5211,7 @@ - (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value params:(M
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -5221,7 +5221,7 @@ - (void)subscribeAttributeOutOfServiceWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::OutOfService::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5244,7 +5244,7 @@ + (void)readAttributeOutOfServiceWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributePolarityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::Polarity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5257,7 +5257,7 @@ - (void)subscribeAttributePolarityWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::Polarity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5280,7 +5280,7 @@ + (void)readAttributePolarityWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributePresentValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::PresentValue::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5311,7 +5311,7 @@ - (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value params:(M
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -5321,7 +5321,7 @@ - (void)subscribeAttributePresentValueWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::PresentValue::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5344,7 +5344,7 @@ + (void)readAttributePresentValueWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeReliabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::Reliability::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5375,7 +5375,7 @@ - (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value params:(MT
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -5385,7 +5385,7 @@ - (void)subscribeAttributeReliabilityWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::Reliability::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5408,7 +5408,7 @@ + (void)readAttributeReliabilityWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStatusFlagsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::StatusFlags::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5421,7 +5421,7 @@ - (void)subscribeAttributeStatusFlagsWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::StatusFlags::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5444,7 +5444,7 @@ + (void)readAttributeStatusFlagsWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeApplicationTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::ApplicationType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5457,7 +5457,7 @@ - (void)subscribeAttributeApplicationTypeWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::ApplicationType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5480,7 +5480,7 @@ + (void)readAttributeApplicationTypeWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5493,7 +5493,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5516,7 +5516,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5529,7 +5529,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5552,7 +5552,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5565,7 +5565,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5588,7 +5588,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5601,7 +5601,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5624,7 +5624,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5637,7 +5637,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -5660,7 +5660,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BinaryInputBasic::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -5673,7 +5673,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BinaryInputBasic::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6249,7 +6249,7 @@ @implementation MTRBaseClusterPulseWidthModulation
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PulseWidthModulation::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6262,7 +6262,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PulseWidthModulation::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6285,7 +6285,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PulseWidthModulation::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6298,7 +6298,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PulseWidthModulation::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6321,7 +6321,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PulseWidthModulation::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6334,7 +6334,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PulseWidthModulation::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6357,7 +6357,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PulseWidthModulation::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6370,7 +6370,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PulseWidthModulation::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6393,7 +6393,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PulseWidthModulation::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6406,7 +6406,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PulseWidthModulation::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6429,7 +6429,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PulseWidthModulation::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6442,7 +6442,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PulseWidthModulation::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6469,7 +6469,7 @@ @implementation MTRBaseClusterDescriptor
- (void)readAttributeDeviceTypeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::DeviceTypeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6482,7 +6482,7 @@ - (void)subscribeAttributeDeviceTypeListWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::DeviceTypeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6505,7 +6505,7 @@ + (void)readAttributeDeviceTypeListWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeServerListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::ServerList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6518,7 +6518,7 @@ - (void)subscribeAttributeServerListWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::ServerList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6541,7 +6541,7 @@ + (void)readAttributeServerListWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClientListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::ClientList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6554,7 +6554,7 @@ - (void)subscribeAttributeClientListWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::ClientList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6577,7 +6577,7 @@ + (void)readAttributeClientListWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributePartsListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::PartsList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6590,7 +6590,7 @@ - (void)subscribeAttributePartsListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::PartsList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6613,7 +6613,7 @@ + (void)readAttributePartsListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeTagListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::TagList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6626,7 +6626,7 @@ - (void)subscribeAttributeTagListWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::TagList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6649,7 +6649,7 @@ + (void)readAttributeTagListWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6662,7 +6662,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6685,7 +6685,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6698,7 +6698,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6721,7 +6721,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6734,7 +6734,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6757,7 +6757,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6770,7 +6770,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6793,7 +6793,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6806,7 +6806,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -6829,7 +6829,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Descriptor::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -6842,7 +6842,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Descriptor::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7195,7 +7195,7 @@ @implementation MTRBaseClusterBinding
- (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::Binding::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7263,7 +7263,7 @@ - (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value params:(MTRWrit
}
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -7273,7 +7273,7 @@ - (void)subscribeAttributeBindingWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::Binding::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7296,7 +7296,7 @@ + (void)readAttributeBindingWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -7309,7 +7309,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7332,7 +7332,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -7345,7 +7345,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7368,7 +7368,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -7381,7 +7381,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7404,7 +7404,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -7417,7 +7417,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7440,7 +7440,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -7453,7 +7453,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7476,7 +7476,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Binding::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -7489,7 +7489,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Binding::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7745,7 +7745,7 @@ @implementation MTRBaseClusterAccessControl
- (void)readAttributeACLWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::Acl::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7870,7 +7870,7 @@ - (void)writeAttributeACLWithValue:(NSArray * _Nonnull)value params:(MTRWritePar
}
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -7880,7 +7880,7 @@ - (void)subscribeAttributeACLWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::Acl::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7903,7 +7903,7 @@ + (void)readAttributeACLWithClusterStateCache:(MTRClusterStateCacheContainer *)c
- (void)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::Extension::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7956,7 +7956,7 @@ - (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value params:(MTRWr
}
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -7966,7 +7966,7 @@ - (void)subscribeAttributeExtensionWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::Extension::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -7989,7 +7989,7 @@ + (void)readAttributeExtensionWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeSubjectsPerAccessControlEntryWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::SubjectsPerAccessControlEntry::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8002,7 +8002,7 @@ - (void)subscribeAttributeSubjectsPerAccessControlEntryWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::SubjectsPerAccessControlEntry::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8025,7 +8025,7 @@ + (void)readAttributeSubjectsPerAccessControlEntryWithClusterStateCache:(MTRClus
- (void)readAttributeTargetsPerAccessControlEntryWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::TargetsPerAccessControlEntry::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8038,7 +8038,7 @@ - (void)subscribeAttributeTargetsPerAccessControlEntryWithParams:(MTRSubscribePa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::TargetsPerAccessControlEntry::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8061,7 +8061,7 @@ + (void)readAttributeTargetsPerAccessControlEntryWithClusterStateCache:(MTRClust
- (void)readAttributeAccessControlEntriesPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::AccessControlEntriesPerFabric::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8074,7 +8074,7 @@ - (void)subscribeAttributeAccessControlEntriesPerFabricWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::AccessControlEntriesPerFabric::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8097,7 +8097,7 @@ + (void)readAttributeAccessControlEntriesPerFabricWithClusterStateCache:(MTRClus
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8110,7 +8110,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8133,7 +8133,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8146,7 +8146,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8169,7 +8169,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8182,7 +8182,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8205,7 +8205,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8218,7 +8218,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8241,7 +8241,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8254,7 +8254,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8277,7 +8277,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AccessControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8290,7 +8290,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AccessControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -8705,7 +8705,7 @@ - (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params c
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::InstantAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8729,7 +8729,7 @@ - (void)instantActionWithTransitionWithParams:(MTRActionsClusterInstantActionWit
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::InstantActionWithTransition::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8753,7 +8753,7 @@ - (void)startActionWithParams:(MTRActionsClusterStartActionParams *)params compl
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::StartAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8777,7 +8777,7 @@ - (void)startActionWithDurationWithParams:(MTRActionsClusterStartActionWithDurat
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::StartActionWithDuration::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8801,7 +8801,7 @@ - (void)stopActionWithParams:(MTRActionsClusterStopActionParams *)params complet
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::StopAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8825,7 +8825,7 @@ - (void)pauseActionWithParams:(MTRActionsClusterPauseActionParams *)params compl
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::PauseAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8849,7 +8849,7 @@ - (void)pauseActionWithDurationWithParams:(MTRActionsClusterPauseActionWithDurat
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::PauseActionWithDuration::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8873,7 +8873,7 @@ - (void)resumeActionWithParams:(MTRActionsClusterResumeActionParams *)params com
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::ResumeAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8897,7 +8897,7 @@ - (void)enableActionWithParams:(MTRActionsClusterEnableActionParams *)params com
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::EnableAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8921,7 +8921,7 @@ - (void)enableActionWithDurationWithParams:(MTRActionsClusterEnableActionWithDur
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::EnableActionWithDuration::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8945,7 +8945,7 @@ - (void)disableActionWithParams:(MTRActionsClusterDisableActionParams *)params c
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::DisableAction::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8969,7 +8969,7 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Actions::Commands::DisableActionWithDuration::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -8983,7 +8983,7 @@ - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithD
- (void)readAttributeActionListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::ActionList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -8996,7 +8996,7 @@ - (void)subscribeAttributeActionListWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::ActionList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9019,7 +9019,7 @@ + (void)readAttributeActionListWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeEndpointListsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::EndpointLists::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9032,7 +9032,7 @@ - (void)subscribeAttributeEndpointListsWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::EndpointLists::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9055,7 +9055,7 @@ + (void)readAttributeEndpointListsWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeSetupURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::SetupURL::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9068,7 +9068,7 @@ - (void)subscribeAttributeSetupURLWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::SetupURL::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9091,7 +9091,7 @@ + (void)readAttributeSetupURLWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9104,7 +9104,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9127,7 +9127,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9140,7 +9140,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9163,7 +9163,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9176,7 +9176,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9199,7 +9199,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9212,7 +9212,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9235,7 +9235,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9248,7 +9248,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9271,7 +9271,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Actions::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9284,7 +9284,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Actions::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9678,7 +9678,7 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = BasicInformation::Commands::MfgSpecificPing::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -9692,7 +9692,7 @@ - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nulla
- (void)readAttributeDataModelRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::DataModelRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9705,7 +9705,7 @@ - (void)subscribeAttributeDataModelRevisionWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::DataModelRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9728,7 +9728,7 @@ + (void)readAttributeDataModelRevisionWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::VendorName::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9741,7 +9741,7 @@ - (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::VendorName::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9764,7 +9764,7 @@ + (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::VendorID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9777,7 +9777,7 @@ - (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::VendorID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9800,7 +9800,7 @@ + (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeProductNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ProductName::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9813,7 +9813,7 @@ - (void)subscribeAttributeProductNameWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ProductName::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9836,7 +9836,7 @@ + (void)readAttributeProductNameWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeProductIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ProductID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9849,7 +9849,7 @@ - (void)subscribeAttributeProductIDWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ProductID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9872,7 +9872,7 @@ + (void)readAttributeProductIDWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeNodeLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::NodeLabel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9903,7 +9903,7 @@ - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value params:(MTRW
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -9913,7 +9913,7 @@ - (void)subscribeAttributeNodeLabelWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::NodeLabel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -9936,7 +9936,7 @@ + (void)readAttributeNodeLabelWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeLocationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::Location::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -9967,7 +9967,7 @@ - (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value params:(MTRWr
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -9977,7 +9977,7 @@ - (void)subscribeAttributeLocationWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::Location::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10000,7 +10000,7 @@ + (void)readAttributeLocationWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeHardwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::HardwareVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10013,7 +10013,7 @@ - (void)subscribeAttributeHardwareVersionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::HardwareVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10036,7 +10036,7 @@ + (void)readAttributeHardwareVersionWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeHardwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::HardwareVersionString::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10049,7 +10049,7 @@ - (void)subscribeAttributeHardwareVersionStringWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::HardwareVersionString::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10072,7 +10072,7 @@ + (void)readAttributeHardwareVersionStringWithClusterStateCache:(MTRClusterState
- (void)readAttributeSoftwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::SoftwareVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10085,7 +10085,7 @@ - (void)subscribeAttributeSoftwareVersionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::SoftwareVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10108,7 +10108,7 @@ + (void)readAttributeSoftwareVersionWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeSoftwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::SoftwareVersionString::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10121,7 +10121,7 @@ - (void)subscribeAttributeSoftwareVersionStringWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::SoftwareVersionString::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10144,7 +10144,7 @@ + (void)readAttributeSoftwareVersionStringWithClusterStateCache:(MTRClusterState
- (void)readAttributeManufacturingDateWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ManufacturingDate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10157,7 +10157,7 @@ - (void)subscribeAttributeManufacturingDateWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ManufacturingDate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10180,7 +10180,7 @@ + (void)readAttributeManufacturingDateWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributePartNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::PartNumber::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10193,7 +10193,7 @@ - (void)subscribeAttributePartNumberWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::PartNumber::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10216,7 +10216,7 @@ + (void)readAttributePartNumberWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeProductURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ProductURL::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10229,7 +10229,7 @@ - (void)subscribeAttributeProductURLWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ProductURL::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10252,7 +10252,7 @@ + (void)readAttributeProductURLWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeProductLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ProductLabel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10265,7 +10265,7 @@ - (void)subscribeAttributeProductLabelWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ProductLabel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10288,7 +10288,7 @@ + (void)readAttributeProductLabelWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeSerialNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::SerialNumber::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10301,7 +10301,7 @@ - (void)subscribeAttributeSerialNumberWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::SerialNumber::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10324,7 +10324,7 @@ + (void)readAttributeSerialNumberWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeLocalConfigDisabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::LocalConfigDisabled::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10355,7 +10355,7 @@ - (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value pa
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -10365,7 +10365,7 @@ - (void)subscribeAttributeLocalConfigDisabledWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::LocalConfigDisabled::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10388,7 +10388,7 @@ + (void)readAttributeLocalConfigDisabledWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeReachableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::Reachable::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10401,7 +10401,7 @@ - (void)subscribeAttributeReachableWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::Reachable::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10424,7 +10424,7 @@ + (void)readAttributeReachableWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeUniqueIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::UniqueID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10437,7 +10437,7 @@ - (void)subscribeAttributeUniqueIDWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::UniqueID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10460,7 +10460,7 @@ + (void)readAttributeUniqueIDWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeCapabilityMinimaWithCompletion:(void (^)(MTRBasicInformationClusterCapabilityMinimaStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::CapabilityMinima::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10473,7 +10473,7 @@ - (void)subscribeAttributeCapabilityMinimaWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(MTRBasicInformationClusterCapabilityMinimaStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::CapabilityMinima::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10496,7 +10496,7 @@ + (void)readAttributeCapabilityMinimaWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeProductAppearanceWithCompletion:(void (^)(MTRBasicInformationClusterProductAppearanceStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ProductAppearance::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10509,7 +10509,7 @@ - (void)subscribeAttributeProductAppearanceWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(MTRBasicInformationClusterProductAppearanceStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ProductAppearance::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10532,7 +10532,7 @@ + (void)readAttributeProductAppearanceWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeSpecificationVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::SpecificationVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10545,7 +10545,7 @@ - (void)subscribeAttributeSpecificationVersionWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::SpecificationVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10568,7 +10568,7 @@ + (void)readAttributeSpecificationVersionWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMaxPathsPerInvokeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::MaxPathsPerInvoke::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10581,7 +10581,7 @@ - (void)subscribeAttributeMaxPathsPerInvokeWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::MaxPathsPerInvoke::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10604,7 +10604,7 @@ + (void)readAttributeMaxPathsPerInvokeWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10617,7 +10617,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10640,7 +10640,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10653,7 +10653,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10676,7 +10676,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10689,7 +10689,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10712,7 +10712,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10725,7 +10725,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10748,7 +10748,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10761,7 +10761,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -10784,7 +10784,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BasicInformation::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -10797,7 +10797,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BasicInformation::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -11758,7 +11758,7 @@ - (void)queryImageWithParams:(MTROTASoftwareUpdateProviderClusterQueryImageParam
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OtaSoftwareUpdateProvider::Commands::QueryImage::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -11782,7 +11782,7 @@ - (void)applyUpdateRequestWithParams:(MTROTASoftwareUpdateProviderClusterApplyUp
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OtaSoftwareUpdateProvider::Commands::ApplyUpdateRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -11806,7 +11806,7 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OtaSoftwareUpdateProvider::Commands::NotifyUpdateApplied::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -11820,7 +11820,7 @@ - (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotify
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -11833,7 +11833,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -11856,7 +11856,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -11869,7 +11869,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -11892,7 +11892,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -11905,7 +11905,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -11928,7 +11928,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -11941,7 +11941,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -11964,7 +11964,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -11977,7 +11977,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12000,7 +12000,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12013,7 +12013,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateProvider::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12262,7 +12262,7 @@ - (void)announceOTAProviderWithParams:(MTROTASoftwareUpdateRequestorClusterAnnou
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OtaSoftwareUpdateRequestor::Commands::AnnounceOTAProvider::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -12276,7 +12276,7 @@ - (void)announceOTAProviderWithParams:(MTROTASoftwareUpdateRequestorClusterAnnou
- (void)readAttributeDefaultOTAProvidersWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::DefaultOTAProviders::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12330,7 +12330,7 @@ - (void)writeAttributeDefaultOTAProvidersWithValue:(NSArray * _Nonnull)value par
}
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -12340,7 +12340,7 @@ - (void)subscribeAttributeDefaultOTAProvidersWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::DefaultOTAProviders::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12363,7 +12363,7 @@ + (void)readAttributeDefaultOTAProvidersWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeUpdatePossibleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::UpdatePossible::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12376,7 +12376,7 @@ - (void)subscribeAttributeUpdatePossibleWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::UpdatePossible::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12399,7 +12399,7 @@ + (void)readAttributeUpdatePossibleWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeUpdateStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::UpdateState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12412,7 +12412,7 @@ - (void)subscribeAttributeUpdateStateWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::UpdateState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12435,7 +12435,7 @@ + (void)readAttributeUpdateStateWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeUpdateStateProgressWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::UpdateStateProgress::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12448,7 +12448,7 @@ - (void)subscribeAttributeUpdateStateProgressWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::UpdateStateProgress::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12471,7 +12471,7 @@ + (void)readAttributeUpdateStateProgressWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12484,7 +12484,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12507,7 +12507,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12520,7 +12520,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12543,7 +12543,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12556,7 +12556,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12579,7 +12579,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12592,7 +12592,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12615,7 +12615,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12628,7 +12628,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -12651,7 +12651,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -12664,7 +12664,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OtaSoftwareUpdateRequestor::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13034,7 +13034,7 @@ @implementation MTRBaseClusterLocalizationConfiguration
- (void)readAttributeActiveLocaleWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::ActiveLocale::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13065,7 +13065,7 @@ - (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value params:(M
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -13075,7 +13075,7 @@ - (void)subscribeAttributeActiveLocaleWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::ActiveLocale::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13098,7 +13098,7 @@ + (void)readAttributeActiveLocaleWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeSupportedLocalesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::SupportedLocales::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13111,7 +13111,7 @@ - (void)subscribeAttributeSupportedLocalesWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::SupportedLocales::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13134,7 +13134,7 @@ + (void)readAttributeSupportedLocalesWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13147,7 +13147,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13170,7 +13170,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13183,7 +13183,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13206,7 +13206,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13219,7 +13219,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13242,7 +13242,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13255,7 +13255,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13278,7 +13278,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13291,7 +13291,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13314,7 +13314,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LocalizationConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13327,7 +13327,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LocalizationConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13618,7 +13618,7 @@ @implementation MTRBaseClusterTimeFormatLocalization
- (void)readAttributeHourFormatWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::HourFormat::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13649,7 +13649,7 @@ - (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value params:(MTR
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -13659,7 +13659,7 @@ - (void)subscribeAttributeHourFormatWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::HourFormat::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13682,7 +13682,7 @@ + (void)readAttributeHourFormatWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeActiveCalendarTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::ActiveCalendarType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13713,7 +13713,7 @@ - (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value par
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -13723,7 +13723,7 @@ - (void)subscribeAttributeActiveCalendarTypeWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::ActiveCalendarType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13746,7 +13746,7 @@ + (void)readAttributeActiveCalendarTypeWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeSupportedCalendarTypesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::SupportedCalendarTypes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13759,7 +13759,7 @@ - (void)subscribeAttributeSupportedCalendarTypesWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::SupportedCalendarTypes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13782,7 +13782,7 @@ + (void)readAttributeSupportedCalendarTypesWithClusterStateCache:(MTRClusterStat
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13795,7 +13795,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13818,7 +13818,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13831,7 +13831,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13854,7 +13854,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13867,7 +13867,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13890,7 +13890,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13903,7 +13903,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13926,7 +13926,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13939,7 +13939,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -13962,7 +13962,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeFormatLocalization::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -13975,7 +13975,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeFormatLocalization::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14309,7 +14309,7 @@ @implementation MTRBaseClusterUnitLocalization
- (void)readAttributeTemperatureUnitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::TemperatureUnit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14340,7 +14340,7 @@ - (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value params
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -14350,7 +14350,7 @@ - (void)subscribeAttributeTemperatureUnitWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::TemperatureUnit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14373,7 +14373,7 @@ + (void)readAttributeTemperatureUnitWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14386,7 +14386,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14409,7 +14409,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14422,7 +14422,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14445,7 +14445,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14458,7 +14458,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14481,7 +14481,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14494,7 +14494,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14517,7 +14517,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14530,7 +14530,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14553,7 +14553,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UnitLocalization::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14566,7 +14566,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UnitLocalization::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14822,7 +14822,7 @@ @implementation MTRBaseClusterPowerSourceConfiguration
- (void)readAttributeSourcesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::Sources::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14835,7 +14835,7 @@ - (void)subscribeAttributeSourcesWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::Sources::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14858,7 +14858,7 @@ + (void)readAttributeSourcesWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14871,7 +14871,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14894,7 +14894,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14907,7 +14907,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14930,7 +14930,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14943,7 +14943,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -14966,7 +14966,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -14979,7 +14979,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15002,7 +15002,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15015,7 +15015,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15038,7 +15038,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSourceConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15051,7 +15051,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSourceConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15299,7 +15299,7 @@ @implementation MTRBaseClusterPowerSource
- (void)readAttributeStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::Status::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15312,7 +15312,7 @@ - (void)subscribeAttributeStatusWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::Status::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15335,7 +15335,7 @@ + (void)readAttributeStatusWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeOrderWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::Order::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15348,7 +15348,7 @@ - (void)subscribeAttributeOrderWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::Order::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15371,7 +15371,7 @@ + (void)readAttributeOrderWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::Description::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15384,7 +15384,7 @@ - (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::Description::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15407,7 +15407,7 @@ + (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeWiredAssessedInputVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredAssessedInputVoltage::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15420,7 +15420,7 @@ - (void)subscribeAttributeWiredAssessedInputVoltageWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredAssessedInputVoltage::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15443,7 +15443,7 @@ + (void)readAttributeWiredAssessedInputVoltageWithClusterStateCache:(MTRClusterS
- (void)readAttributeWiredAssessedInputFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredAssessedInputFrequency::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15456,7 +15456,7 @@ - (void)subscribeAttributeWiredAssessedInputFrequencyWithParams:(MTRSubscribePar
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredAssessedInputFrequency::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15479,7 +15479,7 @@ + (void)readAttributeWiredAssessedInputFrequencyWithClusterStateCache:(MTRCluste
- (void)readAttributeWiredCurrentTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredCurrentType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15492,7 +15492,7 @@ - (void)subscribeAttributeWiredCurrentTypeWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredCurrentType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15515,7 +15515,7 @@ + (void)readAttributeWiredCurrentTypeWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeWiredAssessedCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredAssessedCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15528,7 +15528,7 @@ - (void)subscribeAttributeWiredAssessedCurrentWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredAssessedCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15551,7 +15551,7 @@ + (void)readAttributeWiredAssessedCurrentWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeWiredNominalVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredNominalVoltage::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15564,7 +15564,7 @@ - (void)subscribeAttributeWiredNominalVoltageWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredNominalVoltage::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15587,7 +15587,7 @@ + (void)readAttributeWiredNominalVoltageWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeWiredMaximumCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredMaximumCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15600,7 +15600,7 @@ - (void)subscribeAttributeWiredMaximumCurrentWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredMaximumCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15623,7 +15623,7 @@ + (void)readAttributeWiredMaximumCurrentWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeWiredPresentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::WiredPresent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15636,7 +15636,7 @@ - (void)subscribeAttributeWiredPresentWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::WiredPresent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15659,7 +15659,7 @@ + (void)readAttributeWiredPresentWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeActiveWiredFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::ActiveWiredFaults::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15672,7 +15672,7 @@ - (void)subscribeAttributeActiveWiredFaultsWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::ActiveWiredFaults::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15695,7 +15695,7 @@ + (void)readAttributeActiveWiredFaultsWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeBatVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatVoltage::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15708,7 +15708,7 @@ - (void)subscribeAttributeBatVoltageWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatVoltage::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15731,7 +15731,7 @@ + (void)readAttributeBatVoltageWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeBatPercentRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatPercentRemaining::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15744,7 +15744,7 @@ - (void)subscribeAttributeBatPercentRemainingWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatPercentRemaining::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15767,7 +15767,7 @@ + (void)readAttributeBatPercentRemainingWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeBatTimeRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatTimeRemaining::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15780,7 +15780,7 @@ - (void)subscribeAttributeBatTimeRemainingWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatTimeRemaining::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15803,7 +15803,7 @@ + (void)readAttributeBatTimeRemainingWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeBatChargeLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatChargeLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15816,7 +15816,7 @@ - (void)subscribeAttributeBatChargeLevelWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatChargeLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15839,7 +15839,7 @@ + (void)readAttributeBatChargeLevelWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeBatReplacementNeededWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatReplacementNeeded::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15852,7 +15852,7 @@ - (void)subscribeAttributeBatReplacementNeededWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatReplacementNeeded::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15875,7 +15875,7 @@ + (void)readAttributeBatReplacementNeededWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeBatReplaceabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatReplaceability::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15888,7 +15888,7 @@ - (void)subscribeAttributeBatReplaceabilityWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatReplaceability::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15911,7 +15911,7 @@ + (void)readAttributeBatReplaceabilityWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeBatPresentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatPresent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15924,7 +15924,7 @@ - (void)subscribeAttributeBatPresentWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatPresent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15947,7 +15947,7 @@ + (void)readAttributeBatPresentWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeActiveBatFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::ActiveBatFaults::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15960,7 +15960,7 @@ - (void)subscribeAttributeActiveBatFaultsWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::ActiveBatFaults::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -15983,7 +15983,7 @@ + (void)readAttributeActiveBatFaultsWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeBatReplacementDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatReplacementDescription::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -15996,7 +15996,7 @@ - (void)subscribeAttributeBatReplacementDescriptionWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatReplacementDescription::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16019,7 +16019,7 @@ + (void)readAttributeBatReplacementDescriptionWithClusterStateCache:(MTRClusterS
- (void)readAttributeBatCommonDesignationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatCommonDesignation::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16032,7 +16032,7 @@ - (void)subscribeAttributeBatCommonDesignationWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatCommonDesignation::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16055,7 +16055,7 @@ + (void)readAttributeBatCommonDesignationWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeBatANSIDesignationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatANSIDesignation::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16068,7 +16068,7 @@ - (void)subscribeAttributeBatANSIDesignationWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatANSIDesignation::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16091,7 +16091,7 @@ + (void)readAttributeBatANSIDesignationWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeBatIECDesignationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatIECDesignation::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16104,7 +16104,7 @@ - (void)subscribeAttributeBatIECDesignationWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatIECDesignation::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16127,7 +16127,7 @@ + (void)readAttributeBatIECDesignationWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeBatApprovedChemistryWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatApprovedChemistry::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16140,7 +16140,7 @@ - (void)subscribeAttributeBatApprovedChemistryWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatApprovedChemistry::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16163,7 +16163,7 @@ + (void)readAttributeBatApprovedChemistryWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeBatCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatCapacity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16176,7 +16176,7 @@ - (void)subscribeAttributeBatCapacityWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatCapacity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16199,7 +16199,7 @@ + (void)readAttributeBatCapacityWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeBatQuantityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatQuantity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16212,7 +16212,7 @@ - (void)subscribeAttributeBatQuantityWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatQuantity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16235,7 +16235,7 @@ + (void)readAttributeBatQuantityWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeBatChargeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatChargeState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16248,7 +16248,7 @@ - (void)subscribeAttributeBatChargeStateWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatChargeState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16271,7 +16271,7 @@ + (void)readAttributeBatChargeStateWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeBatTimeToFullChargeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatTimeToFullCharge::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16284,7 +16284,7 @@ - (void)subscribeAttributeBatTimeToFullChargeWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatTimeToFullCharge::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16307,7 +16307,7 @@ + (void)readAttributeBatTimeToFullChargeWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeBatFunctionalWhileChargingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatFunctionalWhileCharging::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16320,7 +16320,7 @@ - (void)subscribeAttributeBatFunctionalWhileChargingWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatFunctionalWhileCharging::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16343,7 +16343,7 @@ + (void)readAttributeBatFunctionalWhileChargingWithClusterStateCache:(MTRCluster
- (void)readAttributeBatChargingCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::BatChargingCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16356,7 +16356,7 @@ - (void)subscribeAttributeBatChargingCurrentWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::BatChargingCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16379,7 +16379,7 @@ + (void)readAttributeBatChargingCurrentWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeActiveBatChargeFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::ActiveBatChargeFaults::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16392,7 +16392,7 @@ - (void)subscribeAttributeActiveBatChargeFaultsWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::ActiveBatChargeFaults::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16415,7 +16415,7 @@ + (void)readAttributeActiveBatChargeFaultsWithClusterStateCache:(MTRClusterState
- (void)readAttributeEndpointListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::EndpointList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16428,7 +16428,7 @@ - (void)subscribeAttributeEndpointListWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::EndpointList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16451,7 +16451,7 @@ + (void)readAttributeEndpointListWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16464,7 +16464,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16487,7 +16487,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16500,7 +16500,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16523,7 +16523,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16536,7 +16536,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16559,7 +16559,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16572,7 +16572,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16595,7 +16595,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16608,7 +16608,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -16631,7 +16631,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PowerSource::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -16644,7 +16644,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PowerSource::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -17953,7 +17953,7 @@ - (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GeneralCommissioning::Commands::ArmFailSafe::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -17977,7 +17977,7 @@ - (void)setRegulatoryConfigWithParams:(MTRGeneralCommissioningClusterSetRegulato
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GeneralCommissioning::Commands::SetRegulatoryConfig::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18005,7 +18005,7 @@ - (void)commissioningCompleteWithParams:(MTRGeneralCommissioningClusterCommissio
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GeneralCommissioning::Commands::CommissioningComplete::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18019,7 +18019,7 @@ - (void)commissioningCompleteWithParams:(MTRGeneralCommissioningClusterCommissio
- (void)readAttributeBreadcrumbWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::Breadcrumb::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18050,7 +18050,7 @@ - (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value params:(MTR
TypeInfo::Type cppValue;
cppValue = value.unsignedLongLongValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -18060,7 +18060,7 @@ - (void)subscribeAttributeBreadcrumbWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::Breadcrumb::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18083,7 +18083,7 @@ + (void)readAttributeBreadcrumbWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeBasicCommissioningInfoWithCompletion:(void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::BasicCommissioningInfo::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18096,7 +18096,7 @@ - (void)subscribeAttributeBasicCommissioningInfoWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::BasicCommissioningInfo::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18119,7 +18119,7 @@ + (void)readAttributeBasicCommissioningInfoWithClusterStateCache:(MTRClusterStat
- (void)readAttributeRegulatoryConfigWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::RegulatoryConfig::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18132,7 +18132,7 @@ - (void)subscribeAttributeRegulatoryConfigWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::RegulatoryConfig::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18155,7 +18155,7 @@ + (void)readAttributeRegulatoryConfigWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeLocationCapabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::LocationCapability::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18168,7 +18168,7 @@ - (void)subscribeAttributeLocationCapabilityWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::LocationCapability::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18191,7 +18191,7 @@ + (void)readAttributeLocationCapabilityWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeSupportsConcurrentConnectionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::SupportsConcurrentConnection::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18204,7 +18204,7 @@ - (void)subscribeAttributeSupportsConcurrentConnectionWithParams:(MTRSubscribePa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::SupportsConcurrentConnection::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18227,7 +18227,7 @@ + (void)readAttributeSupportsConcurrentConnectionWithClusterStateCache:(MTRClust
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18240,7 +18240,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18263,7 +18263,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18276,7 +18276,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18299,7 +18299,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18312,7 +18312,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18335,7 +18335,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18348,7 +18348,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18371,7 +18371,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18384,7 +18384,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18407,7 +18407,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralCommissioning::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -18420,7 +18420,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralCommissioning::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -18860,7 +18860,7 @@ - (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::ScanNetworks::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18884,7 +18884,7 @@ - (void)addOrUpdateWiFiNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpd
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::AddOrUpdateWiFiNetwork::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18908,7 +18908,7 @@ - (void)addOrUpdateThreadNetworkWithParams:(MTRNetworkCommissioningClusterAddOrU
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::AddOrUpdateThreadNetwork::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18932,7 +18932,7 @@ - (void)removeNetworkWithParams:(MTRNetworkCommissioningClusterRemoveNetworkPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::RemoveNetwork::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18956,7 +18956,7 @@ - (void)connectNetworkWithParams:(MTRNetworkCommissioningClusterConnectNetworkPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::ConnectNetwork::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -18980,7 +18980,7 @@ - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::ReorderNetwork::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -19004,7 +19004,7 @@ - (void)queryIdentityWithParams:(MTRNetworkCommissioningClusterQueryIdentityPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = NetworkCommissioning::Commands::QueryIdentity::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -19018,7 +19018,7 @@ - (void)queryIdentityWithParams:(MTRNetworkCommissioningClusterQueryIdentityPara
- (void)readAttributeMaxNetworksWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::MaxNetworks::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19031,7 +19031,7 @@ - (void)subscribeAttributeMaxNetworksWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::MaxNetworks::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19054,7 +19054,7 @@ + (void)readAttributeMaxNetworksWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeNetworksWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::Networks::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19067,7 +19067,7 @@ - (void)subscribeAttributeNetworksWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::Networks::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19090,7 +19090,7 @@ + (void)readAttributeNetworksWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeScanMaxTimeSecondsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::ScanMaxTimeSeconds::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19103,7 +19103,7 @@ - (void)subscribeAttributeScanMaxTimeSecondsWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::ScanMaxTimeSeconds::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19126,7 +19126,7 @@ + (void)readAttributeScanMaxTimeSecondsWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeConnectMaxTimeSecondsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::ConnectMaxTimeSeconds::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19139,7 +19139,7 @@ - (void)subscribeAttributeConnectMaxTimeSecondsWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::ConnectMaxTimeSeconds::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19162,7 +19162,7 @@ + (void)readAttributeConnectMaxTimeSecondsWithClusterStateCache:(MTRClusterState
- (void)readAttributeInterfaceEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::InterfaceEnabled::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19193,7 +19193,7 @@ - (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value param
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -19203,7 +19203,7 @@ - (void)subscribeAttributeInterfaceEnabledWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::InterfaceEnabled::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19226,7 +19226,7 @@ + (void)readAttributeInterfaceEnabledWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeLastNetworkingStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::LastNetworkingStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19239,7 +19239,7 @@ - (void)subscribeAttributeLastNetworkingStatusWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::LastNetworkingStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19262,7 +19262,7 @@ + (void)readAttributeLastNetworkingStatusWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeLastNetworkIDWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::LastNetworkID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19275,7 +19275,7 @@ - (void)subscribeAttributeLastNetworkIDWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::LastNetworkID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19298,7 +19298,7 @@ + (void)readAttributeLastNetworkIDWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeLastConnectErrorValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::LastConnectErrorValue::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19311,7 +19311,7 @@ - (void)subscribeAttributeLastConnectErrorValueWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::LastConnectErrorValue::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19334,7 +19334,7 @@ + (void)readAttributeLastConnectErrorValueWithClusterStateCache:(MTRClusterState
- (void)readAttributeSupportedWiFiBandsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::SupportedWiFiBands::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19347,7 +19347,7 @@ - (void)subscribeAttributeSupportedWiFiBandsWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::SupportedWiFiBands::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19370,7 +19370,7 @@ + (void)readAttributeSupportedWiFiBandsWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeSupportedThreadFeaturesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::SupportedThreadFeatures::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19383,7 +19383,7 @@ - (void)subscribeAttributeSupportedThreadFeaturesWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::SupportedThreadFeatures::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19406,7 +19406,7 @@ + (void)readAttributeSupportedThreadFeaturesWithClusterStateCache:(MTRClusterSta
- (void)readAttributeThreadVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::ThreadVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19419,7 +19419,7 @@ - (void)subscribeAttributeThreadVersionWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::ThreadVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19442,7 +19442,7 @@ + (void)readAttributeThreadVersionWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19455,7 +19455,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19478,7 +19478,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19491,7 +19491,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19514,7 +19514,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19527,7 +19527,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19550,7 +19550,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19563,7 +19563,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19586,7 +19586,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19599,7 +19599,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -19622,7 +19622,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = NetworkCommissioning::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -19635,7 +19635,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = NetworkCommissioning::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20196,7 +20196,7 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DiagnosticLogs::Commands::RetrieveLogsRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -20210,7 +20210,7 @@ - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsReque
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DiagnosticLogs::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20223,7 +20223,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DiagnosticLogs::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20246,7 +20246,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DiagnosticLogs::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20259,7 +20259,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DiagnosticLogs::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20282,7 +20282,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DiagnosticLogs::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20295,7 +20295,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DiagnosticLogs::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20318,7 +20318,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DiagnosticLogs::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20331,7 +20331,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DiagnosticLogs::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20354,7 +20354,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DiagnosticLogs::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20367,7 +20367,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DiagnosticLogs::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20390,7 +20390,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DiagnosticLogs::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20403,7 +20403,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DiagnosticLogs::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20636,7 +20636,7 @@ - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTrigger
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GeneralDiagnostics::Commands::TestEventTrigger::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -20664,7 +20664,7 @@ - (void)timeSnapshotWithParams:(MTRGeneralDiagnosticsClusterTimeSnapshotParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GeneralDiagnostics::Commands::TimeSnapshot::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -20678,7 +20678,7 @@ - (void)timeSnapshotWithParams:(MTRGeneralDiagnosticsClusterTimeSnapshotParams *
- (void)readAttributeNetworkInterfacesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::NetworkInterfaces::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20691,7 +20691,7 @@ - (void)subscribeAttributeNetworkInterfacesWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::NetworkInterfaces::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20714,7 +20714,7 @@ + (void)readAttributeNetworkInterfacesWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeRebootCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::RebootCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20727,7 +20727,7 @@ - (void)subscribeAttributeRebootCountWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::RebootCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20750,7 +20750,7 @@ + (void)readAttributeRebootCountWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeUpTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::UpTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20763,7 +20763,7 @@ - (void)subscribeAttributeUpTimeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::UpTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20786,7 +20786,7 @@ + (void)readAttributeUpTimeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeTotalOperationalHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::TotalOperationalHours::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20799,7 +20799,7 @@ - (void)subscribeAttributeTotalOperationalHoursWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::TotalOperationalHours::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20822,7 +20822,7 @@ + (void)readAttributeTotalOperationalHoursWithClusterStateCache:(MTRClusterState
- (void)readAttributeBootReasonWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::BootReason::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20835,7 +20835,7 @@ - (void)subscribeAttributeBootReasonWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::BootReason::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20858,7 +20858,7 @@ + (void)readAttributeBootReasonWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeActiveHardwareFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::ActiveHardwareFaults::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20871,7 +20871,7 @@ - (void)subscribeAttributeActiveHardwareFaultsWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::ActiveHardwareFaults::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20894,7 +20894,7 @@ + (void)readAttributeActiveHardwareFaultsWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeActiveRadioFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::ActiveRadioFaults::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20907,7 +20907,7 @@ - (void)subscribeAttributeActiveRadioFaultsWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::ActiveRadioFaults::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20930,7 +20930,7 @@ + (void)readAttributeActiveRadioFaultsWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeActiveNetworkFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::ActiveNetworkFaults::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20943,7 +20943,7 @@ - (void)subscribeAttributeActiveNetworkFaultsWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::ActiveNetworkFaults::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -20966,7 +20966,7 @@ + (void)readAttributeActiveNetworkFaultsWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeTestEventTriggersEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::TestEventTriggersEnabled::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -20979,7 +20979,7 @@ - (void)subscribeAttributeTestEventTriggersEnabledWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::TestEventTriggersEnabled::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21002,7 +21002,7 @@ + (void)readAttributeTestEventTriggersEnabledWithClusterStateCache:(MTRClusterSt
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21015,7 +21015,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21038,7 +21038,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21051,7 +21051,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21074,7 +21074,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21087,7 +21087,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21110,7 +21110,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21123,7 +21123,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21146,7 +21146,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21159,7 +21159,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21182,7 +21182,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GeneralDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21195,7 +21195,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GeneralDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21744,7 +21744,7 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = SoftwareDiagnostics::Commands::ResetWatermarks::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -21758,7 +21758,7 @@ - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksP
- (void)readAttributeThreadMetricsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::ThreadMetrics::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21771,7 +21771,7 @@ - (void)subscribeAttributeThreadMetricsWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::ThreadMetrics::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21794,7 +21794,7 @@ + (void)readAttributeThreadMetricsWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeCurrentHeapFreeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::CurrentHeapFree::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21807,7 +21807,7 @@ - (void)subscribeAttributeCurrentHeapFreeWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::CurrentHeapFree::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21830,7 +21830,7 @@ + (void)readAttributeCurrentHeapFreeWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeCurrentHeapUsedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::CurrentHeapUsed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21843,7 +21843,7 @@ - (void)subscribeAttributeCurrentHeapUsedWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::CurrentHeapUsed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21866,7 +21866,7 @@ + (void)readAttributeCurrentHeapUsedWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeCurrentHeapHighWatermarkWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::CurrentHeapHighWatermark::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21879,7 +21879,7 @@ - (void)subscribeAttributeCurrentHeapHighWatermarkWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::CurrentHeapHighWatermark::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21902,7 +21902,7 @@ + (void)readAttributeCurrentHeapHighWatermarkWithClusterStateCache:(MTRClusterSt
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21915,7 +21915,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21938,7 +21938,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21951,7 +21951,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -21974,7 +21974,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -21987,7 +21987,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22010,7 +22010,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22023,7 +22023,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22046,7 +22046,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22059,7 +22059,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22082,7 +22082,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SoftwareDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22095,7 +22095,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SoftwareDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22473,7 +22473,7 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ThreadNetworkDiagnostics::Commands::ResetCounts::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -22487,7 +22487,7 @@ - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsPara
- (void)readAttributeChannelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::Channel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22500,7 +22500,7 @@ - (void)subscribeAttributeChannelWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::Channel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22523,7 +22523,7 @@ + (void)readAttributeChannelWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeRoutingRoleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RoutingRole::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22536,7 +22536,7 @@ - (void)subscribeAttributeRoutingRoleWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RoutingRole::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22559,7 +22559,7 @@ + (void)readAttributeRoutingRoleWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeNetworkNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::NetworkName::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22572,7 +22572,7 @@ - (void)subscribeAttributeNetworkNameWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::NetworkName::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22595,7 +22595,7 @@ + (void)readAttributeNetworkNameWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributePanIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PanId::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22608,7 +22608,7 @@ - (void)subscribeAttributePanIdWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PanId::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22631,7 +22631,7 @@ + (void)readAttributePanIdWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeExtendedPanIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ExtendedPanId::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22644,7 +22644,7 @@ - (void)subscribeAttributeExtendedPanIdWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ExtendedPanId::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22667,7 +22667,7 @@ + (void)readAttributeExtendedPanIdWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeMeshLocalPrefixWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::MeshLocalPrefix::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22680,7 +22680,7 @@ - (void)subscribeAttributeMeshLocalPrefixWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::MeshLocalPrefix::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22703,7 +22703,7 @@ + (void)readAttributeMeshLocalPrefixWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::OverrunCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22716,7 +22716,7 @@ - (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::OverrunCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22739,7 +22739,7 @@ + (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeNeighborTableWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::NeighborTable::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22752,7 +22752,7 @@ - (void)subscribeAttributeNeighborTableWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::NeighborTable::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22775,7 +22775,7 @@ + (void)readAttributeNeighborTableWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeRouteTableWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RouteTable::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22788,7 +22788,7 @@ - (void)subscribeAttributeRouteTableWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RouteTable::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22811,7 +22811,7 @@ + (void)readAttributeRouteTableWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributePartitionIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PartitionId::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22824,7 +22824,7 @@ - (void)subscribeAttributePartitionIdWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PartitionId::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22847,7 +22847,7 @@ + (void)readAttributePartitionIdWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeWeightingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::Weighting::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22860,7 +22860,7 @@ - (void)subscribeAttributeWeightingWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::Weighting::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22883,7 +22883,7 @@ + (void)readAttributeWeightingWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeDataVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::DataVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22896,7 +22896,7 @@ - (void)subscribeAttributeDataVersionWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::DataVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22919,7 +22919,7 @@ + (void)readAttributeDataVersionWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStableDataVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::StableDataVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22932,7 +22932,7 @@ - (void)subscribeAttributeStableDataVersionWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::StableDataVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22955,7 +22955,7 @@ + (void)readAttributeStableDataVersionWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeLeaderRouterIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::LeaderRouterId::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -22968,7 +22968,7 @@ - (void)subscribeAttributeLeaderRouterIdWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::LeaderRouterId::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -22991,7 +22991,7 @@ + (void)readAttributeLeaderRouterIdWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeDetachedRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::DetachedRoleCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23004,7 +23004,7 @@ - (void)subscribeAttributeDetachedRoleCountWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::DetachedRoleCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23027,7 +23027,7 @@ + (void)readAttributeDetachedRoleCountWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeChildRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ChildRoleCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23040,7 +23040,7 @@ - (void)subscribeAttributeChildRoleCountWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ChildRoleCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23063,7 +23063,7 @@ + (void)readAttributeChildRoleCountWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeRouterRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RouterRoleCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23076,7 +23076,7 @@ - (void)subscribeAttributeRouterRoleCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RouterRoleCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23099,7 +23099,7 @@ + (void)readAttributeRouterRoleCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeLeaderRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::LeaderRoleCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23112,7 +23112,7 @@ - (void)subscribeAttributeLeaderRoleCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::LeaderRoleCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23135,7 +23135,7 @@ + (void)readAttributeLeaderRoleCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeAttachAttemptCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::AttachAttemptCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23148,7 +23148,7 @@ - (void)subscribeAttributeAttachAttemptCountWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::AttachAttemptCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23171,7 +23171,7 @@ + (void)readAttributeAttachAttemptCountWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributePartitionIdChangeCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PartitionIdChangeCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23184,7 +23184,7 @@ - (void)subscribeAttributePartitionIdChangeCountWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PartitionIdChangeCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23207,7 +23207,7 @@ + (void)readAttributePartitionIdChangeCountWithClusterStateCache:(MTRClusterStat
- (void)readAttributeBetterPartitionAttachAttemptCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::BetterPartitionAttachAttemptCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23220,7 +23220,7 @@ - (void)subscribeAttributeBetterPartitionAttachAttemptCountWithParams:(MTRSubscr
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::BetterPartitionAttachAttemptCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23243,7 +23243,7 @@ + (void)readAttributeBetterPartitionAttachAttemptCountWithClusterStateCache:(MTR
- (void)readAttributeParentChangeCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ParentChangeCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23256,7 +23256,7 @@ - (void)subscribeAttributeParentChangeCountWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ParentChangeCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23279,7 +23279,7 @@ + (void)readAttributeParentChangeCountWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeTxTotalCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxTotalCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23292,7 +23292,7 @@ - (void)subscribeAttributeTxTotalCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxTotalCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23315,7 +23315,7 @@ + (void)readAttributeTxTotalCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeTxUnicastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxUnicastCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23328,7 +23328,7 @@ - (void)subscribeAttributeTxUnicastCountWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxUnicastCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23351,7 +23351,7 @@ + (void)readAttributeTxUnicastCountWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeTxBroadcastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxBroadcastCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23364,7 +23364,7 @@ - (void)subscribeAttributeTxBroadcastCountWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxBroadcastCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23387,7 +23387,7 @@ + (void)readAttributeTxBroadcastCountWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeTxAckRequestedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxAckRequestedCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23400,7 +23400,7 @@ - (void)subscribeAttributeTxAckRequestedCountWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxAckRequestedCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23423,7 +23423,7 @@ + (void)readAttributeTxAckRequestedCountWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeTxAckedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxAckedCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23436,7 +23436,7 @@ - (void)subscribeAttributeTxAckedCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxAckedCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23459,7 +23459,7 @@ + (void)readAttributeTxAckedCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeTxNoAckRequestedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxNoAckRequestedCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23472,7 +23472,7 @@ - (void)subscribeAttributeTxNoAckRequestedCountWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxNoAckRequestedCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23495,7 +23495,7 @@ + (void)readAttributeTxNoAckRequestedCountWithClusterStateCache:(MTRClusterState
- (void)readAttributeTxDataCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxDataCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23508,7 +23508,7 @@ - (void)subscribeAttributeTxDataCountWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxDataCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23531,7 +23531,7 @@ + (void)readAttributeTxDataCountWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeTxDataPollCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxDataPollCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23544,7 +23544,7 @@ - (void)subscribeAttributeTxDataPollCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxDataPollCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23567,7 +23567,7 @@ + (void)readAttributeTxDataPollCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeTxBeaconCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxBeaconCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23580,7 +23580,7 @@ - (void)subscribeAttributeTxBeaconCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxBeaconCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23603,7 +23603,7 @@ + (void)readAttributeTxBeaconCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeTxBeaconRequestCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxBeaconRequestCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23616,7 +23616,7 @@ - (void)subscribeAttributeTxBeaconRequestCountWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxBeaconRequestCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23639,7 +23639,7 @@ + (void)readAttributeTxBeaconRequestCountWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeTxOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxOtherCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23652,7 +23652,7 @@ - (void)subscribeAttributeTxOtherCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxOtherCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23675,7 +23675,7 @@ + (void)readAttributeTxOtherCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeTxRetryCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxRetryCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23688,7 +23688,7 @@ - (void)subscribeAttributeTxRetryCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxRetryCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23711,7 +23711,7 @@ + (void)readAttributeTxRetryCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeTxDirectMaxRetryExpiryCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxDirectMaxRetryExpiryCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23724,7 +23724,7 @@ - (void)subscribeAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRSubscribePar
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxDirectMaxRetryExpiryCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23747,7 +23747,7 @@ + (void)readAttributeTxDirectMaxRetryExpiryCountWithClusterStateCache:(MTRCluste
- (void)readAttributeTxIndirectMaxRetryExpiryCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxIndirectMaxRetryExpiryCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23760,7 +23760,7 @@ - (void)subscribeAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxIndirectMaxRetryExpiryCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23783,7 +23783,7 @@ + (void)readAttributeTxIndirectMaxRetryExpiryCountWithClusterStateCache:(MTRClus
- (void)readAttributeTxErrCcaCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxErrCcaCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23796,7 +23796,7 @@ - (void)subscribeAttributeTxErrCcaCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxErrCcaCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23819,7 +23819,7 @@ + (void)readAttributeTxErrCcaCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeTxErrAbortCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxErrAbortCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23832,7 +23832,7 @@ - (void)subscribeAttributeTxErrAbortCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxErrAbortCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23855,7 +23855,7 @@ + (void)readAttributeTxErrAbortCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeTxErrBusyChannelCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxErrBusyChannelCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23868,7 +23868,7 @@ - (void)subscribeAttributeTxErrBusyChannelCountWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::TxErrBusyChannelCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23891,7 +23891,7 @@ + (void)readAttributeTxErrBusyChannelCountWithClusterStateCache:(MTRClusterState
- (void)readAttributeRxTotalCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxTotalCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23904,7 +23904,7 @@ - (void)subscribeAttributeRxTotalCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxTotalCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23927,7 +23927,7 @@ + (void)readAttributeRxTotalCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeRxUnicastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxUnicastCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23940,7 +23940,7 @@ - (void)subscribeAttributeRxUnicastCountWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxUnicastCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23963,7 +23963,7 @@ + (void)readAttributeRxUnicastCountWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeRxBroadcastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxBroadcastCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -23976,7 +23976,7 @@ - (void)subscribeAttributeRxBroadcastCountWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxBroadcastCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -23999,7 +23999,7 @@ + (void)readAttributeRxBroadcastCountWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeRxDataCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDataCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24012,7 +24012,7 @@ - (void)subscribeAttributeRxDataCountWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDataCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24035,7 +24035,7 @@ + (void)readAttributeRxDataCountWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeRxDataPollCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDataPollCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24048,7 +24048,7 @@ - (void)subscribeAttributeRxDataPollCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDataPollCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24071,7 +24071,7 @@ + (void)readAttributeRxDataPollCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeRxBeaconCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxBeaconCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24084,7 +24084,7 @@ - (void)subscribeAttributeRxBeaconCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxBeaconCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24107,7 +24107,7 @@ + (void)readAttributeRxBeaconCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeRxBeaconRequestCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxBeaconRequestCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24120,7 +24120,7 @@ - (void)subscribeAttributeRxBeaconRequestCountWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxBeaconRequestCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24143,7 +24143,7 @@ + (void)readAttributeRxBeaconRequestCountWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeRxOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxOtherCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24156,7 +24156,7 @@ - (void)subscribeAttributeRxOtherCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxOtherCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24179,7 +24179,7 @@ + (void)readAttributeRxOtherCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeRxAddressFilteredCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxAddressFilteredCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24192,7 +24192,7 @@ - (void)subscribeAttributeRxAddressFilteredCountWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxAddressFilteredCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24215,7 +24215,7 @@ + (void)readAttributeRxAddressFilteredCountWithClusterStateCache:(MTRClusterStat
- (void)readAttributeRxDestAddrFilteredCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDestAddrFilteredCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24228,7 +24228,7 @@ - (void)subscribeAttributeRxDestAddrFilteredCountWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDestAddrFilteredCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24251,7 +24251,7 @@ + (void)readAttributeRxDestAddrFilteredCountWithClusterStateCache:(MTRClusterSta
- (void)readAttributeRxDuplicatedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDuplicatedCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24264,7 +24264,7 @@ - (void)subscribeAttributeRxDuplicatedCountWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxDuplicatedCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24287,7 +24287,7 @@ + (void)readAttributeRxDuplicatedCountWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeRxErrNoFrameCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrNoFrameCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24300,7 +24300,7 @@ - (void)subscribeAttributeRxErrNoFrameCountWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrNoFrameCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24323,7 +24323,7 @@ + (void)readAttributeRxErrNoFrameCountWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeRxErrUnknownNeighborCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrUnknownNeighborCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24336,7 +24336,7 @@ - (void)subscribeAttributeRxErrUnknownNeighborCountWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrUnknownNeighborCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24359,7 +24359,7 @@ + (void)readAttributeRxErrUnknownNeighborCountWithClusterStateCache:(MTRClusterS
- (void)readAttributeRxErrInvalidSrcAddrCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrInvalidSrcAddrCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24372,7 +24372,7 @@ - (void)subscribeAttributeRxErrInvalidSrcAddrCountWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrInvalidSrcAddrCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24395,7 +24395,7 @@ + (void)readAttributeRxErrInvalidSrcAddrCountWithClusterStateCache:(MTRClusterSt
- (void)readAttributeRxErrSecCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrSecCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24408,7 +24408,7 @@ - (void)subscribeAttributeRxErrSecCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrSecCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24431,7 +24431,7 @@ + (void)readAttributeRxErrSecCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeRxErrFcsCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrFcsCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24444,7 +24444,7 @@ - (void)subscribeAttributeRxErrFcsCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrFcsCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24467,7 +24467,7 @@ + (void)readAttributeRxErrFcsCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeRxErrOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrOtherCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24480,7 +24480,7 @@ - (void)subscribeAttributeRxErrOtherCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::RxErrOtherCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24503,7 +24503,7 @@ + (void)readAttributeRxErrOtherCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeActiveTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ActiveTimestamp::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24516,7 +24516,7 @@ - (void)subscribeAttributeActiveTimestampWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ActiveTimestamp::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24539,7 +24539,7 @@ + (void)readAttributeActiveTimestampWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributePendingTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PendingTimestamp::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24552,7 +24552,7 @@ - (void)subscribeAttributePendingTimestampWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::PendingTimestamp::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24575,7 +24575,7 @@ + (void)readAttributePendingTimestampWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeDelayWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::Delay::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24588,7 +24588,7 @@ - (void)subscribeAttributeDelayWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::Delay::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24611,7 +24611,7 @@ + (void)readAttributeDelayWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeSecurityPolicyWithCompletion:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::SecurityPolicy::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24624,7 +24624,7 @@ - (void)subscribeAttributeSecurityPolicyWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::SecurityPolicy::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24647,7 +24647,7 @@ + (void)readAttributeSecurityPolicyWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeChannelPage0MaskWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ChannelPage0Mask::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24660,7 +24660,7 @@ - (void)subscribeAttributeChannelPage0MaskWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ChannelPage0Mask::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24683,7 +24683,7 @@ + (void)readAttributeChannelPage0MaskWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOperationalDatasetComponentsWithCompletion:(void (^)(MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::OperationalDatasetComponents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24696,7 +24696,7 @@ - (void)subscribeAttributeOperationalDatasetComponentsWithParams:(MTRSubscribePa
reportHandler:(void (^)(MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::OperationalDatasetComponents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24719,7 +24719,7 @@ + (void)readAttributeOperationalDatasetComponentsWithClusterStateCache:(MTRClust
- (void)readAttributeActiveNetworkFaultsListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ActiveNetworkFaultsList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24732,7 +24732,7 @@ - (void)subscribeAttributeActiveNetworkFaultsListWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ActiveNetworkFaultsList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24755,7 +24755,7 @@ + (void)readAttributeActiveNetworkFaultsListWithClusterStateCache:(MTRClusterSta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24768,7 +24768,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24791,7 +24791,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24804,7 +24804,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24827,7 +24827,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24840,7 +24840,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24863,7 +24863,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24876,7 +24876,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24899,7 +24899,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24912,7 +24912,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -24935,7 +24935,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -24948,7 +24948,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ThreadNetworkDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27391,7 +27391,7 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WiFiNetworkDiagnostics::Commands::ResetCounts::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -27405,7 +27405,7 @@ - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams
- (void)readAttributeBSSIDWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::Bssid::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27418,7 +27418,7 @@ - (void)subscribeAttributeBSSIDWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::Bssid::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27441,7 +27441,7 @@ + (void)readAttributeBSSIDWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeSecurityTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::SecurityType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27454,7 +27454,7 @@ - (void)subscribeAttributeSecurityTypeWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::SecurityType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27477,7 +27477,7 @@ + (void)readAttributeSecurityTypeWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeWiFiVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::WiFiVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27490,7 +27490,7 @@ - (void)subscribeAttributeWiFiVersionWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::WiFiVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27513,7 +27513,7 @@ + (void)readAttributeWiFiVersionWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeChannelNumberWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::ChannelNumber::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27526,7 +27526,7 @@ - (void)subscribeAttributeChannelNumberWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::ChannelNumber::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27549,7 +27549,7 @@ + (void)readAttributeChannelNumberWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeRSSIWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::Rssi::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27562,7 +27562,7 @@ - (void)subscribeAttributeRSSIWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::Rssi::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27585,7 +27585,7 @@ + (void)readAttributeRSSIWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributeBeaconLostCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::BeaconLostCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27598,7 +27598,7 @@ - (void)subscribeAttributeBeaconLostCountWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::BeaconLostCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27621,7 +27621,7 @@ + (void)readAttributeBeaconLostCountWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeBeaconRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::BeaconRxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27634,7 +27634,7 @@ - (void)subscribeAttributeBeaconRxCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::BeaconRxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27657,7 +27657,7 @@ + (void)readAttributeBeaconRxCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributePacketMulticastRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketMulticastRxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27670,7 +27670,7 @@ - (void)subscribeAttributePacketMulticastRxCountWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketMulticastRxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27693,7 +27693,7 @@ + (void)readAttributePacketMulticastRxCountWithClusterStateCache:(MTRClusterStat
- (void)readAttributePacketMulticastTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketMulticastTxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27706,7 +27706,7 @@ - (void)subscribeAttributePacketMulticastTxCountWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketMulticastTxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27729,7 +27729,7 @@ + (void)readAttributePacketMulticastTxCountWithClusterStateCache:(MTRClusterStat
- (void)readAttributePacketUnicastRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketUnicastRxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27742,7 +27742,7 @@ - (void)subscribeAttributePacketUnicastRxCountWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketUnicastRxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27765,7 +27765,7 @@ + (void)readAttributePacketUnicastRxCountWithClusterStateCache:(MTRClusterStateC
- (void)readAttributePacketUnicastTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketUnicastTxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27778,7 +27778,7 @@ - (void)subscribeAttributePacketUnicastTxCountWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::PacketUnicastTxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27801,7 +27801,7 @@ + (void)readAttributePacketUnicastTxCountWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeCurrentMaxRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::CurrentMaxRate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27814,7 +27814,7 @@ - (void)subscribeAttributeCurrentMaxRateWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::CurrentMaxRate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27837,7 +27837,7 @@ + (void)readAttributeCurrentMaxRateWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::OverrunCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27850,7 +27850,7 @@ - (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::OverrunCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27873,7 +27873,7 @@ + (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27886,7 +27886,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27909,7 +27909,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27922,7 +27922,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27945,7 +27945,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27958,7 +27958,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -27981,7 +27981,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -27994,7 +27994,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28017,7 +28017,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28030,7 +28030,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28053,7 +28053,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28066,7 +28066,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WiFiNetworkDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28759,7 +28759,7 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = EthernetNetworkDiagnostics::Commands::ResetCounts::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -28773,7 +28773,7 @@ - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsPa
- (void)readAttributePHYRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::PHYRate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28786,7 +28786,7 @@ - (void)subscribeAttributePHYRateWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::PHYRate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28809,7 +28809,7 @@ + (void)readAttributePHYRateWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeFullDuplexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::FullDuplex::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28822,7 +28822,7 @@ - (void)subscribeAttributeFullDuplexWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::FullDuplex::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28845,7 +28845,7 @@ + (void)readAttributeFullDuplexWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributePacketRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::PacketRxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28858,7 +28858,7 @@ - (void)subscribeAttributePacketRxCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::PacketRxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28881,7 +28881,7 @@ + (void)readAttributePacketRxCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributePacketTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::PacketTxCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28894,7 +28894,7 @@ - (void)subscribeAttributePacketTxCountWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::PacketTxCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28917,7 +28917,7 @@ + (void)readAttributePacketTxCountWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeTxErrCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::TxErrCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28930,7 +28930,7 @@ - (void)subscribeAttributeTxErrCountWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::TxErrCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28953,7 +28953,7 @@ + (void)readAttributeTxErrCountWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeCollisionCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::CollisionCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -28966,7 +28966,7 @@ - (void)subscribeAttributeCollisionCountWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::CollisionCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -28989,7 +28989,7 @@ + (void)readAttributeCollisionCountWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::OverrunCount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29002,7 +29002,7 @@ - (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::OverrunCount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29025,7 +29025,7 @@ + (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeCarrierDetectWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::CarrierDetect::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29038,7 +29038,7 @@ - (void)subscribeAttributeCarrierDetectWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::CarrierDetect::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29061,7 +29061,7 @@ + (void)readAttributeCarrierDetectWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeTimeSinceResetWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::TimeSinceReset::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29074,7 +29074,7 @@ - (void)subscribeAttributeTimeSinceResetWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::TimeSinceReset::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29097,7 +29097,7 @@ + (void)readAttributeTimeSinceResetWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29110,7 +29110,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29133,7 +29133,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29146,7 +29146,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29169,7 +29169,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29182,7 +29182,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29205,7 +29205,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29218,7 +29218,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29241,7 +29241,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29254,7 +29254,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29277,7 +29277,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29290,7 +29290,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EthernetNetworkDiagnostics::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29839,7 +29839,7 @@ - (void)setUTCTimeWithParams:(MTRTimeSynchronizationClusterSetUTCTimeParams *)pa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = TimeSynchronization::Commands::SetUTCTime::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -29863,7 +29863,7 @@ - (void)setTrustedTimeSourceWithParams:(MTRTimeSynchronizationClusterSetTrustedT
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = TimeSynchronization::Commands::SetTrustedTimeSource::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -29887,7 +29887,7 @@ - (void)setTimeZoneWithParams:(MTRTimeSynchronizationClusterSetTimeZoneParams *)
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = TimeSynchronization::Commands::SetTimeZone::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -29911,7 +29911,7 @@ - (void)setDSTOffsetWithParams:(MTRTimeSynchronizationClusterSetDSTOffsetParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = TimeSynchronization::Commands::SetDSTOffset::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -29935,7 +29935,7 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = TimeSynchronization::Commands::SetDefaultNTP::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -29949,7 +29949,7 @@ - (void)setDefaultNTPWithParams:(MTRTimeSynchronizationClusterSetDefaultNTPParam
- (void)readAttributeUTCTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::UTCTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29962,7 +29962,7 @@ - (void)subscribeAttributeUTCTimeWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::UTCTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -29985,7 +29985,7 @@ + (void)readAttributeUTCTimeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGranularityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::Granularity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -29998,7 +29998,7 @@ - (void)subscribeAttributeGranularityWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::Granularity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30021,7 +30021,7 @@ + (void)readAttributeGranularityWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeTimeSourceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::TimeSource::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30034,7 +30034,7 @@ - (void)subscribeAttributeTimeSourceWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::TimeSource::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30057,7 +30057,7 @@ + (void)readAttributeTimeSourceWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeTrustedTimeSourceWithCompletion:(void (^)(MTRTimeSynchronizationClusterTrustedTimeSourceStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::TrustedTimeSource::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30070,7 +30070,7 @@ - (void)subscribeAttributeTrustedTimeSourceWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(MTRTimeSynchronizationClusterTrustedTimeSourceStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::TrustedTimeSource::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30093,7 +30093,7 @@ + (void)readAttributeTrustedTimeSourceWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeDefaultNTPWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::DefaultNTP::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30106,7 +30106,7 @@ - (void)subscribeAttributeDefaultNTPWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::DefaultNTP::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30129,7 +30129,7 @@ + (void)readAttributeDefaultNTPWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeTimeZoneWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::TimeZone::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30142,7 +30142,7 @@ - (void)subscribeAttributeTimeZoneWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::TimeZone::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30165,7 +30165,7 @@ + (void)readAttributeTimeZoneWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeDSTOffsetWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::DSTOffset::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30178,7 +30178,7 @@ - (void)subscribeAttributeDSTOffsetWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::DSTOffset::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30201,7 +30201,7 @@ + (void)readAttributeDSTOffsetWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeLocalTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::LocalTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30214,7 +30214,7 @@ - (void)subscribeAttributeLocalTimeWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::LocalTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30237,7 +30237,7 @@ + (void)readAttributeLocalTimeWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeTimeZoneDatabaseWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::TimeZoneDatabase::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30250,7 +30250,7 @@ - (void)subscribeAttributeTimeZoneDatabaseWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::TimeZoneDatabase::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30273,7 +30273,7 @@ + (void)readAttributeTimeZoneDatabaseWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeNTPServerAvailableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::NTPServerAvailable::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30286,7 +30286,7 @@ - (void)subscribeAttributeNTPServerAvailableWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::NTPServerAvailable::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30309,7 +30309,7 @@ + (void)readAttributeNTPServerAvailableWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeTimeZoneListMaxSizeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::TimeZoneListMaxSize::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30322,7 +30322,7 @@ - (void)subscribeAttributeTimeZoneListMaxSizeWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::TimeZoneListMaxSize::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30345,7 +30345,7 @@ + (void)readAttributeTimeZoneListMaxSizeWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeDSTOffsetListMaxSizeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::DSTOffsetListMaxSize::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30358,7 +30358,7 @@ - (void)subscribeAttributeDSTOffsetListMaxSizeWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::DSTOffsetListMaxSize::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30381,7 +30381,7 @@ + (void)readAttributeDSTOffsetListMaxSizeWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeSupportsDNSResolveWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::SupportsDNSResolve::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30394,7 +30394,7 @@ - (void)subscribeAttributeSupportsDNSResolveWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::SupportsDNSResolve::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30417,7 +30417,7 @@ + (void)readAttributeSupportsDNSResolveWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30430,7 +30430,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30453,7 +30453,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30466,7 +30466,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30489,7 +30489,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30502,7 +30502,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30525,7 +30525,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30538,7 +30538,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30561,7 +30561,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30574,7 +30574,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30597,7 +30597,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TimeSynchronization::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30610,7 +30610,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TimeSynchronization::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30637,7 +30637,7 @@ @implementation MTRBaseClusterBridgedDeviceBasicInformation
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::VendorName::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30650,7 +30650,7 @@ - (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::VendorName::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30673,7 +30673,7 @@ + (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::VendorID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30686,7 +30686,7 @@ - (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::VendorID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30709,7 +30709,7 @@ + (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeProductNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductName::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30722,7 +30722,7 @@ - (void)subscribeAttributeProductNameWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductName::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30745,7 +30745,7 @@ + (void)readAttributeProductNameWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeNodeLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::NodeLabel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30776,7 +30776,7 @@ - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value params:(MTRW
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -30786,7 +30786,7 @@ - (void)subscribeAttributeNodeLabelWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::NodeLabel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30809,7 +30809,7 @@ + (void)readAttributeNodeLabelWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeHardwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::HardwareVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30822,7 +30822,7 @@ - (void)subscribeAttributeHardwareVersionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::HardwareVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30845,7 +30845,7 @@ + (void)readAttributeHardwareVersionWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeHardwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::HardwareVersionString::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30858,7 +30858,7 @@ - (void)subscribeAttributeHardwareVersionStringWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::HardwareVersionString::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30881,7 +30881,7 @@ + (void)readAttributeHardwareVersionStringWithClusterStateCache:(MTRClusterState
- (void)readAttributeSoftwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::SoftwareVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30894,7 +30894,7 @@ - (void)subscribeAttributeSoftwareVersionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::SoftwareVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30917,7 +30917,7 @@ + (void)readAttributeSoftwareVersionWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeSoftwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::SoftwareVersionString::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30930,7 +30930,7 @@ - (void)subscribeAttributeSoftwareVersionStringWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::SoftwareVersionString::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30953,7 +30953,7 @@ + (void)readAttributeSoftwareVersionStringWithClusterStateCache:(MTRClusterState
- (void)readAttributeManufacturingDateWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ManufacturingDate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -30966,7 +30966,7 @@ - (void)subscribeAttributeManufacturingDateWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ManufacturingDate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -30989,7 +30989,7 @@ + (void)readAttributeManufacturingDateWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributePartNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::PartNumber::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31002,7 +31002,7 @@ - (void)subscribeAttributePartNumberWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::PartNumber::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31025,7 +31025,7 @@ + (void)readAttributePartNumberWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeProductURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductURL::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31038,7 +31038,7 @@ - (void)subscribeAttributeProductURLWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductURL::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31061,7 +31061,7 @@ + (void)readAttributeProductURLWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeProductLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductLabel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31074,7 +31074,7 @@ - (void)subscribeAttributeProductLabelWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductLabel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31097,7 +31097,7 @@ + (void)readAttributeProductLabelWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeSerialNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::SerialNumber::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31110,7 +31110,7 @@ - (void)subscribeAttributeSerialNumberWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::SerialNumber::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31133,7 +31133,7 @@ + (void)readAttributeSerialNumberWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeReachableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::Reachable::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31146,7 +31146,7 @@ - (void)subscribeAttributeReachableWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::Reachable::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31169,7 +31169,7 @@ + (void)readAttributeReachableWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeUniqueIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::UniqueID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31182,7 +31182,7 @@ - (void)subscribeAttributeUniqueIDWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::UniqueID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31205,7 +31205,7 @@ + (void)readAttributeUniqueIDWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeProductAppearanceWithCompletion:(void (^)(MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductAppearance::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31218,7 +31218,7 @@ - (void)subscribeAttributeProductAppearanceWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(MTRBridgedDeviceBasicInformationClusterProductAppearanceStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ProductAppearance::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31241,7 +31241,7 @@ + (void)readAttributeProductAppearanceWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31254,7 +31254,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31277,7 +31277,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31290,7 +31290,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31313,7 +31313,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31326,7 +31326,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31349,7 +31349,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31362,7 +31362,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31385,7 +31385,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31398,7 +31398,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -31421,7 +31421,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -31434,7 +31434,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BridgedDeviceBasicInformation::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32183,7 +32183,7 @@ @implementation MTRBaseClusterSwitch
- (void)readAttributeNumberOfPositionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::NumberOfPositions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32196,7 +32196,7 @@ - (void)subscribeAttributeNumberOfPositionsWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::NumberOfPositions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32219,7 +32219,7 @@ + (void)readAttributeNumberOfPositionsWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeCurrentPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::CurrentPosition::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32232,7 +32232,7 @@ - (void)subscribeAttributeCurrentPositionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::CurrentPosition::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32255,7 +32255,7 @@ + (void)readAttributeCurrentPositionWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeMultiPressMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::MultiPressMax::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32268,7 +32268,7 @@ - (void)subscribeAttributeMultiPressMaxWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::MultiPressMax::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32291,7 +32291,7 @@ + (void)readAttributeMultiPressMaxWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32304,7 +32304,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32327,7 +32327,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32340,7 +32340,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32363,7 +32363,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32376,7 +32376,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32399,7 +32399,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32412,7 +32412,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32435,7 +32435,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32448,7 +32448,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32471,7 +32471,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Switch::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32484,7 +32484,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Switch::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32816,7 +32816,7 @@ - (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterO
}
using RequestType = AdministratorCommissioning::Commands::OpenCommissioningWindow::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -32843,7 +32843,7 @@ - (void)openBasicCommissioningWindowWithParams:(MTRAdministratorCommissioningClu
}
using RequestType = AdministratorCommissioning::Commands::OpenBasicCommissioningWindow::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -32874,7 +32874,7 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok
}
using RequestType = AdministratorCommissioning::Commands::RevokeCommissioning::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -32888,7 +32888,7 @@ - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevok
- (void)readAttributeWindowStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::WindowStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32901,7 +32901,7 @@ - (void)subscribeAttributeWindowStatusWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::WindowStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32924,7 +32924,7 @@ + (void)readAttributeWindowStatusWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeAdminFabricIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::AdminFabricIndex::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32937,7 +32937,7 @@ - (void)subscribeAttributeAdminFabricIndexWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::AdminFabricIndex::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32960,7 +32960,7 @@ + (void)readAttributeAdminFabricIndexWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeAdminVendorIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::AdminVendorId::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -32973,7 +32973,7 @@ - (void)subscribeAttributeAdminVendorIdWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::AdminVendorId::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -32996,7 +32996,7 @@ + (void)readAttributeAdminVendorIdWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33009,7 +33009,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33032,7 +33032,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33045,7 +33045,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33068,7 +33068,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33081,7 +33081,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33104,7 +33104,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33117,7 +33117,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33140,7 +33140,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33153,7 +33153,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33176,7 +33176,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AdministratorCommissioning::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33189,7 +33189,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AdministratorCommissioning::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33538,7 +33538,7 @@ - (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestatio
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::AttestationRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33562,7 +33562,7 @@ - (void)certificateChainRequestWithParams:(MTROperationalCredentialsClusterCerti
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::CertificateChainRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33586,7 +33586,7 @@ - (void)CSRRequestWithParams:(MTROperationalCredentialsClusterCSRRequestParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::CSRRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33610,7 +33610,7 @@ - (void)addNOCWithParams:(MTROperationalCredentialsClusterAddNOCParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::AddNOC::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33634,7 +33634,7 @@ - (void)updateNOCWithParams:(MTROperationalCredentialsClusterUpdateNOCParams *)p
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::UpdateNOC::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33658,7 +33658,7 @@ - (void)updateFabricLabelWithParams:(MTROperationalCredentialsClusterUpdateFabri
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::UpdateFabricLabel::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33682,7 +33682,7 @@ - (void)removeFabricWithParams:(MTROperationalCredentialsClusterRemoveFabricPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::RemoveFabric::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33706,7 +33706,7 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalCredentials::Commands::AddTrustedRootCertificate::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -33720,7 +33720,7 @@ - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAdd
- (void)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::NOCs::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33733,7 +33733,7 @@ - (void)subscribeAttributeNOCsWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::NOCs::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33756,7 +33756,7 @@ + (void)readAttributeNOCsWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::Fabrics::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33769,7 +33769,7 @@ - (void)subscribeAttributeFabricsWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::Fabrics::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33792,7 +33792,7 @@ + (void)readAttributeFabricsWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeSupportedFabricsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::SupportedFabrics::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33805,7 +33805,7 @@ - (void)subscribeAttributeSupportedFabricsWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::SupportedFabrics::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33828,7 +33828,7 @@ + (void)readAttributeSupportedFabricsWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeCommissionedFabricsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::CommissionedFabrics::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33841,7 +33841,7 @@ - (void)subscribeAttributeCommissionedFabricsWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::CommissionedFabrics::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33864,7 +33864,7 @@ + (void)readAttributeCommissionedFabricsWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeTrustedRootCertificatesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::TrustedRootCertificates::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33877,7 +33877,7 @@ - (void)subscribeAttributeTrustedRootCertificatesWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::TrustedRootCertificates::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33900,7 +33900,7 @@ + (void)readAttributeTrustedRootCertificatesWithClusterStateCache:(MTRClusterSta
- (void)readAttributeCurrentFabricIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::CurrentFabricIndex::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33913,7 +33913,7 @@ - (void)subscribeAttributeCurrentFabricIndexWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::CurrentFabricIndex::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33936,7 +33936,7 @@ + (void)readAttributeCurrentFabricIndexWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33949,7 +33949,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -33972,7 +33972,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -33985,7 +33985,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34008,7 +34008,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34021,7 +34021,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34044,7 +34044,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34057,7 +34057,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34080,7 +34080,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34093,7 +34093,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34116,7 +34116,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalCredentials::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34129,7 +34129,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalCredentials::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34625,7 +34625,7 @@ - (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)p
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GroupKeyManagement::Commands::KeySetWrite::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -34649,7 +34649,7 @@ - (void)keySetReadWithParams:(MTRGroupKeyManagementClusterKeySetReadParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GroupKeyManagement::Commands::KeySetRead::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -34673,7 +34673,7 @@ - (void)keySetRemoveWithParams:(MTRGroupKeyManagementClusterKeySetRemoveParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GroupKeyManagement::Commands::KeySetRemove::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -34701,7 +34701,7 @@ - (void)keySetReadAllIndicesWithParams:(MTRGroupKeyManagementClusterKeySetReadAl
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = GroupKeyManagement::Commands::KeySetReadAllIndices::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -34715,7 +34715,7 @@ - (void)keySetReadAllIndicesWithParams:(MTRGroupKeyManagementClusterKeySetReadAl
- (void)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::GroupKeyMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34769,7 +34769,7 @@ - (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value params:(MTR
}
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -34779,7 +34779,7 @@ - (void)subscribeAttributeGroupKeyMapWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::GroupKeyMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34802,7 +34802,7 @@ + (void)readAttributeGroupKeyMapWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::GroupTable::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34815,7 +34815,7 @@ - (void)subscribeAttributeGroupTableWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::GroupTable::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34838,7 +34838,7 @@ + (void)readAttributeGroupTableWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeMaxGroupsPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::MaxGroupsPerFabric::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34851,7 +34851,7 @@ - (void)subscribeAttributeMaxGroupsPerFabricWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::MaxGroupsPerFabric::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34874,7 +34874,7 @@ + (void)readAttributeMaxGroupsPerFabricWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeMaxGroupKeysPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::MaxGroupKeysPerFabric::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34887,7 +34887,7 @@ - (void)subscribeAttributeMaxGroupKeysPerFabricWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::MaxGroupKeysPerFabric::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34910,7 +34910,7 @@ + (void)readAttributeMaxGroupKeysPerFabricWithClusterStateCache:(MTRClusterState
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34923,7 +34923,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34946,7 +34946,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34959,7 +34959,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -34982,7 +34982,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -34995,7 +34995,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35018,7 +35018,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35031,7 +35031,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35054,7 +35054,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35067,7 +35067,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35090,7 +35090,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = GroupKeyManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35103,7 +35103,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = GroupKeyManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35491,7 +35491,7 @@ @implementation MTRBaseClusterFixedLabel
- (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::LabelList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35504,7 +35504,7 @@ - (void)subscribeAttributeLabelListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::LabelList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35527,7 +35527,7 @@ + (void)readAttributeLabelListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35540,7 +35540,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35563,7 +35563,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35576,7 +35576,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35599,7 +35599,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35612,7 +35612,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35635,7 +35635,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35648,7 +35648,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35671,7 +35671,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35684,7 +35684,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35707,7 +35707,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = FixedLabel::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -35720,7 +35720,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = FixedLabel::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -35968,7 +35968,7 @@ @implementation MTRBaseClusterUserLabel
- (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::LabelList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36021,7 +36021,7 @@ - (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value params:(MTRWr
}
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -36031,7 +36031,7 @@ - (void)subscribeAttributeLabelListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::LabelList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36054,7 +36054,7 @@ + (void)readAttributeLabelListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36067,7 +36067,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36090,7 +36090,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36103,7 +36103,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36126,7 +36126,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36139,7 +36139,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36162,7 +36162,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36175,7 +36175,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36198,7 +36198,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36211,7 +36211,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36234,7 +36234,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = UserLabel::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36247,7 +36247,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = UserLabel::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36503,7 +36503,7 @@ @implementation MTRBaseClusterBooleanState
- (void)readAttributeStateValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::StateValue::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36516,7 +36516,7 @@ - (void)subscribeAttributeStateValueWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::StateValue::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36539,7 +36539,7 @@ + (void)readAttributeStateValueWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36552,7 +36552,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36575,7 +36575,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36588,7 +36588,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36611,7 +36611,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36624,7 +36624,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36647,7 +36647,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36660,7 +36660,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36683,7 +36683,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36696,7 +36696,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36719,7 +36719,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanState::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -36732,7 +36732,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanState::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -36991,7 +36991,7 @@ - (void)registerClientWithParams:(MTRICDManagementClusterRegisterClientParams *)
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = IcdManagement::Commands::RegisterClient::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37015,7 +37015,7 @@ - (void)unregisterClientWithParams:(MTRICDManagementClusterUnregisterClientParam
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = IcdManagement::Commands::UnregisterClient::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37043,7 +37043,7 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = IcdManagement::Commands::StayActiveRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37057,7 +37057,7 @@ - (void)stayActiveRequestWithParams:(MTRICDManagementClusterStayActiveRequestPar
- (void)readAttributeIdleModeDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::IdleModeDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37070,7 +37070,7 @@ - (void)subscribeAttributeIdleModeDurationWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::IdleModeDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37093,7 +37093,7 @@ + (void)readAttributeIdleModeDurationWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeActiveModeDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::ActiveModeDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37106,7 +37106,7 @@ - (void)subscribeAttributeActiveModeDurationWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::ActiveModeDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37129,7 +37129,7 @@ + (void)readAttributeActiveModeDurationWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeActiveModeThresholdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::ActiveModeThreshold::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37142,7 +37142,7 @@ - (void)subscribeAttributeActiveModeThresholdWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::ActiveModeThreshold::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37165,7 +37165,7 @@ + (void)readAttributeActiveModeThresholdWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeRegisteredClientsWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::RegisteredClients::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37178,7 +37178,7 @@ - (void)subscribeAttributeRegisteredClientsWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::RegisteredClients::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37201,7 +37201,7 @@ + (void)readAttributeRegisteredClientsWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeICDCounterWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::ICDCounter::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37214,7 +37214,7 @@ - (void)subscribeAttributeICDCounterWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::ICDCounter::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37237,7 +37237,7 @@ + (void)readAttributeICDCounterWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClientsSupportedPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::ClientsSupportedPerFabric::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37250,7 +37250,7 @@ - (void)subscribeAttributeClientsSupportedPerFabricWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::ClientsSupportedPerFabric::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37273,7 +37273,7 @@ + (void)readAttributeClientsSupportedPerFabricWithClusterStateCache:(MTRClusterS
- (void)readAttributeUserActiveModeTriggerHintWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::UserActiveModeTriggerHint::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37286,7 +37286,7 @@ - (void)subscribeAttributeUserActiveModeTriggerHintWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::UserActiveModeTriggerHint::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37309,7 +37309,7 @@ + (void)readAttributeUserActiveModeTriggerHintWithClusterStateCache:(MTRClusterS
- (void)readAttributeUserActiveModeTriggerInstructionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::UserActiveModeTriggerInstruction::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37322,7 +37322,7 @@ - (void)subscribeAttributeUserActiveModeTriggerInstructionWithParams:(MTRSubscri
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::UserActiveModeTriggerInstruction::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37345,7 +37345,7 @@ + (void)readAttributeUserActiveModeTriggerInstructionWithClusterStateCache:(MTRC
- (void)readAttributeOperatingModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::OperatingMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37358,7 +37358,7 @@ - (void)subscribeAttributeOperatingModeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::OperatingMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37381,7 +37381,7 @@ + (void)readAttributeOperatingModeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37394,7 +37394,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37417,7 +37417,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37430,7 +37430,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37453,7 +37453,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37466,7 +37466,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37489,7 +37489,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37502,7 +37502,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37525,7 +37525,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37538,7 +37538,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37561,7 +37561,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = IcdManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37574,7 +37574,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = IcdManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37612,7 +37612,7 @@ - (void)setTimerWithParams:(MTRTimerClusterSetTimerParams *)params completion:(M
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Timer::Commands::SetTimer::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37640,7 +37640,7 @@ - (void)resetTimerWithParams:(MTRTimerClusterResetTimerParams * _Nullable)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Timer::Commands::ResetTimer::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37664,7 +37664,7 @@ - (void)addTimeWithParams:(MTRTimerClusterAddTimeParams *)params completion:(MTR
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Timer::Commands::AddTime::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37688,7 +37688,7 @@ - (void)reduceTimeWithParams:(MTRTimerClusterReduceTimeParams *)params completio
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Timer::Commands::ReduceTime::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -37702,7 +37702,7 @@ - (void)reduceTimeWithParams:(MTRTimerClusterReduceTimeParams *)params completio
- (void)readAttributeSetTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::SetTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37715,7 +37715,7 @@ - (void)subscribeAttributeSetTimeWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::SetTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37738,7 +37738,7 @@ + (void)readAttributeSetTimeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeTimeRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::TimeRemaining::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37751,7 +37751,7 @@ - (void)subscribeAttributeTimeRemainingWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::TimeRemaining::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37774,7 +37774,7 @@ + (void)readAttributeTimeRemainingWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeTimerStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::TimerState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37787,7 +37787,7 @@ - (void)subscribeAttributeTimerStateWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::TimerState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37810,7 +37810,7 @@ + (void)readAttributeTimerStateWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37823,7 +37823,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37846,7 +37846,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37859,7 +37859,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37882,7 +37882,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37895,7 +37895,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37918,7 +37918,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37931,7 +37931,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37954,7 +37954,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -37967,7 +37967,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -37990,7 +37990,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Timer::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38003,7 +38003,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Timer::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38045,7 +38045,7 @@ - (void)pauseWithParams:(MTROvenCavityOperationalStateClusterPauseParams * _Null
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OvenCavityOperationalState::Commands::Pause::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -38073,7 +38073,7 @@ - (void)stopWithParams:(MTROvenCavityOperationalStateClusterStopParams * _Nullab
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OvenCavityOperationalState::Commands::Stop::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -38101,7 +38101,7 @@ - (void)startWithParams:(MTROvenCavityOperationalStateClusterStartParams * _Null
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OvenCavityOperationalState::Commands::Start::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -38129,7 +38129,7 @@ - (void)resumeWithParams:(MTROvenCavityOperationalStateClusterResumeParams * _Nu
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OvenCavityOperationalState::Commands::Resume::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -38143,7 +38143,7 @@ - (void)resumeWithParams:(MTROvenCavityOperationalStateClusterResumeParams * _Nu
- (void)readAttributePhaseListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::PhaseList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38156,7 +38156,7 @@ - (void)subscribeAttributePhaseListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::PhaseList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38179,7 +38179,7 @@ + (void)readAttributePhaseListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeCurrentPhaseWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::CurrentPhase::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38192,7 +38192,7 @@ - (void)subscribeAttributeCurrentPhaseWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::CurrentPhase::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38215,7 +38215,7 @@ + (void)readAttributeCurrentPhaseWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeCountdownTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::CountdownTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38228,7 +38228,7 @@ - (void)subscribeAttributeCountdownTimeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::CountdownTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38251,7 +38251,7 @@ + (void)readAttributeCountdownTimeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeOperationalStateListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::OperationalStateList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38264,7 +38264,7 @@ - (void)subscribeAttributeOperationalStateListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::OperationalStateList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38287,7 +38287,7 @@ + (void)readAttributeOperationalStateListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeOperationalStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::OperationalState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38300,7 +38300,7 @@ - (void)subscribeAttributeOperationalStateWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::OperationalState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38323,7 +38323,7 @@ + (void)readAttributeOperationalStateWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOperationalErrorWithCompletion:(void (^)(MTROvenCavityOperationalStateClusterErrorStateStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::OperationalError::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38336,7 +38336,7 @@ - (void)subscribeAttributeOperationalErrorWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(MTROvenCavityOperationalStateClusterErrorStateStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::OperationalError::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38359,7 +38359,7 @@ + (void)readAttributeOperationalErrorWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38372,7 +38372,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38395,7 +38395,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38408,7 +38408,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38431,7 +38431,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38444,7 +38444,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38467,7 +38467,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38480,7 +38480,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38503,7 +38503,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38516,7 +38516,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38539,7 +38539,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenCavityOperationalState::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38552,7 +38552,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenCavityOperationalState::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38590,7 +38590,7 @@ - (void)changeToModeWithParams:(MTROvenModeClusterChangeToModeParams *)params co
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OvenMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -38604,7 +38604,7 @@ - (void)changeToModeWithParams:(MTROvenModeClusterChangeToModeParams *)params co
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38617,7 +38617,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38640,7 +38640,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38653,7 +38653,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38676,7 +38676,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38712,7 +38712,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -38722,7 +38722,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38745,7 +38745,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38781,7 +38781,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -38791,7 +38791,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38814,7 +38814,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38827,7 +38827,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38850,7 +38850,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38863,7 +38863,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38886,7 +38886,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38899,7 +38899,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38922,7 +38922,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38935,7 +38935,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38958,7 +38958,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -38971,7 +38971,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -38994,7 +38994,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OvenMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39007,7 +39007,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OvenMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39034,7 +39034,7 @@ @implementation MTRBaseClusterLaundryDryerControls
- (void)readAttributeSupportedDrynessLevelsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::SupportedDrynessLevels::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39047,7 +39047,7 @@ - (void)subscribeAttributeSupportedDrynessLevelsWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::SupportedDrynessLevels::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39070,7 +39070,7 @@ + (void)readAttributeSupportedDrynessLevelsWithClusterStateCache:(MTRClusterStat
- (void)readAttributeSelectedDrynessLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::SelectedDrynessLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39106,7 +39106,7 @@ - (void)writeAttributeSelectedDrynessLevelWithValue:(NSNumber * _Nullable)value
nonNullValue_0 = static_cast>(value.unsignedCharValue);
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -39116,7 +39116,7 @@ - (void)subscribeAttributeSelectedDrynessLevelWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::SelectedDrynessLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39139,7 +39139,7 @@ + (void)readAttributeSelectedDrynessLevelWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39152,7 +39152,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39175,7 +39175,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39188,7 +39188,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39211,7 +39211,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39224,7 +39224,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39247,7 +39247,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39260,7 +39260,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39283,7 +39283,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39296,7 +39296,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39319,7 +39319,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryDryerControls::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39332,7 +39332,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryDryerControls::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39370,7 +39370,7 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ModeSelect::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -39384,7 +39384,7 @@ - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params
- (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::Description::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39397,7 +39397,7 @@ - (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::Description::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39420,7 +39420,7 @@ + (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStandardNamespaceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::StandardNamespace::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39433,7 +39433,7 @@ - (void)subscribeAttributeStandardNamespaceWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::StandardNamespace::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39456,7 +39456,7 @@ + (void)readAttributeStandardNamespaceWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39469,7 +39469,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39492,7 +39492,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39505,7 +39505,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39528,7 +39528,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39564,7 +39564,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -39574,7 +39574,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39597,7 +39597,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39633,7 +39633,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -39643,7 +39643,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39666,7 +39666,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39679,7 +39679,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39702,7 +39702,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39715,7 +39715,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39738,7 +39738,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39751,7 +39751,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39774,7 +39774,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39787,7 +39787,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39810,7 +39810,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39823,7 +39823,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -39846,7 +39846,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ModeSelect::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -39859,7 +39859,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ModeSelect::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40315,7 +40315,7 @@ - (void)changeToModeWithParams:(MTRLaundryWasherModeClusterChangeToModeParams *)
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = LaundryWasherMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -40329,7 +40329,7 @@ - (void)changeToModeWithParams:(MTRLaundryWasherModeClusterChangeToModeParams *)
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40342,7 +40342,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40365,7 +40365,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40378,7 +40378,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40401,7 +40401,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40437,7 +40437,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -40447,7 +40447,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40470,7 +40470,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40506,7 +40506,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -40516,7 +40516,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40539,7 +40539,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40552,7 +40552,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40575,7 +40575,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40588,7 +40588,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40611,7 +40611,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40624,7 +40624,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40647,7 +40647,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40660,7 +40660,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40683,7 +40683,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40696,7 +40696,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40719,7 +40719,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40732,7 +40732,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40770,7 +40770,7 @@ - (void)changeToModeWithParams:(MTRRefrigeratorAndTemperatureControlledCabinetMo
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = RefrigeratorAndTemperatureControlledCabinetMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -40784,7 +40784,7 @@ - (void)changeToModeWithParams:(MTRRefrigeratorAndTemperatureControlledCabinetMo
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40797,7 +40797,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40820,7 +40820,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40833,7 +40833,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40856,7 +40856,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40892,7 +40892,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -40902,7 +40902,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40925,7 +40925,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -40961,7 +40961,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -40971,7 +40971,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -40994,7 +40994,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41007,7 +41007,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41030,7 +41030,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41043,7 +41043,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41066,7 +41066,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41079,7 +41079,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41102,7 +41102,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41115,7 +41115,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41138,7 +41138,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41151,7 +41151,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41174,7 +41174,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41187,7 +41187,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAndTemperatureControlledCabinetMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41214,7 +41214,7 @@ @implementation MTRBaseClusterLaundryWasherControls
- (void)readAttributeSpinSpeedsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::SpinSpeeds::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41227,7 +41227,7 @@ - (void)subscribeAttributeSpinSpeedsWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::SpinSpeeds::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41250,7 +41250,7 @@ + (void)readAttributeSpinSpeedsWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeSpinSpeedCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::SpinSpeedCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41286,7 +41286,7 @@ - (void)writeAttributeSpinSpeedCurrentWithValue:(NSNumber * _Nullable)value para
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -41296,7 +41296,7 @@ - (void)subscribeAttributeSpinSpeedCurrentWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::SpinSpeedCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41319,7 +41319,7 @@ + (void)readAttributeSpinSpeedCurrentWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeNumberOfRinsesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::NumberOfRinses::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41350,7 +41350,7 @@ - (void)writeAttributeNumberOfRinsesWithValue:(NSNumber * _Nonnull)value params:
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -41360,7 +41360,7 @@ - (void)subscribeAttributeNumberOfRinsesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::NumberOfRinses::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41383,7 +41383,7 @@ + (void)readAttributeNumberOfRinsesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeSupportedRinsesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::SupportedRinses::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41396,7 +41396,7 @@ - (void)subscribeAttributeSupportedRinsesWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::SupportedRinses::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41419,7 +41419,7 @@ + (void)readAttributeSupportedRinsesWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41432,7 +41432,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41455,7 +41455,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41468,7 +41468,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41491,7 +41491,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41504,7 +41504,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41527,7 +41527,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41540,7 +41540,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41563,7 +41563,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41576,7 +41576,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41599,7 +41599,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = LaundryWasherControls::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41612,7 +41612,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = LaundryWasherControls::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41650,7 +41650,7 @@ - (void)changeToModeWithParams:(MTRRVCRunModeClusterChangeToModeParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = RvcRunMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -41664,7 +41664,7 @@ - (void)changeToModeWithParams:(MTRRVCRunModeClusterChangeToModeParams *)params
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41677,7 +41677,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41700,7 +41700,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41713,7 +41713,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41736,7 +41736,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41749,7 +41749,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41772,7 +41772,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41785,7 +41785,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41808,7 +41808,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41821,7 +41821,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41844,7 +41844,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41857,7 +41857,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41880,7 +41880,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41893,7 +41893,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41916,7 +41916,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcRunMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41929,7 +41929,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcRunMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -41967,7 +41967,7 @@ - (void)changeToModeWithParams:(MTRRVCCleanModeClusterChangeToModeParams *)param
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = RvcCleanMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -41981,7 +41981,7 @@ - (void)changeToModeWithParams:(MTRRVCCleanModeClusterChangeToModeParams *)param
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -41994,7 +41994,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42017,7 +42017,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42030,7 +42030,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42053,7 +42053,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42066,7 +42066,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42089,7 +42089,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42102,7 +42102,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42125,7 +42125,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42138,7 +42138,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42161,7 +42161,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42174,7 +42174,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42197,7 +42197,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42210,7 +42210,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42233,7 +42233,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcCleanMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42246,7 +42246,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcCleanMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42288,7 +42288,7 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = TemperatureControl::Commands::SetTemperature::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -42302,7 +42302,7 @@ - (void)setTemperatureWithParams:(MTRTemperatureControlClusterSetTemperaturePara
- (void)readAttributeTemperatureSetpointWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::TemperatureSetpoint::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42315,7 +42315,7 @@ - (void)subscribeAttributeTemperatureSetpointWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::TemperatureSetpoint::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42338,7 +42338,7 @@ + (void)readAttributeTemperatureSetpointWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeMinTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::MinTemperature::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42351,7 +42351,7 @@ - (void)subscribeAttributeMinTemperatureWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::MinTemperature::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42374,7 +42374,7 @@ + (void)readAttributeMinTemperatureWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeMaxTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::MaxTemperature::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42387,7 +42387,7 @@ - (void)subscribeAttributeMaxTemperatureWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::MaxTemperature::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42410,7 +42410,7 @@ + (void)readAttributeMaxTemperatureWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeStepWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::Step::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42423,7 +42423,7 @@ - (void)subscribeAttributeStepWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::Step::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42446,7 +42446,7 @@ + (void)readAttributeStepWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributeSelectedTemperatureLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::SelectedTemperatureLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42459,7 +42459,7 @@ - (void)subscribeAttributeSelectedTemperatureLevelWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::SelectedTemperatureLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42482,7 +42482,7 @@ + (void)readAttributeSelectedTemperatureLevelWithClusterStateCache:(MTRClusterSt
- (void)readAttributeSupportedTemperatureLevelsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::SupportedTemperatureLevels::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42495,7 +42495,7 @@ - (void)subscribeAttributeSupportedTemperatureLevelsWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::SupportedTemperatureLevels::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42518,7 +42518,7 @@ + (void)readAttributeSupportedTemperatureLevelsWithClusterStateCache:(MTRCluster
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42531,7 +42531,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42554,7 +42554,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42567,7 +42567,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42590,7 +42590,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42603,7 +42603,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42626,7 +42626,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42639,7 +42639,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42662,7 +42662,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42675,7 +42675,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42698,7 +42698,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = TemperatureControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42711,7 +42711,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = TemperatureControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42738,7 +42738,7 @@ @implementation MTRBaseClusterRefrigeratorAlarm
- (void)readAttributeMaskWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::Mask::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42751,7 +42751,7 @@ - (void)subscribeAttributeMaskWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::Mask::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42774,7 +42774,7 @@ + (void)readAttributeMaskWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::State::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42787,7 +42787,7 @@ - (void)subscribeAttributeStateWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::State::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42810,7 +42810,7 @@ + (void)readAttributeStateWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::Supported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42823,7 +42823,7 @@ - (void)subscribeAttributeSupportedWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::Supported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42846,7 +42846,7 @@ + (void)readAttributeSupportedWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42859,7 +42859,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42882,7 +42882,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42895,7 +42895,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42918,7 +42918,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42931,7 +42931,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42954,7 +42954,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -42967,7 +42967,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -42990,7 +42990,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43003,7 +43003,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43026,7 +43026,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RefrigeratorAlarm::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43039,7 +43039,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RefrigeratorAlarm::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43077,7 +43077,7 @@ - (void)changeToModeWithParams:(MTRDishwasherModeClusterChangeToModeParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DishwasherMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -43091,7 +43091,7 @@ - (void)changeToModeWithParams:(MTRDishwasherModeClusterChangeToModeParams *)par
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43104,7 +43104,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43127,7 +43127,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43140,7 +43140,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43163,7 +43163,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43199,7 +43199,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -43209,7 +43209,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43232,7 +43232,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43268,7 +43268,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -43278,7 +43278,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43301,7 +43301,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43314,7 +43314,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43337,7 +43337,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43350,7 +43350,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43373,7 +43373,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43386,7 +43386,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43409,7 +43409,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43422,7 +43422,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43445,7 +43445,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43458,7 +43458,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43481,7 +43481,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43494,7 +43494,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43521,7 +43521,7 @@ @implementation MTRBaseClusterAirQuality
- (void)readAttributeAirQualityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::AirQuality::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43534,7 +43534,7 @@ - (void)subscribeAttributeAirQualityWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::AirQuality::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43557,7 +43557,7 @@ + (void)readAttributeAirQualityWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43570,7 +43570,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43593,7 +43593,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43606,7 +43606,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43629,7 +43629,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43642,7 +43642,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43665,7 +43665,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43678,7 +43678,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43701,7 +43701,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43714,7 +43714,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43737,7 +43737,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = AirQuality::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43750,7 +43750,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = AirQuality::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43792,7 +43792,7 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = SmokeCoAlarm::Commands::SelfTestRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -43806,7 +43806,7 @@ - (void)selfTestRequestWithParams:(MTRSmokeCOAlarmClusterSelfTestRequestParams *
- (void)readAttributeExpressedStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::ExpressedState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43819,7 +43819,7 @@ - (void)subscribeAttributeExpressedStateWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::ExpressedState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43842,7 +43842,7 @@ + (void)readAttributeExpressedStateWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeSmokeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::SmokeState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43855,7 +43855,7 @@ - (void)subscribeAttributeSmokeStateWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::SmokeState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43878,7 +43878,7 @@ + (void)readAttributeSmokeStateWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeCOStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::COState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43891,7 +43891,7 @@ - (void)subscribeAttributeCOStateWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::COState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43914,7 +43914,7 @@ + (void)readAttributeCOStateWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeBatteryAlertWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::BatteryAlert::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43927,7 +43927,7 @@ - (void)subscribeAttributeBatteryAlertWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::BatteryAlert::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43950,7 +43950,7 @@ + (void)readAttributeBatteryAlertWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeDeviceMutedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::DeviceMuted::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43963,7 +43963,7 @@ - (void)subscribeAttributeDeviceMutedWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::DeviceMuted::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -43986,7 +43986,7 @@ + (void)readAttributeDeviceMutedWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeTestInProgressWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::TestInProgress::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -43999,7 +43999,7 @@ - (void)subscribeAttributeTestInProgressWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::TestInProgress::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44022,7 +44022,7 @@ + (void)readAttributeTestInProgressWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeHardwareFaultAlertWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::HardwareFaultAlert::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44035,7 +44035,7 @@ - (void)subscribeAttributeHardwareFaultAlertWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::HardwareFaultAlert::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44058,7 +44058,7 @@ + (void)readAttributeHardwareFaultAlertWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeEndOfServiceAlertWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::EndOfServiceAlert::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44071,7 +44071,7 @@ - (void)subscribeAttributeEndOfServiceAlertWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::EndOfServiceAlert::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44094,7 +44094,7 @@ + (void)readAttributeEndOfServiceAlertWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeInterconnectSmokeAlarmWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::InterconnectSmokeAlarm::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44107,7 +44107,7 @@ - (void)subscribeAttributeInterconnectSmokeAlarmWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::InterconnectSmokeAlarm::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44130,7 +44130,7 @@ + (void)readAttributeInterconnectSmokeAlarmWithClusterStateCache:(MTRClusterStat
- (void)readAttributeInterconnectCOAlarmWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::InterconnectCOAlarm::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44143,7 +44143,7 @@ - (void)subscribeAttributeInterconnectCOAlarmWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::InterconnectCOAlarm::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44166,7 +44166,7 @@ + (void)readAttributeInterconnectCOAlarmWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeContaminationStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::ContaminationState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44179,7 +44179,7 @@ - (void)subscribeAttributeContaminationStateWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::ContaminationState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44202,7 +44202,7 @@ + (void)readAttributeContaminationStateWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeSmokeSensitivityLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::SmokeSensitivityLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44233,7 +44233,7 @@ - (void)writeAttributeSmokeSensitivityLevelWithValue:(NSNumber * _Nonnull)value
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -44243,7 +44243,7 @@ - (void)subscribeAttributeSmokeSensitivityLevelWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::SmokeSensitivityLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44266,7 +44266,7 @@ + (void)readAttributeSmokeSensitivityLevelWithClusterStateCache:(MTRClusterState
- (void)readAttributeExpiryDateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::ExpiryDate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44279,7 +44279,7 @@ - (void)subscribeAttributeExpiryDateWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::ExpiryDate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44302,7 +44302,7 @@ + (void)readAttributeExpiryDateWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44315,7 +44315,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44338,7 +44338,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44351,7 +44351,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44374,7 +44374,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44387,7 +44387,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44410,7 +44410,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44423,7 +44423,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44446,7 +44446,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44459,7 +44459,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44482,7 +44482,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = SmokeCoAlarm::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44495,7 +44495,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = SmokeCoAlarm::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44533,7 +44533,7 @@ - (void)resetWithParams:(MTRDishwasherAlarmClusterResetParams *)params completio
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DishwasherAlarm::Commands::Reset::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -44557,7 +44557,7 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DishwasherAlarm::Commands::ModifyEnabledAlarms::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -44571,7 +44571,7 @@ - (void)modifyEnabledAlarmsWithParams:(MTRDishwasherAlarmClusterModifyEnabledAla
- (void)readAttributeMaskWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::Mask::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44584,7 +44584,7 @@ - (void)subscribeAttributeMaskWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::Mask::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44607,7 +44607,7 @@ + (void)readAttributeMaskWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributeLatchWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::Latch::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44620,7 +44620,7 @@ - (void)subscribeAttributeLatchWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::Latch::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44643,7 +44643,7 @@ + (void)readAttributeLatchWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::State::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44656,7 +44656,7 @@ - (void)subscribeAttributeStateWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::State::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44679,7 +44679,7 @@ + (void)readAttributeStateWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::Supported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44692,7 +44692,7 @@ - (void)subscribeAttributeSupportedWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::Supported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44715,7 +44715,7 @@ + (void)readAttributeSupportedWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44728,7 +44728,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44751,7 +44751,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44764,7 +44764,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44787,7 +44787,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44800,7 +44800,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44823,7 +44823,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44836,7 +44836,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44859,7 +44859,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44872,7 +44872,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44895,7 +44895,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DishwasherAlarm::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44908,7 +44908,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DishwasherAlarm::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44935,7 +44935,7 @@ @implementation MTRBaseClusterMicrowaveOvenMode
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44948,7 +44948,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -44971,7 +44971,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -44984,7 +44984,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45007,7 +45007,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45020,7 +45020,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45043,7 +45043,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45056,7 +45056,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45079,7 +45079,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45092,7 +45092,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45115,7 +45115,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45128,7 +45128,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45151,7 +45151,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45164,7 +45164,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45187,7 +45187,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45200,7 +45200,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45242,7 +45242,7 @@ - (void)setCookingParametersWithParams:(MTRMicrowaveOvenControlClusterSetCooking
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = MicrowaveOvenControl::Commands::SetCookingParameters::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -45266,7 +45266,7 @@ - (void)addMoreTimeWithParams:(MTRMicrowaveOvenControlClusterAddMoreTimeParams *
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = MicrowaveOvenControl::Commands::AddMoreTime::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -45280,7 +45280,7 @@ - (void)addMoreTimeWithParams:(MTRMicrowaveOvenControlClusterAddMoreTimeParams *
- (void)readAttributeCookTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::CookTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45293,7 +45293,7 @@ - (void)subscribeAttributeCookTimeWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::CookTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45316,7 +45316,7 @@ + (void)readAttributeCookTimeWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeMaxCookTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::MaxCookTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45329,7 +45329,7 @@ - (void)subscribeAttributeMaxCookTimeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::MaxCookTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45352,7 +45352,7 @@ + (void)readAttributeMaxCookTimeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributePowerSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::PowerSetting::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45365,7 +45365,7 @@ - (void)subscribeAttributePowerSettingWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::PowerSetting::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45388,7 +45388,7 @@ + (void)readAttributePowerSettingWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeMinPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::MinPower::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45401,7 +45401,7 @@ - (void)subscribeAttributeMinPowerWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::MinPower::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45424,7 +45424,7 @@ + (void)readAttributeMinPowerWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeMaxPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::MaxPower::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45437,7 +45437,7 @@ - (void)subscribeAttributeMaxPowerWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::MaxPower::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45460,7 +45460,7 @@ + (void)readAttributeMaxPowerWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributePowerStepWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::PowerStep::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45473,7 +45473,7 @@ - (void)subscribeAttributePowerStepWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::PowerStep::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45496,7 +45496,7 @@ + (void)readAttributePowerStepWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeSupportedWattsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::SupportedWatts::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45509,7 +45509,7 @@ - (void)subscribeAttributeSupportedWattsWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::SupportedWatts::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45532,7 +45532,7 @@ + (void)readAttributeSupportedWattsWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeSelectedWattIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::SelectedWattIndex::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45545,7 +45545,7 @@ - (void)subscribeAttributeSelectedWattIndexWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::SelectedWattIndex::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45568,7 +45568,7 @@ + (void)readAttributeSelectedWattIndexWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeWattRatingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::WattRating::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45581,7 +45581,7 @@ - (void)subscribeAttributeWattRatingWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::WattRating::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45604,7 +45604,7 @@ + (void)readAttributeWattRatingWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45617,7 +45617,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45640,7 +45640,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45653,7 +45653,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45676,7 +45676,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45689,7 +45689,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45712,7 +45712,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45725,7 +45725,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45748,7 +45748,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45761,7 +45761,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45784,7 +45784,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = MicrowaveOvenControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45797,7 +45797,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = MicrowaveOvenControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45839,7 +45839,7 @@ - (void)pauseWithParams:(MTROperationalStateClusterPauseParams * _Nullable)param
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalState::Commands::Pause::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -45867,7 +45867,7 @@ - (void)stopWithParams:(MTROperationalStateClusterStopParams * _Nullable)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalState::Commands::Stop::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -45895,7 +45895,7 @@ - (void)startWithParams:(MTROperationalStateClusterStartParams * _Nullable)param
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalState::Commands::Start::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -45923,7 +45923,7 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = OperationalState::Commands::Resume::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -45937,7 +45937,7 @@ - (void)resumeWithParams:(MTROperationalStateClusterResumeParams * _Nullable)par
- (void)readAttributePhaseListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::PhaseList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45950,7 +45950,7 @@ - (void)subscribeAttributePhaseListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::PhaseList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -45973,7 +45973,7 @@ + (void)readAttributePhaseListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeCurrentPhaseWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::CurrentPhase::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -45986,7 +45986,7 @@ - (void)subscribeAttributeCurrentPhaseWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::CurrentPhase::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46009,7 +46009,7 @@ + (void)readAttributeCurrentPhaseWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeCountdownTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::CountdownTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46022,7 +46022,7 @@ - (void)subscribeAttributeCountdownTimeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::CountdownTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46045,7 +46045,7 @@ + (void)readAttributeCountdownTimeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeOperationalStateListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::OperationalStateList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46058,7 +46058,7 @@ - (void)subscribeAttributeOperationalStateListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::OperationalStateList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46081,7 +46081,7 @@ + (void)readAttributeOperationalStateListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeOperationalStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::OperationalState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46094,7 +46094,7 @@ - (void)subscribeAttributeOperationalStateWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::OperationalState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46117,7 +46117,7 @@ + (void)readAttributeOperationalStateWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOperationalErrorWithCompletion:(void (^)(MTROperationalStateClusterErrorStateStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::OperationalError::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46130,7 +46130,7 @@ - (void)subscribeAttributeOperationalErrorWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(MTROperationalStateClusterErrorStateStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::OperationalError::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46153,7 +46153,7 @@ + (void)readAttributeOperationalErrorWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46166,7 +46166,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46189,7 +46189,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46202,7 +46202,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46225,7 +46225,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46238,7 +46238,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46261,7 +46261,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46274,7 +46274,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46297,7 +46297,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46310,7 +46310,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46333,7 +46333,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = OperationalState::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46346,7 +46346,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = OperationalState::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46388,7 +46388,7 @@ - (void)pauseWithParams:(MTRRVCOperationalStateClusterPauseParams * _Nullable)pa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = RvcOperationalState::Commands::Pause::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -46416,7 +46416,7 @@ - (void)resumeWithParams:(MTRRVCOperationalStateClusterResumeParams * _Nullable)
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = RvcOperationalState::Commands::Resume::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -46444,7 +46444,7 @@ - (void)goHomeWithParams:(MTRRVCOperationalStateClusterGoHomeParams * _Nullable)
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = RvcOperationalState::Commands::GoHome::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -46458,7 +46458,7 @@ - (void)goHomeWithParams:(MTRRVCOperationalStateClusterGoHomeParams * _Nullable)
- (void)readAttributePhaseListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::PhaseList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46471,7 +46471,7 @@ - (void)subscribeAttributePhaseListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::PhaseList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46494,7 +46494,7 @@ + (void)readAttributePhaseListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeCurrentPhaseWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::CurrentPhase::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46507,7 +46507,7 @@ - (void)subscribeAttributeCurrentPhaseWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::CurrentPhase::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46530,7 +46530,7 @@ + (void)readAttributeCurrentPhaseWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeCountdownTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::CountdownTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46543,7 +46543,7 @@ - (void)subscribeAttributeCountdownTimeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::CountdownTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46566,7 +46566,7 @@ + (void)readAttributeCountdownTimeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeOperationalStateListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::OperationalStateList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46579,7 +46579,7 @@ - (void)subscribeAttributeOperationalStateListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::OperationalStateList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46602,7 +46602,7 @@ + (void)readAttributeOperationalStateListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeOperationalStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::OperationalState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46615,7 +46615,7 @@ - (void)subscribeAttributeOperationalStateWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::OperationalState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46638,7 +46638,7 @@ + (void)readAttributeOperationalStateWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOperationalErrorWithCompletion:(void (^)(MTRRVCOperationalStateClusterErrorStateStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::OperationalError::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46651,7 +46651,7 @@ - (void)subscribeAttributeOperationalErrorWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(MTRRVCOperationalStateClusterErrorStateStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::OperationalError::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46674,7 +46674,7 @@ + (void)readAttributeOperationalErrorWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46687,7 +46687,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46710,7 +46710,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46723,7 +46723,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46746,7 +46746,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46759,7 +46759,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46782,7 +46782,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46795,7 +46795,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46818,7 +46818,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46831,7 +46831,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46854,7 +46854,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = RvcOperationalState::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -46867,7 +46867,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = RvcOperationalState::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -46905,7 +46905,7 @@ - (void)addSceneWithParams:(MTRScenesManagementClusterAddSceneParams *)params co
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::AddScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -46929,7 +46929,7 @@ - (void)viewSceneWithParams:(MTRScenesManagementClusterViewSceneParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::ViewScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -46953,7 +46953,7 @@ - (void)removeSceneWithParams:(MTRScenesManagementClusterRemoveSceneParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::RemoveScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -46977,7 +46977,7 @@ - (void)removeAllScenesWithParams:(MTRScenesManagementClusterRemoveAllScenesPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::RemoveAllScenes::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47001,7 +47001,7 @@ - (void)storeSceneWithParams:(MTRScenesManagementClusterStoreSceneParams *)param
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::StoreScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47025,7 +47025,7 @@ - (void)recallSceneWithParams:(MTRScenesManagementClusterRecallSceneParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::RecallScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47049,7 +47049,7 @@ - (void)getSceneMembershipWithParams:(MTRScenesManagementClusterGetSceneMembersh
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::GetSceneMembership::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47073,7 +47073,7 @@ - (void)copySceneWithParams:(MTRScenesManagementClusterCopySceneParams *)params
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ScenesManagement::Commands::CopyScene::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47087,7 +47087,7 @@ - (void)copySceneWithParams:(MTRScenesManagementClusterCopySceneParams *)params
- (void)readAttributeLastConfiguredByWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::LastConfiguredBy::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47100,7 +47100,7 @@ - (void)subscribeAttributeLastConfiguredByWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::LastConfiguredBy::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47123,7 +47123,7 @@ + (void)readAttributeLastConfiguredByWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeSceneTableSizeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::SceneTableSize::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47136,7 +47136,7 @@ - (void)subscribeAttributeSceneTableSizeWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::SceneTableSize::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47159,7 +47159,7 @@ + (void)readAttributeSceneTableSizeWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeFabricSceneInfoWithParams:(MTRReadParams * _Nullable)params completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::FabricSceneInfo::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47172,7 +47172,7 @@ - (void)subscribeAttributeFabricSceneInfoWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::FabricSceneInfo::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47195,7 +47195,7 @@ + (void)readAttributeFabricSceneInfoWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47208,7 +47208,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47231,7 +47231,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47244,7 +47244,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47267,7 +47267,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47280,7 +47280,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47303,7 +47303,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47316,7 +47316,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47339,7 +47339,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47352,7 +47352,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47375,7 +47375,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ScenesManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47388,7 +47388,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ScenesManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47430,7 +47430,7 @@ - (void)resetConditionWithParams:(MTRHEPAFilterMonitoringClusterResetConditionPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = HepaFilterMonitoring::Commands::ResetCondition::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47444,7 +47444,7 @@ - (void)resetConditionWithParams:(MTRHEPAFilterMonitoringClusterResetConditionPa
- (void)readAttributeConditionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::Condition::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47457,7 +47457,7 @@ - (void)subscribeAttributeConditionWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::Condition::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47480,7 +47480,7 @@ + (void)readAttributeConditionWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeDegradationDirectionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::DegradationDirection::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47493,7 +47493,7 @@ - (void)subscribeAttributeDegradationDirectionWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::DegradationDirection::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47516,7 +47516,7 @@ + (void)readAttributeDegradationDirectionWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeChangeIndicationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::ChangeIndication::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47529,7 +47529,7 @@ - (void)subscribeAttributeChangeIndicationWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::ChangeIndication::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47552,7 +47552,7 @@ + (void)readAttributeChangeIndicationWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeInPlaceIndicatorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::InPlaceIndicator::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47565,7 +47565,7 @@ - (void)subscribeAttributeInPlaceIndicatorWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::InPlaceIndicator::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47588,7 +47588,7 @@ + (void)readAttributeInPlaceIndicatorWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeLastChangedTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::LastChangedTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47624,7 +47624,7 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSNumber * _Nullable)value param
nonNullValue_0 = value.unsignedIntValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -47634,7 +47634,7 @@ - (void)subscribeAttributeLastChangedTimeWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::LastChangedTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47657,7 +47657,7 @@ + (void)readAttributeLastChangedTimeWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeReplacementProductListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::ReplacementProductList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47670,7 +47670,7 @@ - (void)subscribeAttributeReplacementProductListWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::ReplacementProductList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47693,7 +47693,7 @@ + (void)readAttributeReplacementProductListWithClusterStateCache:(MTRClusterStat
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47706,7 +47706,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47729,7 +47729,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47742,7 +47742,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47765,7 +47765,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47778,7 +47778,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47801,7 +47801,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47814,7 +47814,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47837,7 +47837,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47850,7 +47850,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47873,7 +47873,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = HepaFilterMonitoring::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47886,7 +47886,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = HepaFilterMonitoring::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47928,7 +47928,7 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ActivatedCarbonFilterMonitoring::Commands::ResetCondition::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -47942,7 +47942,7 @@ - (void)resetConditionWithParams:(MTRActivatedCarbonFilterMonitoringClusterReset
- (void)readAttributeConditionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::Condition::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47955,7 +47955,7 @@ - (void)subscribeAttributeConditionWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::Condition::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -47978,7 +47978,7 @@ + (void)readAttributeConditionWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeDegradationDirectionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::DegradationDirection::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -47991,7 +47991,7 @@ - (void)subscribeAttributeDegradationDirectionWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::DegradationDirection::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48014,7 +48014,7 @@ + (void)readAttributeDegradationDirectionWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeChangeIndicationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::ChangeIndication::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48027,7 +48027,7 @@ - (void)subscribeAttributeChangeIndicationWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::ChangeIndication::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48050,7 +48050,7 @@ + (void)readAttributeChangeIndicationWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeInPlaceIndicatorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::InPlaceIndicator::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48063,7 +48063,7 @@ - (void)subscribeAttributeInPlaceIndicatorWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::InPlaceIndicator::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48086,7 +48086,7 @@ + (void)readAttributeInPlaceIndicatorWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeLastChangedTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::LastChangedTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48122,7 +48122,7 @@ - (void)writeAttributeLastChangedTimeWithValue:(NSNumber * _Nullable)value param
nonNullValue_0 = value.unsignedIntValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -48132,7 +48132,7 @@ - (void)subscribeAttributeLastChangedTimeWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::LastChangedTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48155,7 +48155,7 @@ + (void)readAttributeLastChangedTimeWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeReplacementProductListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::ReplacementProductList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48168,7 +48168,7 @@ - (void)subscribeAttributeReplacementProductListWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::ReplacementProductList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48191,7 +48191,7 @@ + (void)readAttributeReplacementProductListWithClusterStateCache:(MTRClusterStat
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48204,7 +48204,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48227,7 +48227,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48240,7 +48240,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48263,7 +48263,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48276,7 +48276,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48299,7 +48299,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48312,7 +48312,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48335,7 +48335,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48348,7 +48348,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48371,7 +48371,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48384,7 +48384,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ActivatedCarbonFilterMonitoring::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48422,7 +48422,7 @@ - (void)suppressAlarmWithParams:(MTRBooleanStateConfigurationClusterSuppressAlar
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = BooleanStateConfiguration::Commands::SuppressAlarm::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -48446,7 +48446,7 @@ - (void)enableDisableAlarmWithParams:(MTRBooleanStateConfigurationClusterEnableD
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = BooleanStateConfiguration::Commands::EnableDisableAlarm::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -48460,7 +48460,7 @@ - (void)enableDisableAlarmWithParams:(MTRBooleanStateConfigurationClusterEnableD
- (void)readAttributeCurrentSensitivityLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::CurrentSensitivityLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48491,7 +48491,7 @@ - (void)writeAttributeCurrentSensitivityLevelWithValue:(NSNumber * _Nonnull)valu
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -48501,7 +48501,7 @@ - (void)subscribeAttributeCurrentSensitivityLevelWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::CurrentSensitivityLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48524,7 +48524,7 @@ + (void)readAttributeCurrentSensitivityLevelWithClusterStateCache:(MTRClusterSta
- (void)readAttributeSupportedSensitivityLevelsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::SupportedSensitivityLevels::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48537,7 +48537,7 @@ - (void)subscribeAttributeSupportedSensitivityLevelsWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::SupportedSensitivityLevels::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48560,7 +48560,7 @@ + (void)readAttributeSupportedSensitivityLevelsWithClusterStateCache:(MTRCluster
- (void)readAttributeDefaultSensitivityLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::DefaultSensitivityLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48573,7 +48573,7 @@ - (void)subscribeAttributeDefaultSensitivityLevelWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::DefaultSensitivityLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48596,7 +48596,7 @@ + (void)readAttributeDefaultSensitivityLevelWithClusterStateCache:(MTRClusterSta
- (void)readAttributeAlarmsActiveWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsActive::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48609,7 +48609,7 @@ - (void)subscribeAttributeAlarmsActiveWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsActive::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48632,7 +48632,7 @@ + (void)readAttributeAlarmsActiveWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeAlarmsSuppressedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsSuppressed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48645,7 +48645,7 @@ - (void)subscribeAttributeAlarmsSuppressedWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsSuppressed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48668,7 +48668,7 @@ + (void)readAttributeAlarmsSuppressedWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeAlarmsEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsEnabled::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48681,7 +48681,7 @@ - (void)subscribeAttributeAlarmsEnabledWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsEnabled::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48704,7 +48704,7 @@ + (void)readAttributeAlarmsEnabledWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeAlarmsSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48717,7 +48717,7 @@ - (void)subscribeAttributeAlarmsSupportedWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::AlarmsSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48740,7 +48740,7 @@ + (void)readAttributeAlarmsSupportedWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeSensorFaultWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::SensorFault::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48753,7 +48753,7 @@ - (void)subscribeAttributeSensorFaultWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::SensorFault::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48776,7 +48776,7 @@ + (void)readAttributeSensorFaultWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48789,7 +48789,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48812,7 +48812,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48825,7 +48825,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48848,7 +48848,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48861,7 +48861,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48884,7 +48884,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48897,7 +48897,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48920,7 +48920,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48933,7 +48933,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -48956,7 +48956,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BooleanStateConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -48969,7 +48969,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BooleanStateConfiguration::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49011,7 +49011,7 @@ - (void)openWithParams:(MTRValveConfigurationAndControlClusterOpenParams * _Null
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ValveConfigurationAndControl::Commands::Open::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -49039,7 +49039,7 @@ - (void)closeWithParams:(MTRValveConfigurationAndControlClusterCloseParams * _Nu
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = ValveConfigurationAndControl::Commands::Close::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -49053,7 +49053,7 @@ - (void)closeWithParams:(MTRValveConfigurationAndControlClusterCloseParams * _Nu
- (void)readAttributeOpenDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::OpenDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49066,7 +49066,7 @@ - (void)subscribeAttributeOpenDurationWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::OpenDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49089,7 +49089,7 @@ + (void)readAttributeOpenDurationWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeDefaultOpenDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::DefaultOpenDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49125,7 +49125,7 @@ - (void)writeAttributeDefaultOpenDurationWithValue:(NSNumber * _Nullable)value p
nonNullValue_0 = value.unsignedIntValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -49135,7 +49135,7 @@ - (void)subscribeAttributeDefaultOpenDurationWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::DefaultOpenDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49158,7 +49158,7 @@ + (void)readAttributeDefaultOpenDurationWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeAutoCloseTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::AutoCloseTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49171,7 +49171,7 @@ - (void)subscribeAttributeAutoCloseTimeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::AutoCloseTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49194,7 +49194,7 @@ + (void)readAttributeAutoCloseTimeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeRemainingDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::RemainingDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49207,7 +49207,7 @@ - (void)subscribeAttributeRemainingDurationWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::RemainingDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49230,7 +49230,7 @@ + (void)readAttributeRemainingDurationWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeCurrentStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::CurrentState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49243,7 +49243,7 @@ - (void)subscribeAttributeCurrentStateWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::CurrentState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49266,7 +49266,7 @@ + (void)readAttributeCurrentStateWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeTargetStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::TargetState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49279,7 +49279,7 @@ - (void)subscribeAttributeTargetStateWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::TargetState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49302,7 +49302,7 @@ + (void)readAttributeTargetStateWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::CurrentLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49315,7 +49315,7 @@ - (void)subscribeAttributeCurrentLevelWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::CurrentLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49338,7 +49338,7 @@ + (void)readAttributeCurrentLevelWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeTargetLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::TargetLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49351,7 +49351,7 @@ - (void)subscribeAttributeTargetLevelWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::TargetLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49374,7 +49374,7 @@ + (void)readAttributeTargetLevelWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeDefaultOpenLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::DefaultOpenLevel::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49405,7 +49405,7 @@ - (void)writeAttributeDefaultOpenLevelWithValue:(NSNumber * _Nonnull)value param
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -49415,7 +49415,7 @@ - (void)subscribeAttributeDefaultOpenLevelWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::DefaultOpenLevel::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49438,7 +49438,7 @@ + (void)readAttributeDefaultOpenLevelWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeValveFaultWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::ValveFault::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49451,7 +49451,7 @@ - (void)subscribeAttributeValveFaultWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::ValveFault::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49474,7 +49474,7 @@ + (void)readAttributeValveFaultWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeLevelStepWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::LevelStep::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49487,7 +49487,7 @@ - (void)subscribeAttributeLevelStepWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::LevelStep::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49510,7 +49510,7 @@ + (void)readAttributeLevelStepWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49523,7 +49523,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49546,7 +49546,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49559,7 +49559,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49582,7 +49582,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49595,7 +49595,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49618,7 +49618,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49631,7 +49631,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49654,7 +49654,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49667,7 +49667,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49690,7 +49690,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ValveConfigurationAndControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49703,7 +49703,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ValveConfigurationAndControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49730,7 +49730,7 @@ @implementation MTRBaseClusterElectricalEnergyMeasurement
- (void)readAttributeAccuracyWithCompletion:(void (^)(MTRElectricalEnergyMeasurementClusterMeasurementAccuracyStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::Accuracy::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49743,7 +49743,7 @@ - (void)subscribeAttributeAccuracyWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(MTRElectricalEnergyMeasurementClusterMeasurementAccuracyStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::Accuracy::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49766,7 +49766,7 @@ + (void)readAttributeAccuracyWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeCumulativeEnergyImportedWithCompletion:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::CumulativeEnergyImported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49779,7 +49779,7 @@ - (void)subscribeAttributeCumulativeEnergyImportedWithParams:(MTRSubscribeParams
reportHandler:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::CumulativeEnergyImported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49802,7 +49802,7 @@ + (void)readAttributeCumulativeEnergyImportedWithClusterStateCache:(MTRClusterSt
- (void)readAttributeCumulativeEnergyExportedWithCompletion:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::CumulativeEnergyExported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49815,7 +49815,7 @@ - (void)subscribeAttributeCumulativeEnergyExportedWithParams:(MTRSubscribeParams
reportHandler:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::CumulativeEnergyExported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49838,7 +49838,7 @@ + (void)readAttributeCumulativeEnergyExportedWithClusterStateCache:(MTRClusterSt
- (void)readAttributePeriodicEnergyImportedWithCompletion:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::PeriodicEnergyImported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49851,7 +49851,7 @@ - (void)subscribeAttributePeriodicEnergyImportedWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::PeriodicEnergyImported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49874,7 +49874,7 @@ + (void)readAttributePeriodicEnergyImportedWithClusterStateCache:(MTRClusterStat
- (void)readAttributePeriodicEnergyExportedWithCompletion:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::PeriodicEnergyExported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49887,7 +49887,7 @@ - (void)subscribeAttributePeriodicEnergyExportedWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(MTRElectricalEnergyMeasurementClusterEnergyMeasurementStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::PeriodicEnergyExported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49910,7 +49910,7 @@ + (void)readAttributePeriodicEnergyExportedWithClusterStateCache:(MTRClusterStat
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49923,7 +49923,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49946,7 +49946,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49959,7 +49959,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -49982,7 +49982,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -49995,7 +49995,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50018,7 +50018,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50031,7 +50031,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50054,7 +50054,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50067,7 +50067,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50090,7 +50090,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50103,7 +50103,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = ElectricalEnergyMeasurement::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50141,7 +50141,7 @@ - (void)registerLoadControlProgramRequestWithParams:(MTRDemandResponseLoadContro
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DemandResponseLoadControl::Commands::RegisterLoadControlProgramRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50165,7 +50165,7 @@ - (void)unregisterLoadControlProgramRequestWithParams:(MTRDemandResponseLoadCont
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DemandResponseLoadControl::Commands::UnregisterLoadControlProgramRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50189,7 +50189,7 @@ - (void)addLoadControlEventRequestWithParams:(MTRDemandResponseLoadControlCluste
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DemandResponseLoadControl::Commands::AddLoadControlEventRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50213,7 +50213,7 @@ - (void)removeLoadControlEventRequestWithParams:(MTRDemandResponseLoadControlClu
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DemandResponseLoadControl::Commands::RemoveLoadControlEventRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50241,7 +50241,7 @@ - (void)clearLoadControlEventsRequestWithParams:(MTRDemandResponseLoadControlClu
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DemandResponseLoadControl::Commands::ClearLoadControlEventsRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50255,7 +50255,7 @@ - (void)clearLoadControlEventsRequestWithParams:(MTRDemandResponseLoadControlClu
- (void)readAttributeLoadControlProgramsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::LoadControlPrograms::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50268,7 +50268,7 @@ - (void)subscribeAttributeLoadControlProgramsWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::LoadControlPrograms::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50291,7 +50291,7 @@ + (void)readAttributeLoadControlProgramsWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeNumberOfLoadControlProgramsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::NumberOfLoadControlPrograms::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50304,7 +50304,7 @@ - (void)subscribeAttributeNumberOfLoadControlProgramsWithParams:(MTRSubscribePar
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::NumberOfLoadControlPrograms::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50327,7 +50327,7 @@ + (void)readAttributeNumberOfLoadControlProgramsWithClusterStateCache:(MTRCluste
- (void)readAttributeEventsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::Events::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50340,7 +50340,7 @@ - (void)subscribeAttributeEventsWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::Events::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50363,7 +50363,7 @@ + (void)readAttributeEventsWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeActiveEventsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::ActiveEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50376,7 +50376,7 @@ - (void)subscribeAttributeActiveEventsWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::ActiveEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50399,7 +50399,7 @@ + (void)readAttributeActiveEventsWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeNumberOfEventsPerProgramWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::NumberOfEventsPerProgram::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50412,7 +50412,7 @@ - (void)subscribeAttributeNumberOfEventsPerProgramWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::NumberOfEventsPerProgram::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50435,7 +50435,7 @@ + (void)readAttributeNumberOfEventsPerProgramWithClusterStateCache:(MTRClusterSt
- (void)readAttributeNumberOfTransitionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::NumberOfTransitions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50448,7 +50448,7 @@ - (void)subscribeAttributeNumberOfTransitionsWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::NumberOfTransitions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50471,7 +50471,7 @@ + (void)readAttributeNumberOfTransitionsWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeDefaultRandomStartWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::DefaultRandomStart::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50502,7 +50502,7 @@ - (void)writeAttributeDefaultRandomStartWithValue:(NSNumber * _Nonnull)value par
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -50512,7 +50512,7 @@ - (void)subscribeAttributeDefaultRandomStartWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::DefaultRandomStart::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50535,7 +50535,7 @@ + (void)readAttributeDefaultRandomStartWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeDefaultRandomDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::DefaultRandomDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50566,7 +50566,7 @@ - (void)writeAttributeDefaultRandomDurationWithValue:(NSNumber * _Nonnull)value
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -50576,7 +50576,7 @@ - (void)subscribeAttributeDefaultRandomDurationWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::DefaultRandomDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50599,7 +50599,7 @@ + (void)readAttributeDefaultRandomDurationWithClusterStateCache:(MTRClusterState
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50612,7 +50612,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50635,7 +50635,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50648,7 +50648,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50671,7 +50671,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50684,7 +50684,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50707,7 +50707,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50720,7 +50720,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50743,7 +50743,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50756,7 +50756,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50779,7 +50779,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DemandResponseLoadControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -50792,7 +50792,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DemandResponseLoadControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -50830,7 +50830,7 @@ - (void)powerAdjustRequestWithParams:(MTRDeviceEnergyManagementClusterPowerAdjus
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::PowerAdjustRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50858,7 +50858,7 @@ - (void)cancelPowerAdjustRequestWithParams:(MTRDeviceEnergyManagementClusterCanc
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::CancelPowerAdjustRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50882,7 +50882,7 @@ - (void)startTimeAdjustRequestWithParams:(MTRDeviceEnergyManagementClusterStartT
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::StartTimeAdjustRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50906,7 +50906,7 @@ - (void)pauseRequestWithParams:(MTRDeviceEnergyManagementClusterPauseRequestPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::PauseRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50934,7 +50934,7 @@ - (void)resumeRequestWithParams:(MTRDeviceEnergyManagementClusterResumeRequestPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::ResumeRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50958,7 +50958,7 @@ - (void)modifyForecastRequestWithParams:(MTRDeviceEnergyManagementClusterModifyF
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::ModifyForecastRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -50982,7 +50982,7 @@ - (void)requestConstraintBasedForecastWithParams:(MTRDeviceEnergyManagementClust
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::RequestConstraintBasedForecast::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51010,7 +51010,7 @@ - (void)cancelRequestWithParams:(MTRDeviceEnergyManagementClusterCancelRequestPa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagement::Commands::CancelRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51024,7 +51024,7 @@ - (void)cancelRequestWithParams:(MTRDeviceEnergyManagementClusterCancelRequestPa
- (void)readAttributeESATypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::ESAType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51037,7 +51037,7 @@ - (void)subscribeAttributeESATypeWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::ESAType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51060,7 +51060,7 @@ + (void)readAttributeESATypeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeESACanGenerateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::ESACanGenerate::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51073,7 +51073,7 @@ - (void)subscribeAttributeESACanGenerateWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::ESACanGenerate::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51096,7 +51096,7 @@ + (void)readAttributeESACanGenerateWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeESAStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::ESAState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51109,7 +51109,7 @@ - (void)subscribeAttributeESAStateWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::ESAState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51132,7 +51132,7 @@ + (void)readAttributeESAStateWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeAbsMinPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::AbsMinPower::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51145,7 +51145,7 @@ - (void)subscribeAttributeAbsMinPowerWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::AbsMinPower::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51168,7 +51168,7 @@ + (void)readAttributeAbsMinPowerWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeAbsMaxPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::AbsMaxPower::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51181,7 +51181,7 @@ - (void)subscribeAttributeAbsMaxPowerWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::AbsMaxPower::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51204,7 +51204,7 @@ + (void)readAttributeAbsMaxPowerWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributePowerAdjustmentCapabilityWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::PowerAdjustmentCapability::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51217,7 +51217,7 @@ - (void)subscribeAttributePowerAdjustmentCapabilityWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::PowerAdjustmentCapability::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51240,7 +51240,7 @@ + (void)readAttributePowerAdjustmentCapabilityWithClusterStateCache:(MTRClusterS
- (void)readAttributeForecastWithCompletion:(void (^)(MTRDeviceEnergyManagementClusterForecastStruct * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::Forecast::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51253,7 +51253,7 @@ - (void)subscribeAttributeForecastWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(MTRDeviceEnergyManagementClusterForecastStruct * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::Forecast::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51276,7 +51276,7 @@ + (void)readAttributeForecastWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeOptOutStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::OptOutState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51289,7 +51289,7 @@ - (void)subscribeAttributeOptOutStateWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::OptOutState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51312,7 +51312,7 @@ + (void)readAttributeOptOutStateWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51325,7 +51325,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51348,7 +51348,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51361,7 +51361,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51384,7 +51384,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51397,7 +51397,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51420,7 +51420,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51433,7 +51433,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51456,7 +51456,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51469,7 +51469,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51492,7 +51492,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51505,7 +51505,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagement::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51550,7 +51550,7 @@ - (void)disableWithParams:(MTREnergyEVSEClusterDisableParams * _Nullable)params
}
using RequestType = EnergyEvse::Commands::Disable::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51577,7 +51577,7 @@ - (void)enableChargingWithParams:(MTREnergyEVSEClusterEnableChargingParams *)par
}
using RequestType = EnergyEvse::Commands::EnableCharging::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51604,7 +51604,7 @@ - (void)enableDischargingWithParams:(MTREnergyEVSEClusterEnableDischargingParams
}
using RequestType = EnergyEvse::Commands::EnableDischarging::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51635,7 +51635,7 @@ - (void)startDiagnosticsWithParams:(MTREnergyEVSEClusterStartDiagnosticsParams *
}
using RequestType = EnergyEvse::Commands::StartDiagnostics::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51662,7 +51662,7 @@ - (void)setTargetsWithParams:(MTREnergyEVSEClusterSetTargetsParams *)params comp
}
using RequestType = EnergyEvse::Commands::SetTargets::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51693,7 +51693,7 @@ - (void)getTargetsWithParams:(MTREnergyEVSEClusterGetTargetsParams * _Nullable)p
}
using RequestType = EnergyEvse::Commands::GetTargets::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51724,7 +51724,7 @@ - (void)clearTargetsWithParams:(MTREnergyEVSEClusterClearTargetsParams * _Nullab
}
using RequestType = EnergyEvse::Commands::ClearTargets::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -51738,7 +51738,7 @@ - (void)clearTargetsWithParams:(MTREnergyEVSEClusterClearTargetsParams * _Nullab
- (void)readAttributeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::State::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51751,7 +51751,7 @@ - (void)subscribeAttributeStateWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::State::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51774,7 +51774,7 @@ + (void)readAttributeStateWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeSupplyStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::SupplyState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51787,7 +51787,7 @@ - (void)subscribeAttributeSupplyStateWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::SupplyState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51810,7 +51810,7 @@ + (void)readAttributeSupplyStateWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeFaultStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::FaultState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51823,7 +51823,7 @@ - (void)subscribeAttributeFaultStateWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::FaultState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51846,7 +51846,7 @@ + (void)readAttributeFaultStateWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeChargingEnabledUntilWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::ChargingEnabledUntil::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51859,7 +51859,7 @@ - (void)subscribeAttributeChargingEnabledUntilWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::ChargingEnabledUntil::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51882,7 +51882,7 @@ + (void)readAttributeChargingEnabledUntilWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeDischargingEnabledUntilWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::DischargingEnabledUntil::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51895,7 +51895,7 @@ - (void)subscribeAttributeDischargingEnabledUntilWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::DischargingEnabledUntil::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51918,7 +51918,7 @@ + (void)readAttributeDischargingEnabledUntilWithClusterStateCache:(MTRClusterSta
- (void)readAttributeCircuitCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::CircuitCapacity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51931,7 +51931,7 @@ - (void)subscribeAttributeCircuitCapacityWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::CircuitCapacity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51954,7 +51954,7 @@ + (void)readAttributeCircuitCapacityWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeMinimumChargeCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::MinimumChargeCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -51967,7 +51967,7 @@ - (void)subscribeAttributeMinimumChargeCurrentWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::MinimumChargeCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -51990,7 +51990,7 @@ + (void)readAttributeMinimumChargeCurrentWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMaximumChargeCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::MaximumChargeCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52003,7 +52003,7 @@ - (void)subscribeAttributeMaximumChargeCurrentWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::MaximumChargeCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52026,7 +52026,7 @@ + (void)readAttributeMaximumChargeCurrentWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMaximumDischargeCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::MaximumDischargeCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52039,7 +52039,7 @@ - (void)subscribeAttributeMaximumDischargeCurrentWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::MaximumDischargeCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52062,7 +52062,7 @@ + (void)readAttributeMaximumDischargeCurrentWithClusterStateCache:(MTRClusterSta
- (void)readAttributeUserMaximumChargeCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::UserMaximumChargeCurrent::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52093,7 +52093,7 @@ - (void)writeAttributeUserMaximumChargeCurrentWithValue:(NSNumber * _Nonnull)val
TypeInfo::Type cppValue;
cppValue = value.longLongValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -52103,7 +52103,7 @@ - (void)subscribeAttributeUserMaximumChargeCurrentWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::UserMaximumChargeCurrent::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52126,7 +52126,7 @@ + (void)readAttributeUserMaximumChargeCurrentWithClusterStateCache:(MTRClusterSt
- (void)readAttributeRandomizationDelayWindowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::RandomizationDelayWindow::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52157,7 +52157,7 @@ - (void)writeAttributeRandomizationDelayWindowWithValue:(NSNumber * _Nonnull)val
TypeInfo::Type cppValue;
cppValue = value.unsignedIntValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -52167,7 +52167,7 @@ - (void)subscribeAttributeRandomizationDelayWindowWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::RandomizationDelayWindow::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52190,7 +52190,7 @@ + (void)readAttributeRandomizationDelayWindowWithClusterStateCache:(MTRClusterSt
- (void)readAttributeNextChargeStartTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::NextChargeStartTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52203,7 +52203,7 @@ - (void)subscribeAttributeNextChargeStartTimeWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::NextChargeStartTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52226,7 +52226,7 @@ + (void)readAttributeNextChargeStartTimeWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeNextChargeTargetTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::NextChargeTargetTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52239,7 +52239,7 @@ - (void)subscribeAttributeNextChargeTargetTimeWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::NextChargeTargetTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52262,7 +52262,7 @@ + (void)readAttributeNextChargeTargetTimeWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeNextChargeRequiredEnergyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::NextChargeRequiredEnergy::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52275,7 +52275,7 @@ - (void)subscribeAttributeNextChargeRequiredEnergyWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::NextChargeRequiredEnergy::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52298,7 +52298,7 @@ + (void)readAttributeNextChargeRequiredEnergyWithClusterStateCache:(MTRClusterSt
- (void)readAttributeNextChargeTargetSoCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::NextChargeTargetSoC::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52311,7 +52311,7 @@ - (void)subscribeAttributeNextChargeTargetSoCWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::NextChargeTargetSoC::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52334,7 +52334,7 @@ + (void)readAttributeNextChargeTargetSoCWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeApproximateEVEfficiencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::ApproximateEVEfficiency::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52370,7 +52370,7 @@ - (void)writeAttributeApproximateEVEfficiencyWithValue:(NSNumber * _Nullable)val
nonNullValue_0 = value.unsignedShortValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -52380,7 +52380,7 @@ - (void)subscribeAttributeApproximateEVEfficiencyWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::ApproximateEVEfficiency::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52403,7 +52403,7 @@ + (void)readAttributeApproximateEVEfficiencyWithClusterStateCache:(MTRClusterSta
- (void)readAttributeStateOfChargeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::StateOfCharge::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52416,7 +52416,7 @@ - (void)subscribeAttributeStateOfChargeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::StateOfCharge::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52439,7 +52439,7 @@ + (void)readAttributeStateOfChargeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeBatteryCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::BatteryCapacity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52452,7 +52452,7 @@ - (void)subscribeAttributeBatteryCapacityWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::BatteryCapacity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52475,7 +52475,7 @@ + (void)readAttributeBatteryCapacityWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeVehicleIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::VehicleID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52488,7 +52488,7 @@ - (void)subscribeAttributeVehicleIDWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::VehicleID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52511,7 +52511,7 @@ + (void)readAttributeVehicleIDWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeSessionIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::SessionID::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52524,7 +52524,7 @@ - (void)subscribeAttributeSessionIDWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::SessionID::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52547,7 +52547,7 @@ + (void)readAttributeSessionIDWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeSessionDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::SessionDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52560,7 +52560,7 @@ - (void)subscribeAttributeSessionDurationWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::SessionDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52583,7 +52583,7 @@ + (void)readAttributeSessionDurationWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeSessionEnergyChargedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::SessionEnergyCharged::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52596,7 +52596,7 @@ - (void)subscribeAttributeSessionEnergyChargedWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::SessionEnergyCharged::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52619,7 +52619,7 @@ + (void)readAttributeSessionEnergyChargedWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeSessionEnergyDischargedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::SessionEnergyDischarged::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52632,7 +52632,7 @@ - (void)subscribeAttributeSessionEnergyDischargedWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::SessionEnergyDischarged::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52655,7 +52655,7 @@ + (void)readAttributeSessionEnergyDischargedWithClusterStateCache:(MTRClusterSta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52668,7 +52668,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52691,7 +52691,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52704,7 +52704,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52727,7 +52727,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52740,7 +52740,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52763,7 +52763,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52776,7 +52776,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52799,7 +52799,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52812,7 +52812,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52835,7 +52835,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvse::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52848,7 +52848,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvse::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52875,7 +52875,7 @@ @implementation MTRBaseClusterEnergyPreference
- (void)readAttributeEnergyBalancesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::EnergyBalances::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52888,7 +52888,7 @@ - (void)subscribeAttributeEnergyBalancesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::EnergyBalances::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52911,7 +52911,7 @@ + (void)readAttributeEnergyBalancesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentEnergyBalanceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::CurrentEnergyBalance::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52942,7 +52942,7 @@ - (void)writeAttributeCurrentEnergyBalanceWithValue:(NSNumber * _Nonnull)value p
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -52952,7 +52952,7 @@ - (void)subscribeAttributeCurrentEnergyBalanceWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::CurrentEnergyBalance::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -52975,7 +52975,7 @@ + (void)readAttributeCurrentEnergyBalanceWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeEnergyPrioritiesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::EnergyPriorities::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -52988,7 +52988,7 @@ - (void)subscribeAttributeEnergyPrioritiesWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::EnergyPriorities::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53011,7 +53011,7 @@ + (void)readAttributeEnergyPrioritiesWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeLowPowerModeSensitivitiesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::LowPowerModeSensitivities::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53024,7 +53024,7 @@ - (void)subscribeAttributeLowPowerModeSensitivitiesWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::LowPowerModeSensitivities::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53047,7 +53047,7 @@ + (void)readAttributeLowPowerModeSensitivitiesWithClusterStateCache:(MTRClusterS
- (void)readAttributeCurrentLowPowerModeSensitivityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::CurrentLowPowerModeSensitivity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53078,7 +53078,7 @@ - (void)writeAttributeCurrentLowPowerModeSensitivityWithValue:(NSNumber * _Nonnu
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -53088,7 +53088,7 @@ - (void)subscribeAttributeCurrentLowPowerModeSensitivityWithParams:(MTRSubscribe
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::CurrentLowPowerModeSensitivity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53111,7 +53111,7 @@ + (void)readAttributeCurrentLowPowerModeSensitivityWithClusterStateCache:(MTRClu
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53124,7 +53124,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53147,7 +53147,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53160,7 +53160,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53183,7 +53183,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53196,7 +53196,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53219,7 +53219,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53232,7 +53232,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53255,7 +53255,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53268,7 +53268,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53291,7 +53291,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyPreference::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53304,7 +53304,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyPreference::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53342,7 +53342,7 @@ - (void)changeToModeWithParams:(MTREnergyEVSEModeClusterChangeToModeParams *)par
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = EnergyEvseMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -53356,7 +53356,7 @@ - (void)changeToModeWithParams:(MTREnergyEVSEModeClusterChangeToModeParams *)par
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53369,7 +53369,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53392,7 +53392,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53405,7 +53405,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53428,7 +53428,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53464,7 +53464,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -53474,7 +53474,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53497,7 +53497,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53533,7 +53533,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -53543,7 +53543,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53566,7 +53566,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53579,7 +53579,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53602,7 +53602,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53615,7 +53615,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53638,7 +53638,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53651,7 +53651,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53674,7 +53674,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53687,7 +53687,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53710,7 +53710,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53723,7 +53723,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53746,7 +53746,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = EnergyEvseMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53759,7 +53759,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = EnergyEvseMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53797,7 +53797,7 @@ - (void)changeToModeWithParams:(MTRDeviceEnergyManagementModeClusterChangeToMode
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DeviceEnergyManagementMode::Commands::ChangeToMode::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -53811,7 +53811,7 @@ - (void)changeToModeWithParams:(MTRDeviceEnergyManagementModeClusterChangeToMode
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::SupportedModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53824,7 +53824,7 @@ - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::SupportedModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53847,7 +53847,7 @@ + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::CurrentMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53860,7 +53860,7 @@ - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::CurrentMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53883,7 +53883,7 @@ + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::StartUpMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53919,7 +53919,7 @@ - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value params:(M
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -53929,7 +53929,7 @@ - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::StartUpMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -53952,7 +53952,7 @@ + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::OnMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -53988,7 +53988,7 @@ - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value params:(MTRWri
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -53998,7 +53998,7 @@ - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::OnMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54021,7 +54021,7 @@ + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54034,7 +54034,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54057,7 +54057,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54070,7 +54070,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54093,7 +54093,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54106,7 +54106,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54129,7 +54129,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54142,7 +54142,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54165,7 +54165,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54178,7 +54178,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54201,7 +54201,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54214,7 +54214,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DeviceEnergyManagementMode::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54259,7 +54259,7 @@ - (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params
}
using RequestType = DoorLock::Commands::LockDoor::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54290,7 +54290,7 @@ - (void)unlockDoorWithParams:(MTRDoorLockClusterUnlockDoorParams * _Nullable)par
}
using RequestType = DoorLock::Commands::UnlockDoor::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54317,7 +54317,7 @@ - (void)unlockWithTimeoutWithParams:(MTRDoorLockClusterUnlockWithTimeoutParams *
}
using RequestType = DoorLock::Commands::UnlockWithTimeout::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54341,7 +54341,7 @@ - (void)setWeekDayScheduleWithParams:(MTRDoorLockClusterSetWeekDayScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::SetWeekDaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54365,7 +54365,7 @@ - (void)getWeekDayScheduleWithParams:(MTRDoorLockClusterGetWeekDayScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::GetWeekDaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54389,7 +54389,7 @@ - (void)clearWeekDayScheduleWithParams:(MTRDoorLockClusterClearWeekDaySchedulePa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::ClearWeekDaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54413,7 +54413,7 @@ - (void)setYearDayScheduleWithParams:(MTRDoorLockClusterSetYearDayScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::SetYearDaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54437,7 +54437,7 @@ - (void)getYearDayScheduleWithParams:(MTRDoorLockClusterGetYearDayScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::GetYearDaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54461,7 +54461,7 @@ - (void)clearYearDayScheduleWithParams:(MTRDoorLockClusterClearYearDaySchedulePa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::ClearYearDaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54485,7 +54485,7 @@ - (void)setHolidayScheduleWithParams:(MTRDoorLockClusterSetHolidayScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::SetHolidaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54509,7 +54509,7 @@ - (void)getHolidayScheduleWithParams:(MTRDoorLockClusterGetHolidayScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::GetHolidaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54533,7 +54533,7 @@ - (void)clearHolidayScheduleWithParams:(MTRDoorLockClusterClearHolidaySchedulePa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::ClearHolidaySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54560,7 +54560,7 @@ - (void)setUserWithParams:(MTRDoorLockClusterSetUserParams *)params completion:(
}
using RequestType = DoorLock::Commands::SetUser::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54584,7 +54584,7 @@ - (void)getUserWithParams:(MTRDoorLockClusterGetUserParams *)params completion:(
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::GetUser::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54611,7 +54611,7 @@ - (void)clearUserWithParams:(MTRDoorLockClusterClearUserParams *)params completi
}
using RequestType = DoorLock::Commands::ClearUser::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54638,7 +54638,7 @@ - (void)setCredentialWithParams:(MTRDoorLockClusterSetCredentialParams *)params
}
using RequestType = DoorLock::Commands::SetCredential::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54662,7 +54662,7 @@ - (void)getCredentialStatusWithParams:(MTRDoorLockClusterGetCredentialStatusPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = DoorLock::Commands::GetCredentialStatus::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54689,7 +54689,7 @@ - (void)clearCredentialWithParams:(MTRDoorLockClusterClearCredentialParams *)par
}
using RequestType = DoorLock::Commands::ClearCredential::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54720,7 +54720,7 @@ - (void)unboltDoorWithParams:(MTRDoorLockClusterUnboltDoorParams * _Nullable)par
}
using RequestType = DoorLock::Commands::UnboltDoor::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54747,7 +54747,7 @@ - (void)setAliroReaderConfigWithParams:(MTRDoorLockClusterSetAliroReaderConfigPa
}
using RequestType = DoorLock::Commands::SetAliroReaderConfig::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54778,7 +54778,7 @@ - (void)clearAliroReaderConfigWithParams:(MTRDoorLockClusterClearAliroReaderConf
}
using RequestType = DoorLock::Commands::ClearAliroReaderConfig::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -54792,7 +54792,7 @@ - (void)clearAliroReaderConfigWithParams:(MTRDoorLockClusterClearAliroReaderConf
- (void)readAttributeLockStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::LockState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54805,7 +54805,7 @@ - (void)subscribeAttributeLockStateWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::LockState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54828,7 +54828,7 @@ + (void)readAttributeLockStateWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeLockTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::LockType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54841,7 +54841,7 @@ - (void)subscribeAttributeLockTypeWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::LockType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54864,7 +54864,7 @@ + (void)readAttributeLockTypeWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeActuatorEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::ActuatorEnabled::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54877,7 +54877,7 @@ - (void)subscribeAttributeActuatorEnabledWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::ActuatorEnabled::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54900,7 +54900,7 @@ + (void)readAttributeActuatorEnabledWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeDoorStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::DoorState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54913,7 +54913,7 @@ - (void)subscribeAttributeDoorStateWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::DoorState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -54936,7 +54936,7 @@ + (void)readAttributeDoorStateWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeDoorOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::DoorOpenEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -54967,7 +54967,7 @@ - (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value params:
TypeInfo::Type cppValue;
cppValue = value.unsignedIntValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -54977,7 +54977,7 @@ - (void)subscribeAttributeDoorOpenEventsWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::DoorOpenEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55000,7 +55000,7 @@ + (void)readAttributeDoorOpenEventsWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeDoorClosedEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::DoorClosedEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55031,7 +55031,7 @@ - (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value param
TypeInfo::Type cppValue;
cppValue = value.unsignedIntValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55041,7 +55041,7 @@ - (void)subscribeAttributeDoorClosedEventsWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::DoorClosedEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55064,7 +55064,7 @@ + (void)readAttributeDoorClosedEventsWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOpenPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::OpenPeriod::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55095,7 +55095,7 @@ - (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value params:(MTR
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55105,7 +55105,7 @@ - (void)subscribeAttributeOpenPeriodWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::OpenPeriod::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55128,7 +55128,7 @@ + (void)readAttributeOpenPeriodWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeNumberOfTotalUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfTotalUsersSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55141,7 +55141,7 @@ - (void)subscribeAttributeNumberOfTotalUsersSupportedWithParams:(MTRSubscribePar
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfTotalUsersSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55164,7 +55164,7 @@ + (void)readAttributeNumberOfTotalUsersSupportedWithClusterStateCache:(MTRCluste
- (void)readAttributeNumberOfPINUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfPINUsersSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55177,7 +55177,7 @@ - (void)subscribeAttributeNumberOfPINUsersSupportedWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfPINUsersSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55200,7 +55200,7 @@ + (void)readAttributeNumberOfPINUsersSupportedWithClusterStateCache:(MTRClusterS
- (void)readAttributeNumberOfRFIDUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfRFIDUsersSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55213,7 +55213,7 @@ - (void)subscribeAttributeNumberOfRFIDUsersSupportedWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfRFIDUsersSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55236,7 +55236,7 @@ + (void)readAttributeNumberOfRFIDUsersSupportedWithClusterStateCache:(MTRCluster
- (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfWeekDaySchedulesSupportedPerUser::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55249,7 +55249,7 @@ - (void)subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MT
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfWeekDaySchedulesSupportedPerUser::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55272,7 +55272,7 @@ + (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithClusterStateCac
- (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfYearDaySchedulesSupportedPerUser::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55285,7 +55285,7 @@ - (void)subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MT
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfYearDaySchedulesSupportedPerUser::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55308,7 +55308,7 @@ + (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithClusterStateCac
- (void)readAttributeNumberOfHolidaySchedulesSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfHolidaySchedulesSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55321,7 +55321,7 @@ - (void)subscribeAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRSubscr
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfHolidaySchedulesSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55344,7 +55344,7 @@ + (void)readAttributeNumberOfHolidaySchedulesSupportedWithClusterStateCache:(MTR
- (void)readAttributeMaxPINCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::MaxPINCodeLength::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55357,7 +55357,7 @@ - (void)subscribeAttributeMaxPINCodeLengthWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::MaxPINCodeLength::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55380,7 +55380,7 @@ + (void)readAttributeMaxPINCodeLengthWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeMinPINCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::MinPINCodeLength::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55393,7 +55393,7 @@ - (void)subscribeAttributeMinPINCodeLengthWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::MinPINCodeLength::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55416,7 +55416,7 @@ + (void)readAttributeMinPINCodeLengthWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeMaxRFIDCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::MaxRFIDCodeLength::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55429,7 +55429,7 @@ - (void)subscribeAttributeMaxRFIDCodeLengthWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::MaxRFIDCodeLength::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55452,7 +55452,7 @@ + (void)readAttributeMaxRFIDCodeLengthWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeMinRFIDCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::MinRFIDCodeLength::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55465,7 +55465,7 @@ - (void)subscribeAttributeMinRFIDCodeLengthWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::MinRFIDCodeLength::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55488,7 +55488,7 @@ + (void)readAttributeMinRFIDCodeLengthWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeCredentialRulesSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::CredentialRulesSupport::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55501,7 +55501,7 @@ - (void)subscribeAttributeCredentialRulesSupportWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::CredentialRulesSupport::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55524,7 +55524,7 @@ + (void)readAttributeCredentialRulesSupportWithClusterStateCache:(MTRClusterStat
- (void)readAttributeNumberOfCredentialsSupportedPerUserWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfCredentialsSupportedPerUser::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55537,7 +55537,7 @@ - (void)subscribeAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRSubs
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfCredentialsSupportedPerUser::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55560,7 +55560,7 @@ + (void)readAttributeNumberOfCredentialsSupportedPerUserWithClusterStateCache:(M
- (void)readAttributeLanguageWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::Language::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55591,7 +55591,7 @@ - (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value params:(MTRWr
TypeInfo::Type cppValue;
cppValue = AsCharSpan(value);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55601,7 +55601,7 @@ - (void)subscribeAttributeLanguageWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::Language::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55624,7 +55624,7 @@ + (void)readAttributeLanguageWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeLEDSettingsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::LEDSettings::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55655,7 +55655,7 @@ - (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value params:(MT
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55665,7 +55665,7 @@ - (void)subscribeAttributeLEDSettingsWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::LEDSettings::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55688,7 +55688,7 @@ + (void)readAttributeLEDSettingsWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeAutoRelockTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AutoRelockTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55719,7 +55719,7 @@ - (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value params:
TypeInfo::Type cppValue;
cppValue = value.unsignedIntValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55729,7 +55729,7 @@ - (void)subscribeAttributeAutoRelockTimeWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AutoRelockTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55752,7 +55752,7 @@ + (void)readAttributeAutoRelockTimeWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeSoundVolumeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::SoundVolume::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55783,7 +55783,7 @@ - (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value params:(MT
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55793,7 +55793,7 @@ - (void)subscribeAttributeSoundVolumeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::SoundVolume::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55816,7 +55816,7 @@ + (void)readAttributeSoundVolumeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeOperatingModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::OperatingMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55847,7 +55847,7 @@ - (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value params:(
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55857,7 +55857,7 @@ - (void)subscribeAttributeOperatingModeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::OperatingMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55880,7 +55880,7 @@ + (void)readAttributeOperatingModeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeSupportedOperatingModesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::SupportedOperatingModes::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55893,7 +55893,7 @@ - (void)subscribeAttributeSupportedOperatingModesWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::SupportedOperatingModes::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55916,7 +55916,7 @@ + (void)readAttributeSupportedOperatingModesWithClusterStateCache:(MTRClusterSta
- (void)readAttributeDefaultConfigurationRegisterWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::DefaultConfigurationRegister::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55929,7 +55929,7 @@ - (void)subscribeAttributeDefaultConfigurationRegisterWithParams:(MTRSubscribePa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::DefaultConfigurationRegister::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -55952,7 +55952,7 @@ + (void)readAttributeDefaultConfigurationRegisterWithClusterStateCache:(MTRClust
- (void)readAttributeEnableLocalProgrammingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::EnableLocalProgramming::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -55983,7 +55983,7 @@ - (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -55993,7 +55993,7 @@ - (void)subscribeAttributeEnableLocalProgrammingWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::EnableLocalProgramming::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56016,7 +56016,7 @@ + (void)readAttributeEnableLocalProgrammingWithClusterStateCache:(MTRClusterStat
- (void)readAttributeEnableOneTouchLockingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::EnableOneTouchLocking::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56047,7 +56047,7 @@ - (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56057,7 +56057,7 @@ - (void)subscribeAttributeEnableOneTouchLockingWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::EnableOneTouchLocking::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56080,7 +56080,7 @@ + (void)readAttributeEnableOneTouchLockingWithClusterStateCache:(MTRClusterState
- (void)readAttributeEnableInsideStatusLEDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::EnableInsideStatusLED::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56111,7 +56111,7 @@ - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56121,7 +56121,7 @@ - (void)subscribeAttributeEnableInsideStatusLEDWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::EnableInsideStatusLED::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56144,7 +56144,7 @@ + (void)readAttributeEnableInsideStatusLEDWithClusterStateCache:(MTRClusterState
- (void)readAttributeEnablePrivacyModeButtonWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::EnablePrivacyModeButton::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56175,7 +56175,7 @@ - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)valu
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56185,7 +56185,7 @@ - (void)subscribeAttributeEnablePrivacyModeButtonWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::EnablePrivacyModeButton::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56208,7 +56208,7 @@ + (void)readAttributeEnablePrivacyModeButtonWithClusterStateCache:(MTRClusterSta
- (void)readAttributeLocalProgrammingFeaturesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::LocalProgrammingFeatures::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56239,7 +56239,7 @@ - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)val
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56249,7 +56249,7 @@ - (void)subscribeAttributeLocalProgrammingFeaturesWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::LocalProgrammingFeatures::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56272,7 +56272,7 @@ + (void)readAttributeLocalProgrammingFeaturesWithClusterStateCache:(MTRClusterSt
- (void)readAttributeWrongCodeEntryLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::WrongCodeEntryLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56303,7 +56303,7 @@ - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value pa
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56313,7 +56313,7 @@ - (void)subscribeAttributeWrongCodeEntryLimitWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::WrongCodeEntryLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56336,7 +56336,7 @@ + (void)readAttributeWrongCodeEntryLimitWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeUserCodeTemporaryDisableTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::UserCodeTemporaryDisableTime::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56367,7 +56367,7 @@ - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56377,7 +56377,7 @@ - (void)subscribeAttributeUserCodeTemporaryDisableTimeWithParams:(MTRSubscribePa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::UserCodeTemporaryDisableTime::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56400,7 +56400,7 @@ + (void)readAttributeUserCodeTemporaryDisableTimeWithClusterStateCache:(MTRClust
- (void)readAttributeSendPINOverTheAirWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::SendPINOverTheAir::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56431,7 +56431,7 @@ - (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value para
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56441,7 +56441,7 @@ - (void)subscribeAttributeSendPINOverTheAirWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::SendPINOverTheAir::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56464,7 +56464,7 @@ + (void)readAttributeSendPINOverTheAirWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeRequirePINforRemoteOperationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::RequirePINforRemoteOperation::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56495,7 +56495,7 @@ - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull
TypeInfo::Type cppValue;
cppValue = value.boolValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56505,7 +56505,7 @@ - (void)subscribeAttributeRequirePINforRemoteOperationWithParams:(MTRSubscribePa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::RequirePINforRemoteOperation::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56528,7 +56528,7 @@ + (void)readAttributeRequirePINforRemoteOperationWithClusterStateCache:(MTRClust
- (void)readAttributeExpiringUserTimeoutWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::ExpiringUserTimeout::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56559,7 +56559,7 @@ - (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value pa
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -56569,7 +56569,7 @@ - (void)subscribeAttributeExpiringUserTimeoutWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::ExpiringUserTimeout::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56592,7 +56592,7 @@ + (void)readAttributeExpiringUserTimeoutWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeAliroReaderVerificationKeyWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroReaderVerificationKey::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56605,7 +56605,7 @@ - (void)subscribeAttributeAliroReaderVerificationKeyWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroReaderVerificationKey::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56628,7 +56628,7 @@ + (void)readAttributeAliroReaderVerificationKeyWithClusterStateCache:(MTRCluster
- (void)readAttributeAliroReaderGroupIdentifierWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroReaderGroupIdentifier::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56641,7 +56641,7 @@ - (void)subscribeAttributeAliroReaderGroupIdentifierWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroReaderGroupIdentifier::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56664,7 +56664,7 @@ + (void)readAttributeAliroReaderGroupIdentifierWithClusterStateCache:(MTRCluster
- (void)readAttributeAliroReaderGroupSubIdentifierWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroReaderGroupSubIdentifier::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56677,7 +56677,7 @@ - (void)subscribeAttributeAliroReaderGroupSubIdentifierWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroReaderGroupSubIdentifier::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56700,7 +56700,7 @@ + (void)readAttributeAliroReaderGroupSubIdentifierWithClusterStateCache:(MTRClus
- (void)readAttributeAliroExpeditedTransactionSupportedProtocolVersionsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroExpeditedTransactionSupportedProtocolVersions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56713,7 +56713,7 @@ - (void)subscribeAttributeAliroExpeditedTransactionSupportedProtocolVersionsWith
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroExpeditedTransactionSupportedProtocolVersions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56736,7 +56736,7 @@ + (void)readAttributeAliroExpeditedTransactionSupportedProtocolVersionsWithClust
- (void)readAttributeAliroGroupResolvingKeyWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroGroupResolvingKey::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56749,7 +56749,7 @@ - (void)subscribeAttributeAliroGroupResolvingKeyWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroGroupResolvingKey::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56772,7 +56772,7 @@ + (void)readAttributeAliroGroupResolvingKeyWithClusterStateCache:(MTRClusterStat
- (void)readAttributeAliroSupportedBLEUWBProtocolVersionsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroSupportedBLEUWBProtocolVersions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56785,7 +56785,7 @@ - (void)subscribeAttributeAliroSupportedBLEUWBProtocolVersionsWithParams:(MTRSub
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroSupportedBLEUWBProtocolVersions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56808,7 +56808,7 @@ + (void)readAttributeAliroSupportedBLEUWBProtocolVersionsWithClusterStateCache:(
- (void)readAttributeAliroBLEAdvertisingVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AliroBLEAdvertisingVersion::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56821,7 +56821,7 @@ - (void)subscribeAttributeAliroBLEAdvertisingVersionWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AliroBLEAdvertisingVersion::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56844,7 +56844,7 @@ + (void)readAttributeAliroBLEAdvertisingVersionWithClusterStateCache:(MTRCluster
- (void)readAttributeNumberOfAliroCredentialIssuerKeysSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfAliroCredentialIssuerKeysSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56857,7 +56857,7 @@ - (void)subscribeAttributeNumberOfAliroCredentialIssuerKeysSupportedWithParams:(
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfAliroCredentialIssuerKeysSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56880,7 +56880,7 @@ + (void)readAttributeNumberOfAliroCredentialIssuerKeysSupportedWithClusterStateC
- (void)readAttributeNumberOfAliroEndpointKeysSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::NumberOfAliroEndpointKeysSupported::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56893,7 +56893,7 @@ - (void)subscribeAttributeNumberOfAliroEndpointKeysSupportedWithParams:(MTRSubsc
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::NumberOfAliroEndpointKeysSupported::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56916,7 +56916,7 @@ + (void)readAttributeNumberOfAliroEndpointKeysSupportedWithClusterStateCache:(MT
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56929,7 +56929,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56952,7 +56952,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -56965,7 +56965,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -56988,7 +56988,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -57001,7 +57001,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -57024,7 +57024,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -57037,7 +57037,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -57060,7 +57060,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -57073,7 +57073,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -57096,7 +57096,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = DoorLock::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -57109,7 +57109,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = DoorLock::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -58850,7 +58850,7 @@ - (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)p
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::UpOrOpen::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -58878,7 +58878,7 @@ - (void)downOrCloseWithParams:(MTRWindowCoveringClusterDownOrCloseParams * _Null
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::DownOrClose::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -58906,7 +58906,7 @@ - (void)stopMotionWithParams:(MTRWindowCoveringClusterStopMotionParams * _Nullab
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::StopMotion::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -58930,7 +58930,7 @@ - (void)goToLiftValueWithParams:(MTRWindowCoveringClusterGoToLiftValueParams *)p
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::GoToLiftValue::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -58954,7 +58954,7 @@ - (void)goToLiftPercentageWithParams:(MTRWindowCoveringClusterGoToLiftPercentage
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::GoToLiftPercentage::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -58978,7 +58978,7 @@ - (void)goToTiltValueWithParams:(MTRWindowCoveringClusterGoToTiltValueParams *)p
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::GoToTiltValue::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -59002,7 +59002,7 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = WindowCovering::Commands::GoToTiltPercentage::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -59016,7 +59016,7 @@ - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentage
- (void)readAttributeTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::Type::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59029,7 +59029,7 @@ - (void)subscribeAttributeTypeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::Type::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59052,7 +59052,7 @@ + (void)readAttributeTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributePhysicalClosedLimitLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::PhysicalClosedLimitLift::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59065,7 +59065,7 @@ - (void)subscribeAttributePhysicalClosedLimitLiftWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::PhysicalClosedLimitLift::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59088,7 +59088,7 @@ + (void)readAttributePhysicalClosedLimitLiftWithClusterStateCache:(MTRClusterSta
- (void)readAttributePhysicalClosedLimitTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::PhysicalClosedLimitTilt::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59101,7 +59101,7 @@ - (void)subscribeAttributePhysicalClosedLimitTiltWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::PhysicalClosedLimitTilt::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59124,7 +59124,7 @@ + (void)readAttributePhysicalClosedLimitTiltWithClusterStateCache:(MTRClusterSta
- (void)readAttributeCurrentPositionLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionLift::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59137,7 +59137,7 @@ - (void)subscribeAttributeCurrentPositionLiftWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionLift::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59160,7 +59160,7 @@ + (void)readAttributeCurrentPositionLiftWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeCurrentPositionTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionTilt::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59173,7 +59173,7 @@ - (void)subscribeAttributeCurrentPositionTiltWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionTilt::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59196,7 +59196,7 @@ + (void)readAttributeCurrentPositionTiltWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeNumberOfActuationsLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::NumberOfActuationsLift::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59209,7 +59209,7 @@ - (void)subscribeAttributeNumberOfActuationsLiftWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::NumberOfActuationsLift::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59232,7 +59232,7 @@ + (void)readAttributeNumberOfActuationsLiftWithClusterStateCache:(MTRClusterStat
- (void)readAttributeNumberOfActuationsTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::NumberOfActuationsTilt::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59245,7 +59245,7 @@ - (void)subscribeAttributeNumberOfActuationsTiltWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::NumberOfActuationsTilt::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59268,7 +59268,7 @@ + (void)readAttributeNumberOfActuationsTiltWithClusterStateCache:(MTRClusterStat
- (void)readAttributeConfigStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::ConfigStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59281,7 +59281,7 @@ - (void)subscribeAttributeConfigStatusWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::ConfigStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59304,7 +59304,7 @@ + (void)readAttributeConfigStatusWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeCurrentPositionLiftPercentageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionLiftPercentage::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59317,7 +59317,7 @@ - (void)subscribeAttributeCurrentPositionLiftPercentageWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionLiftPercentage::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59340,7 +59340,7 @@ + (void)readAttributeCurrentPositionLiftPercentageWithClusterStateCache:(MTRClus
- (void)readAttributeCurrentPositionTiltPercentageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionTiltPercentage::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59353,7 +59353,7 @@ - (void)subscribeAttributeCurrentPositionTiltPercentageWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionTiltPercentage::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59376,7 +59376,7 @@ + (void)readAttributeCurrentPositionTiltPercentageWithClusterStateCache:(MTRClus
- (void)readAttributeOperationalStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::OperationalStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59389,7 +59389,7 @@ - (void)subscribeAttributeOperationalStatusWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::OperationalStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59412,7 +59412,7 @@ + (void)readAttributeOperationalStatusWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeTargetPositionLiftPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::TargetPositionLiftPercent100ths::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59425,7 +59425,7 @@ - (void)subscribeAttributeTargetPositionLiftPercent100thsWithParams:(MTRSubscrib
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::TargetPositionLiftPercent100ths::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59448,7 +59448,7 @@ + (void)readAttributeTargetPositionLiftPercent100thsWithClusterStateCache:(MTRCl
- (void)readAttributeTargetPositionTiltPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::TargetPositionTiltPercent100ths::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59461,7 +59461,7 @@ - (void)subscribeAttributeTargetPositionTiltPercent100thsWithParams:(MTRSubscrib
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::TargetPositionTiltPercent100ths::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59484,7 +59484,7 @@ + (void)readAttributeTargetPositionTiltPercent100thsWithClusterStateCache:(MTRCl
- (void)readAttributeEndProductTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::EndProductType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59497,7 +59497,7 @@ - (void)subscribeAttributeEndProductTypeWithParams:(MTRSubscribeParams * _Nonnul
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::EndProductType::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59520,7 +59520,7 @@ + (void)readAttributeEndProductTypeWithClusterStateCache:(MTRClusterStateCacheCo
- (void)readAttributeCurrentPositionLiftPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionLiftPercent100ths::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59533,7 +59533,7 @@ - (void)subscribeAttributeCurrentPositionLiftPercent100thsWithParams:(MTRSubscri
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionLiftPercent100ths::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59556,7 +59556,7 @@ + (void)readAttributeCurrentPositionLiftPercent100thsWithClusterStateCache:(MTRC
- (void)readAttributeCurrentPositionTiltPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionTiltPercent100ths::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59569,7 +59569,7 @@ - (void)subscribeAttributeCurrentPositionTiltPercent100thsWithParams:(MTRSubscri
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::CurrentPositionTiltPercent100ths::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59592,7 +59592,7 @@ + (void)readAttributeCurrentPositionTiltPercent100thsWithClusterStateCache:(MTRC
- (void)readAttributeInstalledOpenLimitLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::InstalledOpenLimitLift::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59605,7 +59605,7 @@ - (void)subscribeAttributeInstalledOpenLimitLiftWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::InstalledOpenLimitLift::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59628,7 +59628,7 @@ + (void)readAttributeInstalledOpenLimitLiftWithClusterStateCache:(MTRClusterStat
- (void)readAttributeInstalledClosedLimitLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::InstalledClosedLimitLift::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59641,7 +59641,7 @@ - (void)subscribeAttributeInstalledClosedLimitLiftWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::InstalledClosedLimitLift::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59664,7 +59664,7 @@ + (void)readAttributeInstalledClosedLimitLiftWithClusterStateCache:(MTRClusterSt
- (void)readAttributeInstalledOpenLimitTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::InstalledOpenLimitTilt::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59677,7 +59677,7 @@ - (void)subscribeAttributeInstalledOpenLimitTiltWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::InstalledOpenLimitTilt::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59700,7 +59700,7 @@ + (void)readAttributeInstalledOpenLimitTiltWithClusterStateCache:(MTRClusterStat
- (void)readAttributeInstalledClosedLimitTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::InstalledClosedLimitTilt::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59713,7 +59713,7 @@ - (void)subscribeAttributeInstalledClosedLimitTiltWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::InstalledClosedLimitTilt::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59736,7 +59736,7 @@ + (void)readAttributeInstalledClosedLimitTiltWithClusterStateCache:(MTRClusterSt
- (void)readAttributeModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::Mode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59767,7 +59767,7 @@ - (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value params:(MTRWriteP
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -59777,7 +59777,7 @@ - (void)subscribeAttributeModeWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::Mode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59800,7 +59800,7 @@ + (void)readAttributeModeWithClusterStateCache:(MTRClusterStateCacheContainer *)
- (void)readAttributeSafetyStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::SafetyStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59813,7 +59813,7 @@ - (void)subscribeAttributeSafetyStatusWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::SafetyStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59836,7 +59836,7 @@ + (void)readAttributeSafetyStatusWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59849,7 +59849,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59872,7 +59872,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59885,7 +59885,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59908,7 +59908,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59921,7 +59921,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59944,7 +59944,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59957,7 +59957,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -59980,7 +59980,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -59993,7 +59993,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -60016,7 +60016,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = WindowCovering::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -60029,7 +60029,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = WindowCovering::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61079,7 +61079,7 @@ - (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierCont
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = BarrierControl::Commands::BarrierControlGoToPercent::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -61107,7 +61107,7 @@ - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStop
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = BarrierControl::Commands::BarrierControlStop::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -61121,7 +61121,7 @@ - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStop
- (void)readAttributeBarrierMovingStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierMovingState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61134,7 +61134,7 @@ - (void)subscribeAttributeBarrierMovingStateWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierMovingState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61157,7 +61157,7 @@ + (void)readAttributeBarrierMovingStateWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeBarrierSafetyStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierSafetyStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61170,7 +61170,7 @@ - (void)subscribeAttributeBarrierSafetyStatusWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierSafetyStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61193,7 +61193,7 @@ + (void)readAttributeBarrierSafetyStatusWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeBarrierCapabilitiesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierCapabilities::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61206,7 +61206,7 @@ - (void)subscribeAttributeBarrierCapabilitiesWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierCapabilities::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61229,7 +61229,7 @@ + (void)readAttributeBarrierCapabilitiesWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeBarrierOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierOpenEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61260,7 +61260,7 @@ - (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value para
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -61270,7 +61270,7 @@ - (void)subscribeAttributeBarrierOpenEventsWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierOpenEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61293,7 +61293,7 @@ + (void)readAttributeBarrierOpenEventsWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeBarrierCloseEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierCloseEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61324,7 +61324,7 @@ - (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value par
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -61334,7 +61334,7 @@ - (void)subscribeAttributeBarrierCloseEventsWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierCloseEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61357,7 +61357,7 @@ + (void)readAttributeBarrierCloseEventsWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeBarrierCommandOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierCommandOpenEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61388,7 +61388,7 @@ - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)val
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -61398,7 +61398,7 @@ - (void)subscribeAttributeBarrierCommandOpenEventsWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierCommandOpenEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61421,7 +61421,7 @@ + (void)readAttributeBarrierCommandOpenEventsWithClusterStateCache:(MTRClusterSt
- (void)readAttributeBarrierCommandCloseEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierCommandCloseEvents::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61452,7 +61452,7 @@ - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)va
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -61462,7 +61462,7 @@ - (void)subscribeAttributeBarrierCommandCloseEventsWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierCommandCloseEvents::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61485,7 +61485,7 @@ + (void)readAttributeBarrierCommandCloseEventsWithClusterStateCache:(MTRClusterS
- (void)readAttributeBarrierOpenPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierOpenPeriod::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61516,7 +61516,7 @@ - (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value para
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -61526,7 +61526,7 @@ - (void)subscribeAttributeBarrierOpenPeriodWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierOpenPeriod::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61549,7 +61549,7 @@ + (void)readAttributeBarrierOpenPeriodWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeBarrierClosePeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierClosePeriod::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61580,7 +61580,7 @@ - (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value par
TypeInfo::Type cppValue;
cppValue = value.unsignedShortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -61590,7 +61590,7 @@ - (void)subscribeAttributeBarrierClosePeriodWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierClosePeriod::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61613,7 +61613,7 @@ + (void)readAttributeBarrierClosePeriodWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeBarrierPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::BarrierPosition::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61626,7 +61626,7 @@ - (void)subscribeAttributeBarrierPositionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::BarrierPosition::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61649,7 +61649,7 @@ + (void)readAttributeBarrierPositionWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61662,7 +61662,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61685,7 +61685,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61698,7 +61698,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61721,7 +61721,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61734,7 +61734,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61757,7 +61757,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61770,7 +61770,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61793,7 +61793,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61806,7 +61806,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -61829,7 +61829,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = BarrierControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -61842,7 +61842,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = BarrierControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62468,7 +62468,7 @@ @implementation MTRBaseClusterPumpConfigurationAndControl
- (void)readAttributeMaxPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxPressure::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62481,7 +62481,7 @@ - (void)subscribeAttributeMaxPressureWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxPressure::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62504,7 +62504,7 @@ + (void)readAttributeMaxPressureWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeMaxSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxSpeed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62517,7 +62517,7 @@ - (void)subscribeAttributeMaxSpeedWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxSpeed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62540,7 +62540,7 @@ + (void)readAttributeMaxSpeedWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeMaxFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxFlow::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62553,7 +62553,7 @@ - (void)subscribeAttributeMaxFlowWithParams:(MTRSubscribeParams * _Nonnull)param
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxFlow::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62576,7 +62576,7 @@ + (void)readAttributeMaxFlowWithClusterStateCache:(MTRClusterStateCacheContainer
- (void)readAttributeMinConstPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstPressure::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62589,7 +62589,7 @@ - (void)subscribeAttributeMinConstPressureWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstPressure::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62612,7 +62612,7 @@ + (void)readAttributeMinConstPressureWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeMaxConstPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstPressure::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62625,7 +62625,7 @@ - (void)subscribeAttributeMaxConstPressureWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstPressure::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62648,7 +62648,7 @@ + (void)readAttributeMaxConstPressureWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeMinCompPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinCompPressure::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62661,7 +62661,7 @@ - (void)subscribeAttributeMinCompPressureWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinCompPressure::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62684,7 +62684,7 @@ + (void)readAttributeMinCompPressureWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeMaxCompPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxCompPressure::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62697,7 +62697,7 @@ - (void)subscribeAttributeMaxCompPressureWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxCompPressure::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62720,7 +62720,7 @@ + (void)readAttributeMaxCompPressureWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeMinConstSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstSpeed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62733,7 +62733,7 @@ - (void)subscribeAttributeMinConstSpeedWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstSpeed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62756,7 +62756,7 @@ + (void)readAttributeMinConstSpeedWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeMaxConstSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstSpeed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62769,7 +62769,7 @@ - (void)subscribeAttributeMaxConstSpeedWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstSpeed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62792,7 +62792,7 @@ + (void)readAttributeMaxConstSpeedWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeMinConstFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstFlow::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62805,7 +62805,7 @@ - (void)subscribeAttributeMinConstFlowWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstFlow::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62828,7 +62828,7 @@ + (void)readAttributeMinConstFlowWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeMaxConstFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstFlow::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62841,7 +62841,7 @@ - (void)subscribeAttributeMaxConstFlowWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstFlow::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62864,7 +62864,7 @@ + (void)readAttributeMaxConstFlowWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeMinConstTempWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstTemp::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62877,7 +62877,7 @@ - (void)subscribeAttributeMinConstTempWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MinConstTemp::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62900,7 +62900,7 @@ + (void)readAttributeMinConstTempWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributeMaxConstTempWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstTemp::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62913,7 +62913,7 @@ - (void)subscribeAttributeMaxConstTempWithParams:(MTRSubscribeParams * _Nonnull)
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::MaxConstTemp::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62936,7 +62936,7 @@ + (void)readAttributeMaxConstTempWithClusterStateCache:(MTRClusterStateCacheCont
- (void)readAttributePumpStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::PumpStatus::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62949,7 +62949,7 @@ - (void)subscribeAttributePumpStatusWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::PumpStatus::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -62972,7 +62972,7 @@ + (void)readAttributePumpStatusWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeEffectiveOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::EffectiveOperationMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -62985,7 +62985,7 @@ - (void)subscribeAttributeEffectiveOperationModeWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::EffectiveOperationMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63008,7 +63008,7 @@ + (void)readAttributeEffectiveOperationModeWithClusterStateCache:(MTRClusterStat
- (void)readAttributeEffectiveControlModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::EffectiveControlMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63021,7 +63021,7 @@ - (void)subscribeAttributeEffectiveControlModeWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::EffectiveControlMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63044,7 +63044,7 @@ + (void)readAttributeEffectiveControlModeWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::Capacity::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63057,7 +63057,7 @@ - (void)subscribeAttributeCapacityWithParams:(MTRSubscribeParams * _Nonnull)para
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::Capacity::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63080,7 +63080,7 @@ + (void)readAttributeCapacityWithClusterStateCache:(MTRClusterStateCacheContaine
- (void)readAttributeSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::Speed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63093,7 +63093,7 @@ - (void)subscribeAttributeSpeedWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::Speed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63116,7 +63116,7 @@ + (void)readAttributeSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeLifetimeRunningHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::LifetimeRunningHours::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63152,7 +63152,7 @@ - (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value
nonNullValue_0 = value.unsignedIntValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -63162,7 +63162,7 @@ - (void)subscribeAttributeLifetimeRunningHoursWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::LifetimeRunningHours::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63185,7 +63185,7 @@ + (void)readAttributeLifetimeRunningHoursWithClusterStateCache:(MTRClusterStateC
- (void)readAttributePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::Power::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63198,7 +63198,7 @@ - (void)subscribeAttributePowerWithParams:(MTRSubscribeParams * _Nonnull)params
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::Power::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63221,7 +63221,7 @@ + (void)readAttributePowerWithClusterStateCache:(MTRClusterStateCacheContainer *
- (void)readAttributeLifetimeEnergyConsumedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63257,7 +63257,7 @@ - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)valu
nonNullValue_0 = value.unsignedIntValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -63267,7 +63267,7 @@ - (void)subscribeAttributeLifetimeEnergyConsumedWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::LifetimeEnergyConsumed::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63290,7 +63290,7 @@ + (void)readAttributeLifetimeEnergyConsumedWithClusterStateCache:(MTRClusterStat
- (void)readAttributeOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::OperationMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63321,7 +63321,7 @@ - (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value params:(
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -63331,7 +63331,7 @@ - (void)subscribeAttributeOperationModeWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::OperationMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63354,7 +63354,7 @@ + (void)readAttributeOperationModeWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeControlModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::ControlMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63385,7 +63385,7 @@ - (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value params:(MT
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -63395,7 +63395,7 @@ - (void)subscribeAttributeControlModeWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::ControlMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63418,7 +63418,7 @@ + (void)readAttributeControlModeWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63431,7 +63431,7 @@ - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::GeneratedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63454,7 +63454,7 @@ + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63467,7 +63467,7 @@ - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::AcceptedCommandList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63490,7 +63490,7 @@ + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeEventListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::EventList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63503,7 +63503,7 @@ - (void)subscribeAttributeEventListWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::EventList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63526,7 +63526,7 @@ + (void)readAttributeEventListWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::AttributeList::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63539,7 +63539,7 @@ - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::AttributeList::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63562,7 +63562,7 @@ + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::FeatureMap::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63575,7 +63575,7 @@ - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::FeatureMap::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -63598,7 +63598,7 @@ + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = PumpConfigurationAndControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -63611,7 +63611,7 @@ - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = PumpConfigurationAndControl::Attributes::ClusterRevision::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -64672,7 +64672,7 @@ - (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerPara
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::SetpointRaiseLower::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64696,7 +64696,7 @@ - (void)setWeeklyScheduleWithParams:(MTRThermostatClusterSetWeeklyScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::SetWeeklySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64720,7 +64720,7 @@ - (void)getWeeklyScheduleWithParams:(MTRThermostatClusterGetWeeklyScheduleParams
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::GetWeeklySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64748,7 +64748,7 @@ - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklySchedulePa
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::ClearWeeklySchedule::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64772,7 +64772,7 @@ - (void)setActiveScheduleRequestWithParams:(MTRThermostatClusterSetActiveSchedul
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::SetActiveScheduleRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64796,7 +64796,7 @@ - (void)setActivePresetRequestWithParams:(MTRThermostatClusterSetActivePresetReq
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::SetActivePresetRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64820,7 +64820,7 @@ - (void)startPresetsSchedulesEditRequestWithParams:(MTRThermostatClusterStartPre
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::StartPresetsSchedulesEditRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64848,7 +64848,7 @@ - (void)cancelPresetsSchedulesEditRequestWithParams:(MTRThermostatClusterCancelP
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::CancelPresetsSchedulesEditRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64876,7 +64876,7 @@ - (void)commitPresetsSchedulesRequestWithParams:(MTRThermostatClusterCommitPrese
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::CommitPresetsSchedulesRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64904,7 +64904,7 @@ - (void)cancelSetActivePresetRequestWithParams:(MTRThermostatClusterCancelSetAct
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::CancelSetActivePresetRequest::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64928,7 +64928,7 @@ - (void)setTemperatureSetpointHoldPolicyWithParams:(MTRThermostatClusterSetTempe
auto * timedInvokeTimeoutMs = params.timedInvokeTimeoutMs;
using RequestType = Thermostat::Commands::SetTemperatureSetpointHoldPolicy::Type;
- [self.device _invokeKnownCommandWithEndpointID:@(self.endpoint)
+ [self.device _invokeKnownCommandWithEndpointID:self.endpointID
clusterID:@(RequestType::GetClusterId())
commandID:@(RequestType::GetCommandId())
commandPayload:params
@@ -64942,7 +64942,7 @@ - (void)setTemperatureSetpointHoldPolicyWithParams:(MTRThermostatClusterSetTempe
- (void)readAttributeLocalTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::LocalTemperature::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -64955,7 +64955,7 @@ - (void)subscribeAttributeLocalTemperatureWithParams:(MTRSubscribeParams * _Nonn
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::LocalTemperature::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -64978,7 +64978,7 @@ + (void)readAttributeLocalTemperatureWithClusterStateCache:(MTRClusterStateCache
- (void)readAttributeOutdoorTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::OutdoorTemperature::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -64991,7 +64991,7 @@ - (void)subscribeAttributeOutdoorTemperatureWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::OutdoorTemperature::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65014,7 +65014,7 @@ + (void)readAttributeOutdoorTemperatureWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeOccupancyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::Occupancy::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65027,7 +65027,7 @@ - (void)subscribeAttributeOccupancyWithParams:(MTRSubscribeParams * _Nonnull)par
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::Occupancy::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65050,7 +65050,7 @@ + (void)readAttributeOccupancyWithClusterStateCache:(MTRClusterStateCacheContain
- (void)readAttributeAbsMinHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::AbsMinHeatSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65063,7 +65063,7 @@ - (void)subscribeAttributeAbsMinHeatSetpointLimitWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::AbsMinHeatSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65086,7 +65086,7 @@ + (void)readAttributeAbsMinHeatSetpointLimitWithClusterStateCache:(MTRClusterSta
- (void)readAttributeAbsMaxHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::AbsMaxHeatSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65099,7 +65099,7 @@ - (void)subscribeAttributeAbsMaxHeatSetpointLimitWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::AbsMaxHeatSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65122,7 +65122,7 @@ + (void)readAttributeAbsMaxHeatSetpointLimitWithClusterStateCache:(MTRClusterSta
- (void)readAttributeAbsMinCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::AbsMinCoolSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65135,7 +65135,7 @@ - (void)subscribeAttributeAbsMinCoolSetpointLimitWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::AbsMinCoolSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65158,7 +65158,7 @@ + (void)readAttributeAbsMinCoolSetpointLimitWithClusterStateCache:(MTRClusterSta
- (void)readAttributeAbsMaxCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::AbsMaxCoolSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65171,7 +65171,7 @@ - (void)subscribeAttributeAbsMaxCoolSetpointLimitWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::AbsMaxCoolSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65194,7 +65194,7 @@ + (void)readAttributeAbsMaxCoolSetpointLimitWithClusterStateCache:(MTRClusterSta
- (void)readAttributePICoolingDemandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::PICoolingDemand::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65207,7 +65207,7 @@ - (void)subscribeAttributePICoolingDemandWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::PICoolingDemand::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65230,7 +65230,7 @@ + (void)readAttributePICoolingDemandWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributePIHeatingDemandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::PIHeatingDemand::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65243,7 +65243,7 @@ - (void)subscribeAttributePIHeatingDemandWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::PIHeatingDemand::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65266,7 +65266,7 @@ + (void)readAttributePIHeatingDemandWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeHVACSystemTypeConfigurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::HVACSystemTypeConfiguration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65297,7 +65297,7 @@ - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65307,7 +65307,7 @@ - (void)subscribeAttributeHVACSystemTypeConfigurationWithParams:(MTRSubscribePar
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::HVACSystemTypeConfiguration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65330,7 +65330,7 @@ + (void)readAttributeHVACSystemTypeConfigurationWithClusterStateCache:(MTRCluste
- (void)readAttributeLocalTemperatureCalibrationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::LocalTemperatureCalibration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65361,7 +65361,7 @@ - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)
TypeInfo::Type cppValue;
cppValue = value.charValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65371,7 +65371,7 @@ - (void)subscribeAttributeLocalTemperatureCalibrationWithParams:(MTRSubscribePar
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::LocalTemperatureCalibration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65394,7 +65394,7 @@ + (void)readAttributeLocalTemperatureCalibrationWithClusterStateCache:(MTRCluste
- (void)readAttributeOccupiedCoolingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::OccupiedCoolingSetpoint::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65425,7 +65425,7 @@ - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)valu
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65435,7 +65435,7 @@ - (void)subscribeAttributeOccupiedCoolingSetpointWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::OccupiedCoolingSetpoint::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65458,7 +65458,7 @@ + (void)readAttributeOccupiedCoolingSetpointWithClusterStateCache:(MTRClusterSta
- (void)readAttributeOccupiedHeatingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::OccupiedHeatingSetpoint::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65489,7 +65489,7 @@ - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)valu
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65499,7 +65499,7 @@ - (void)subscribeAttributeOccupiedHeatingSetpointWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::OccupiedHeatingSetpoint::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65522,7 +65522,7 @@ + (void)readAttributeOccupiedHeatingSetpointWithClusterStateCache:(MTRClusterSta
- (void)readAttributeUnoccupiedCoolingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::UnoccupiedCoolingSetpoint::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65553,7 +65553,7 @@ - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)va
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65563,7 +65563,7 @@ - (void)subscribeAttributeUnoccupiedCoolingSetpointWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::UnoccupiedCoolingSetpoint::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65586,7 +65586,7 @@ + (void)readAttributeUnoccupiedCoolingSetpointWithClusterStateCache:(MTRClusterS
- (void)readAttributeUnoccupiedHeatingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::UnoccupiedHeatingSetpoint::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65617,7 +65617,7 @@ - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)va
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65627,7 +65627,7 @@ - (void)subscribeAttributeUnoccupiedHeatingSetpointWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::UnoccupiedHeatingSetpoint::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65650,7 +65650,7 @@ + (void)readAttributeUnoccupiedHeatingSetpointWithClusterStateCache:(MTRClusterS
- (void)readAttributeMinHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::MinHeatSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65681,7 +65681,7 @@ - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value p
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65691,7 +65691,7 @@ - (void)subscribeAttributeMinHeatSetpointLimitWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::MinHeatSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65714,7 +65714,7 @@ + (void)readAttributeMinHeatSetpointLimitWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMaxHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::MaxHeatSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65745,7 +65745,7 @@ - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value p
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65755,7 +65755,7 @@ - (void)subscribeAttributeMaxHeatSetpointLimitWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::MaxHeatSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65778,7 +65778,7 @@ + (void)readAttributeMaxHeatSetpointLimitWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMinCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::MinCoolSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65809,7 +65809,7 @@ - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value p
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65819,7 +65819,7 @@ - (void)subscribeAttributeMinCoolSetpointLimitWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::MinCoolSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65842,7 +65842,7 @@ + (void)readAttributeMinCoolSetpointLimitWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMaxCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::MaxCoolSetpointLimit::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65873,7 +65873,7 @@ - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value p
TypeInfo::Type cppValue;
cppValue = value.shortValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65883,7 +65883,7 @@ - (void)subscribeAttributeMaxCoolSetpointLimitWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::MaxCoolSetpointLimit::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65906,7 +65906,7 @@ + (void)readAttributeMaxCoolSetpointLimitWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeMinSetpointDeadBandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::MinSetpointDeadBand::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -65937,7 +65937,7 @@ - (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value pa
TypeInfo::Type cppValue;
cppValue = value.charValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -65947,7 +65947,7 @@ - (void)subscribeAttributeMinSetpointDeadBandWithParams:(MTRSubscribeParams * _N
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::MinSetpointDeadBand::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -65970,7 +65970,7 @@ + (void)readAttributeMinSetpointDeadBandWithClusterStateCache:(MTRClusterStateCa
- (void)readAttributeRemoteSensingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::RemoteSensing::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66001,7 +66001,7 @@ - (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value params:(
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66011,7 +66011,7 @@ - (void)subscribeAttributeRemoteSensingWithParams:(MTRSubscribeParams * _Nonnull
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::RemoteSensing::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66034,7 +66034,7 @@ + (void)readAttributeRemoteSensingWithClusterStateCache:(MTRClusterStateCacheCon
- (void)readAttributeControlSequenceOfOperationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::ControlSequenceOfOperation::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66065,7 +66065,7 @@ - (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)v
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66075,7 +66075,7 @@ - (void)subscribeAttributeControlSequenceOfOperationWithParams:(MTRSubscribePara
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::ControlSequenceOfOperation::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66098,7 +66098,7 @@ + (void)readAttributeControlSequenceOfOperationWithClusterStateCache:(MTRCluster
- (void)readAttributeSystemModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::SystemMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66129,7 +66129,7 @@ - (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value params:(MTR
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66139,7 +66139,7 @@ - (void)subscribeAttributeSystemModeWithParams:(MTRSubscribeParams * _Nonnull)pa
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::SystemMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66162,7 +66162,7 @@ + (void)readAttributeSystemModeWithClusterStateCache:(MTRClusterStateCacheContai
- (void)readAttributeThermostatRunningModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::ThermostatRunningMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66175,7 +66175,7 @@ - (void)subscribeAttributeThermostatRunningModeWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::ThermostatRunningMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66198,7 +66198,7 @@ + (void)readAttributeThermostatRunningModeWithClusterStateCache:(MTRClusterState
- (void)readAttributeStartOfWeekWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::StartOfWeek::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66211,7 +66211,7 @@ - (void)subscribeAttributeStartOfWeekWithParams:(MTRSubscribeParams * _Nonnull)p
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::StartOfWeek::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66234,7 +66234,7 @@ + (void)readAttributeStartOfWeekWithClusterStateCache:(MTRClusterStateCacheConta
- (void)readAttributeNumberOfWeeklyTransitionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::NumberOfWeeklyTransitions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66247,7 +66247,7 @@ - (void)subscribeAttributeNumberOfWeeklyTransitionsWithParams:(MTRSubscribeParam
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::NumberOfWeeklyTransitions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66270,7 +66270,7 @@ + (void)readAttributeNumberOfWeeklyTransitionsWithClusterStateCache:(MTRClusterS
- (void)readAttributeNumberOfDailyTransitionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::NumberOfDailyTransitions::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66283,7 +66283,7 @@ - (void)subscribeAttributeNumberOfDailyTransitionsWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::NumberOfDailyTransitions::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66306,7 +66306,7 @@ + (void)readAttributeNumberOfDailyTransitionsWithClusterStateCache:(MTRClusterSt
- (void)readAttributeTemperatureSetpointHoldWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::TemperatureSetpointHold::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66337,7 +66337,7 @@ - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)valu
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66347,7 +66347,7 @@ - (void)subscribeAttributeTemperatureSetpointHoldWithParams:(MTRSubscribeParams
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::TemperatureSetpointHold::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66370,7 +66370,7 @@ + (void)readAttributeTemperatureSetpointHoldWithClusterStateCache:(MTRClusterSta
- (void)readAttributeTemperatureSetpointHoldDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::TemperatureSetpointHoldDuration::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66406,7 +66406,7 @@ - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Null
nonNullValue_0 = value.unsignedShortValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66416,7 +66416,7 @@ - (void)subscribeAttributeTemperatureSetpointHoldDurationWithParams:(MTRSubscrib
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::TemperatureSetpointHoldDuration::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66439,7 +66439,7 @@ + (void)readAttributeTemperatureSetpointHoldDurationWithClusterStateCache:(MTRCl
- (void)readAttributeThermostatProgrammingOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::ThermostatProgrammingOperationMode::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66470,7 +66470,7 @@ - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _N
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66480,7 +66480,7 @@ - (void)subscribeAttributeThermostatProgrammingOperationModeWithParams:(MTRSubsc
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::ThermostatProgrammingOperationMode::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66503,7 +66503,7 @@ + (void)readAttributeThermostatProgrammingOperationModeWithClusterStateCache:(MT
- (void)readAttributeThermostatRunningStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::ThermostatRunningState::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66516,7 +66516,7 @@ - (void)subscribeAttributeThermostatRunningStateWithParams:(MTRSubscribeParams *
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::ThermostatRunningState::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66539,7 +66539,7 @@ + (void)readAttributeThermostatRunningStateWithClusterStateCache:(MTRClusterStat
- (void)readAttributeSetpointChangeSourceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::SetpointChangeSource::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66552,7 +66552,7 @@ - (void)subscribeAttributeSetpointChangeSourceWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::SetpointChangeSource::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66575,7 +66575,7 @@ + (void)readAttributeSetpointChangeSourceWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeSetpointChangeAmountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::SetpointChangeAmount::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66588,7 +66588,7 @@ - (void)subscribeAttributeSetpointChangeAmountWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::SetpointChangeAmount::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66611,7 +66611,7 @@ + (void)readAttributeSetpointChangeAmountWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeSetpointChangeSourceTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::SetpointChangeSourceTimestamp::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66624,7 +66624,7 @@ - (void)subscribeAttributeSetpointChangeSourceTimestampWithParams:(MTRSubscribeP
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::SetpointChangeSourceTimestamp::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66647,7 +66647,7 @@ + (void)readAttributeSetpointChangeSourceTimestampWithClusterStateCache:(MTRClus
- (void)readAttributeOccupiedSetbackWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::OccupiedSetback::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66683,7 +66683,7 @@ - (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value param
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66693,7 +66693,7 @@ - (void)subscribeAttributeOccupiedSetbackWithParams:(MTRSubscribeParams * _Nonnu
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::OccupiedSetback::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66716,7 +66716,7 @@ + (void)readAttributeOccupiedSetbackWithClusterStateCache:(MTRClusterStateCacheC
- (void)readAttributeOccupiedSetbackMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::OccupiedSetbackMin::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66729,7 +66729,7 @@ - (void)subscribeAttributeOccupiedSetbackMinWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::OccupiedSetbackMin::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66752,7 +66752,7 @@ + (void)readAttributeOccupiedSetbackMinWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeOccupiedSetbackMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::OccupiedSetbackMax::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66765,7 +66765,7 @@ - (void)subscribeAttributeOccupiedSetbackMaxWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::OccupiedSetbackMax::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66788,7 +66788,7 @@ + (void)readAttributeOccupiedSetbackMaxWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeUnoccupiedSetbackWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::UnoccupiedSetback::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66824,7 +66824,7 @@ - (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value par
nonNullValue_0 = value.unsignedCharValue;
}
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66834,7 +66834,7 @@ - (void)subscribeAttributeUnoccupiedSetbackWithParams:(MTRSubscribeParams * _Non
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::UnoccupiedSetback::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66857,7 +66857,7 @@ + (void)readAttributeUnoccupiedSetbackWithClusterStateCache:(MTRClusterStateCach
- (void)readAttributeUnoccupiedSetbackMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::UnoccupiedSetbackMin::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66870,7 +66870,7 @@ - (void)subscribeAttributeUnoccupiedSetbackMinWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::UnoccupiedSetbackMin::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66893,7 +66893,7 @@ + (void)readAttributeUnoccupiedSetbackMinWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeUnoccupiedSetbackMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::UnoccupiedSetbackMax::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66906,7 +66906,7 @@ - (void)subscribeAttributeUnoccupiedSetbackMaxWithParams:(MTRSubscribeParams * _
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::UnoccupiedSetbackMax::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66929,7 +66929,7 @@ + (void)readAttributeUnoccupiedSetbackMaxWithClusterStateCache:(MTRClusterStateC
- (void)readAttributeEmergencyHeatDeltaWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::EmergencyHeatDelta::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -66960,7 +66960,7 @@ - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value par
TypeInfo::Type cppValue;
cppValue = value.unsignedCharValue;
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute(cppValue, bridge, successCb, failureCb, timedWriteTimeout); });
std::move(*bridge).DispatchAction(self.device);
}
@@ -66970,7 +66970,7 @@ - (void)subscribeAttributeEmergencyHeatDeltaWithParams:(MTRSubscribeParams * _No
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
using TypeInfo = Thermostat::Attributes::EmergencyHeatDelta::TypeInfo;
- [self.device _subscribeToKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _subscribeToKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:params
@@ -66993,7 +66993,7 @@ + (void)readAttributeEmergencyHeatDeltaWithClusterStateCache:(MTRClusterStateCac
- (void)readAttributeACTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
{
using TypeInfo = Thermostat::Attributes::ACType::TypeInfo;
- [self.device _readKnownAttributeWithEndpointID:@(self.endpoint)
+ [self.device _readKnownAttributeWithEndpointID:self.endpointID
clusterID:@(TypeInfo::GetClusterId())
attributeID:@(TypeInfo::GetAttributeId())
params:nil
@@ -67024,7 +67024,7 @@ - (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value params:(MTRWrit
TypeInfo::Type cppValue;
cppValue = static_cast>(value.unsignedCharValue);
- chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpoint);
+ chip::Controller::ClusterBase cppCluster(exchangeManager, session, self.endpointID.unsignedShortValue);
return cppCluster.WriteAttribute