| /* |
| * |
| * Copyright (c) 2022 Project CHIP Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // THIS FILE IS GENERATED BY ZAP |
| |
| // Prevent multiple inclusion |
| #pragma once |
| |
| #include <lib/core/CHIPConfig.h> |
| |
| // Default values for the attributes longer than a pointer, |
| // in a form of a binary blob |
| // Separate block is generated for big-endian and little-endian cases. |
| #if BIGENDIAN_CPU |
| #define GENERATED_DEFAULTS \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server), big-endian */ \ |
| \ |
| /* 0 - ActiveLocale, */ \ |
| 5, 'e', 'n', '-', 'U', 'S', \ |
| \ |
| /* Endpoint: 0, Cluster: Unit Localization (server), big-endian */ \ |
| \ |
| /* 6 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x01, \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source (server), big-endian */ \ |
| \ |
| /* 10 - Description, */ \ |
| 2, 'B', '1', \ |
| \ |
| /* 13 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x02, \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server), big-endian */ \ |
| \ |
| /* 17 - Breadcrumb, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 25 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x06, \ |
| \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server), big-endian */ \ |
| \ |
| /* 29 - LastConnectErrorValue, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 33 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x02, \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server), big-endian */ \ |
| \ |
| /* 37 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server), big-endian */ \ |
| \ |
| /* 41 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x01, \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server), big-endian */ \ |
| \ |
| /* 45 - NetworkName, */ \ |
| 0x00, 0x00, \ |
| \ |
| /* 47 - ExtendedPanId, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 55 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 63 - PartitionId, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 67 - TxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 71 - TxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 75 - TxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 79 - TxAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 83 - TxAckedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 87 - TxNoAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 91 - TxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 95 - TxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 99 - TxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 103 - TxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 107 - TxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 111 - TxRetryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 115 - TxDirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 119 - TxIndirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 123 - TxErrCcaCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 127 - TxErrAbortCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 131 - TxErrBusyChannelCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 135 - RxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 139 - RxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 143 - RxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 147 - RxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 151 - RxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 155 - RxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 159 - RxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 163 - RxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 167 - RxAddressFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 171 - RxDestAddrFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 175 - RxDuplicatedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 179 - RxErrNoFrameCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 183 - RxErrUnknownNeighborCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 187 - RxErrInvalidSrcAddrCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 191 - RxErrSecCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 195 - RxErrFcsCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 199 - RxErrOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 203 - ActiveTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 211 - PendingTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 219 - delay, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 223 - ChannelMask, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 230 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x0F, \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server), big-endian */ \ |
| \ |
| /* 234 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x03, \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server), big-endian */ \ |
| \ |
| /* 238 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x03, \ |
| \ |
| /* Endpoint: 1, Cluster: On/Off (server), big-endian */ \ |
| \ |
| /* 242 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x01, \ |
| \ |
| /* Endpoint: 1, Cluster: Level Control (server), big-endian */ \ |
| \ |
| /* 246 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x03, \ |
| \ |
| /* Endpoint: 1, Cluster: Power Source (server), big-endian */ \ |
| \ |
| /* 250 - Description, */ \ |
| 2, 'B', '2', \ |
| \ |
| /* 253 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x02, \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server), big-endian */ \ |
| \ |
| /* 257 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Mode Select (server), big-endian */ \ |
| \ |
| /* 261 - Description, */ \ |
| 6, 'C', 'o', 'f', 'f', 'e', 'e', \ |
| \ |
| /* 268 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x01, \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server), big-endian */ \ |
| \ |
| /* 272 - DoorOpenEvents, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 276 - DoorClosedEvents, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 280 - Language, */ \ |
| 2, 'e', 'n', \ |
| \ |
| /* 283 - AutoRelockTime, */ \ |
| 0x00, 0x00, 0x00, 0x60, \ |
| \ |
| /* 287 - FeatureMap, */ \ |
| 0x00, 0x00, 0x01, 0x13, \ |
| \ |
| /* Endpoint: 1, Cluster: Window Covering (server), big-endian */ \ |
| \ |
| /* 291 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x17, \ |
| \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server), big-endian */ \ |
| \ |
| /* 295 - LifetimeRunningHours, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 298 - Power, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 301 - LifetimeEnergyConsumed, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 305 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat (server), big-endian */ \ |
| \ |
| /* 309 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x0B, \ |
| \ |
| /* Endpoint: 1, Cluster: Fan Control (server), big-endian */ \ |
| \ |
| /* 313 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x0F, \ |
| \ |
| /* Endpoint: 1, Cluster: Color Control (server), big-endian */ \ |
| \ |
| /* 317 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x1F, \ |
| \ |
| /* Endpoint: 1, Cluster: IAS Zone (server), big-endian */ \ |
| \ |
| /* 321 - IAS CIE address, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Media Playback (server), big-endian */ \ |
| \ |
| /* 329 - StartTime, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, \ |
| \ |
| /* 337 - Duration, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 345 - PlaybackSpeed, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 349 - SeekRangeEnd, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 357 - SeekRangeStart, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Content Launcher (server), big-endian */ \ |
| \ |
| /* 365 - SupportedStreamingProtocols, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Test Cluster (server), big-endian */ \ |
| \ |
| /* 369 - bitmap32, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 373 - bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 381 - int24u, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 384 - int32u, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 388 - int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 393 - int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 399 - int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 406 - int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 414 - int24s, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 417 - int32s, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 421 - int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 426 - int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 432 - int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 439 - int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 447 - float_single, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 451 - float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 459 - epoch_us, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 467 - epoch_s, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 471 - nullable_bitmap32, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 475 - nullable_bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 483 - nullable_int24u, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 486 - nullable_int32u, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 490 - nullable_int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 495 - nullable_int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 501 - nullable_int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 508 - nullable_int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 516 - nullable_int24s, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 519 - nullable_int32s, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 523 - nullable_int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 528 - nullable_int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 534 - nullable_int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 541 - nullable_int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 549 - nullable_float_single, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 553 - nullable_float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Electrical Measurement (server), big-endian */ \ |
| \ |
| /* 561 - measurement type, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 565 - total active power, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 2, Cluster: On/Off (server), big-endian */ \ |
| \ |
| /* 569 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 2, Cluster: Power Source (server), big-endian */ \ |
| \ |
| /* 573 - Description, */ \ |
| 2, 'B', '3', \ |
| \ |
| /* 576 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x02, \ |
| } |
| |
| #else // !BIGENDIAN_CPU |
| #define GENERATED_DEFAULTS \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server), little-endian */ \ |
| \ |
| /* 0 - ActiveLocale, */ \ |
| 5, 'e', 'n', '-', 'U', 'S', \ |
| \ |
| /* Endpoint: 0, Cluster: Unit Localization (server), little-endian */ \ |
| \ |
| /* 6 - FeatureMap, */ \ |
| 0x01, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source (server), little-endian */ \ |
| \ |
| /* 10 - Description, */ \ |
| 2, 'B', '1', \ |
| \ |
| /* 13 - FeatureMap, */ \ |
| 0x02, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server), little-endian */ \ |
| \ |
| /* 17 - Breadcrumb, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 25 - FeatureMap, */ \ |
| 0x06, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server), little-endian */ \ |
| \ |
| /* 29 - LastConnectErrorValue, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 33 - FeatureMap, */ \ |
| 0x02, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server), little-endian */ \ |
| \ |
| /* 37 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server), little-endian */ \ |
| \ |
| /* 41 - FeatureMap, */ \ |
| 0x01, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server), little-endian */ \ |
| \ |
| /* 45 - NetworkName, */ \ |
| 0x00, 0x00, \ |
| \ |
| /* 47 - ExtendedPanId, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 55 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 63 - PartitionId, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 67 - TxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 71 - TxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 75 - TxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 79 - TxAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 83 - TxAckedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 87 - TxNoAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 91 - TxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 95 - TxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 99 - TxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 103 - TxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 107 - TxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 111 - TxRetryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 115 - TxDirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 119 - TxIndirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 123 - TxErrCcaCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 127 - TxErrAbortCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 131 - TxErrBusyChannelCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 135 - RxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 139 - RxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 143 - RxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 147 - RxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 151 - RxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 155 - RxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 159 - RxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 163 - RxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 167 - RxAddressFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 171 - RxDestAddrFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 175 - RxDuplicatedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 179 - RxErrNoFrameCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 183 - RxErrUnknownNeighborCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 187 - RxErrInvalidSrcAddrCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 191 - RxErrSecCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 195 - RxErrFcsCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 199 - RxErrOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 203 - ActiveTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 211 - PendingTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 219 - delay, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 223 - ChannelMask, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 230 - FeatureMap, */ \ |
| 0x0F, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server), little-endian */ \ |
| \ |
| /* 234 - FeatureMap, */ \ |
| 0x03, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server), little-endian */ \ |
| \ |
| /* 238 - FeatureMap, */ \ |
| 0x03, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: On/Off (server), little-endian */ \ |
| \ |
| /* 242 - FeatureMap, */ \ |
| 0x01, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Level Control (server), little-endian */ \ |
| \ |
| /* 246 - FeatureMap, */ \ |
| 0x03, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Power Source (server), little-endian */ \ |
| \ |
| /* 250 - Description, */ \ |
| 2, 'B', '2', \ |
| \ |
| /* 253 - FeatureMap, */ \ |
| 0x02, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server), little-endian */ \ |
| \ |
| /* 257 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Mode Select (server), little-endian */ \ |
| \ |
| /* 261 - Description, */ \ |
| 6, 'C', 'o', 'f', 'f', 'e', 'e', \ |
| \ |
| /* 268 - FeatureMap, */ \ |
| 0x01, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server), little-endian */ \ |
| \ |
| /* 272 - DoorOpenEvents, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 276 - DoorClosedEvents, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 280 - Language, */ \ |
| 2, 'e', 'n', \ |
| \ |
| /* 283 - AutoRelockTime, */ \ |
| 0x60, 0x00, 0x00, 0x00, \ |
| \ |
| /* 287 - FeatureMap, */ \ |
| 0x13, 0x01, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Window Covering (server), little-endian */ \ |
| \ |
| /* 291 - FeatureMap, */ \ |
| 0x17, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server), little-endian */ \ |
| \ |
| /* 295 - LifetimeRunningHours, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 298 - Power, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 301 - LifetimeEnergyConsumed, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 305 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat (server), little-endian */ \ |
| \ |
| /* 309 - FeatureMap, */ \ |
| 0x0B, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Fan Control (server), little-endian */ \ |
| \ |
| /* 313 - FeatureMap, */ \ |
| 0x0F, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Color Control (server), little-endian */ \ |
| \ |
| /* 317 - FeatureMap, */ \ |
| 0x1F, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: IAS Zone (server), little-endian */ \ |
| \ |
| /* 321 - IAS CIE address, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Media Playback (server), little-endian */ \ |
| \ |
| /* 329 - StartTime, */ \ |
| 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 337 - Duration, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 345 - PlaybackSpeed, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 349 - SeekRangeEnd, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 357 - SeekRangeStart, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Content Launcher (server), little-endian */ \ |
| \ |
| /* 365 - SupportedStreamingProtocols, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Test Cluster (server), little-endian */ \ |
| \ |
| /* 369 - bitmap32, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 373 - bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 381 - int24u, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 384 - int32u, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 388 - int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 393 - int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 399 - int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 406 - int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 414 - int24s, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 417 - int32s, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 421 - int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 426 - int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 432 - int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 439 - int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 447 - float_single, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 451 - float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 459 - epoch_us, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 467 - epoch_s, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 471 - nullable_bitmap32, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 475 - nullable_bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 483 - nullable_int24u, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 486 - nullable_int32u, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 490 - nullable_int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 495 - nullable_int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 501 - nullable_int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 508 - nullable_int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 516 - nullable_int24s, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 519 - nullable_int32s, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 523 - nullable_int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 528 - nullable_int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 534 - nullable_int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 541 - nullable_int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 549 - nullable_float_single, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 553 - nullable_float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Electrical Measurement (server), little-endian */ \ |
| \ |
| /* 561 - measurement type, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 565 - total active power, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 2, Cluster: On/Off (server), little-endian */ \ |
| \ |
| /* 569 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 2, Cluster: Power Source (server), little-endian */ \ |
| \ |
| /* 573 - Description, */ \ |
| 2, 'B', '3', \ |
| \ |
| /* 576 - FeatureMap, */ \ |
| 0x02, 0x00, 0x00, 0x00, \ |
| } |
| |
| #endif // BIGENDIAN_CPU |
| |
| #define GENERATED_DEFAULTS_COUNT (121) |
| |
| #define ZAP_TYPE(type) ZCL_##type##_ATTRIBUTE_TYPE |
| #define ZAP_LONG_DEFAULTS_INDEX(index) \ |
| { \ |
| &generatedDefaults[index] \ |
| } |
| #define ZAP_MIN_MAX_DEFAULTS_INDEX(index) \ |
| { \ |
| &minMaxDefaults[index] \ |
| } |
| #define ZAP_EMPTY_DEFAULT() \ |
| { \ |
| (uint16_t) 0 \ |
| } |
| #define ZAP_SIMPLE_DEFAULT(x) \ |
| { \ |
| (uint16_t) x \ |
| } |
| |
| // This is an array of EmberAfAttributeMinMaxValue structures. |
| #define GENERATED_MIN_MAX_DEFAULT_COUNT 44 |
| #define GENERATED_MIN_MAX_DEFAULTS \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Time Format Localization (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* HourFormat */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| { (uint16_t) 0xFF, (uint16_t) 0x0, (uint16_t) 0x2 }, /* StartUpOnOff */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x2 }, /* switch actions */ \ |
| \ |
| /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x3 }, /* options */ \ |
| \ |
| /* Endpoint: 1, Cluster: Binary Input (Basic) (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* out of service */ \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x3 }, /* SoundVolume */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x4 }, /* OperatingMode */ \ |
| { (uint16_t) 0x3, (uint16_t) 0x1, (uint16_t) 0xFF }, /* WrongCodeEntryLimit */ \ |
| { (uint16_t) 0xA, (uint16_t) 0x1, (uint16_t) 0xFF }, /* UserCodeTemporaryDisableTime */ \ |
| \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xF }, /* Mode */ \ |
| \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x3 }, /* OperationMode */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x7 }, /* ControlMode */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */ \ |
| { (uint16_t) 0x2BC, (uint16_t) 0x954D, (uint16_t) 0x7FFF }, /* min heat setpoint limit */ \ |
| { (uint16_t) 0xBB8, (uint16_t) 0x954D, (uint16_t) 0x7FFF }, /* max heat setpoint limit */ \ |
| { (uint16_t) 0x640, (uint16_t) 0x954D, (uint16_t) 0x7FFF }, /* min cool setpoint limit */ \ |
| { (uint16_t) 0xC80, (uint16_t) 0x954D, (uint16_t) 0x7FFF }, /* max cool setpoint limit */ \ |
| { (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x19 }, /* min setpoint dead band */ \ |
| { (uint16_t) 0x4, (uint16_t) 0x0, (uint16_t) 0x5 }, /* control sequence of operation */ \ |
| { (uint16_t) 0x1, (uint16_t) 0x0, (uint16_t) 0x7 }, /* system mode */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fan Control (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x6 }, /* fan mode */ \ |
| { (uint16_t) 0x2, (uint16_t) 0x0, (uint16_t) 0x5 }, /* fan mode sequence */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x64 }, /* percent setting */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x64 }, /* speed setting */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* temperature display mode */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x5 }, /* keypad lockout */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* schedule programming visibility */ \ |
| \ |
| /* Endpoint: 1, Cluster: Color Control (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* white point x */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* white point y */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* color point r x */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* color point r y */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* color point g x */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* color point g y */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* color point b x */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* color point b y */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* start up color temperature mireds */ \ |
| \ |
| /* Endpoint: 1, Cluster: Test Cluster (server) */ \ |
| { (uint16_t) 0x46, (uint16_t) 0x14, (uint16_t) 0x64 }, /* range_restricted_int8u */ \ |
| { (uint16_t) -0x14, (uint16_t) -0x28, (uint16_t) 0x32 }, /* range_restricted_int8s */ \ |
| { (uint16_t) 0xC8, (uint16_t) 0x64, (uint16_t) 0x3E8 }, /* range_restricted_int16u */ \ |
| { (uint16_t) -0x64, (uint16_t) -0x96, (uint16_t) 0xC8 }, /* range_restricted_int16s */ \ |
| { (uint16_t) 0x46, (uint16_t) 0x14, (uint16_t) 0x64 }, /* nullable_range_restricted_int8u */ \ |
| { (uint16_t) -0x14, (uint16_t) -0x28, (uint16_t) 0x32 }, /* nullable_range_restricted_int8s */ \ |
| { (uint16_t) 0xC8, (uint16_t) 0x64, (uint16_t) 0x3E8 }, /* nullable_range_restricted_int16u */ \ |
| { (uint16_t) -0x64, (uint16_t) -0x96, (uint16_t) 0xC8 }, /* nullable_range_restricted_int16s */ \ |
| \ |
| /* Endpoint: 2, Cluster: On/Off (server) */ { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x2 } /* StartUpOnOff */ \ |
| } |
| |
| #define ZAP_ATTRIBUTE_MASK(mask) ATTRIBUTE_MASK_##mask |
| // This is an array of EmberAfAttributeMetadata structures. |
| #define GENERATED_ATTRIBUTE_COUNT 665 |
| #define GENERATED_ATTRIBUTES \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Identify (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* identify time */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x0) }, /* identify type */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Groups (server) */ \ |
| { 0x00000000, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* name support */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| { 0x00000002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| { 0x00000003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Binding (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* Binding */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Access Control (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ACL */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* Extension */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* SubjectsPerAccessControlEntry */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* TargetsPerAccessControlEntry */ \ |
| { 0x00000004, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* AccessControlEntriesPerFabric */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Basic (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* DataModelRevision */ \ |
| { 0x00000001, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* VendorName */ \ |
| { 0x00000002, ZAP_TYPE(VENDOR_ID), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* VendorID */ \ |
| { 0x00000003, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* ProductName */ \ |
| { 0x00000004, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* ProductID */ \ |
| { 0x00000005, ZAP_TYPE(CHAR_STRING), 33, \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* NodeLabel */ \ |
| { 0x00000006, ZAP_TYPE(CHAR_STRING), 0, \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* Location */ \ |
| { 0x00000007, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* HardwareVersion */ \ |
| { 0x00000008, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* HardwareVersionString */ \ |
| { 0x00000009, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* SoftwareVersion */ \ |
| { 0x0000000A, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* SoftwareVersionString */ \ |
| { 0x0000000B, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* ManufacturingDate */ \ |
| { 0x0000000C, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* PartNumber */ \ |
| { 0x0000000D, ZAP_TYPE(LONG_CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* ProductURL */ \ |
| { 0x0000000E, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* ProductLabel */ \ |
| { 0x0000000F, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* SerialNumber */ \ |
| { 0x00000010, ZAP_TYPE(BOOLEAN), 1, \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* LocalConfigDisabled */ \ |
| { 0x00000011, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(1) }, /* Reachable */ \ |
| { 0x00000012, ZAP_TYPE(CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_EMPTY_DEFAULT() }, /* UniqueID */ \ |
| { 0x00000013, ZAP_TYPE(STRUCT), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* CapabilityMinima */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: OTA Software Update Requestor (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* DefaultOtaProviders */ \ |
| { 0x00000001, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(1) }, /* UpdatePossible */ \ |
| { 0x00000002, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* UpdateState */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0) }, /* UpdateStateProgress */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server) */ \ |
| { 0x00000000, ZAP_TYPE(CHAR_STRING), 36, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(0) }, /* ActiveLocale */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* SupportedLocales */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Time Format Localization (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(0) }, /* HourFormat */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* ActiveCalendarType */ \ |
| { 0x00000002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* SupportedCalendarTypes */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Unit Localization (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* TemperatureUnit */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(6) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source Configuration (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* Sources */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* Status */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(3) }, /* Order */ \ |
| { 0x00000002, ZAP_TYPE(CHAR_STRING), 61, 0, ZAP_LONG_DEFAULTS_INDEX(10) }, /* Description */ \ |
| { 0x0000000E, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* BatteryChargeLevel */ \ |
| { 0x0000000F, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryReplacementNeeded */ \ |
| { 0x00000010, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryReplaceability */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(13) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(17) }, /* Breadcrumb */ \ |
| { 0x00000001, ZAP_TYPE(STRUCT), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* BasicCommissioningInfo */ \ |
| { 0x00000002, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* RegulatoryConfig */ \ |
| { 0x00000003, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* LocationCapability */ \ |
| { 0x00000004, ZAP_TYPE(BOOLEAN), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* SupportsConcurrentConnection */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(25) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* MaxNetworks */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* Networks */ \ |
| { 0x00000002, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* ScanMaxTimeSeconds */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* ConnectMaxTimeSeconds */ \ |
| { 0x00000004, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* InterfaceEnabled */ \ |
| { 0x00000005, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* LastNetworkingStatus */ \ |
| { 0x00000006, ZAP_TYPE(OCTET_STRING), 33, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* LastNetworkID */ \ |
| { 0x00000007, ZAP_TYPE(INT32S), 4, ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(29) }, /* LastConnectErrorValue */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(33) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* NetworkInterfaces */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* RebootCount */ \ |
| { 0x00000002, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* UpTime */ \ |
| { 0x00000003, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* TotalOperationalHours */ \ |
| { 0x00000004, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* BootReasons */ \ |
| { 0x00000005, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ActiveHardwareFaults */ \ |
| { 0x00000006, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ActiveRadioFaults */ \ |
| { 0x00000007, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ActiveNetworkFaults */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(37) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ThreadMetrics */ \ |
| { 0x00000001, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* CurrentHeapFree */ \ |
| { 0x00000002, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* CurrentHeapUsed */ \ |
| { 0x00000003, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* CurrentHeapHighWatermark */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(41) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* channel */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* RoutingRole */ \ |
| { 0x00000002, ZAP_TYPE(CHAR_STRING), 17, 0, ZAP_LONG_DEFAULTS_INDEX(45) }, /* NetworkName */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* PanId */ \ |
| { 0x00000004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(47) }, /* ExtendedPanId */ \ |
| { 0x00000005, ZAP_TYPE(OCTET_STRING), 18, 0, ZAP_EMPTY_DEFAULT() }, /* MeshLocalPrefix */ \ |
| { 0x00000006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(55) }, /* OverrunCount */ \ |
| { 0x00000007, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* NeighborTableList */ \ |
| { 0x00000008, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* RouteTableList */ \ |
| { 0x00000009, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(63) }, /* PartitionId */ \ |
| { 0x0000000A, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* weighting */ \ |
| { 0x0000000B, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* DataVersion */ \ |
| { 0x0000000C, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* StableDataVersion */ \ |
| { 0x0000000D, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* LeaderRouterId */ \ |
| { 0x0000000E, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* DetachedRoleCount */ \ |
| { 0x0000000F, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ChildRoleCount */ \ |
| { 0x00000010, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* RouterRoleCount */ \ |
| { 0x00000011, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* LeaderRoleCount */ \ |
| { 0x00000012, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* AttachAttemptCount */ \ |
| { 0x00000013, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* PartitionIdChangeCount */ \ |
| { 0x00000014, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* BetterPartitionAttachAttemptCount */ \ |
| { 0x00000015, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ParentChangeCount */ \ |
| { 0x00000016, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(67) }, /* TxTotalCount */ \ |
| { 0x00000017, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(71) }, /* TxUnicastCount */ \ |
| { 0x00000018, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(75) }, /* TxBroadcastCount */ \ |
| { 0x00000019, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(79) }, /* TxAckRequestedCount */ \ |
| { 0x0000001A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(83) }, /* TxAckedCount */ \ |
| { 0x0000001B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(87) }, /* TxNoAckRequestedCount */ \ |
| { 0x0000001C, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(91) }, /* TxDataCount */ \ |
| { 0x0000001D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(95) }, /* TxDataPollCount */ \ |
| { 0x0000001E, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(99) }, /* TxBeaconCount */ \ |
| { 0x0000001F, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(103) }, /* TxBeaconRequestCount */ \ |
| { 0x00000020, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(107) }, /* TxOtherCount */ \ |
| { 0x00000021, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(111) }, /* TxRetryCount */ \ |
| { 0x00000022, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(115) }, /* TxDirectMaxRetryExpiryCount */ \ |
| { 0x00000023, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(119) }, /* TxIndirectMaxRetryExpiryCount */ \ |
| { 0x00000024, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(123) }, /* TxErrCcaCount */ \ |
| { 0x00000025, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(127) }, /* TxErrAbortCount */ \ |
| { 0x00000026, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(131) }, /* TxErrBusyChannelCount */ \ |
| { 0x00000027, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(135) }, /* RxTotalCount */ \ |
| { 0x00000028, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(139) }, /* RxUnicastCount */ \ |
| { 0x00000029, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(143) }, /* RxBroadcastCount */ \ |
| { 0x0000002A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(147) }, /* RxDataCount */ \ |
| { 0x0000002B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(151) }, /* RxDataPollCount */ \ |
| { 0x0000002C, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(155) }, /* RxBeaconCount */ \ |
| { 0x0000002D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(159) }, /* RxBeaconRequestCount */ \ |
| { 0x0000002E, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(163) }, /* RxOtherCount */ \ |
| { 0x0000002F, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(167) }, /* RxAddressFilteredCount */ \ |
| { 0x00000030, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(171) }, /* RxDestAddrFilteredCount */ \ |
| { 0x00000031, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(175) }, /* RxDuplicatedCount */ \ |
| { 0x00000032, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(179) }, /* RxErrNoFrameCount */ \ |
| { 0x00000033, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(183) }, /* RxErrUnknownNeighborCount */ \ |
| { 0x00000034, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(187) }, /* RxErrInvalidSrcAddrCount */ \ |
| { 0x00000035, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(191) }, /* RxErrSecCount */ \ |
| { 0x00000036, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(195) }, /* RxErrFcsCount */ \ |
| { 0x00000037, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(199) }, /* RxErrOtherCount */ \ |
| { 0x00000038, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(203) }, /* ActiveTimestamp */ \ |
| { 0x00000039, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(211) }, /* PendingTimestamp */ \ |
| { 0x0000003A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(219) }, /* delay */ \ |
| { 0x0000003B, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* SecurityPolicy */ \ |
| { 0x0000003C, ZAP_TYPE(OCTET_STRING), 5, 0, ZAP_LONG_DEFAULTS_INDEX(223) }, /* ChannelMask */ \ |
| { 0x0000003D, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* OperationalDatasetComponents */ \ |
| { 0x0000003E, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ActiveNetworkFaultsList */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(230) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| { 0x00000000, ZAP_TYPE(OCTET_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* bssid */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* SecurityType */ \ |
| { 0x00000002, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* WiFiVersion */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ChannelNumber */ \ |
| { 0x00000004, ZAP_TYPE(INT8S), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* Rssi */ \ |
| { 0x00000005, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* BeaconLostCount */ \ |
| { 0x00000006, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* BeaconRxCount */ \ |
| { 0x00000007, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* PacketMulticastRxCount */ \ |
| { 0x00000008, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* PacketMulticastTxCount */ \ |
| { 0x00000009, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* PacketUnicastRxCount */ \ |
| { 0x0000000A, ZAP_TYPE(INT32U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* PacketUnicastTxCount */ \ |
| { 0x0000000B, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* CurrentMaxRate */ \ |
| { 0x0000000C, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* OverrunCount */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(234) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* PHYRate */ \ |
| { 0x00000001, ZAP_TYPE(BOOLEAN), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* FullDuplex */ \ |
| { 0x00000002, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* PacketRxCount */ \ |
| { 0x00000003, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* PacketTxCount */ \ |
| { 0x00000004, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* TxErrCount */ \ |
| { 0x00000005, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* CollisionCount */ \ |
| { 0x00000006, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* OverrunCount */ \ |
| { 0x00000007, ZAP_TYPE(BOOLEAN), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* CarrierDetect */ \ |
| { 0x00000008, ZAP_TYPE(INT64U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* TimeSinceReset */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(238) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* WindowStatus */ \ |
| { 0x00000001, ZAP_TYPE(FABRIC_IDX), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* AdminFabricIndex */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* AdminVendorId */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* NOCs */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* Fabrics */ \ |
| { 0x00000002, ZAP_TYPE(INT8U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* SupportedFabrics */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \ |
| { 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \ |
| { 0x00000005, ZAP_TYPE(FABRIC_IDX), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Group Key Management (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* GroupKeyMap */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* GroupTable */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* MaxGroupsPerFabric */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* MaxGroupKeysPerFabric */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Fixed Label (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* label list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: User Label (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* label list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Relative Humidity Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* measured value */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0) }, /* min measured value */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x2710) }, /* max measured value */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Identify (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* identify time */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x0) }, /* identify type */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Groups (server) */ \ |
| { 0x00000000, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* name support */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Scenes (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* scene count */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current scene */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* current group */ \ |
| { 0x00000003, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* scene valid */ \ |
| { 0x00000004, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* name support */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| { 0x00000000, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE), ZAP_SIMPLE_DEFAULT(0x00) }, /* OnOff */ \ |
| { 0x00004000, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x01) }, /* GlobalSceneControl */ \ |
| { 0x00004001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* OnTime */ \ |
| { 0x00004002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* OffWaitTime */ \ |
| { 0x00004003, ZAP_TYPE(ENUM8), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(1) }, /* StartUpOnOff */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(242) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* switch type */ \ |
| { 0x00000010, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(2) }, /* switch actions */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE), ZAP_SIMPLE_DEFAULT(0xFE) }, /* current level */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* remaining time */ \ |
| { 0x00000002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* min level */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xFE) }, /* max level */ \ |
| { 0x00000004, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* current frequency */ \ |
| { 0x00000005, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* min frequency */ \ |
| { 0x00000006, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* max frequency */ \ |
| { 0x0000000F, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(3) }, /* options */ \ |
| { 0x00000010, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x0000) }, /* on off transition time */ \ |
| { 0x00000011, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0xFF) }, /* on level */ \ |
| { 0x00000012, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* on transition time */ \ |
| { 0x00000013, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* off transition time */ \ |
| { 0x00000014, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(50) }, /* default move rate */ \ |
| { 0x00004000, ZAP_TYPE(INT8U), 1, \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(255) }, /* start up current level */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(246) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(5) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Binary Input (Basic) (server) */ \ |
| { 0x00000051, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(4) }, /* out of service */ \ |
| { 0x00000055, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* present value */ \ |
| { 0x0000006F, ZAP_TYPE(BITMAP8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* status flags */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| { 0x00000002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| { 0x00000003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Binding (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* Binding */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Bridged Actions (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* action list */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* endpoint list */ \ |
| { 0x00000002, ZAP_TYPE(LONG_CHAR_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* setup url */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Power Source (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* Status */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* Order */ \ |
| { 0x00000002, ZAP_TYPE(CHAR_STRING), 61, 0, ZAP_LONG_DEFAULTS_INDEX(250) }, /* Description */ \ |
| { 0x0000000E, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* BatteryChargeLevel */ \ |
| { 0x0000000F, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryReplacementNeeded */ \ |
| { 0x00000010, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryReplaceability */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(253) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* number of positions */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* current position */ \ |
| { 0x00000002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* multi press max */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(257) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* label list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: User Label (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* label list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Boolean State (server) */ \ |
| { 0x00000000, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* StateValue */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Mode Select (server) */ \ |
| { 0x00000000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_LONG_DEFAULTS_INDEX(261) }, /* Description */ \ |
| { 0x00000001, ZAP_TYPE(ENUM16), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0) }, /* StandardNamespace */ \ |
| { 0x00000002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* SupportedModes */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE), ZAP_SIMPLE_DEFAULT(0) }, /* CurrentMode */ \ |
| { 0x00000004, ZAP_TYPE(INT8U), 1, \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* StartUpMode */ \ |
| { 0x00000005, ZAP_TYPE(INT8U), 1, \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(255) }, /* OnMode */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(268) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(2) }, /* LockState */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* LockType */ \ |
| { 0x00000002, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_EMPTY_DEFAULT() }, /* ActuatorEnabled */ \ |
| { 0x00000003, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* DoorState */ \ |
| { 0x00000004, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(272) }, /* DoorOpenEvents */ \ |
| { 0x00000005, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(276) }, /* DoorClosedEvents */ \ |
| { 0x00000006, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* OpenPeriod */ \ |
| { 0x00000011, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(10) }, /* NumberOfTotalUsersSupported */ \ |
| { 0x00000012, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(10) }, /* NumberOfPINUsersSupported */ \ |
| { 0x00000013, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(10) }, /* NumberOfRFIDUsersSupported */ \ |
| { 0x00000014, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(10) }, /* NumberOfWeekDaySchedulesSupportedPerUser */ \ |
| { 0x00000015, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(10) }, /* NumberOfYearDaySchedulesSupportedPerUser */ \ |
| { 0x00000016, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* NumberOfHolidaySchedulesSupported */ \ |
| { 0x00000017, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(6) }, /* MaxPINCodeLength */ \ |
| { 0x00000018, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(6) }, /* MinPINCodeLength */ \ |
| { 0x00000019, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(20) }, /* MaxRFIDCodeLength */ \ |
| { 0x0000001A, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(10) }, /* MinRFIDCodeLength */ \ |
| { 0x0000001B, ZAP_TYPE(BITMAP8), 1, 0, ZAP_SIMPLE_DEFAULT(1) }, /* CredentialRulesSupport */ \ |
| { 0x0000001C, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(5) }, /* NumberOfCredentialsSupportedPerUser */ \ |
| { 0x00000021, ZAP_TYPE(CHAR_STRING), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(280) }, /* Language */ \ |
| { 0x00000023, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(283) }, /* AutoRelockTime */ \ |
| { 0x00000024, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(5) }, /* SoundVolume */ \ |
| { 0x00000025, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(6) }, /* OperatingMode */ \ |
| { 0x00000026, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0xFFF6) }, /* SupportedOperatingModes */ \ |
| { 0x00000027, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0) }, /* DefaultConfigurationRegister */ \ |
| { 0x00000029, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x00) }, /* EnableOneTouchLocking */ \ |
| { 0x0000002A, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* EnableInsideStatusLED */ \ |
| { 0x0000002B, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x00) }, /* EnablePrivacyModeButton */ \ |
| { 0x00000030, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(7) }, /* WrongCodeEntryLimit */ \ |
| { 0x00000031, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(8) }, /* UserCodeTemporaryDisableTime */ \ |
| { 0x00000033, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* RequirePINforRemoteOperation */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(287) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(6) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* Type */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x7FFF) }, /* CurrentPositionLift */ \ |
| { 0x00000004, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x7FFF) }, /* CurrentPositionTilt */ \ |
| { 0x00000007, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE), ZAP_SIMPLE_DEFAULT(0x03) }, /* ConfigStatus */ \ |
| { 0x00000008, ZAP_TYPE(PERCENT), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(50) }, /* CurrentPositionLiftPercentage */ \ |
| { 0x00000009, ZAP_TYPE(PERCENT), 1, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(50) }, /* CurrentPositionTiltPercentage */ \ |
| { 0x0000000A, ZAP_TYPE(BITMAP8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* OperationalStatus */ \ |
| { 0x0000000B, ZAP_TYPE(PERCENT100THS), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(500) }, /* TargetPositionLiftPercent100ths */ \ |
| { 0x0000000C, ZAP_TYPE(PERCENT100THS), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(500) }, /* TargetPositionTiltPercent100ths */ \ |
| { 0x0000000D, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* EndProductType */ \ |
| { 0x0000000E, ZAP_TYPE(PERCENT100THS), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(500) }, /* CurrentPositionLiftPercent100ths */ \ |
| { 0x0000000F, ZAP_TYPE(PERCENT100THS), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(500) }, /* CurrentPositionTiltPercent100ths */ \ |
| { 0x00000010, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE), \ |
| ZAP_SIMPLE_DEFAULT(0x0000) }, /* InstalledOpenLimitLift */ \ |
| { 0x00000011, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE), \ |
| ZAP_SIMPLE_DEFAULT(0xFFFF) }, /* InstalledClosedLimitLift */ \ |
| { 0x00000012, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE), \ |
| ZAP_SIMPLE_DEFAULT(0x0000) }, /* InstalledOpenLimitTilt */ \ |
| { 0x00000013, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(TOKENIZE), \ |
| ZAP_SIMPLE_DEFAULT(0xFFFF) }, /* InstalledClosedLimitTilt */ \ |
| { 0x00000017, ZAP_TYPE(BITMAP8), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(9) }, /* Mode */ \ |
| { 0x0000001A, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* SafetyStatus */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(291) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(5) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Barrier Control (server) */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* barrier moving state */ \ |
| { 0x00000002, ZAP_TYPE(BITMAP16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* barrier safety status */ \ |
| { 0x00000003, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* barrier capabilities */ \ |
| { 0x0000000A, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* barrier position */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxPressure */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxSpeed */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxFlow */ \ |
| { 0x00000003, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinConstPressure */ \ |
| { 0x00000004, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxConstPressure */ \ |
| { 0x00000005, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinCompPressure */ \ |
| { 0x00000006, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxCompPressure */ \ |
| { 0x00000007, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinConstSpeed */ \ |
| { 0x00000008, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxConstSpeed */ \ |
| { 0x00000009, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinConstFlow */ \ |
| { 0x0000000A, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxConstFlow */ \ |
| { 0x0000000B, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinConstTemp */ \ |
| { 0x0000000C, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxConstTemp */ \ |
| { 0x00000010, ZAP_TYPE(BITMAP16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* PumpStatus */ \ |
| { 0x00000011, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* EffectiveOperationMode */ \ |
| { 0x00000012, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* EffectiveControlMode */ \ |
| { 0x00000013, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* Capacity */ \ |
| { 0x00000014, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* Speed */ \ |
| { 0x00000015, ZAP_TYPE(INT24U), 3, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(295) }, /* LifetimeRunningHours */ \ |
| { 0x00000016, ZAP_TYPE(INT24U), 3, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_LONG_DEFAULTS_INDEX(298) }, /* Power */ \ |
| { 0x00000017, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(301) }, /* LifetimeEnergyConsumed */ \ |
| { 0x00000020, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(10) }, /* OperationMode */ \ |
| { 0x00000021, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(11) }, /* ControlMode */ \ |
| { 0x00000022, ZAP_TYPE(BITMAP16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* AlarmMask */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(305) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16S), 2, 0, ZAP_EMPTY_DEFAULT() }, /* local temperature */ \ |
| { 0x00000003, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0x02BC) }, /* abs min heat setpoint limit */ \ |
| { 0x00000004, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0x0BB8) }, /* abs max heat setpoint limit */ \ |
| { 0x00000005, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0x0640) }, /* abs min cool setpoint limit */ \ |
| { 0x00000006, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0x0C80) }, /* abs max cool setpoint limit */ \ |
| { 0x00000011, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x0A28) }, /* occupied cooling setpoint */ \ |
| { 0x00000012, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x07D0) }, /* occupied heating setpoint */ \ |
| { 0x00000015, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(12) }, /* min heat setpoint limit */ \ |
| { 0x00000016, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(13) }, /* max heat setpoint limit */ \ |
| { 0x00000017, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(14) }, /* min cool setpoint limit */ \ |
| { 0x00000018, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(15) }, /* max cool setpoint limit */ \ |
| { 0x00000019, ZAP_TYPE(INT8S), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(16) }, /* min setpoint dead band */ \ |
| { 0x0000001B, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(17) }, /* control sequence of operation */ \ |
| { 0x0000001C, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(18) }, /* system mode */ \ |
| { 0x00000020, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* start of week */ \ |
| { 0x00000021, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(7) }, /* number of weekly transitions */ \ |
| { 0x00000022, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(4) }, /* number of daily transitions */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(309) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(5) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fan Control (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(19) }, /* fan mode */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(20) }, /* fan mode sequence */ \ |
| { 0x00000002, ZAP_TYPE(INT8U), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(21) }, /* percent setting */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* percent current */ \ |
| { 0x00000004, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(100) }, /* speed max */ \ |
| { 0x00000005, ZAP_TYPE(INT8U), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(22) }, /* speed setting */ \ |
| { 0x00000006, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* speed current */ \ |
| { 0x00000007, ZAP_TYPE(BITMAP8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* rock support */ \ |
| { 0x00000008, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* rock setting */ \ |
| { 0x00000009, ZAP_TYPE(BITMAP8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* wind support */ \ |
| { 0x0000000A, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* wind setting */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(313) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(23) }, /* temperature display mode */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(24) }, /* keypad lockout */ \ |
| { 0x00000002, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(25) }, /* schedule programming visibility */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Color Control (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current hue */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current saturation */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* remaining time */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x616B) }, /* current x */ \ |
| { 0x00000004, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x607D) }, /* current y */ \ |
| { 0x00000005, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* drift compensation */ \ |
| { 0x00000006, ZAP_TYPE(CHAR_STRING), 255, 0, ZAP_EMPTY_DEFAULT() }, /* compensation text */ \ |
| { 0x00000007, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x00FA) }, /* color temperature */ \ |
| { 0x00000008, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x01) }, /* color mode */ \ |
| { 0x0000000F, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x00) }, /* color control options */ \ |
| { 0x00000010, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* number of primaries */ \ |
| { 0x00000011, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 1 x */ \ |
| { 0x00000012, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 1 y */ \ |
| { 0x00000013, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* primary 1 intensity */ \ |
| { 0x00000015, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 2 x */ \ |
| { 0x00000016, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 2 y */ \ |
| { 0x00000017, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* primary 2 intensity */ \ |
| { 0x00000019, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 3 x */ \ |
| { 0x0000001A, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 3 y */ \ |
| { 0x0000001B, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* primary 3 intensity */ \ |
| { 0x00000020, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 4 x */ \ |
| { 0x00000021, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 4 y */ \ |
| { 0x00000022, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* primary 4 intensity */ \ |
| { 0x00000024, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 5 x */ \ |
| { 0x00000025, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 5 y */ \ |
| { 0x00000026, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* primary 5 intensity */ \ |
| { 0x00000028, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 6 x */ \ |
| { 0x00000029, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* primary 6 y */ \ |
| { 0x0000002A, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* primary 6 intensity */ \ |
| { 0x00000030, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(26) }, /* white point x */ \ |
| { 0x00000031, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(27) }, /* white point y */ \ |
| { 0x00000032, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(28) }, /* color point r x */ \ |
| { 0x00000033, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(29) }, /* color point r y */ \ |
| { 0x00000034, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* color point r intensity */ \ |
| { 0x00000036, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(30) }, /* color point g x */ \ |
| { 0x00000037, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(31) }, /* color point g y */ \ |
| { 0x00000038, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* color point g intensity */ \ |
| { 0x0000003A, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(32) }, /* color point b x */ \ |
| { 0x0000003B, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(33) }, /* color point b y */ \ |
| { 0x0000003C, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* color point b intensity */ \ |
| { 0x00004000, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* enhanced current hue */ \ |
| { 0x00004001, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x01) }, /* enhanced color mode */ \ |
| { 0x00004002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* color loop active */ \ |
| { 0x00004003, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* color loop direction */ \ |
| { 0x00004004, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0019) }, /* color loop time */ \ |
| { 0x00004005, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x2300) }, /* color loop start enhanced hue */ \ |
| { 0x00004006, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* color loop stored enhanced hue */ \ |
| { 0x0000400A, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* color capabilities */ \ |
| { 0x0000400B, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* color temp physical min */ \ |
| { 0x0000400C, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0xFEFF) }, /* color temp physical max */ \ |
| { 0x0000400D, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* couple color temp to level min-mireds */ \ |
| { 0x00004010, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(34) }, /* start up color temperature mireds */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(317) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(5) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Illuminance Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* MeasuredValue */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0x01) }, /* MinMeasuredValue */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0xFFFE) }, /* MaxMeasuredValue */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* Tolerance */ \ |
| { 0x00000004, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0xFF) }, /* LightSensorType */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Temperature Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0x8000) }, /* MeasuredValue */ \ |
| { 0x00000001, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0x8000) }, /* MinMeasuredValue */ \ |
| { 0x00000002, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0x8000) }, /* MaxMeasuredValue */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* Tolerance */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Pressure Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0x0000) }, /* MeasuredValue */ \ |
| { 0x00000001, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinMeasuredValue */ \ |
| { 0x00000002, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxMeasuredValue */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Flow Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MeasuredValue */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MinMeasuredValue */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* MaxMeasuredValue */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0) }, /* Tolerance */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Relative Humidity Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_EMPTY_DEFAULT() }, /* measured value */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_SIMPLE_DEFAULT(0) }, /* min measured value */ \ |
| { 0x00000002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x2710) }, /* max measured value */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* tolerance */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Occupancy Sensing (server) */ \ |
| { 0x00000000, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* occupancy */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* occupancy sensor type */ \ |
| { 0x00000002, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* occupancy sensor type bitmap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: IAS Zone (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* zone state */ \ |
| { 0x00000001, ZAP_TYPE(ENUM16), 2, 0, ZAP_EMPTY_DEFAULT() }, /* zone type */ \ |
| { 0x00000002, ZAP_TYPE(BITMAP16), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* zone status */ \ |
| { 0x00000010, ZAP_TYPE(NODE_ID), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(321) }, /* IAS CIE address */ \ |
| { 0x00000011, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xff) }, /* Zone ID */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(2) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ |
| { 0x00000000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_EMPTY_DEFAULT() }, /* MACAddress */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Channel (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ChannelList */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Target Navigator (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* TargetList */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* CurrentTarget */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Media Playback (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* CurrentState */ \ |
| { 0x00000001, ZAP_TYPE(EPOCH_US), 8, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_LONG_DEFAULTS_INDEX(329) }, /* StartTime */ \ |
| { 0x00000002, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_LONG_DEFAULTS_INDEX(337) }, /* Duration */ \ |
| { 0x00000004, ZAP_TYPE(SINGLE), 4, 0, ZAP_LONG_DEFAULTS_INDEX(345) }, /* PlaybackSpeed */ \ |
| { 0x00000005, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_LONG_DEFAULTS_INDEX(349) }, /* SeekRangeEnd */ \ |
| { 0x00000006, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(NULLABLE), ZAP_LONG_DEFAULTS_INDEX(357) }, /* SeekRangeStart */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Media Input (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* InputList */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* CurrentInput */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Low Power (server) */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Keypad Input (server) */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Content Launcher (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* AcceptHeader */ \ |
| { 0x00000001, ZAP_TYPE(BITMAP32), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(365) }, /* SupportedStreamingProtocols */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Audio Output (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* OutputList */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* CurrentOutput */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Application Launcher (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* CatalogList */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Application Basic (server) */ \ |
| { 0x00000000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_EMPTY_DEFAULT() }, /* VendorName */ \ |
| { 0x00000001, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* VendorID */ \ |
| { 0x00000002, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_EMPTY_DEFAULT() }, /* ApplicationName */ \ |
| { 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* ProductID */ \ |
| { 0x00000005, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* Status */ \ |
| { 0x00000006, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_EMPTY_DEFAULT() }, /* ApplicationVersion */ \ |
| { 0x00000007, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* AllowedVendorList */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Account Login (server) */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Test Cluster (server) */ \ |
| { 0x00000000, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(false) }, /* boolean */ \ |
| { 0x00000001, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* bitmap8 */ \ |
| { 0x00000002, ZAP_TYPE(BITMAP16), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* bitmap16 */ \ |
| { 0x00000003, ZAP_TYPE(BITMAP32), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(369) }, /* bitmap32 */ \ |
| { 0x00000004, ZAP_TYPE(BITMAP64), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(373) }, /* bitmap64 */ \ |
| { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int8u */ \ |
| { 0x00000006, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int16u */ \ |
| { 0x00000007, ZAP_TYPE(INT24U), 3, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(381) }, /* int24u */ \ |
| { 0x00000008, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(384) }, /* int32u */ \ |
| { 0x00000009, ZAP_TYPE(INT40U), 5, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(388) }, /* int40u */ \ |
| { 0x0000000A, ZAP_TYPE(INT48U), 6, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(393) }, /* int48u */ \ |
| { 0x0000000B, ZAP_TYPE(INT56U), 7, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(399) }, /* int56u */ \ |
| { 0x0000000C, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(406) }, /* int64u */ \ |
| { 0x0000000D, ZAP_TYPE(INT8S), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int8s */ \ |
| { 0x0000000E, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* int16s */ \ |
| { 0x0000000F, ZAP_TYPE(INT24S), 3, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(414) }, /* int24s */ \ |
| { 0x00000010, ZAP_TYPE(INT32S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(417) }, /* int32s */ \ |
| { 0x00000011, ZAP_TYPE(INT40S), 5, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(421) }, /* int40s */ \ |
| { 0x00000012, ZAP_TYPE(INT48S), 6, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(426) }, /* int48s */ \ |
| { 0x00000013, ZAP_TYPE(INT56S), 7, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(432) }, /* int56s */ \ |
| { 0x00000014, ZAP_TYPE(INT64S), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(439) }, /* int64s */ \ |
| { 0x00000015, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* enum8 */ \ |
| { 0x00000016, ZAP_TYPE(ENUM16), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* enum16 */ \ |
| { 0x00000017, ZAP_TYPE(SINGLE), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(447) }, /* float_single */ \ |
| { 0x00000018, ZAP_TYPE(DOUBLE), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(451) }, /* float_double */ \ |
| { 0x00000019, ZAP_TYPE(OCTET_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* octet_string */ \ |
| { 0x0000001A, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* list_int8u */ \ |
| { 0x0000001B, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* list_octet_string */ \ |
| { 0x0000001C, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* list_struct_octet_string */ \ |
| { 0x0000001D, ZAP_TYPE(LONG_OCTET_STRING), 1002, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* long_octet_string */ \ |
| { 0x0000001E, ZAP_TYPE(CHAR_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* char_string */ \ |
| { 0x0000001F, ZAP_TYPE(LONG_CHAR_STRING), 1002, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* long_char_string */ \ |
| { 0x00000020, ZAP_TYPE(EPOCH_US), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(459) }, /* epoch_us */ \ |
| { 0x00000021, ZAP_TYPE(EPOCH_S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(467) }, /* epoch_s */ \ |
| { 0x00000022, ZAP_TYPE(VENDOR_ID), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* vendor_id */ \ |
| { 0x00000023, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* list_nullables_and_optionals_struct */ \ |
| { 0x00000024, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* enum_attr */ \ |
| { 0x00000025, ZAP_TYPE(STRUCT), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* struct_attr */ \ |
| { 0x00000026, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(35) }, /* range_restricted_int8u */ \ |
| { 0x00000027, ZAP_TYPE(INT8S), 1, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(36) }, /* range_restricted_int8s */ \ |
| { 0x00000028, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(37) }, /* range_restricted_int16u */ \ |
| { 0x00000029, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(38) }, /* range_restricted_int16s */ \ |
| { 0x0000002A, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* list_long_octet_string */ \ |
| { 0x0000002B, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* list_fabric_scoped */ \ |
| { 0x00000030, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(MUST_USE_TIMED_WRITE), \ |
| ZAP_EMPTY_DEFAULT() }, /* timed_write_boolean */ \ |
| { 0x00000031, ZAP_TYPE(BOOLEAN), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* general_error_boolean */ \ |
| { 0x00000032, ZAP_TYPE(BOOLEAN), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* cluster_error_boolean */ \ |
| { 0x00004000, ZAP_TYPE(BOOLEAN), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(false) }, /* nullable_boolean */ \ |
| { 0x00004001, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_bitmap8 */ \ |
| { 0x00004002, ZAP_TYPE(BITMAP16), 2, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_bitmap16 */ \ |
| { 0x00004003, ZAP_TYPE(BITMAP32), 4, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(471) }, /* nullable_bitmap32 */ \ |
| { 0x00004004, ZAP_TYPE(BITMAP64), 8, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(475) }, /* nullable_bitmap64 */ \ |
| { 0x00004005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_int8u */ \ |
| { 0x00004006, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_int16u */ \ |
| { 0x00004007, ZAP_TYPE(INT24U), 3, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(483) }, /* nullable_int24u */ \ |
| { 0x00004008, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(486) }, /* nullable_int32u */ \ |
| { 0x00004009, ZAP_TYPE(INT40U), 5, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(490) }, /* nullable_int40u */ \ |
| { 0x0000400A, ZAP_TYPE(INT48U), 6, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(495) }, /* nullable_int48u */ \ |
| { 0x0000400B, ZAP_TYPE(INT56U), 7, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(501) }, /* nullable_int56u */ \ |
| { 0x0000400C, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(508) }, /* nullable_int64u */ \ |
| { 0x0000400D, ZAP_TYPE(INT8S), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_int8s */ \ |
| { 0x0000400E, ZAP_TYPE(INT16S), 2, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_int16s */ \ |
| { 0x0000400F, ZAP_TYPE(INT24S), 3, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(516) }, /* nullable_int24s */ \ |
| { 0x00004010, ZAP_TYPE(INT32S), 4, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(519) }, /* nullable_int32s */ \ |
| { 0x00004011, ZAP_TYPE(INT40S), 5, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(523) }, /* nullable_int40s */ \ |
| { 0x00004012, ZAP_TYPE(INT48S), 6, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(528) }, /* nullable_int48s */ \ |
| { 0x00004013, ZAP_TYPE(INT56S), 7, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(534) }, /* nullable_int56s */ \ |
| { 0x00004014, ZAP_TYPE(INT64S), 8, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(541) }, /* nullable_int64s */ \ |
| { 0x00004015, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_enum8 */ \ |
| { 0x00004016, ZAP_TYPE(ENUM16), 2, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_SIMPLE_DEFAULT(0) }, /* nullable_enum16 */ \ |
| { 0x00004017, ZAP_TYPE(SINGLE), 4, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(549) }, /* nullable_float_single */ \ |
| { 0x00004018, ZAP_TYPE(DOUBLE), 8, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(553) }, /* nullable_float_double */ \ |
| { 0x00004019, ZAP_TYPE(OCTET_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* nullable_octet_string */ \ |
| { 0x0000401E, ZAP_TYPE(CHAR_STRING), 11, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* nullable_char_string */ \ |
| { 0x00004024, ZAP_TYPE(ENUM8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* nullable_enum_attr */ \ |
| { 0x00004025, ZAP_TYPE(STRUCT), 0, \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* nullable_struct */ \ |
| { 0x00004026, ZAP_TYPE(INT8U), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(39) }, /* nullable_range_restricted_int8u */ \ |
| { 0x00004027, ZAP_TYPE(INT8S), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(40) }, /* nullable_range_restricted_int8s */ \ |
| { 0x00004028, ZAP_TYPE(INT16U), 2, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(41) }, /* nullable_range_restricted_int16u */ \ |
| { 0x00004029, ZAP_TYPE(INT16S), 2, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(42) }, /* nullable_range_restricted_int16s */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Electrical Measurement (server) */ \ |
| { 0x00000000, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(561) }, /* measurement type */ \ |
| { 0x00000304, ZAP_TYPE(INT32S), 4, 0, ZAP_LONG_DEFAULTS_INDEX(565) }, /* total active power */ \ |
| { 0x00000505, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* rms voltage */ \ |
| { 0x00000506, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x8000) }, /* rms voltage min */ \ |
| { 0x00000507, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x8000) }, /* rms voltage max */ \ |
| { 0x00000508, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* rms current */ \ |
| { 0x00000509, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* rms current min */ \ |
| { 0x0000050A, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* rms current max */ \ |
| { 0x0000050B, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* active power */ \ |
| { 0x0000050C, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* active power min */ \ |
| { 0x0000050D, ZAP_TYPE(INT16S), 2, 0, ZAP_SIMPLE_DEFAULT(0xffff) }, /* active power max */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Groups (server) */ \ |
| { 0x00000000, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* name support */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: On/Off (server) */ \ |
| { 0x00000000, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* OnOff */ \ |
| { 0x00004000, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(1) }, /* GlobalSceneControl */ \ |
| { 0x00004001, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* OnTime */ \ |
| { 0x00004002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0) }, /* OffWaitTime */ \ |
| { 0x00004003, ZAP_TYPE(ENUM8), 1, \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_MIN_MAX_DEFAULTS_INDEX(43) }, /* StartUpOnOff */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(569) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Descriptor (server) */ \ |
| { 0x00000000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| { 0x00000002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| { 0x00000003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Power Source (server) */ \ |
| { 0x00000000, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* Status */ \ |
| { 0x00000001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(1) }, /* Order */ \ |
| { 0x00000002, ZAP_TYPE(CHAR_STRING), 61, 0, ZAP_LONG_DEFAULTS_INDEX(573) }, /* Description */ \ |
| { 0x0000000E, ZAP_TYPE(ENUM8), 1, 0, ZAP_SIMPLE_DEFAULT(0) }, /* BatteryChargeLevel */ \ |
| { 0x0000000F, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryReplacementNeeded */ \ |
| { 0x00000010, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BatteryReplaceability */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(576) }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Occupancy Sensing (server) */ \ |
| { 0x00000000, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* occupancy */ \ |
| { 0x00000001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* occupancy sensor type */ \ |
| { 0x00000002, ZAP_TYPE(BITMAP8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* occupancy sensor type bitmap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 65534, Cluster: Network Commissioning (server) */ \ |
| { 0x00000000, ZAP_TYPE(INT8U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* MaxNetworks */ \ |
| { 0x00000001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* Networks */ \ |
| { 0x00000002, ZAP_TYPE(INT8U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ScanMaxTimeSeconds */ \ |
| { 0x00000003, ZAP_TYPE(INT8U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* ConnectMaxTimeSeconds */ \ |
| { 0x00000004, ZAP_TYPE(BOOLEAN), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* InterfaceEnabled */ \ |
| { 0x00000005, ZAP_TYPE(ENUM8), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* LastNetworkingStatus */ \ |
| { 0x00000006, ZAP_TYPE(OCTET_STRING), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* LastNetworkID */ \ |
| { 0x00000007, ZAP_TYPE(INT32S), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE), \ |
| ZAP_EMPTY_DEFAULT() }, /* LastConnectErrorValue */ \ |
| { 0x0000FFFC, ZAP_TYPE(BITMAP32), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* FeatureMap */ \ |
| { 0x0000FFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ClusterRevision */ \ |
| } |
| |
| // This is an array of EmberAfCluster structures. |
| #define ZAP_ATTRIBUTE_INDEX(index) (&generatedAttributes[index]) |
| |
| #define ZAP_GENERATED_COMMANDS_INDEX(index) ((chip::CommandId *) (&generatedCommands[index])) |
| |
| // Cluster function static arrays |
| #define GENERATED_FUNCTION_ARRAYS \ |
| const EmberAfGenericClusterFunction chipFuncArrayIdentifyServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfIdentifyClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) MatterIdentifyClusterServerAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayGroupsServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfGroupsClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayBasicServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfBasicClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayLocalizationConfigurationServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfLocalizationConfigurationClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) MatterLocalizationConfigurationClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayTimeFormatLocalizationServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfTimeFormatLocalizationClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) MatterTimeFormatLocalizationClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayScenesServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfScenesClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayOnOffServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfOnOffClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayLevelControlServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfLevelControlClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayModeSelectServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfModeSelectClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) MatterModeSelectClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayDoorLockServer[] = { \ |
| (EmberAfGenericClusterFunction) MatterDoorLockClusterServerAttributeChangedCallback, \ |
| (EmberAfGenericClusterFunction) MatterDoorLockClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayWindowCoveringServer[] = { \ |
| (EmberAfGenericClusterFunction) MatterWindowCoveringClusterServerAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayPumpConfigurationAndControlServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfPumpConfigurationAndControlClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) MatterPumpConfigurationAndControlClusterServerAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayThermostatServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfThermostatClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayFanControlServer[] = { \ |
| (EmberAfGenericClusterFunction) MatterFanControlClusterServerAttributeChangedCallback, \ |
| (EmberAfGenericClusterFunction) MatterFanControlClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayThermostatUserInterfaceConfigurationServer[] = { \ |
| (EmberAfGenericClusterFunction) MatterThermostatUserInterfaceConfigurationClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayColorControlServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfColorControlClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayOccupancySensingServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfOccupancySensingClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayIasZoneServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfIasZoneClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) emberAfIasZoneClusterServerMessageSentCallback, \ |
| (EmberAfGenericClusterFunction) MatterIasZoneClusterServerPreAttributeChangedCallback, \ |
| }; |
| |
| // clang-format off |
| #define GENERATED_COMMANDS { \ |
| /* Endpoint: 0, Cluster: Identify (server) */\ |
| /* AcceptedCommandList (index=0) */ \ |
| 0x00000000 /* Identify */, \ |
| 0x00000001 /* IdentifyQuery */, \ |
| 0x00000040 /* TriggerEffect */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=4)*/ \ |
| 0x00000000 /* IdentifyQueryResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Groups (server) */\ |
| /* AcceptedCommandList (index=6) */ \ |
| 0x00000000 /* AddGroup */, \ |
| 0x00000001 /* ViewGroup */, \ |
| 0x00000002 /* GetGroupMembership */, \ |
| 0x00000003 /* RemoveGroup */, \ |
| 0x00000004 /* RemoveAllGroups */, \ |
| 0x00000005 /* AddGroupIfIdentifying */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=13)*/ \ |
| 0x00000000 /* AddGroupResponse */, \ |
| 0x00000001 /* ViewGroupResponse */, \ |
| 0x00000002 /* GetGroupMembershipResponse */, \ |
| 0x00000003 /* RemoveGroupResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: OTA Software Update Requestor (server) */\ |
| /* AcceptedCommandList (index=18) */ \ |
| 0x00000000 /* AnnounceOtaProvider */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: General Commissioning (server) */\ |
| /* AcceptedCommandList (index=20) */ \ |
| 0x00000000 /* ArmFailSafe */, \ |
| 0x00000002 /* SetRegulatoryConfig */, \ |
| 0x00000003 /* SetRegulatoryConfigResponse */, \ |
| 0x00000004 /* CommissioningComplete */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=25)*/ \ |
| 0x00000001 /* ArmFailSafeResponse */, \ |
| 0x00000003 /* SetRegulatoryConfigResponse */, \ |
| 0x00000005 /* CommissioningCompleteResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */\ |
| /* AcceptedCommandList (index=29) */ \ |
| 0x00000000 /* ScanNetworks */, \ |
| 0x00000002 /* AddOrUpdateWiFiNetwork */, \ |
| 0x00000003 /* AddOrUpdateThreadNetwork */, \ |
| 0x00000004 /* RemoveNetwork */, \ |
| 0x00000005 /* NetworkConfigResponse */, \ |
| 0x00000006 /* ConnectNetwork */, \ |
| 0x00000008 /* ReorderNetwork */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=37)*/ \ |
| 0x00000001 /* ScanNetworksResponse */, \ |
| 0x00000005 /* NetworkConfigResponse */, \ |
| 0x00000007 /* ConnectNetworkResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Diagnostic Logs (server) */\ |
| /* AcceptedCommandList (index=41) */ \ |
| 0x00000000 /* RetrieveLogsRequest */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=43)*/ \ |
| 0x00000001 /* RetrieveLogsResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */\ |
| /* AcceptedCommandList (index=45) */ \ |
| 0x00000000 /* ResetWatermarks */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */\ |
| /* AcceptedCommandList (index=47) */ \ |
| 0x00000000 /* ResetCounts */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */\ |
| /* AcceptedCommandList (index=49) */ \ |
| 0x00000000 /* ResetCounts */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */\ |
| /* AcceptedCommandList (index=51) */ \ |
| 0x00000000 /* ResetCounts */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */\ |
| /* AcceptedCommandList (index=53) */ \ |
| 0x00000000 /* OpenCommissioningWindow */, \ |
| 0x00000001 /* OpenBasicCommissioningWindow */, \ |
| 0x00000002 /* RevokeCommissioning */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */\ |
| /* AcceptedCommandList (index=57) */ \ |
| 0x00000000 /* AttestationRequest */, \ |
| 0x00000002 /* CertificateChainRequest */, \ |
| 0x00000004 /* CSRRequest */, \ |
| 0x00000006 /* AddNOC */, \ |
| 0x00000007 /* UpdateNOC */, \ |
| 0x00000009 /* UpdateFabricLabel */, \ |
| 0x0000000A /* RemoveFabric */, \ |
| 0x0000000B /* AddTrustedRootCertificate */, \ |
| 0x0000000C /* RemoveTrustedRootCertificate */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=67)*/ \ |
| 0x00000001 /* AttestationResponse */, \ |
| 0x00000003 /* CertificateChainResponse */, \ |
| 0x00000005 /* CSRResponse */, \ |
| 0x00000008 /* NOCResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Group Key Management (server) */\ |
| /* AcceptedCommandList (index=72) */ \ |
| 0x00000000 /* KeySetWrite */, \ |
| 0x00000001 /* KeySetRead */, \ |
| 0x00000003 /* KeySetRemove */, \ |
| 0x00000004 /* KeySetReadAllIndices */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=77)*/ \ |
| 0x00000002 /* KeySetReadResponse */, \ |
| 0x00000005 /* KeySetReadAllIndicesResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Identify (server) */\ |
| /* AcceptedCommandList (index=80) */ \ |
| 0x00000000 /* Identify */, \ |
| 0x00000001 /* IdentifyQuery */, \ |
| 0x00000040 /* TriggerEffect */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=84)*/ \ |
| 0x00000000 /* IdentifyQueryResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Groups (server) */\ |
| /* AcceptedCommandList (index=86) */ \ |
| 0x00000000 /* AddGroup */, \ |
| 0x00000001 /* ViewGroup */, \ |
| 0x00000002 /* GetGroupMembership */, \ |
| 0x00000003 /* RemoveGroup */, \ |
| 0x00000004 /* RemoveAllGroups */, \ |
| 0x00000005 /* AddGroupIfIdentifying */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=93)*/ \ |
| 0x00000000 /* AddGroupResponse */, \ |
| 0x00000001 /* ViewGroupResponse */, \ |
| 0x00000002 /* GetGroupMembershipResponse */, \ |
| 0x00000003 /* RemoveGroupResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Scenes (server) */\ |
| /* AcceptedCommandList (index=98) */ \ |
| 0x00000000 /* AddScene */, \ |
| 0x00000001 /* ViewScene */, \ |
| 0x00000002 /* RemoveScene */, \ |
| 0x00000003 /* RemoveAllScenes */, \ |
| 0x00000004 /* StoreScene */, \ |
| 0x00000005 /* RecallScene */, \ |
| 0x00000006 /* GetSceneMembership */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=106)*/ \ |
| 0x00000000 /* AddSceneResponse */, \ |
| 0x00000001 /* ViewSceneResponse */, \ |
| 0x00000002 /* RemoveSceneResponse */, \ |
| 0x00000003 /* RemoveAllScenesResponse */, \ |
| 0x00000004 /* StoreSceneResponse */, \ |
| 0x00000006 /* GetSceneMembershipResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: On/Off (server) */\ |
| /* AcceptedCommandList (index=113) */ \ |
| 0x00000000 /* Off */, \ |
| 0x00000001 /* On */, \ |
| 0x00000002 /* Toggle */, \ |
| 0x00000040 /* OffWithEffect */, \ |
| 0x00000041 /* OnWithRecallGlobalScene */, \ |
| 0x00000042 /* OnWithTimedOff */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Level Control (server) */\ |
| /* AcceptedCommandList (index=120) */ \ |
| 0x00000000 /* MoveToLevel */, \ |
| 0x00000001 /* Move */, \ |
| 0x00000002 /* Step */, \ |
| 0x00000003 /* Stop */, \ |
| 0x00000004 /* MoveToLevelWithOnOff */, \ |
| 0x00000005 /* MoveWithOnOff */, \ |
| 0x00000006 /* StepWithOnOff */, \ |
| 0x00000007 /* StopWithOnOff */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Mode Select (server) */\ |
| /* AcceptedCommandList (index=129) */ \ |
| 0x00000000 /* ChangeToMode */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */\ |
| /* AcceptedCommandList (index=131) */ \ |
| 0x00000000 /* LockDoor */, \ |
| 0x00000001 /* UnlockDoor */, \ |
| 0x00000003 /* UnlockWithTimeout */, \ |
| 0x0000000B /* SetWeekDaySchedule */, \ |
| 0x0000000C /* GetWeekDaySchedule */, \ |
| 0x0000000D /* ClearWeekDaySchedule */, \ |
| 0x0000000E /* SetYearDaySchedule */, \ |
| 0x0000000F /* GetYearDaySchedule */, \ |
| 0x0000001A /* SetUser */, \ |
| 0x0000001B /* GetUser */, \ |
| 0x0000001D /* ClearUser */, \ |
| 0x00000022 /* SetCredential */, \ |
| 0x00000024 /* GetCredentialStatus */, \ |
| 0x00000026 /* ClearCredential */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=146)*/ \ |
| 0x0000000C /* GetWeekDayScheduleResponse */, \ |
| 0x0000000F /* GetYearDayScheduleResponse */, \ |
| 0x0000001C /* GetUserResponse */, \ |
| 0x00000023 /* SetCredentialResponse */, \ |
| 0x00000025 /* GetCredentialStatusResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */\ |
| /* AcceptedCommandList (index=152) */ \ |
| 0x00000000 /* UpOrOpen */, \ |
| 0x00000001 /* DownOrClose */, \ |
| 0x00000002 /* StopMotion */, \ |
| 0x00000004 /* GoToLiftValue */, \ |
| 0x00000005 /* GoToLiftPercentage */, \ |
| 0x00000007 /* GoToTiltValue */, \ |
| 0x00000008 /* GoToTiltPercentage */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Barrier Control (server) */\ |
| /* AcceptedCommandList (index=160) */ \ |
| 0x00000000 /* BarrierControlGoToPercent */, \ |
| 0x00000001 /* BarrierControlStop */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */\ |
| /* AcceptedCommandList (index=163) */ \ |
| 0x00000000 /* SetpointRaiseLower */, \ |
| 0x00000000 /* GetWeeklyScheduleResponse */, \ |
| 0x00000001 /* GetRelayStatusLogResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Color Control (server) */\ |
| /* AcceptedCommandList (index=167) */ \ |
| 0x00000000 /* MoveToHue */, \ |
| 0x00000001 /* MoveHue */, \ |
| 0x00000002 /* StepHue */, \ |
| 0x00000003 /* MoveToSaturation */, \ |
| 0x00000004 /* MoveSaturation */, \ |
| 0x00000005 /* StepSaturation */, \ |
| 0x00000006 /* MoveToHueAndSaturation */, \ |
| 0x00000007 /* MoveToColor */, \ |
| 0x00000008 /* MoveColor */, \ |
| 0x00000009 /* StepColor */, \ |
| 0x0000000A /* MoveToColorTemperature */, \ |
| 0x00000040 /* EnhancedMoveToHue */, \ |
| 0x00000041 /* EnhancedMoveHue */, \ |
| 0x00000042 /* EnhancedStepHue */, \ |
| 0x00000043 /* EnhancedMoveToHueAndSaturation */, \ |
| 0x00000044 /* ColorLoopSet */, \ |
| 0x00000047 /* StopMoveStep */, \ |
| 0x0000004B /* MoveColorTemperature */, \ |
| 0x0000004C /* StepColorTemperature */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: IAS Zone (server) */\ |
| /* AcceptedCommandList (index=187) */ \ |
| 0x00000000 /* ZoneEnrollResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Channel (server) */\ |
| /* AcceptedCommandList (index=189) */ \ |
| 0x00000000 /* ChangeChannel */, \ |
| 0x00000002 /* ChangeChannelByNumber */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=192)*/ \ |
| 0x00000001 /* ChangeChannelResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Target Navigator (server) */\ |
| /* AcceptedCommandList (index=194) */ \ |
| 0x00000000 /* NavigateTarget */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=196)*/ \ |
| 0x00000001 /* NavigateTargetResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Media Playback (server) */\ |
| /* AcceptedCommandList (index=198) */ \ |
| 0x00000000 /* Play */, \ |
| 0x00000001 /* Pause */, \ |
| 0x00000002 /* StopPlayback */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=202)*/ \ |
| 0x0000000A /* PlaybackResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Media Input (server) */\ |
| /* AcceptedCommandList (index=204) */ \ |
| 0x00000000 /* SelectInput */, \ |
| 0x00000001 /* ShowInputStatus */, \ |
| 0x00000002 /* HideInputStatus */, \ |
| 0x00000003 /* RenameInput */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Low Power (server) */\ |
| /* AcceptedCommandList (index=209) */ \ |
| 0x00000000 /* Sleep */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Keypad Input (server) */\ |
| /* AcceptedCommandList (index=211) */ \ |
| 0x00000000 /* SendKey */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=213)*/ \ |
| 0x00000001 /* SendKeyResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Content Launcher (server) */\ |
| /* AcceptedCommandList (index=215) */ \ |
| 0x00000000 /* LaunchContent */, \ |
| 0x00000001 /* LaunchURL */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=218)*/ \ |
| 0x00000002 /* LaunchResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Audio Output (server) */\ |
| /* AcceptedCommandList (index=220) */ \ |
| 0x00000000 /* SelectOutput */, \ |
| 0x00000001 /* RenameOutput */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Application Launcher (server) */\ |
| /* AcceptedCommandList (index=223) */ \ |
| 0x00000000 /* LaunchApp */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=225)*/ \ |
| 0x00000003 /* LauncherResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Account Login (server) */\ |
| /* AcceptedCommandList (index=227) */ \ |
| 0x00000000 /* GetSetupPIN */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=229)*/ \ |
| 0x00000001 /* GetSetupPINResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Test Cluster (server) */\ |
| /* AcceptedCommandList (index=231) */ \ |
| 0x00000000 /* Test */, \ |
| 0x00000001 /* TestNotHandled */, \ |
| 0x00000002 /* TestSpecific */, \ |
| 0x00000004 /* TestAddArguments */, \ |
| 0x00000007 /* TestStructArgumentRequest */, \ |
| 0x00000008 /* TestNestedStructArgumentRequest */, \ |
| 0x00000009 /* TestListStructArgumentRequest */, \ |
| 0x0000000A /* TestListInt8UArgumentRequest */, \ |
| 0x0000000B /* TestNestedStructListArgumentRequest */, \ |
| 0x0000000C /* TestListNestedStructListArgumentRequest */, \ |
| 0x0000000D /* TestListInt8UReverseRequest */, \ |
| 0x0000000E /* TestEnumsRequest */, \ |
| 0x0000000F /* TestNullableOptionalRequest */, \ |
| 0x00000011 /* SimpleStructEchoRequest */, \ |
| 0x00000012 /* TimedInvokeRequest */, \ |
| 0x00000013 /* TestSimpleOptionalArgumentRequest */, \ |
| 0x00000014 /* TestEmitTestEventRequest */, \ |
| 0x00000015 /* TestEmitTestFabricScopedEventRequest */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=250)*/ \ |
| 0x00000000 /* TestSpecificResponse */, \ |
| 0x00000001 /* TestAddArgumentsResponse */, \ |
| 0x00000004 /* TestListInt8UReverseResponse */, \ |
| 0x00000005 /* TestEnumsResponse */, \ |
| 0x00000006 /* TestNullableOptionalResponse */, \ |
| 0x00000008 /* BooleanResponse */, \ |
| 0x00000009 /* SimpleStructResponse */, \ |
| 0x0000000A /* TestEmitTestEventResponse */, \ |
| 0x0000000B /* TestEmitTestFabricScopedEventResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 2, Cluster: Groups (server) */\ |
| /* AcceptedCommandList (index=260) */ \ |
| 0x00000000 /* AddGroup */, \ |
| 0x00000001 /* ViewGroup */, \ |
| 0x00000002 /* GetGroupMembership */, \ |
| 0x00000003 /* RemoveGroup */, \ |
| 0x00000004 /* RemoveAllGroups */, \ |
| 0x00000005 /* AddGroupIfIdentifying */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=267)*/ \ |
| 0x00000000 /* AddGroupResponse */, \ |
| 0x00000001 /* ViewGroupResponse */, \ |
| 0x00000002 /* GetGroupMembershipResponse */, \ |
| 0x00000003 /* RemoveGroupResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 2, Cluster: On/Off (server) */\ |
| /* AcceptedCommandList (index=272) */ \ |
| 0x00000000 /* Off */, \ |
| 0x00000001 /* On */, \ |
| 0x00000002 /* Toggle */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 65534, Cluster: Network Commissioning (server) */\ |
| /* AcceptedCommandList (index=276) */ \ |
| 0x00000000 /* ScanNetworks */, \ |
| 0x00000002 /* AddOrUpdateWiFiNetwork */, \ |
| 0x00000003 /* AddOrUpdateThreadNetwork */, \ |
| 0x00000004 /* RemoveNetwork */, \ |
| 0x00000006 /* ConnectNetwork */, \ |
| 0x00000008 /* ReorderNetwork */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=283)*/ \ |
| 0x00000001 /* ScanNetworksResponse */, \ |
| 0x00000005 /* NetworkConfigResponse */, \ |
| 0x00000007 /* ConnectNetworkResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| } |
| |
| // clang-format on |
| |
| #define ZAP_CLUSTER_MASK(mask) CLUSTER_MASK_##mask |
| #define GENERATED_CLUSTER_COUNT 78 |
| |
| // clang-format off |
| #define GENERATED_CLUSTERS { \ |
| { \ |
| /* Endpoint: 0, Cluster: Identify (server) */ \ |
| .clusterId = 0x00000003, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(0), \ |
| .attributeCount = 3, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayIdentifyServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 0 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 4 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Groups (server) */ \ |
| .clusterId = 0x00000004, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(3), \ |
| .attributeCount = 2, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayGroupsServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 6 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 13 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
| .clusterId = 0x0000001D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(5), \ |
| .attributeCount = 5, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Binding (server) */ \ |
| .clusterId = 0x0000001E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(10), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Access Control (server) */ \ |
| .clusterId = 0x0000001F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(12), \ |
| .attributeCount = 6, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Basic (server) */ \ |
| .clusterId = 0x00000028, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(18), \ |
| .attributeCount = 21, \ |
| .clusterSize = 37, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayBasicServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: OTA Software Update Provider (client) */ \ |
| .clusterId = 0x00000029, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(39), \ |
| .attributeCount = 0, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(CLIENT), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: OTA Software Update Requestor (server) */ \ |
| .clusterId = 0x0000002A, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(39), \ |
| .attributeCount = 5, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 18 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server) */ \ |
| .clusterId = 0x0000002B, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(44), \ |
| .attributeCount = 3, \ |
| .clusterSize = 38, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayLocalizationConfigurationServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Time Format Localization (server) */ \ |
| .clusterId = 0x0000002C, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(47), \ |
| .attributeCount = 4, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayTimeFormatLocalizationServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Unit Localization (server) */ \ |
| .clusterId = 0x0000002D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(51), \ |
| .attributeCount = 3, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Power Source Configuration (server) */ \ |
| .clusterId = 0x0000002E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(54), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Power Source (server) */ \ |
| .clusterId = 0x0000002F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(56), \ |
| .attributeCount = 8, \ |
| .clusterSize = 72, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
| .clusterId = 0x00000030, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(64), \ |
| .attributeCount = 7, \ |
| .clusterSize = 14, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 20 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 25 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
| .clusterId = 0x00000031, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(71), \ |
| .attributeCount = 10, \ |
| .clusterSize = 48, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 29 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 37 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Diagnostic Logs (server) */ \ |
| .clusterId = 0x00000032, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(81), \ |
| .attributeCount = 0, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 41 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 43 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| .clusterId = 0x00000033, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(81), \ |
| .attributeCount = 10, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| .clusterId = 0x00000034, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(91), \ |
| .attributeCount = 6, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 45 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| .clusterId = 0x00000035, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(97), \ |
| .attributeCount = 65, \ |
| .clusterSize = 247, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 47 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| .clusterId = 0x00000036, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(162), \ |
| .attributeCount = 15, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 49 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
| .clusterId = 0x00000037, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(177), \ |
| .attributeCount = 11, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 51 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */ \ |
| .clusterId = 0x0000003C, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(188), \ |
| .attributeCount = 4, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 53 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
| .clusterId = 0x0000003E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(192), \ |
| .attributeCount = 7, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 57 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 67 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Group Key Management (server) */ \ |
| .clusterId = 0x0000003F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(199), \ |
| .attributeCount = 5, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 72 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 77 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Fixed Label (server) */ \ |
| .clusterId = 0x00000040, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(204), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: User Label (server) */ \ |
| .clusterId = 0x00000041, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(206), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Relative Humidity Measurement (server) */ \ |
| .clusterId = 0x00000405, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(208), \ |
| .attributeCount = 4, \ |
| .clusterSize = 8, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Identify (server) */ \ |
| .clusterId = 0x00000003, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(212), \ |
| .attributeCount = 3, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayIdentifyServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 80 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 84 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Groups (server) */ \ |
| .clusterId = 0x00000004, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(215), \ |
| .attributeCount = 2, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayGroupsServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 86 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 93 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Scenes (server) */ \ |
| .clusterId = 0x00000005, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(217), \ |
| .attributeCount = 6, \ |
| .clusterSize = 8, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayScenesServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 98 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 106 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| .clusterId = 0x00000006, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(223), \ |
| .attributeCount = 7, \ |
| .clusterSize = 13, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOnOffServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 113 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ |
| .clusterId = 0x00000007, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(230), \ |
| .attributeCount = 3, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| .clusterId = 0x00000008, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(233), \ |
| .attributeCount = 16, \ |
| .clusterSize = 27, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayLevelControlServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 120 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Binary Input (Basic) (server) */ \ |
| .clusterId = 0x0000000F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(249), \ |
| .attributeCount = 4, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| .clusterId = 0x0000001D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(253), \ |
| .attributeCount = 5, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Binding (server) */ \ |
| .clusterId = 0x0000001E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(258), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Bridged Actions (server) */ \ |
| .clusterId = 0x00000025, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(260), \ |
| .attributeCount = 4, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Power Source (server) */ \ |
| .clusterId = 0x0000002F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(264), \ |
| .attributeCount = 8, \ |
| .clusterSize = 72, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Switch (server) */ \ |
| .clusterId = 0x0000003B, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(272), \ |
| .attributeCount = 5, \ |
| .clusterSize = 9, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
| .clusterId = 0x00000040, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(277), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: User Label (server) */ \ |
| .clusterId = 0x00000041, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(279), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Boolean State (server) */ \ |
| .clusterId = 0x00000045, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(281), \ |
| .attributeCount = 2, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Mode Select (server) */ \ |
| .clusterId = 0x00000050, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(283), \ |
| .attributeCount = 8, \ |
| .clusterSize = 44, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayModeSelectServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 129 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */ \ |
| .clusterId = 0x00000101, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(291), \ |
| .attributeCount = 33, \ |
| .clusterSize = 55, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayDoorLockServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 131 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 146 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */ \ |
| .clusterId = 0x00000102, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(324), \ |
| .attributeCount = 20, \ |
| .clusterSize = 35, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayWindowCoveringServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 152 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Barrier Control (server) */ \ |
| .clusterId = 0x00000103, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(344), \ |
| .attributeCount = 5, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 160 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server) */ \ |
| .clusterId = 0x00000200, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(349), \ |
| .attributeCount = 26, \ |
| .clusterSize = 54, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayPumpConfigurationAndControlServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */ \ |
| .clusterId = 0x00000201, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(375), \ |
| .attributeCount = 19, \ |
| .clusterSize = 34, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayThermostatServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 163 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Fan Control (server) */ \ |
| .clusterId = 0x00000202, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(394), \ |
| .attributeCount = 13, \ |
| .clusterSize = 17, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayFanControlServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ |
| .clusterId = 0x00000204, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(407), \ |
| .attributeCount = 4, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayThermostatUserInterfaceConfigurationServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Color Control (server) */ \ |
| .clusterId = 0x00000300, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(411), \ |
| .attributeCount = 54, \ |
| .clusterSize = 345, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayColorControlServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 167 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Illuminance Measurement (server) */ \ |
| .clusterId = 0x00000400, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(465), \ |
| .attributeCount = 6, \ |
| .clusterSize = 11, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Temperature Measurement (server) */ \ |
| .clusterId = 0x00000402, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(471), \ |
| .attributeCount = 5, \ |
| .clusterSize = 10, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Pressure Measurement (server) */ \ |
| .clusterId = 0x00000403, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(476), \ |
| .attributeCount = 4, \ |
| .clusterSize = 8, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Flow Measurement (server) */ \ |
| .clusterId = 0x00000404, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(480), \ |
| .attributeCount = 5, \ |
| .clusterSize = 10, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Relative Humidity Measurement (server) */ \ |
| .clusterId = 0x00000405, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(485), \ |
| .attributeCount = 5, \ |
| .clusterSize = 10, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Occupancy Sensing (server) */ \ |
| .clusterId = 0x00000406, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(490), \ |
| .attributeCount = 4, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOccupancySensingServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: IAS Zone (server) */ \ |
| .clusterId = 0x00000500, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(494), \ |
| .attributeCount = 6, \ |
| .clusterSize = 16, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION) | ZAP_CLUSTER_MASK(MESSAGE_SENT_FUNCTION), \ |
| .functions = chipFuncArrayIasZoneServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 187 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ |
| .clusterId = 0x00000503, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(500), \ |
| .attributeCount = 2, \ |
| .clusterSize = 35, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Channel (server) */ \ |
| .clusterId = 0x00000504, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(502), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 189 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 192 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Target Navigator (server) */ \ |
| .clusterId = 0x00000505, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(504), \ |
| .attributeCount = 3, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 194 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 196 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Media Playback (server) */ \ |
| .clusterId = 0x00000506, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(507), \ |
| .attributeCount = 7, \ |
| .clusterSize = 39, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 198 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 202 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Media Input (server) */ \ |
| .clusterId = 0x00000507, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(514), \ |
| .attributeCount = 3, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 204 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Low Power (server) */ \ |
| .clusterId = 0x00000508, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(517), \ |
| .attributeCount = 1, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 209 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Keypad Input (server) */ \ |
| .clusterId = 0x00000509, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(518), \ |
| .attributeCount = 1, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 211 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 213 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Content Launcher (server) */ \ |
| .clusterId = 0x0000050A, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(519), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 215 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 218 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Audio Output (server) */ \ |
| .clusterId = 0x0000050B, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(522), \ |
| .attributeCount = 3, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 220 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Application Launcher (server) */ \ |
| .clusterId = 0x0000050C, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(525), \ |
| .attributeCount = 2, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 223 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 225 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Application Basic (server) */ \ |
| .clusterId = 0x0000050D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(527), \ |
| .attributeCount = 8, \ |
| .clusterSize = 106, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Account Login (server) */ \ |
| .clusterId = 0x0000050E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(535), \ |
| .attributeCount = 1, \ |
| .clusterSize = 2, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 227 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 229 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Test Cluster (server) */ \ |
| .clusterId = 0x0000050F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(536), \ |
| .attributeCount = 81, \ |
| .clusterSize = 2285, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 231 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 250 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Electrical Measurement (server) */ \ |
| .clusterId = 0x00000B04, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(617), \ |
| .attributeCount = 12, \ |
| .clusterSize = 28, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Groups (server) */ \ |
| .clusterId = 0x00000004, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(629), \ |
| .attributeCount = 2, \ |
| .clusterSize = 3, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayGroupsServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 260 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 267 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: On/Off (server) */ \ |
| .clusterId = 0x00000006, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(631), \ |
| .attributeCount = 7, \ |
| .clusterSize = 13, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOnOffServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 272 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Descriptor (server) */ \ |
| .clusterId = 0x0000001D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(638), \ |
| .attributeCount = 5, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Power Source (server) */ \ |
| .clusterId = 0x0000002F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(643), \ |
| .attributeCount = 8, \ |
| .clusterSize = 72, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Occupancy Sensing (server) */ \ |
| .clusterId = 0x00000406, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(651), \ |
| .attributeCount = 4, \ |
| .clusterSize = 5, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOccupancySensingServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 65534, Cluster: Network Commissioning (server) */ \ |
| .clusterId = 0x00000031, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(655), \ |
| .attributeCount = 10, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 276 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 283 ) ,\ |
| },\ |
| } |
| |
| // clang-format on |
| |
| #define ZAP_CLUSTER_INDEX(index) (&generatedClusters[index]) |
| |
| #define ZAP_FIXED_ENDPOINT_DATA_VERSION_COUNT 77 |
| |
| // This is an array of EmberAfEndpointType structures. |
| #define GENERATED_ENDPOINT_TYPES \ |
| { \ |
| { ZAP_CLUSTER_INDEX(0), 27, 526 }, { ZAP_CLUSTER_INDEX(27), 45, 3339 }, { ZAP_CLUSTER_INDEX(72), 5, 93 }, \ |
| { ZAP_CLUSTER_INDEX(77), 1, 0 }, \ |
| } |
| |
| // Largest attribute size is needed for various buffers |
| #define ATTRIBUTE_LARGEST (1003) |
| |
| static_assert(ATTRIBUTE_LARGEST <= CHIP_CONFIG_MAX_ATTRIBUTE_STORE_ELEMENT_SIZE, "ATTRIBUTE_LARGEST larger than expected"); |
| |
| // Total size of singleton attributes |
| #define ATTRIBUTE_SINGLETONS_SIZE (37) |
| |
| // Total size of attribute storage |
| #define ATTRIBUTE_MAX_SIZE (3958) |
| |
| // Number of fixed endpoints |
| #define FIXED_ENDPOINT_COUNT (4) |
| |
| // Array of endpoints that are supported, the data inside |
| // the array is the endpoint number. |
| #define FIXED_ENDPOINT_ARRAY \ |
| { \ |
| 0x0000, 0x0001, 0x0002, 0xFFFE \ |
| } |
| |
| // Array of profile ids |
| #define FIXED_PROFILE_IDS \ |
| { \ |
| 0x0103, 0x0103, 0x0103, 0x0103 \ |
| } |
| |
| // Array of device types |
| #define FIXED_DEVICE_TYPES \ |
| { \ |
| { 0x0016, 1 }, { 0x0100, 1 }, { 0x0100, 1 }, { 0xF002, 1 } \ |
| } |
| |
| // Array of device type offsets |
| #define FIXED_DEVICE_TYPE_OFFSETS \ |
| { \ |
| 0, 1, 2, 3 \ |
| } |
| |
| // Array of device type lengths |
| #define FIXED_DEVICE_TYPE_LENGTHS \ |
| { \ |
| 1, 1, 1, 1 \ |
| } |
| |
| // Array of endpoint types supported on each endpoint |
| #define FIXED_ENDPOINT_TYPES \ |
| { \ |
| 0, 1, 2, 3 \ |
| } |
| |
| // Array of networks supported on each endpoint |
| #define FIXED_NETWORKS \ |
| { \ |
| 0, 0, 0, 0 \ |
| } |