| /* |
| * |
| * 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: Power Source (server), big-endian */ \ |
| \ |
| /* 6 - Description, */ \ |
| 2, 'B', '1', \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server), big-endian */ \ |
| \ |
| /* 9 - Breadcrumb, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Power Source (server), big-endian */ \ |
| \ |
| /* 17 - Description, */ \ |
| 2, 'B', '2', \ |
| \ |
| /* Endpoint: 1, Cluster: Mode Select (server), big-endian */ \ |
| \ |
| /* 20 - Description, */ \ |
| 6, 'C', 'o', 'f', 'f', 'e', 'e', \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server), big-endian */ \ |
| \ |
| /* 27 - Language, */ \ |
| 2, 'e', 'n', \ |
| \ |
| /* Endpoint: 1, Cluster: Media Playback (server), big-endian */ \ |
| \ |
| /* 30 - StartTime, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, \ |
| \ |
| /* 38 - Duration, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 46 - SeekRangeEnd, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 54 - SeekRangeStart, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Unit Testing (server), big-endian */ \ |
| \ |
| /* 62 - bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 70 - int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 75 - int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 81 - int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 88 - int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 96 - int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 101 - int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 107 - int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 114 - int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 122 - float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 130 - epoch_us, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 138 - nullable_bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 146 - nullable_int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 151 - nullable_int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 157 - nullable_int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 164 - nullable_int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 172 - nullable_int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 177 - nullable_int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 183 - nullable_int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 190 - nullable_int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 198 - nullable_float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 2, Cluster: Power Source (server), big-endian */ \ |
| \ |
| /* 206 - Description, */ \ |
| 2, 'B', '3', \ |
| } |
| |
| #else // !BIGENDIAN_CPU |
| #define GENERATED_DEFAULTS \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server), little-endian */ \ |
| \ |
| /* 0 - ActiveLocale, */ \ |
| 5, 'e', 'n', '-', 'U', 'S', \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source (server), little-endian */ \ |
| \ |
| /* 6 - Description, */ \ |
| 2, 'B', '1', \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server), little-endian */ \ |
| \ |
| /* 9 - Breadcrumb, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Power Source (server), little-endian */ \ |
| \ |
| /* 17 - Description, */ \ |
| 2, 'B', '2', \ |
| \ |
| /* Endpoint: 1, Cluster: Mode Select (server), little-endian */ \ |
| \ |
| /* 20 - Description, */ \ |
| 6, 'C', 'o', 'f', 'f', 'e', 'e', \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server), little-endian */ \ |
| \ |
| /* 27 - Language, */ \ |
| 2, 'e', 'n', \ |
| \ |
| /* Endpoint: 1, Cluster: Media Playback (server), little-endian */ \ |
| \ |
| /* 30 - StartTime, */ \ |
| 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 38 - Duration, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 46 - SeekRangeEnd, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 54 - SeekRangeStart, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Unit Testing (server), little-endian */ \ |
| \ |
| /* 62 - bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 70 - int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 75 - int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 81 - int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 88 - int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 96 - int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 101 - int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 107 - int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 114 - int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 122 - float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 130 - epoch_us, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 138 - nullable_bitmap64, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 146 - nullable_int40u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 151 - nullable_int48u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 157 - nullable_int56u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 164 - nullable_int64u, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 172 - nullable_int40s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 177 - nullable_int48s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 183 - nullable_int56s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 190 - nullable_int64s, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 198 - nullable_float_double, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 2, Cluster: Power Source (server), little-endian */ \ |
| \ |
| /* 206 - Description, */ \ |
| 2, 'B', '3', \ |
| } |
| |
| #endif // BIGENDIAN_CPU |
| |
| #define GENERATED_DEFAULTS_COUNT (32) |
| |
| #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() \ |
| { \ |
| (uint32_t) 0 \ |
| } |
| #define ZAP_SIMPLE_DEFAULT(x) \ |
| { \ |
| (uint32_t) x \ |
| } |
| |
| // This is an array of EmberAfAttributeMinMaxValue structures. |
| #define GENERATED_MIN_MAX_DEFAULT_COUNT 47 |
| #define GENERATED_MIN_MAX_DEFAULTS \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Time Format Localization (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* HourFormat */ \ |
| \ |
| /* Endpoint: 0, Cluster: Unit Localization (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x2 }, /* TemperatureUnit */ \ |
| \ |
| /* 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) 0xA28, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* OccupiedCoolingSetpoint */ \ |
| { (uint16_t) 0x7D0, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* OccupiedHeatingSetpoint */ \ |
| { (uint16_t) 0x2BC, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MinHeatSetpointLimit */ \ |
| { (uint16_t) 0xBB8, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MaxHeatSetpointLimit */ \ |
| { (uint16_t) 0x640, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MinCoolSetpointLimit */ \ |
| { (uint16_t) 0xC80, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MaxCoolSetpointLimit */ \ |
| { (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x19 }, /* MinSetpointDeadBand */ \ |
| { (uint16_t) 0x4, (uint16_t) 0x0, (uint16_t) 0x5 }, /* ControlSequenceOfOperation */ \ |
| { (uint16_t) 0x1, (uint16_t) 0x0, (uint16_t) 0x7 }, /* SystemMode */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fan Control (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x6 }, /* FanMode */ \ |
| { (uint16_t) 0x2, (uint16_t) 0x0, (uint16_t) 0x5 }, /* FanModeSequence */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x64 }, /* PercentSetting */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x64 }, /* SpeedSetting */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* TemperatureDisplayMode */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x5 }, /* KeypadLockout */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0x1 }, /* ScheduleProgrammingVisibility */ \ |
| \ |
| /* Endpoint: 1, Cluster: Color Control (server) */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* WhitePointX */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* WhitePointY */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* ColorPointRX */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* ColorPointRY */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* ColorPointGX */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* ColorPointGY */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* ColorPointBX */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* ColorPointBY */ \ |
| { (uint16_t) 0x0, (uint16_t) 0x0, (uint16_t) 0xFEFF }, /* StartUpColorTemperatureMireds */ \ |
| \ |
| /* Endpoint: 1, Cluster: Unit Testing (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 718 |
| #define GENERATED_ATTRIBUTES \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Identify (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* IdentifyTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0), 0x00000001, 1, ZAP_TYPE(ENUM8), 0 }, /* IdentifyType */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Groups (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(BITMAP8), 0 }, /* NameSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* DeviceTypeList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ServerList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClientList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* PartsList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Binding (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Binding */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Access Control (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ACL */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Extension */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SubjectsPerAccessControlEntry */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TargetsPerAccessControlEntry */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* AccessControlEntriesPerFabric */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Basic Information (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* DataModelRevision */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 33, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* VendorName */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(VENDOR_ID), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* VendorID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 33, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* ProductName */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* ProductID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 33, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* NodeLabel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 3, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) | \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Location */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* HardwareVersion */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000008, 65, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* HardwareVersionString */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000009, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* SoftwareVersion */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000A, 65, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* SoftwareVersionString */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000B, 17, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* ManufacturingDate */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000C, 33, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* PartNumber */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000D, 258, ZAP_TYPE(LONG_CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* ProductURL */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000E, 65, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* ProductLabel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000F, 33, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* SerialNumber */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000010, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(SINGLETON) | \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* LocalConfigDisabled */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x00000011, 1, ZAP_TYPE(BOOLEAN), ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* Reachable */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000012, 33, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* UniqueID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000013, 0, ZAP_TYPE(STRUCT), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CapabilityMinima */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(SINGLETON) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: OTA Software Update Requestor (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* DefaultOTAProviders */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x00000001, 1, ZAP_TYPE(BOOLEAN), 0 }, /* UpdatePossible */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000002, 1, ZAP_TYPE(ENUM8), 0 }, /* UpdateState */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000003, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* UpdateStateProgress */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server) */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(0), 0x00000000, 36, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ActiveLocale */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SupportedLocales */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Time Format Localization (server) */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(0), 0x00000000, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* HourFormat */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000001, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ActiveCalendarType */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SupportedCalendarTypes */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Unit Localization (server) */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(1), 0x00000000, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* TemperatureUnit */ \ |
| { ZAP_SIMPLE_DEFAULT(0x1), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source Configuration (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* Sources */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Power Source (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000000, 1, ZAP_TYPE(ENUM8), 0 }, /* Status */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* Order */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(6), 0x00000002, 61, ZAP_TYPE(CHAR_STRING), 0 }, /* Description */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000000E, 1, ZAP_TYPE(ENUM8), 0 }, /* BatChargeLevel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000F, 1, ZAP_TYPE(BOOLEAN), 0 }, /* BatReplacementNeeded */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000010, 1, ZAP_TYPE(ENUM8), 0 }, /* BatReplaceability */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(9), 0x00000000, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Breadcrumb */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(STRUCT), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* BasicCommissioningInfo */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RegulatoryConfig */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* LocationCapability */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SupportsConcurrentConnection */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(INT8U), 0 }, /* MaxNetworks */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* Networks */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(INT8U), 0 }, /* ScanMaxTimeSeconds */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 1, ZAP_TYPE(INT8U), 0 }, /* ConnectMaxTimeSeconds */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 1, ZAP_TYPE(BOOLEAN), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* InterfaceEnabled */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LastNetworkingStatus */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 33, ZAP_TYPE(OCTET_STRING), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LastNetworkID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 4, ZAP_TYPE(INT32S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LastConnectErrorValue */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Diagnostic Logs (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* NetworkInterfaces */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RebootCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* UpTime */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TotalOperationalHours */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* BootReason */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ActiveHardwareFaults */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ActiveRadioFaults */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ActiveNetworkFaults */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000008, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TestEventTriggersEnabled */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ThreadMetrics */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CurrentHeapFree */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CurrentHeapUsed */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CurrentHeapHighWatermark */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Channel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* RoutingRole */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 17, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* NetworkName */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PanId */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ExtendedPanId */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 18, ZAP_TYPE(OCTET_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeshLocalPrefix */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* OverrunCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* NeighborTable */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000008, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RouteTable */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000009, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PartitionId */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000A, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Weighting */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000B, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* DataVersion */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000C, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StableDataVersion */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000D, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LeaderRouterId */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000E, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* DetachedRoleCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000F, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ChildRoleCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000010, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RouterRoleCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000011, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* LeaderRoleCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000012, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* AttachAttemptCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000013, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* PartitionIdChangeCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000014, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* BetterPartitionAttachAttemptCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000015, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ParentChangeCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000016, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxTotalCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000017, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxUnicastCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000018, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxBroadcastCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000019, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxAckRequestedCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001A, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxAckedCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001B, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxNoAckRequestedCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001C, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxDataCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001D, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxDataPollCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001E, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxBeaconCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001F, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxBeaconRequestCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000020, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxOtherCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000021, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxRetryCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000022, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxDirectMaxRetryExpiryCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000023, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxIndirectMaxRetryExpiryCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000024, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxErrCcaCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000025, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxErrAbortCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000026, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxErrBusyChannelCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000027, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxTotalCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000028, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxUnicastCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000029, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxBroadcastCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002A, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxDataCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002B, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxDataPollCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002C, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxBeaconCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002D, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxBeaconRequestCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002E, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxOtherCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002F, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxAddressFilteredCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000030, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxDestAddrFilteredCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000031, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxDuplicatedCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000032, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxErrNoFrameCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000033, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxErrUnknownNeighborCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000034, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxErrInvalidSrcAddrCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000035, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxErrSecCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000036, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxErrFcsCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000037, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* RxErrOtherCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000038, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ActiveTimestamp */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000039, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PendingTimestamp */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000003A, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Delay */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000003B, 0, ZAP_TYPE(STRUCT), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* SecurityPolicy */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000003C, 5, ZAP_TYPE(OCTET_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ChannelPage0Mask */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000003D, 0, ZAP_TYPE(STRUCT), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* OperationalDatasetComponents */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000003E, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ActiveNetworkFaultsList */ \ |
| { ZAP_SIMPLE_DEFAULT(0x000F), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 7, ZAP_TYPE(OCTET_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* BSSID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* SecurityType */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* WiFiVersion */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ChannelNumber */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 1, ZAP_TYPE(INT8S), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* RSSI */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* BeaconLostCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* BeaconRxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PacketMulticastRxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000008, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PacketMulticastTxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000009, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PacketUnicastRxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000A, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PacketUnicastTxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000B, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentMaxRate */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000C, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* OverrunCount */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PHYRate */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* FullDuplex */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* PacketRxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* PacketTxCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TxErrCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CollisionCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* OverrunCount */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CarrierDetect */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000008, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TimeSinceReset */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Administrator Commissioning (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* WindowStatus */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(FABRIC_IDX), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* AdminFabricIndex */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* AdminVendorId */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* NOCs */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* Fabrics */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SupportedFabrics */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CommissionedFabrics */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TrustedRootCertificates */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CurrentFabricIndex */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Group Key Management (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* GroupKeyMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* GroupTable */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* MaxGroupsPerFabric */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* MaxGroupKeysPerFabric */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Fixed Label (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* LabelList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: User Label (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* LabelList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Relative Humidity Measurement (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x2710), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Fault Injection (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Identify (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* IdentifyTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0), 0x00000001, 1, ZAP_TYPE(ENUM8), 0 }, /* IdentifyType */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Groups (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(BITMAP8), 0 }, /* NameSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Scenes (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000000, 1, ZAP_TYPE(INT8U), 0 }, /* SceneCount */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentScene */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000002, 2, ZAP_TYPE(GROUP_ID), 0 }, /* CurrentGroup */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000003, 1, ZAP_TYPE(BOOLEAN), 0 }, /* SceneValid */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 1, ZAP_TYPE(BITMAP8), 0 }, /* NameSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000000, 1, ZAP_TYPE(BOOLEAN), ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* OnOff */ \ |
| { ZAP_SIMPLE_DEFAULT(0x01), 0x00004000, 1, ZAP_TYPE(BOOLEAN), 0 }, /* GlobalSceneControl */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00004001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OnTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00004002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OffWaitTime */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(2), 0x00004003, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpOnOff */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0001), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(ENUM8), 0 }, /* switch type */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(3), 0x00000010, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* switch actions */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFE), 0x00000000, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentLevel */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000001, 2, ZAP_TYPE(INT16U), 0 }, /* RemainingTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0x01), 0x00000002, 1, ZAP_TYPE(INT8U), 0 }, /* MinLevel */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFE), 0x00000003, 1, ZAP_TYPE(INT8U), 0 }, /* MaxLevel */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000004, 2, ZAP_TYPE(INT16U), 0 }, /* CurrentFrequency */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000005, 2, ZAP_TYPE(INT16U), 0 }, /* MinFrequency */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000006, 2, ZAP_TYPE(INT16U), 0 }, /* MaxFrequency */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(4), 0x0000000F, 1, ZAP_TYPE(BITMAP8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Options */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000010, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OnOffTransitionTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFF), 0x00000011, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* OnLevel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000012, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* OnTransitionTime */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000013, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* OffTransitionTime */ \ |
| { ZAP_SIMPLE_DEFAULT(50), 0x00000014, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* DefaultMoveRate */ \ |
| { ZAP_SIMPLE_DEFAULT(255), 0x00004000, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpCurrentLevel */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(5), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Binary Input (Basic) (server) */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(5), 0x00000051, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* out of service */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000055, 1, ZAP_TYPE(BOOLEAN), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* present value */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000006F, 1, ZAP_TYPE(BITMAP8), 0 }, /* status flags */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* DeviceTypeList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ServerList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClientList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* PartsList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Binding (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Binding */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Actions (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ActionList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* EndpointLists */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 514, ZAP_TYPE(LONG_CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SetupURL */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Power Source (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000000, 1, ZAP_TYPE(ENUM8), 0 }, /* Status */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* Order */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(17), 0x00000002, 61, ZAP_TYPE(CHAR_STRING), 0 }, /* Description */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000000E, 1, ZAP_TYPE(ENUM8), 0 }, /* BatChargeLevel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000F, 1, ZAP_TYPE(BOOLEAN), 0 }, /* BatReplacementNeeded */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000010, 1, ZAP_TYPE(ENUM8), 0 }, /* BatReplaceability */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x00000000, 1, ZAP_TYPE(INT8U), 0 }, /* NumberOfPositions */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentPosition */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x00000002, 1, ZAP_TYPE(INT8U), 0 }, /* MultiPressMax */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* LabelList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: User Label (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* LabelList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Boolean State (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000000, 1, ZAP_TYPE(BOOLEAN), 0 }, /* StateValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Mode Select (server) */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(20), 0x00000000, 33, ZAP_TYPE(CHAR_STRING), 0 }, /* Description */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000001, 2, ZAP_TYPE(ENUM16), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StandardNamespace */ \ |
| { ZAP_SIMPLE_DEFAULT(255), 0xFFF10001, 1, ZAP_TYPE(INT8U), 0 }, /* ManufacturerExtension */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* SupportedModes */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000003, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* CurrentMode */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000004, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpMode */ \ |
| { ZAP_SIMPLE_DEFAULT(255), 0x00000005, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* OnMode */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x00000000, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LockState */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(ENUM8), 0 }, /* LockType */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(BOOLEAN), 0 }, /* ActuatorEnabled */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* DoorState */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* DoorOpenEvents */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* DoorClosedEvents */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OpenPeriod */ \ |
| { ZAP_SIMPLE_DEFAULT(10), 0x00000011, 2, ZAP_TYPE(INT16U), 0 }, /* NumberOfTotalUsersSupported */ \ |
| { ZAP_SIMPLE_DEFAULT(10), 0x00000012, 2, ZAP_TYPE(INT16U), 0 }, /* NumberOfPINUsersSupported */ \ |
| { ZAP_SIMPLE_DEFAULT(10), 0x00000013, 2, ZAP_TYPE(INT16U), 0 }, /* NumberOfRFIDUsersSupported */ \ |
| { ZAP_SIMPLE_DEFAULT(10), 0x00000014, 1, ZAP_TYPE(INT8U), 0 }, /* NumberOfWeekDaySchedulesSupportedPerUser */ \ |
| { ZAP_SIMPLE_DEFAULT(10), 0x00000015, 1, ZAP_TYPE(INT8U), 0 }, /* NumberOfYearDaySchedulesSupportedPerUser */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000016, 1, ZAP_TYPE(INT8U), 0 }, /* NumberOfHolidaySchedulesSupported */ \ |
| { ZAP_SIMPLE_DEFAULT(6), 0x00000017, 1, ZAP_TYPE(INT8U), 0 }, /* MaxPINCodeLength */ \ |
| { ZAP_SIMPLE_DEFAULT(6), 0x00000018, 1, ZAP_TYPE(INT8U), 0 }, /* MinPINCodeLength */ \ |
| { ZAP_SIMPLE_DEFAULT(20), 0x00000019, 1, ZAP_TYPE(INT8U), 0 }, /* MaxRFIDCodeLength */ \ |
| { ZAP_SIMPLE_DEFAULT(10), 0x0000001A, 1, ZAP_TYPE(INT8U), 0 }, /* MinRFIDCodeLength */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000001B, 1, ZAP_TYPE(BITMAP8), 0 }, /* CredentialRulesSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(5), 0x0000001C, 1, ZAP_TYPE(INT8U), 0 }, /* NumberOfCredentialsSupportedPerUser */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(27), 0x00000021, 4, ZAP_TYPE(CHAR_STRING), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Language */ \ |
| { ZAP_SIMPLE_DEFAULT(60), 0x00000023, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* AutoRelockTime */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(6), 0x00000024, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* SoundVolume */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(7), 0x00000025, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OperatingMode */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFFF6), 0x00000026, 2, ZAP_TYPE(BITMAP16), 0 }, /* SupportedOperatingModes */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000027, 2, ZAP_TYPE(BITMAP16), 0 }, /* DefaultConfigurationRegister */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000029, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* EnableOneTouchLocking */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000002A, 1, ZAP_TYPE(BOOLEAN), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* EnableInsideStatusLED */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000002B, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* EnablePrivacyModeButton */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(8), 0x00000030, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* WrongCodeEntryLimit */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(9), 0x00000031, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* UserCodeTemporaryDisableTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000033, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* RequirePINforRemoteOperation */ \ |
| { ZAP_SIMPLE_DEFAULT(0xD13), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(6), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x08), 0x00000000, 1, ZAP_TYPE(ENUM8), 0 }, /* Type */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFFFF), 0x00000001, 2, ZAP_TYPE(INT16U), 0 }, /* PhysicalClosedLimitLift */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFFFF), 0x00000002, 2, ZAP_TYPE(INT16U), 0 }, /* PhysicalClosedLimitTilt */ \ |
| { ZAP_SIMPLE_DEFAULT(0x7FFF), 0x00000003, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentPositionLift */ \ |
| { ZAP_SIMPLE_DEFAULT(0x7FFF), 0x00000004, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentPositionTilt */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000005, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* NumberOfActuationsLift */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000006, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* NumberOfActuationsTilt */ \ |
| { ZAP_SIMPLE_DEFAULT(0x03), 0x00000007, 1, ZAP_TYPE(BITMAP8), ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* ConfigStatus */ \ |
| { ZAP_SIMPLE_DEFAULT(50), 0x00000008, 1, ZAP_TYPE(PERCENT), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentPositionLiftPercentage */ \ |
| { ZAP_SIMPLE_DEFAULT(50), 0x00000009, 1, ZAP_TYPE(PERCENT), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentPositionTiltPercentage */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000000A, 1, ZAP_TYPE(BITMAP8), 0 }, /* OperationalStatus */ \ |
| { ZAP_SIMPLE_DEFAULT(5000), 0x0000000B, 2, ZAP_TYPE(PERCENT100THS), \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* TargetPositionLiftPercent100ths */ \ |
| { ZAP_SIMPLE_DEFAULT(5000), 0x0000000C, 2, ZAP_TYPE(PERCENT100THS), \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* TargetPositionTiltPercent100ths */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000000D, 1, ZAP_TYPE(ENUM8), 0 }, /* EndProductType */ \ |
| { ZAP_SIMPLE_DEFAULT(5000), 0x0000000E, 2, ZAP_TYPE(PERCENT100THS), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentPositionLiftPercent100ths */ \ |
| { ZAP_SIMPLE_DEFAULT(5000), 0x0000000F, 2, ZAP_TYPE(PERCENT100THS), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* CurrentPositionTiltPercent100ths */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000010, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* InstalledOpenLimitLift */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFFFF), 0x00000011, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* InstalledClosedLimitLift */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000012, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* InstalledOpenLimitTilt */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFFFF), 0x00000013, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(TOKENIZE) }, /* InstalledClosedLimitTilt */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(10), 0x00000017, 1, ZAP_TYPE(BITMAP8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(TOKENIZE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Mode */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000001A, 2, ZAP_TYPE(BITMAP16), 0 }, /* SafetyStatus */ \ |
| { ZAP_SIMPLE_DEFAULT(0x17), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(5), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Barrier Control (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(ENUM8), 0 }, /* barrier moving state */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(BITMAP16), 0 }, /* barrier safety status */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 1, ZAP_TYPE(BITMAP8), 0 }, /* barrier capabilities */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000A, 1, ZAP_TYPE(INT8U), 0 }, /* barrier position */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxPressure */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxSpeed */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxFlow */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinConstPressure */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxConstPressure */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinCompPressure */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxCompPressure */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinConstSpeed */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000008, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxConstSpeed */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000009, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinConstFlow */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000A, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxConstFlow */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000B, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinConstTemp */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000C, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxConstTemp */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000010, 2, ZAP_TYPE(BITMAP16), 0 }, /* PumpStatus */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000011, 1, ZAP_TYPE(ENUM8), 0 }, /* EffectiveOperationMode */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000012, 1, ZAP_TYPE(ENUM8), 0 }, /* EffectiveControlMode */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000013, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Capacity */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000014, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Speed */ \ |
| { ZAP_SIMPLE_DEFAULT(0x000000), 0x00000015, 3, ZAP_TYPE(INT24U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LifetimeRunningHours */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000016, 3, ZAP_TYPE(INT24U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Power */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00000000), 0x00000017, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LifetimeEnergyConsumed */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(11), 0x00000020, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OperationMode */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(12), 0x00000021, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ControlMode */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LocalTemperature */ \ |
| { ZAP_SIMPLE_DEFAULT(0x02BC), 0x00000003, 2, ZAP_TYPE(INT16S), 0 }, /* AbsMinHeatSetpointLimit */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0BB8), 0x00000004, 2, ZAP_TYPE(INT16S), 0 }, /* AbsMaxHeatSetpointLimit */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0640), 0x00000005, 2, ZAP_TYPE(INT16S), 0 }, /* AbsMinCoolSetpointLimit */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0C80), 0x00000006, 2, ZAP_TYPE(INT16S), 0 }, /* AbsMaxCoolSetpointLimit */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(13), 0x00000011, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OccupiedCoolingSetpoint */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(14), 0x00000012, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OccupiedHeatingSetpoint */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(15), 0x00000015, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* MinHeatSetpointLimit */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(16), 0x00000016, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* MaxHeatSetpointLimit */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(17), 0x00000017, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* MinCoolSetpointLimit */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(18), 0x00000018, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* MaxCoolSetpointLimit */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(19), 0x00000019, 1, ZAP_TYPE(INT8S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* MinSetpointDeadBand */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(20), 0x0000001B, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ControlSequenceOfOperation */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(21), 0x0000001C, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* SystemMode */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0023), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(5), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fan Control (server) */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(22), 0x00000000, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* FanMode */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(23), 0x00000001, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* FanModeSequence */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(24), 0x00000002, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* PercentSetting */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000003, 1, ZAP_TYPE(INT8U), 0 }, /* PercentCurrent */ \ |
| { ZAP_SIMPLE_DEFAULT(100), 0x00000004, 1, ZAP_TYPE(INT8U), 0 }, /* SpeedMax */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(25), 0x00000005, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* SpeedSetting */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000006, 1, ZAP_TYPE(INT8U), 0 }, /* SpeedCurrent */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000007, 1, ZAP_TYPE(BITMAP8), 0 }, /* RockSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000008, 1, ZAP_TYPE(BITMAP8), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* RockSetting */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000009, 1, ZAP_TYPE(BITMAP8), 0 }, /* WindSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000000A, 1, ZAP_TYPE(BITMAP8), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* WindSetting */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0F), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Thermostat User Interface Configuration (server) */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(26), 0x00000000, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* TemperatureDisplayMode */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(27), 0x00000001, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* KeypadLockout */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(28), 0x00000002, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ScheduleProgrammingVisibility */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Color Control (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000000, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentHue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentSaturation */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000002, 2, ZAP_TYPE(INT16U), 0 }, /* RemainingTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0x616B), 0x00000003, 2, ZAP_TYPE(INT16U), 0 }, /* CurrentX */ \ |
| { ZAP_SIMPLE_DEFAULT(0x607D), 0x00000004, 2, ZAP_TYPE(INT16U), 0 }, /* CurrentY */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 1, ZAP_TYPE(ENUM8), 0 }, /* DriftCompensation */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 255, ZAP_TYPE(CHAR_STRING), 0 }, /* CompensationText */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00FA), 0x00000007, 2, ZAP_TYPE(INT16U), 0 }, /* ColorTemperatureMireds */ \ |
| { ZAP_SIMPLE_DEFAULT(0x01), 0x00000008, 1, ZAP_TYPE(ENUM8), 0 }, /* ColorMode */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x0000000F, 1, ZAP_TYPE(BITMAP8), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* Options */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000010, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* NumberOfPrimaries */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000011, 2, ZAP_TYPE(INT16U), 0 }, /* Primary1X */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000012, 2, ZAP_TYPE(INT16U), 0 }, /* Primary1Y */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000013, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Primary1Intensity */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000015, 2, ZAP_TYPE(INT16U), 0 }, /* Primary2X */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000016, 2, ZAP_TYPE(INT16U), 0 }, /* Primary2Y */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000017, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Primary2Intensity */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000019, 2, ZAP_TYPE(INT16U), 0 }, /* Primary3X */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001A, 2, ZAP_TYPE(INT16U), 0 }, /* Primary3Y */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001B, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Primary3Intensity */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000020, 2, ZAP_TYPE(INT16U), 0 }, /* Primary4X */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000021, 2, ZAP_TYPE(INT16U), 0 }, /* Primary4Y */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000022, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Primary4Intensity */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000024, 2, ZAP_TYPE(INT16U), 0 }, /* Primary5X */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000025, 2, ZAP_TYPE(INT16U), 0 }, /* Primary5Y */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000026, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Primary5Intensity */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000028, 2, ZAP_TYPE(INT16U), 0 }, /* Primary6X */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000029, 2, ZAP_TYPE(INT16U), 0 }, /* Primary6Y */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002A, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Primary6Intensity */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(29), 0x00000030, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* WhitePointX */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(30), 0x00000031, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* WhitePointY */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(31), 0x00000032, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ColorPointRX */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(32), 0x00000033, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ColorPointRY */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000034, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ColorPointRIntensity */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(33), 0x00000036, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ColorPointGX */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(34), 0x00000037, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ColorPointGY */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000038, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ColorPointGIntensity */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(35), 0x0000003A, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ColorPointBX */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(36), 0x0000003B, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* ColorPointBY */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000003C, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* ColorPointBIntensity */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00004000, 2, ZAP_TYPE(INT16U), 0 }, /* EnhancedCurrentHue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x01), 0x00004001, 1, ZAP_TYPE(ENUM8), 0 }, /* EnhancedColorMode */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00004002, 1, ZAP_TYPE(INT8U), 0 }, /* ColorLoopActive */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00004003, 1, ZAP_TYPE(INT8U), 0 }, /* ColorLoopDirection */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0019), 0x00004004, 2, ZAP_TYPE(INT16U), 0 }, /* ColorLoopTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0x2300), 0x00004005, 2, ZAP_TYPE(INT16U), 0 }, /* ColorLoopStartEnhancedHue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00004006, 2, ZAP_TYPE(INT16U), 0 }, /* ColorLoopStoredEnhancedHue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x1F), 0x0000400A, 2, ZAP_TYPE(BITMAP16), 0 }, /* ColorCapabilities */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x0000400B, 2, ZAP_TYPE(INT16U), 0 }, /* ColorTempPhysicalMinMireds */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFEFF), 0x0000400C, 2, ZAP_TYPE(INT16U), 0 }, /* ColorTempPhysicalMaxMireds */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000400D, 2, ZAP_TYPE(INT16U), 0 }, /* CoupleColorTempToLevelMinMireds */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(37), 0x00004010, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpColorTemperatureMireds */ \ |
| { ZAP_SIMPLE_DEFAULT(0x1F), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(5), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Illuminance Measurement (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x01), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFFFE), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), 0 }, /* Tolerance */ \ |
| { ZAP_SIMPLE_DEFAULT(0xFF), 0x00000004, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LightSensorType */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Temperature Measurement (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000000, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000001, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000002, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), 0 }, /* Tolerance */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Pressure Measurement (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x00000000, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Flow Measurement (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000003, 2, ZAP_TYPE(INT16U), 0 }, /* Tolerance */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Relative Humidity Measurement (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MinMeasuredValue */ \ |
| { ZAP_SIMPLE_DEFAULT(0x2710), 0x00000002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* MaxMeasuredValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), 0 }, /* Tolerance */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Occupancy Sensing (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(BITMAP8), 0 }, /* Occupancy */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(ENUM8), 0 }, /* OccupancySensorType */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(BITMAP8), 0 }, /* OccupancySensorTypeBitmap */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 33, ZAP_TYPE(CHAR_STRING), 0 }, /* MACAddress */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Channel (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ChannelList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Target Navigator (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* TargetList */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentTarget */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Media Playback (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000000, 1, ZAP_TYPE(ENUM8), 0 }, /* CurrentState */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(30), 0x00000001, 8, ZAP_TYPE(EPOCH_US), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartTime */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(38), 0x00000002, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* Duration */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 4, ZAP_TYPE(SINGLE), 0 }, /* PlaybackSpeed */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(46), 0x00000005, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* SeekRangeEnd */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(54), 0x00000006, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* SeekRangeStart */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Media Input (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* InputList */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentInput */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Low Power (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Keypad Input (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Content Launcher (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* AcceptHeader */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 4, ZAP_TYPE(BITMAP32), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* SupportedStreamingProtocols */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Audio Output (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* OutputList */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* CurrentOutput */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Application Launcher (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* CatalogList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Application Basic (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 33, ZAP_TYPE(CHAR_STRING), 0 }, /* VendorName */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 2, ZAP_TYPE(VENDOR_ID), 0 }, /* VendorID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 33, ZAP_TYPE(CHAR_STRING), 0 }, /* ApplicationName */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 2, ZAP_TYPE(INT16U), 0 }, /* ProductID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 1, ZAP_TYPE(ENUM8), 0 }, /* Status */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 33, ZAP_TYPE(CHAR_STRING), 0 }, /* ApplicationVersion */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* AllowedVendorList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Account Login (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Electrical Measurement (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x000000), 0x00000000, 4, ZAP_TYPE(BITMAP32), 0 }, /* measurement type */ \ |
| { ZAP_SIMPLE_DEFAULT(0x000000), 0x00000304, 4, ZAP_TYPE(INT32S), 0 }, /* total active power */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x00000505, 2, ZAP_TYPE(INT16U), 0 }, /* rms voltage */ \ |
| { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000506, 2, ZAP_TYPE(INT16U), 0 }, /* rms voltage min */ \ |
| { ZAP_SIMPLE_DEFAULT(0x8000), 0x00000507, 2, ZAP_TYPE(INT16U), 0 }, /* rms voltage max */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x00000508, 2, ZAP_TYPE(INT16U), 0 }, /* rms current */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x00000509, 2, ZAP_TYPE(INT16U), 0 }, /* rms current min */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x0000050A, 2, ZAP_TYPE(INT16U), 0 }, /* rms current max */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x0000050B, 2, ZAP_TYPE(INT16S), 0 }, /* active power */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x0000050C, 2, ZAP_TYPE(INT16S), 0 }, /* active power min */ \ |
| { ZAP_SIMPLE_DEFAULT(0xffff), 0x0000050D, 2, ZAP_TYPE(INT16S), 0 }, /* active power max */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Unit Testing (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(false), 0x00000000, 1, ZAP_TYPE(BOOLEAN), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* boolean */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000001, 1, ZAP_TYPE(BITMAP8), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* bitmap8 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000002, 2, ZAP_TYPE(BITMAP16), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* bitmap16 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000003, 4, ZAP_TYPE(BITMAP32), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* bitmap32 */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(62), 0x00000004, 8, ZAP_TYPE(BITMAP64), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* bitmap64 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000005, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int8u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000006, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int16u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000007, 3, ZAP_TYPE(INT24U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int24u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000008, 4, ZAP_TYPE(INT32U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int32u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(70), 0x00000009, 5, ZAP_TYPE(INT40U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int40u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(75), 0x0000000A, 6, ZAP_TYPE(INT48U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int48u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(81), 0x0000000B, 7, ZAP_TYPE(INT56U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int56u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(88), 0x0000000C, 8, ZAP_TYPE(INT64U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int64u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000000D, 1, ZAP_TYPE(INT8S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int8s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000000E, 2, ZAP_TYPE(INT16S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int16s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000000F, 3, ZAP_TYPE(INT24S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int24s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000010, 4, ZAP_TYPE(INT32S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int32s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(96), 0x00000011, 5, ZAP_TYPE(INT40S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int40s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(101), 0x00000012, 6, ZAP_TYPE(INT48S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int48s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(107), 0x00000013, 7, ZAP_TYPE(INT56S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int56s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(114), 0x00000014, 8, ZAP_TYPE(INT64S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* int64s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000015, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* enum8 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000016, 2, ZAP_TYPE(ENUM16), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* enum16 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000017, 4, ZAP_TYPE(SINGLE), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* float_single */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(122), 0x00000018, 8, ZAP_TYPE(DOUBLE), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* float_double */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000019, 11, ZAP_TYPE(OCTET_STRING), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* octet_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001A, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* list_int8u */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001B, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* list_octet_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001C, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* list_struct_octet_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001D, 1002, ZAP_TYPE(LONG_OCTET_STRING), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* long_octet_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001E, 11, ZAP_TYPE(CHAR_STRING), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* char_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000001F, 1002, ZAP_TYPE(LONG_CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* long_char_string */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(130), 0x00000020, 8, ZAP_TYPE(EPOCH_US), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* epoch_us */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000021, 4, ZAP_TYPE(EPOCH_S), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* epoch_s */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000022, 2, ZAP_TYPE(VENDOR_ID), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* vendor_id */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000023, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* list_nullables_and_optionals_struct */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000024, 1, ZAP_TYPE(ENUM8), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* enum_attr */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000025, 0, ZAP_TYPE(STRUCT), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* struct_attr */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(38), 0x00000026, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* range_restricted_int8u */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(39), 0x00000027, 1, ZAP_TYPE(INT8S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* range_restricted_int8s */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(40), 0x00000028, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* range_restricted_int16u */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(41), 0x00000029, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* range_restricted_int16s */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002A, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* list_long_octet_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000002B, 0, ZAP_TYPE(ARRAY), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* list_fabric_scoped */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000030, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(MUST_USE_TIMED_WRITE) }, /* timed_write_boolean */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000031, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* general_error_boolean */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000032, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* cluster_error_boolean */ \ |
| { ZAP_SIMPLE_DEFAULT(false), 0x00004000, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_boolean */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004001, 1, ZAP_TYPE(BITMAP8), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_bitmap8 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004002, 2, ZAP_TYPE(BITMAP16), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_bitmap16 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004003, 4, ZAP_TYPE(BITMAP32), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_bitmap32 */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(138), 0x00004004, 8, ZAP_TYPE(BITMAP64), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_bitmap64 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004005, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int8u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004006, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int16u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004007, 3, ZAP_TYPE(INT24U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int24u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004008, 4, ZAP_TYPE(INT32U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int32u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(146), 0x00004009, 5, ZAP_TYPE(INT40U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int40u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(151), 0x0000400A, 6, ZAP_TYPE(INT48U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int48u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(157), 0x0000400B, 7, ZAP_TYPE(INT56U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int56u */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(164), 0x0000400C, 8, ZAP_TYPE(INT64U), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int64u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000400D, 1, ZAP_TYPE(INT8S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int8s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000400E, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int16s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000400F, 3, ZAP_TYPE(INT24S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int24s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004010, 4, ZAP_TYPE(INT32S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int32s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(172), 0x00004011, 5, ZAP_TYPE(INT40S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int40s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(177), 0x00004012, 6, ZAP_TYPE(INT48S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int48s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(183), 0x00004013, 7, ZAP_TYPE(INT56S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int56s */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(190), 0x00004014, 8, ZAP_TYPE(INT64S), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_int64s */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004015, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_enum8 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004016, 2, ZAP_TYPE(ENUM16), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_enum16 */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004017, 4, ZAP_TYPE(SINGLE), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_float_single */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(198), 0x00004018, 8, ZAP_TYPE(DOUBLE), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_float_double */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00004019, 11, ZAP_TYPE(OCTET_STRING), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_octet_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000401E, 11, ZAP_TYPE(CHAR_STRING), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_char_string */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00004024, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_enum_attr */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00004025, 0, ZAP_TYPE(STRUCT), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_struct */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(42), 0x00004026, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_range_restricted_int8u */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(43), 0x00004027, 1, ZAP_TYPE(INT8S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_range_restricted_int8s */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(44), 0x00004028, 2, ZAP_TYPE(INT16U), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_range_restricted_int16u */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(45), 0x00004029, 2, ZAP_TYPE(INT16S), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | \ |
| ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* nullable_range_restricted_int16s */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000402A, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* write_only_int8u */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Groups (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(BITMAP8), 0 }, /* NameSupport */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: On/Off (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0x00), 0x00000000, 1, ZAP_TYPE(BOOLEAN), 0 }, /* OnOff */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x00004000, 1, ZAP_TYPE(BOOLEAN), 0 }, /* GlobalSceneControl */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004001, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OnTime */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00004002, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* OffWaitTime */ \ |
| { ZAP_MIN_MAX_DEFAULTS_INDEX(46), 0x00004003, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(MIN_MAX) | ZAP_ATTRIBUTE_MASK(WRITABLE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* StartUpOnOff */ \ |
| { ZAP_SIMPLE_DEFAULT(0x0000), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(4), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Descriptor (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* DeviceTypeList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ServerList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClientList */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* PartsList */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Power Source (server) */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x00000000, 1, ZAP_TYPE(ENUM8), 0 }, /* Status */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x00000001, 1, ZAP_TYPE(INT8U), 0 }, /* Order */ \ |
| { ZAP_LONG_DEFAULTS_INDEX(206), 0x00000002, 61, ZAP_TYPE(CHAR_STRING), 0 }, /* Description */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000000E, 1, ZAP_TYPE(ENUM8), 0 }, /* BatChargeLevel */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000000F, 1, ZAP_TYPE(BOOLEAN), 0 }, /* BatReplacementNeeded */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000010, 1, ZAP_TYPE(ENUM8), 0 }, /* BatReplaceability */ \ |
| { ZAP_SIMPLE_DEFAULT(2), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(1), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 2, Cluster: Occupancy Sensing (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(BITMAP8), 0 }, /* Occupancy */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 1, ZAP_TYPE(ENUM8), 0 }, /* OccupancySensorType */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(BITMAP8), 0 }, /* OccupancySensorTypeBitmap */ \ |
| { ZAP_SIMPLE_DEFAULT(0), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), 0 }, /* FeatureMap */ \ |
| { ZAP_SIMPLE_DEFAULT(3), 0x0000FFFD, 2, ZAP_TYPE(INT16U), 0 }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 65534, Cluster: Network Commissioning (server) */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000000, 1, ZAP_TYPE(INT8U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* MaxNetworks */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000001, 0, ZAP_TYPE(ARRAY), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* Networks */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000002, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ScanMaxTimeSeconds */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000003, 1, ZAP_TYPE(INT8U), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* ConnectMaxTimeSeconds */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000004, 1, ZAP_TYPE(BOOLEAN), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(WRITABLE) }, /* InterfaceEnabled */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000005, 1, ZAP_TYPE(ENUM8), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LastNetworkingStatus */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000006, 33, ZAP_TYPE(OCTET_STRING), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LastNetworkID */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x00000007, 4, ZAP_TYPE(INT32S), \ |
| ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) | ZAP_ATTRIBUTE_MASK(NULLABLE) }, /* LastConnectErrorValue */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFC, 4, ZAP_TYPE(BITMAP32), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* FeatureMap */ \ |
| { ZAP_EMPTY_DEFAULT(), 0x0000FFFD, 2, ZAP_TYPE(INT16U), ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE) }, /* 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 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, \ |
| (EmberAfGenericClusterFunction) MatterPumpConfigurationAndControlClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayThermostatServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfThermostatClusterServerInitCallback, \ |
| (EmberAfGenericClusterFunction) MatterThermostatClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayFanControlServer[] = { \ |
| (EmberAfGenericClusterFunction) MatterFanControlClusterServerAttributeChangedCallback, \ |
| (EmberAfGenericClusterFunction) MatterFanControlClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayThermostatUserInterfaceConfigurationServer[] = { \ |
| (EmberAfGenericClusterFunction) MatterThermostatUserInterfaceConfigurationClusterServerPreAttributeChangedCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayColorControlServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfColorControlClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayOccupancySensingServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfOccupancySensingClusterServerInitCallback, \ |
| }; |
| |
| // clang-format off |
| #define GENERATED_COMMANDS { \ |
| /* Endpoint: 0, Cluster: Identify (server) */\ |
| /* AcceptedCommandList (index=0) */ \ |
| 0x00000000 /* Identify */, \ |
| 0x00000040 /* TriggerEffect */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Groups (server) */\ |
| /* AcceptedCommandList (index=3) */ \ |
| 0x00000000 /* AddGroup */, \ |
| 0x00000001 /* ViewGroup */, \ |
| 0x00000002 /* GetGroupMembership */, \ |
| 0x00000003 /* RemoveGroup */, \ |
| 0x00000004 /* RemoveAllGroups */, \ |
| 0x00000005 /* AddGroupIfIdentifying */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=10)*/ \ |
| 0x00000000 /* AddGroupResponse */, \ |
| 0x00000001 /* ViewGroupResponse */, \ |
| 0x00000002 /* GetGroupMembershipResponse */, \ |
| 0x00000003 /* RemoveGroupResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: OTA Software Update Requestor (server) */\ |
| /* AcceptedCommandList (index=15) */ \ |
| 0x00000000 /* AnnounceOTAProvider */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: General Commissioning (server) */\ |
| /* AcceptedCommandList (index=17) */ \ |
| 0x00000000 /* ArmFailSafe */, \ |
| 0x00000002 /* SetRegulatoryConfig */, \ |
| 0x00000004 /* CommissioningComplete */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=21)*/ \ |
| 0x00000001 /* ArmFailSafeResponse */, \ |
| 0x00000003 /* SetRegulatoryConfigResponse */, \ |
| 0x00000005 /* CommissioningCompleteResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */\ |
| /* AcceptedCommandList (index=25) */ \ |
| 0x00000000 /* ScanNetworks */, \ |
| 0x00000002 /* AddOrUpdateWiFiNetwork */, \ |
| 0x00000003 /* AddOrUpdateThreadNetwork */, \ |
| 0x00000004 /* RemoveNetwork */, \ |
| 0x00000006 /* ConnectNetwork */, \ |
| 0x00000008 /* ReorderNetwork */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=32)*/ \ |
| 0x00000001 /* ScanNetworksResponse */, \ |
| 0x00000005 /* NetworkConfigResponse */, \ |
| 0x00000007 /* ConnectNetworkResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Diagnostic Logs (server) */\ |
| /* AcceptedCommandList (index=36) */ \ |
| 0x00000000 /* RetrieveLogsRequest */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=38)*/ \ |
| 0x00000001 /* RetrieveLogsResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server) */\ |
| /* AcceptedCommandList (index=40) */ \ |
| 0x00000000 /* TestEventTrigger */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */\ |
| /* AcceptedCommandList (index=42) */ \ |
| 0x00000000 /* ResetWatermarks */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */\ |
| /* AcceptedCommandList (index=44) */ \ |
| 0x00000000 /* ResetCounts */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */\ |
| /* AcceptedCommandList (index=46) */ \ |
| 0x00000000 /* ResetCounts */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */\ |
| /* AcceptedCommandList (index=48) */ \ |
| 0x00000000 /* ResetCounts */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Administrator Commissioning (server) */\ |
| /* AcceptedCommandList (index=50) */ \ |
| 0x00000000 /* OpenCommissioningWindow */, \ |
| 0x00000001 /* OpenBasicCommissioningWindow */, \ |
| 0x00000002 /* RevokeCommissioning */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */\ |
| /* AcceptedCommandList (index=54) */ \ |
| 0x00000000 /* AttestationRequest */, \ |
| 0x00000002 /* CertificateChainRequest */, \ |
| 0x00000004 /* CSRRequest */, \ |
| 0x00000006 /* AddNOC */, \ |
| 0x00000007 /* UpdateNOC */, \ |
| 0x00000009 /* UpdateFabricLabel */, \ |
| 0x0000000A /* RemoveFabric */, \ |
| 0x0000000B /* AddTrustedRootCertificate */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=63)*/ \ |
| 0x00000001 /* AttestationResponse */, \ |
| 0x00000003 /* CertificateChainResponse */, \ |
| 0x00000005 /* CSRResponse */, \ |
| 0x00000008 /* NOCResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Group Key Management (server) */\ |
| /* AcceptedCommandList (index=68) */ \ |
| 0x00000000 /* KeySetWrite */, \ |
| 0x00000001 /* KeySetRead */, \ |
| 0x00000003 /* KeySetRemove */, \ |
| 0x00000004 /* KeySetReadAllIndices */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=73)*/ \ |
| 0x00000002 /* KeySetReadResponse */, \ |
| 0x00000005 /* KeySetReadAllIndicesResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 0, Cluster: Fault Injection (server) */\ |
| /* AcceptedCommandList (index=76) */ \ |
| 0x00000000 /* FailAtFault */, \ |
| 0x00000001 /* FailRandomlyAtFault */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Identify (server) */\ |
| /* AcceptedCommandList (index=79) */ \ |
| 0x00000000 /* Identify */, \ |
| 0x00000040 /* TriggerEffect */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Groups (server) */\ |
| /* AcceptedCommandList (index=82) */ \ |
| 0x00000000 /* AddGroup */, \ |
| 0x00000001 /* ViewGroup */, \ |
| 0x00000002 /* GetGroupMembership */, \ |
| 0x00000003 /* RemoveGroup */, \ |
| 0x00000004 /* RemoveAllGroups */, \ |
| 0x00000005 /* AddGroupIfIdentifying */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=89)*/ \ |
| 0x00000000 /* AddGroupResponse */, \ |
| 0x00000001 /* ViewGroupResponse */, \ |
| 0x00000002 /* GetGroupMembershipResponse */, \ |
| 0x00000003 /* RemoveGroupResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Scenes (server) */\ |
| /* AcceptedCommandList (index=94) */ \ |
| 0x00000000 /* AddScene */, \ |
| 0x00000001 /* ViewScene */, \ |
| 0x00000002 /* RemoveScene */, \ |
| 0x00000003 /* RemoveAllScenes */, \ |
| 0x00000004 /* StoreScene */, \ |
| 0x00000005 /* RecallScene */, \ |
| 0x00000006 /* GetSceneMembership */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=102)*/ \ |
| 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=109) */ \ |
| 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=116) */ \ |
| 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=125) */ \ |
| 0x00000000 /* ChangeToMode */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */\ |
| /* AcceptedCommandList (index=127) */ \ |
| 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=142)*/ \ |
| 0x0000000C /* GetWeekDayScheduleResponse */, \ |
| 0x0000000F /* GetYearDayScheduleResponse */, \ |
| 0x0000001C /* GetUserResponse */, \ |
| 0x00000023 /* SetCredentialResponse */, \ |
| 0x00000025 /* GetCredentialStatusResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */\ |
| /* AcceptedCommandList (index=148) */ \ |
| 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=156) */ \ |
| 0x00000000 /* BarrierControlGoToPercent */, \ |
| 0x00000001 /* BarrierControlStop */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */\ |
| /* AcceptedCommandList (index=159) */ \ |
| 0x00000000 /* SetpointRaiseLower */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Color Control (server) */\ |
| /* AcceptedCommandList (index=161) */ \ |
| 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: Target Navigator (server) */\ |
| /* AcceptedCommandList (index=181) */ \ |
| 0x00000000 /* NavigateTarget */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=183)*/ \ |
| 0x00000001 /* NavigateTargetResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Media Input (server) */\ |
| /* AcceptedCommandList (index=185) */ \ |
| 0x00000000 /* SelectInput */, \ |
| 0x00000001 /* ShowInputStatus */, \ |
| 0x00000002 /* HideInputStatus */, \ |
| 0x00000003 /* RenameInput */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Low Power (server) */\ |
| /* AcceptedCommandList (index=190) */ \ |
| 0x00000000 /* Sleep */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Keypad Input (server) */\ |
| /* AcceptedCommandList (index=192) */ \ |
| 0x00000000 /* SendKey */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=194)*/ \ |
| 0x00000001 /* SendKeyResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 1, Cluster: Unit Testing (server) */\ |
| /* AcceptedCommandList (index=196) */ \ |
| 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=215)*/ \ |
| 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=225) */ \ |
| 0x00000000 /* AddGroup */, \ |
| 0x00000001 /* ViewGroup */, \ |
| 0x00000002 /* GetGroupMembership */, \ |
| 0x00000003 /* RemoveGroup */, \ |
| 0x00000004 /* RemoveAllGroups */, \ |
| 0x00000005 /* AddGroupIfIdentifying */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=232)*/ \ |
| 0x00000000 /* AddGroupResponse */, \ |
| 0x00000001 /* ViewGroupResponse */, \ |
| 0x00000002 /* GetGroupMembershipResponse */, \ |
| 0x00000003 /* RemoveGroupResponse */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 2, Cluster: On/Off (server) */\ |
| /* AcceptedCommandList (index=237) */ \ |
| 0x00000000 /* Off */, \ |
| 0x00000001 /* On */, \ |
| 0x00000002 /* Toggle */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* Endpoint: 65534, Cluster: Network Commissioning (server) */\ |
| /* AcceptedCommandList (index=241) */ \ |
| 0x00000000 /* ScanNetworks */, \ |
| 0x00000002 /* AddOrUpdateWiFiNetwork */, \ |
| 0x00000003 /* AddOrUpdateThreadNetwork */, \ |
| 0x00000004 /* RemoveNetwork */, \ |
| 0x00000006 /* ConnectNetwork */, \ |
| 0x00000008 /* ReorderNetwork */, \ |
| chip::kInvalidCommandId /* end of list */, \ |
| /* GeneratedCommandList (index=248)*/ \ |
| 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 = 4, \ |
| .clusterSize = 9, \ |
| .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 = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Groups (server) */ \ |
| .clusterId = 0x00000004, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(4), \ |
| .attributeCount = 3, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayGroupsServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 3 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 10 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
| .clusterId = 0x0000001D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(7), \ |
| .attributeCount = 6, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Binding (server) */ \ |
| .clusterId = 0x0000001E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(13), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Access Control (server) */ \ |
| .clusterId = 0x0000001F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(16), \ |
| .attributeCount = 7, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Basic Information (server) */ \ |
| .clusterId = 0x00000028, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(23), \ |
| .attributeCount = 22, \ |
| .clusterSize = 41, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: OTA Software Update Provider (client) */ \ |
| .clusterId = 0x00000029, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(45), \ |
| .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(45), \ |
| .attributeCount = 6, \ |
| .clusterSize = 9, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 15 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Localization Configuration (server) */ \ |
| .clusterId = 0x0000002B, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(51), \ |
| .attributeCount = 4, \ |
| .clusterSize = 42, \ |
| .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(55), \ |
| .attributeCount = 5, \ |
| .clusterSize = 8, \ |
| .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(60), \ |
| .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(63), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Power Source (server) */ \ |
| .clusterId = 0x0000002F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(66), \ |
| .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(74), \ |
| .attributeCount = 7, \ |
| .clusterSize = 14, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 17 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 21 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
| .clusterId = 0x00000031, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(81), \ |
| .attributeCount = 10, \ |
| .clusterSize = 48, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 25 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 32 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Diagnostic Logs (server) */ \ |
| .clusterId = 0x00000032, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(91), \ |
| .attributeCount = 2, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 36 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 38 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| .clusterId = 0x00000033, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(93), \ |
| .attributeCount = 11, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 40 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| .clusterId = 0x00000034, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(104), \ |
| .attributeCount = 6, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 42 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| .clusterId = 0x00000035, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(110), \ |
| .attributeCount = 65, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 44 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| .clusterId = 0x00000036, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(175), \ |
| .attributeCount = 15, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 46 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
| .clusterId = 0x00000037, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(190), \ |
| .attributeCount = 11, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 48 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Administrator Commissioning (server) */ \ |
| .clusterId = 0x0000003C, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(201), \ |
| .attributeCount = 5, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 50 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
| .clusterId = 0x0000003E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(206), \ |
| .attributeCount = 8, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 54 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 63 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Group Key Management (server) */ \ |
| .clusterId = 0x0000003F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(214), \ |
| .attributeCount = 6, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 68 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 73 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Fixed Label (server) */ \ |
| .clusterId = 0x00000040, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(220), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: User Label (server) */ \ |
| .clusterId = 0x00000041, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(223), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Relative Humidity Measurement (server) */ \ |
| .clusterId = 0x00000405, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(226), \ |
| .attributeCount = 5, \ |
| .clusterSize = 12, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 0, Cluster: Fault Injection (server) */ \ |
| .clusterId = 0xFFF1FC06, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(231), \ |
| .attributeCount = 2, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 76 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Identify (server) */ \ |
| .clusterId = 0x00000003, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(233), \ |
| .attributeCount = 4, \ |
| .clusterSize = 9, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayIdentifyServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 79 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Groups (server) */ \ |
| .clusterId = 0x00000004, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(237), \ |
| .attributeCount = 3, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayGroupsServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 82 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 89 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Scenes (server) */ \ |
| .clusterId = 0x00000005, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(240), \ |
| .attributeCount = 7, \ |
| .clusterSize = 12, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayScenesServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 94 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 102 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| .clusterId = 0x00000006, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(247), \ |
| .attributeCount = 7, \ |
| .clusterSize = 13, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOnOffServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 109 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: On/off Switch Configuration (server) */ \ |
| .clusterId = 0x00000007, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(254), \ |
| .attributeCount = 4, \ |
| .clusterSize = 8, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| .clusterId = 0x00000008, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(258), \ |
| .attributeCount = 16, \ |
| .clusterSize = 27, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayLevelControlServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 116 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Binary Input (Basic) (server) */ \ |
| .clusterId = 0x0000000F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(274), \ |
| .attributeCount = 5, \ |
| .clusterSize = 9, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| .clusterId = 0x0000001D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(279), \ |
| .attributeCount = 6, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Binding (server) */ \ |
| .clusterId = 0x0000001E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(285), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Actions (server) */ \ |
| .clusterId = 0x00000025, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(288), \ |
| .attributeCount = 5, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Power Source (server) */ \ |
| .clusterId = 0x0000002F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(293), \ |
| .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(301), \ |
| .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(306), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: User Label (server) */ \ |
| .clusterId = 0x00000041, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(309), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Boolean State (server) */ \ |
| .clusterId = 0x00000045, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(312), \ |
| .attributeCount = 3, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Mode Select (server) */ \ |
| .clusterId = 0x00000050, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(315), \ |
| .attributeCount = 9, \ |
| .clusterSize = 45, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayModeSelectServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 125 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Door Lock (server) */ \ |
| .clusterId = 0x00000101, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(324), \ |
| .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( 127 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 142 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Window Covering (server) */ \ |
| .clusterId = 0x00000102, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(357), \ |
| .attributeCount = 24, \ |
| .clusterSize = 43, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayWindowCoveringServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 148 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Barrier Control (server) */ \ |
| .clusterId = 0x00000103, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(381), \ |
| .attributeCount = 6, \ |
| .clusterSize = 11, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 156 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Pump Configuration and Control (server) */ \ |
| .clusterId = 0x00000200, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(387), \ |
| .attributeCount = 25, \ |
| .clusterSize = 52, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(ATTRIBUTE_CHANGED_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayPumpConfigurationAndControlServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Thermostat (server) */ \ |
| .clusterId = 0x00000201, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(412), \ |
| .attributeCount = 16, \ |
| .clusterSize = 31, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION) | ZAP_CLUSTER_MASK(PRE_ATTRIBUTE_CHANGED_FUNCTION), \ |
| .functions = chipFuncArrayThermostatServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 159 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Fan Control (server) */ \ |
| .clusterId = 0x00000202, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(428), \ |
| .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(441), \ |
| .attributeCount = 5, \ |
| .clusterSize = 9, \ |
| .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(446), \ |
| .attributeCount = 54, \ |
| .clusterSize = 345, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayColorControlServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 161 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Illuminance Measurement (server) */ \ |
| .clusterId = 0x00000400, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(500), \ |
| .attributeCount = 7, \ |
| .clusterSize = 15, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Temperature Measurement (server) */ \ |
| .clusterId = 0x00000402, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(507), \ |
| .attributeCount = 6, \ |
| .clusterSize = 14, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Pressure Measurement (server) */ \ |
| .clusterId = 0x00000403, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(513), \ |
| .attributeCount = 5, \ |
| .clusterSize = 12, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Flow Measurement (server) */ \ |
| .clusterId = 0x00000404, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(518), \ |
| .attributeCount = 6, \ |
| .clusterSize = 14, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Relative Humidity Measurement (server) */ \ |
| .clusterId = 0x00000405, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(524), \ |
| .attributeCount = 6, \ |
| .clusterSize = 14, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Occupancy Sensing (server) */ \ |
| .clusterId = 0x00000406, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(530), \ |
| .attributeCount = 5, \ |
| .clusterSize = 9, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOccupancySensingServer, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Wake on LAN (server) */ \ |
| .clusterId = 0x00000503, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(535), \ |
| .attributeCount = 3, \ |
| .clusterSize = 39, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Channel (server) */ \ |
| .clusterId = 0x00000504, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(538), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Target Navigator (server) */ \ |
| .clusterId = 0x00000505, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(541), \ |
| .attributeCount = 4, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 181 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 183 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Media Playback (server) */ \ |
| .clusterId = 0x00000506, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(545), \ |
| .attributeCount = 8, \ |
| .clusterSize = 43, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Media Input (server) */ \ |
| .clusterId = 0x00000507, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(553), \ |
| .attributeCount = 4, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 185 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Low Power (server) */ \ |
| .clusterId = 0x00000508, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(557), \ |
| .attributeCount = 2, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 190 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Keypad Input (server) */ \ |
| .clusterId = 0x00000509, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(559), \ |
| .attributeCount = 2, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 192 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 194 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Content Launcher (server) */ \ |
| .clusterId = 0x0000050A, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(561), \ |
| .attributeCount = 4, \ |
| .clusterSize = 10, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Audio Output (server) */ \ |
| .clusterId = 0x0000050B, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(565), \ |
| .attributeCount = 4, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Application Launcher (server) */ \ |
| .clusterId = 0x0000050C, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(569), \ |
| .attributeCount = 3, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Application Basic (server) */ \ |
| .clusterId = 0x0000050D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(572), \ |
| .attributeCount = 9, \ |
| .clusterSize = 110, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Account Login (server) */ \ |
| .clusterId = 0x0000050E, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(581), \ |
| .attributeCount = 2, \ |
| .clusterSize = 6, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Electrical Measurement (server) */ \ |
| .clusterId = 0x00000B04, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(583), \ |
| .attributeCount = 13, \ |
| .clusterSize = 32, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 1, Cluster: Unit Testing (server) */ \ |
| .clusterId = 0xFFF1FC05, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(596), \ |
| .attributeCount = 83, \ |
| .clusterSize = 2289, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 196 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 215 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Groups (server) */ \ |
| .clusterId = 0x00000004, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(679), \ |
| .attributeCount = 3, \ |
| .clusterSize = 7, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayGroupsServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 225 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 232 ) ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: On/Off (server) */ \ |
| .clusterId = 0x00000006, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(682), \ |
| .attributeCount = 7, \ |
| .clusterSize = 13, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| .functions = chipFuncArrayOnOffServer, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 237 ) ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Descriptor (server) */ \ |
| .clusterId = 0x0000001D, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(689), \ |
| .attributeCount = 6, \ |
| .clusterSize = 4, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = nullptr ,\ |
| .generatedCommandList = nullptr ,\ |
| },\ |
| { \ |
| /* Endpoint: 2, Cluster: Power Source (server) */ \ |
| .clusterId = 0x0000002F, \ |
| .attributes = ZAP_ATTRIBUTE_INDEX(695), \ |
| .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(703), \ |
| .attributeCount = 5, \ |
| .clusterSize = 9, \ |
| .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(708), \ |
| .attributeCount = 10, \ |
| .clusterSize = 0, \ |
| .mask = ZAP_CLUSTER_MASK(SERVER), \ |
| .functions = NULL, \ |
| .acceptedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 241 ) ,\ |
| .generatedCommandList = ZAP_GENERATED_COMMANDS_INDEX( 248 ) ,\ |
| },\ |
| } |
| |
| // 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), 28, 361 }, { ZAP_CLUSTER_INDEX(28), 44, 3459 }, { ZAP_CLUSTER_INDEX(72), 5, 105 }, \ |
| { 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 (3925) |
| |
| // 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 \ |
| } |