| /* |
| * |
| * Copyright (c) 2021 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 |
| |
| // 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: Basic (server), big-endian */ \ |
| \ |
| /* 0 - VendorName, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 33 - ProductName, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 66 - UserLabel, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 99 - Location, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 102 - HardwareVersionString, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 167 - SoftwareVersion, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 171 - SoftwareVersionString, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server), big-endian */ \ |
| \ |
| /* 236 - Breadcrumb, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 244 - BasicCommissioningInfoList, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server), big-endian */ \ |
| \ |
| /* 498 - UpTime, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 506 - TotalOperationalHours, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server), big-endian */ \ |
| \ |
| /* 510 - CurrentHeapFree, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 518 - CurrentHeapUsed, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 526 - CurrentHeapHighWatermark, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server), big-endian */ \ |
| \ |
| /* 534 - NetworkName, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 551 - ExtendedPanId, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 559 - MeshLocalPrefix, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 577 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 585 - NeighborTableList, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 839 - RouteTableList, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1093 - PartitionId, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1097 - TxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1101 - TxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1105 - TxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1109 - TxAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1113 - TxAckedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1117 - TxNoAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1121 - TxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1125 - TxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1129 - TxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1133 - TxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1137 - TxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1141 - TxRetryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1145 - TxDirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1149 - TxIndirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1153 - TxErrCcaCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1157 - TxErrAbortCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1161 - TxErrBusyChannelCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1165 - RxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1169 - RxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1173 - RxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1177 - RxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1181 - RxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1185 - RxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1189 - RxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1193 - RxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1197 - RxAddressFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1201 - RxDestAddrFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1205 - RxDuplicatedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1209 - RxErrNoFrameCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1213 - RxErrUnknownNeighborCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1217 - RxErrInvalidSrcAddrCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1221 - RxErrSecCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1225 - RxErrFcsCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1229 - RxErrOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1233 - ActiveTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1241 - PendingTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1249 - delay, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1253 - SecurityPolicy, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1259 - ChannelMask, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1264 - OperationalDatasetComponents, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1278 - ActiveNetworkFaultsList, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server), big-endian */ \ |
| \ |
| /* 1282 - bssid, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1289 - BeaconLostCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1293 - BeaconRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1297 - PacketMulticastRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1301 - PacketMulticastTxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1305 - PacketUnicastRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1309 - PacketUnicastTxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1313 - CurrentMaxRate, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1321 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server), big-endian */ \ |
| \ |
| /* 1329 - PacketRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1337 - PacketTxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1345 - TxErrCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1353 - CollisionCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1361 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1369 - TimeSinceReset, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server), big-endian */ \ |
| \ |
| /* 1377 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Fixed Label (server), big-endian */ \ |
| \ |
| /* 1381 - label list, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| } |
| |
| #else // !BIGENDIAN_CPU |
| #define GENERATED_DEFAULTS \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Basic (server), little-endian */ \ |
| \ |
| /* 0 - VendorName, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 33 - ProductName, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 66 - UserLabel, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 99 - Location, */ \ |
| 0x00, 0x00, 0x00, \ |
| \ |
| /* 102 - HardwareVersionString, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 167 - SoftwareVersion, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 171 - SoftwareVersionString, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server), little-endian */ \ |
| \ |
| /* 236 - Breadcrumb, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 244 - BasicCommissioningInfoList, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server), little-endian */ \ |
| \ |
| /* 498 - UpTime, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 506 - TotalOperationalHours, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server), little-endian */ \ |
| \ |
| /* 510 - CurrentHeapFree, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 518 - CurrentHeapUsed, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 526 - CurrentHeapHighWatermark, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server), little-endian */ \ |
| \ |
| /* 534 - NetworkName, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 551 - ExtendedPanId, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 559 - MeshLocalPrefix, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 577 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 585 - NeighborTableList, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 839 - RouteTableList, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1093 - PartitionId, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1097 - TxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1101 - TxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1105 - TxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1109 - TxAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1113 - TxAckedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1117 - TxNoAckRequestedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1121 - TxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1125 - TxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1129 - TxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1133 - TxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1137 - TxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1141 - TxRetryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1145 - TxDirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1149 - TxIndirectMaxRetryExpiryCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1153 - TxErrCcaCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1157 - TxErrAbortCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1161 - TxErrBusyChannelCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1165 - RxTotalCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1169 - RxUnicastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1173 - RxBroadcastCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1177 - RxDataCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1181 - RxDataPollCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1185 - RxBeaconCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1189 - RxBeaconRequestCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1193 - RxOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1197 - RxAddressFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1201 - RxDestAddrFilteredCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1205 - RxDuplicatedCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1209 - RxErrNoFrameCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1213 - RxErrUnknownNeighborCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1217 - RxErrInvalidSrcAddrCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1221 - RxErrSecCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1225 - RxErrFcsCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1229 - RxErrOtherCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1233 - ActiveTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1241 - PendingTimestamp, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1249 - delay, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1253 - SecurityPolicy, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1259 - ChannelMask, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1264 - OperationalDatasetComponents, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1278 - ActiveNetworkFaultsList, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server), little-endian */ \ |
| \ |
| /* 1282 - bssid, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1289 - BeaconLostCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1293 - BeaconRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1297 - PacketMulticastRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1301 - PacketMulticastTxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1305 - PacketUnicastRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1309 - PacketUnicastTxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1313 - CurrentMaxRate, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1321 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server), little-endian */ \ |
| \ |
| /* 1329 - PacketRxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1337 - PacketTxCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1345 - TxErrCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1353 - CollisionCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1361 - OverrunCount, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* 1369 - TimeSinceReset, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server), little-endian */ \ |
| \ |
| /* 1377 - FeatureMap, */ \ |
| 0x00, 0x00, 0x00, 0x00, \ |
| \ |
| /* Endpoint: 1, Cluster: Fixed Label (server), little-endian */ \ |
| \ |
| /* 1381 - label list, */ \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| } |
| |
| #endif // BIGENDIAN_CPU |
| |
| #define GENERATED_DEFAULTS_COUNT (79) |
| |
| #define ZAP_TYPE(type) ZCL_##type##_ATTRIBUTE_TYPE |
| #define ZAP_LONG_DEFAULTS_INDEX(index) \ |
| { \ |
| (uint8_t *) (&generatedDefaults[index]) \ |
| } |
| #define ZAP_MIN_MAX_DEFAULTS_INDEX(index) \ |
| { \ |
| (uint8_t *) (&minMaxDefault[index]) \ |
| } |
| #define ZAP_EMPTY_DEFAULT() \ |
| { \ |
| (uint16_t) 0 \ |
| } |
| #define ZAP_SIMPLE_DEFAULT(x) \ |
| { \ |
| (uint16_t) x \ |
| } |
| |
| // This is an array of EmberAfAttributeMinMaxValue structures. |
| #define GENERATED_MIN_MAX_DEFAULT_COUNT 0 |
| #define GENERATED_MIN_MAX_DEFAULTS \ |
| { \ |
| } |
| |
| #define ZAP_ATTRIBUTE_MASK(mask) ATTRIBUTE_MASK_##mask |
| // This is an array of EmberAfAttributeMetadata structures. |
| #define GENERATED_ATTRIBUTE_COUNT 155 |
| #define GENERATED_ATTRIBUTES \ |
| { \ |
| \ |
| /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
| { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| { 0x0002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| { 0x0003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Basic (server) */ \ |
| { 0x0000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* InteractionModelVersion */ \ |
| { 0x0001, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(0) }, /* VendorName */ \ |
| { 0x0002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* VendorID */ \ |
| { 0x0003, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(33) }, /* ProductName */ \ |
| { 0x0004, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* ProductID */ \ |
| { 0x0005, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(66) }, /* UserLabel */ \ |
| { 0x0006, ZAP_TYPE(CHAR_STRING), 3, ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_LONG_DEFAULTS_INDEX(99) }, /* Location */ \ |
| { 0x0007, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(0x00) }, /* HardwareVersion */ \ |
| { 0x0008, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_LONG_DEFAULTS_INDEX(102) }, /* HardwareVersionString */ \ |
| { 0x0009, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(167) }, /* SoftwareVersion */ \ |
| { 0x000A, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), \ |
| ZAP_LONG_DEFAULTS_INDEX(171) }, /* SoftwareVersionString */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
| { 0x0000, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(236) }, /* Breadcrumb */ \ |
| { 0x0001, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(244) }, /* BasicCommissioningInfoList */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* NetworkInterfaces */ \ |
| { 0x0001, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* RebootCount */ \ |
| { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(498) }, /* UpTime */ \ |
| { 0x0003, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(506) }, /* TotalOperationalHours */ \ |
| { 0x0004, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BootReasons */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| { 0x0001, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(510) }, /* CurrentHeapFree */ \ |
| { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(518) }, /* CurrentHeapUsed */ \ |
| { 0x0003, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(526) }, /* CurrentHeapHighWatermark */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* channel */ \ |
| { 0x0001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* RoutingRole */ \ |
| { 0x0002, ZAP_TYPE(OCTET_STRING), 17, 0, ZAP_LONG_DEFAULTS_INDEX(534) }, /* NetworkName */ \ |
| { 0x0003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* PanId */ \ |
| { 0x0004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(551) }, /* ExtendedPanId */ \ |
| { 0x0005, ZAP_TYPE(OCTET_STRING), 18, 0, ZAP_LONG_DEFAULTS_INDEX(559) }, /* MeshLocalPrefix */ \ |
| { 0x0006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(577) }, /* OverrunCount */ \ |
| { 0x0007, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(585) }, /* NeighborTableList */ \ |
| { 0x0008, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(839) }, /* RouteTableList */ \ |
| { 0x0009, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1093) }, /* PartitionId */ \ |
| { 0x000A, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* weighting */ \ |
| { 0x000B, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* DataVersion */ \ |
| { 0x000C, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* StableDataVersion */ \ |
| { 0x000D, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* LeaderRouterId */ \ |
| { 0x000E, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* DetachedRoleCount */ \ |
| { 0x000F, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ChildRoleCount */ \ |
| { 0x0010, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* RouterRoleCount */ \ |
| { 0x0011, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* LeaderRoleCount */ \ |
| { 0x0012, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* AttachAttemptCount */ \ |
| { 0x0013, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* PartitionIdChangeCount */ \ |
| { 0x0014, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* BetterPartitionAttachAttemptCount */ \ |
| { 0x0015, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ParentChangeCount */ \ |
| { 0x0016, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1097) }, /* TxTotalCount */ \ |
| { 0x0017, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1101) }, /* TxUnicastCount */ \ |
| { 0x0018, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1105) }, /* TxBroadcastCount */ \ |
| { 0x0019, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1109) }, /* TxAckRequestedCount */ \ |
| { 0x001A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1113) }, /* TxAckedCount */ \ |
| { 0x001B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1117) }, /* TxNoAckRequestedCount */ \ |
| { 0x001C, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1121) }, /* TxDataCount */ \ |
| { 0x001D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1125) }, /* TxDataPollCount */ \ |
| { 0x001E, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1129) }, /* TxBeaconCount */ \ |
| { 0x001F, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1133) }, /* TxBeaconRequestCount */ \ |
| { 0x0020, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1137) }, /* TxOtherCount */ \ |
| { 0x0021, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1141) }, /* TxRetryCount */ \ |
| { 0x0022, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1145) }, /* TxDirectMaxRetryExpiryCount */ \ |
| { 0x0023, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1149) }, /* TxIndirectMaxRetryExpiryCount */ \ |
| { 0x0024, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1153) }, /* TxErrCcaCount */ \ |
| { 0x0025, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1157) }, /* TxErrAbortCount */ \ |
| { 0x0026, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1161) }, /* TxErrBusyChannelCount */ \ |
| { 0x0027, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1165) }, /* RxTotalCount */ \ |
| { 0x0028, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1169) }, /* RxUnicastCount */ \ |
| { 0x0029, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1173) }, /* RxBroadcastCount */ \ |
| { 0x002A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1177) }, /* RxDataCount */ \ |
| { 0x002B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1181) }, /* RxDataPollCount */ \ |
| { 0x002C, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1185) }, /* RxBeaconCount */ \ |
| { 0x002D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1189) }, /* RxBeaconRequestCount */ \ |
| { 0x002E, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1193) }, /* RxOtherCount */ \ |
| { 0x002F, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1197) }, /* RxAddressFilteredCount */ \ |
| { 0x0030, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1201) }, /* RxDestAddrFilteredCount */ \ |
| { 0x0031, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1205) }, /* RxDuplicatedCount */ \ |
| { 0x0032, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1209) }, /* RxErrNoFrameCount */ \ |
| { 0x0033, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1213) }, /* RxErrUnknownNeighborCount */ \ |
| { 0x0034, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1217) }, /* RxErrInvalidSrcAddrCount */ \ |
| { 0x0035, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1221) }, /* RxErrSecCount */ \ |
| { 0x0036, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1225) }, /* RxErrFcsCount */ \ |
| { 0x0037, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1229) }, /* RxErrOtherCount */ \ |
| { 0x0038, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1233) }, /* ActiveTimestamp */ \ |
| { 0x0039, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1241) }, /* PendingTimestamp */ \ |
| { 0x003A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1249) }, /* delay */ \ |
| { 0x003B, ZAP_TYPE(ARRAY), 6, 0, ZAP_LONG_DEFAULTS_INDEX(1253) }, /* SecurityPolicy */ \ |
| { 0x003C, ZAP_TYPE(OCTET_STRING), 5, 0, ZAP_LONG_DEFAULTS_INDEX(1259) }, /* ChannelMask */ \ |
| { 0x003D, ZAP_TYPE(ARRAY), 14, 0, ZAP_LONG_DEFAULTS_INDEX(1264) }, /* OperationalDatasetComponents */ \ |
| { 0x003E, ZAP_TYPE(ARRAY), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1278) }, /* ActiveNetworkFaultsList */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| { 0x0000, ZAP_TYPE(OCTET_STRING), 7, 0, ZAP_LONG_DEFAULTS_INDEX(1282) }, /* bssid */ \ |
| { 0x0001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* SecurityType */ \ |
| { 0x0002, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* WiFiVersion */ \ |
| { 0x0003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ChannelNumber */ \ |
| { 0x0004, ZAP_TYPE(INT8S), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* Rssi */ \ |
| { 0x0005, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1289) }, /* BeaconLostCount */ \ |
| { 0x0006, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1293) }, /* BeaconRxCount */ \ |
| { 0x0007, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1297) }, /* PacketMulticastRxCount */ \ |
| { 0x0008, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1301) }, /* PacketMulticastTxCount */ \ |
| { 0x0009, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1305) }, /* PacketUnicastRxCount */ \ |
| { 0x000A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1309) }, /* PacketUnicastTxCount */ \ |
| { 0x000B, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1313) }, /* CurrentMaxRate */ \ |
| { 0x000C, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1321) }, /* OverrunCount */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
| { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* PHYRate */ \ |
| { 0x0001, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* FullDuplex */ \ |
| { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1329) }, /* PacketRxCount */ \ |
| { 0x0003, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1337) }, /* PacketTxCount */ \ |
| { 0x0004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1345) }, /* TxErrCount */ \ |
| { 0x0005, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1353) }, /* CollisionCount */ \ |
| { 0x0006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1361) }, /* OverrunCount */ \ |
| { 0x0007, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* CarrierDetect */ \ |
| { 0x0008, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(1369) }, /* TimeSinceReset */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
| { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* fabrics list */ \ |
| { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* SupportedFabrics */ \ |
| { 0x0003, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \ |
| { 0x0004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \ |
| { 0x0005, ZAP_TYPE(FABRIC_IDX), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| { 0x0000, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* OnOff */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current level */ \ |
| { 0x0001, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* remaining time */ \ |
| { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* min level */ \ |
| { 0x0003, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xFF) }, /* max level */ \ |
| { 0x0004, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* current frequency */ \ |
| { 0x0005, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* min frequency */ \ |
| { 0x0006, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* max frequency */ \ |
| { 0x000F, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* options */ \ |
| { 0x0010, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| ZAP_SIMPLE_DEFAULT(0x0000) }, /* on off transition time */ \ |
| { 0x0011, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0xFE) }, /* on level */ \ |
| { 0x0012, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* on transition time */ \ |
| { 0x0013, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* off transition time */ \ |
| { 0x0014, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* default move rate */ \ |
| { 0x4000, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* start up current level */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| { 0x0002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| { 0x0003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Switch (server) */ \ |
| { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* number of positions */ \ |
| { 0x0001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(1) }, /* current position */ \ |
| { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* multi press max */ \ |
| { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(1377) }, /* FeatureMap */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| \ |
| /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
| { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(1381) }, /* label list */ \ |
| { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| } |
| |
| // This is an array of EmberAfCluster structures. |
| #define ZAP_ATTRIBUTE_INDEX(index) ((EmberAfAttributeMetadata *) (&generatedAttributes[index])) |
| |
| // Cluster function static arrays |
| #define GENERATED_FUNCTION_ARRAYS \ |
| const EmberAfGenericClusterFunction chipFuncArrayBasicServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfBasicClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayOnOffServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfOnOffClusterServerInitCallback, \ |
| }; \ |
| const EmberAfGenericClusterFunction chipFuncArrayLevelControlServer[] = { \ |
| (EmberAfGenericClusterFunction) emberAfLevelControlClusterServerInitCallback, \ |
| }; |
| |
| #define ZAP_CLUSTER_MASK(mask) CLUSTER_MASK_##mask |
| #define GENERATED_CLUSTER_COUNT 17 |
| #define GENERATED_CLUSTERS \ |
| { \ |
| { 0x001D, ZAP_ATTRIBUTE_INDEX(0), 5, 0, ZAP_CLUSTER_MASK(SERVER), NULL }, /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
| { 0x0028, \ |
| ZAP_ATTRIBUTE_INDEX(5), \ |
| 12, \ |
| 246, \ |
| ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| chipFuncArrayBasicServer }, /* Endpoint: 0, Cluster: Basic (server) */ \ |
| { \ |
| 0x0030, ZAP_ATTRIBUTE_INDEX(17), 3, 264, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
| { \ |
| 0x0031, ZAP_ATTRIBUTE_INDEX(20), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
| { \ |
| 0x0032, ZAP_ATTRIBUTE_INDEX(21), 0, 0, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: Diagnostic Logs (server) */ \ |
| { \ |
| 0x0033, ZAP_ATTRIBUTE_INDEX(21), 6, 17, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| { \ |
| 0x0034, ZAP_ATTRIBUTE_INDEX(27), 4, 26, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| { \ |
| 0x0035, ZAP_ATTRIBUTE_INDEX(31), 64, 774, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| { \ |
| 0x0036, ZAP_ATTRIBUTE_INDEX(95), 14, 54, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| { \ |
| 0x0037, ZAP_ATTRIBUTE_INDEX(109), 10, 53, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
| { \ |
| 0x003C, ZAP_ATTRIBUTE_INDEX(119), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */ \ |
| { \ |
| 0x003E, ZAP_ATTRIBUTE_INDEX(120), 6, 4, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
| { 0x0006, \ |
| ZAP_ATTRIBUTE_INDEX(126), \ |
| 2, \ |
| 3, \ |
| ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| chipFuncArrayOnOffServer }, /* Endpoint: 1, Cluster: On/Off (server) */ \ |
| { 0x0008, \ |
| ZAP_ATTRIBUTE_INDEX(128), \ |
| 15, \ |
| 23, \ |
| ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| chipFuncArrayLevelControlServer }, /* Endpoint: 1, Cluster: Level Control (server) */ \ |
| { \ |
| 0x001D, ZAP_ATTRIBUTE_INDEX(143), 5, 0, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| { \ |
| 0x003B, ZAP_ATTRIBUTE_INDEX(148), 5, 9, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 1, Cluster: Switch (server) */ \ |
| { \ |
| 0x0040, ZAP_ATTRIBUTE_INDEX(153), 2, 256, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| }, /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
| } |
| |
| #define ZAP_CLUSTER_INDEX(index) ((EmberAfCluster *) (&generatedClusters[index])) |
| |
| // This is an array of EmberAfEndpointType structures. |
| #define GENERATED_ENDPOINT_TYPES \ |
| { \ |
| { ZAP_CLUSTER_INDEX(0), 12, 1442 }, { ZAP_CLUSTER_INDEX(12), 5, 291 }, \ |
| } |
| |
| // Largest attribute size is needed for various buffers |
| #define ATTRIBUTE_LARGEST (401) |
| |
| // Total size of singleton attributes |
| #define ATTRIBUTE_SINGLETONS_SIZE (246) |
| |
| // Total size of attribute storage |
| #define ATTRIBUTE_MAX_SIZE (1733) |
| |
| // Number of fixed endpoints |
| #define FIXED_ENDPOINT_COUNT (2) |
| |
| // Array of endpoints that are supported, the data inside |
| // the array is the endpoint number. |
| #define FIXED_ENDPOINT_ARRAY \ |
| { \ |
| 0x0000, 0x0001 \ |
| } |
| |
| // Array of profile ids |
| #define FIXED_PROFILE_IDS \ |
| { \ |
| 0xABCD, 0x0104 \ |
| } |
| |
| // Array of device ids |
| #define FIXED_DEVICE_IDS \ |
| { \ |
| 0, 0 \ |
| } |
| |
| // Array of device versions |
| #define FIXED_DEVICE_VERSIONS \ |
| { \ |
| 1, 1 \ |
| } |
| |
| // Array of endpoint types supported on each endpoint |
| #define FIXED_ENDPOINT_TYPES \ |
| { \ |
| 0, 1 \ |
| } |
| |
| // Array of networks supported on each endpoint |
| #define FIXED_NETWORKS \ |
| { \ |
| 0, 0 \ |
| } |
| |
| // This is an array of EmberAfManufacturerCodeEntry structures for clusters. |
| #define GENERATED_CLUSTER_MANUFACTURER_CODE_COUNT (0) |
| #define GENERATED_CLUSTER_MANUFACTURER_CODES \ |
| { \ |
| { \ |
| 0x00, 0x00 \ |
| } \ |
| } |
| |
| // This is an array of EmberAfManufacturerCodeEntry structures for attributes. |
| #define GENERATED_ATTRIBUTE_MANUFACTURER_CODE_COUNT (0) |
| #define GENERATED_ATTRIBUTE_MANUFACTURER_CODES \ |
| { \ |
| { \ |
| 0x00, 0x00 \ |
| } \ |
| } |