Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 1 | /* |
| 2 | * |
Vivien Nicolas | ec761ed | 2021-02-03 02:56:02 +0100 | [diff] [blame] | 3 | * Copyright (c) 2021 Project CHIP Authors |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 4 | * |
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | * you may not use this file except in compliance with the License. |
| 7 | * You may obtain a copy of the License at |
| 8 | * |
| 9 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | * |
| 11 | * Unless required by applicable law or agreed to in writing, software |
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | * See the License for the specific language governing permissions and |
| 15 | * limitations under the License. |
| 16 | */ |
| 17 | |
Vivien Nicolas | ec761ed | 2021-02-03 02:56:02 +0100 | [diff] [blame] | 18 | // THIS FILE IS GENERATED BY ZAP |
| 19 | |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 20 | // Prevent multiple inclusion |
| 21 | #pragma once |
| 22 | |
| 23 | // Default values for the attributes longer than a pointer, |
| 24 | // in a form of a binary blob |
| 25 | // Separate block is generated for big-endian and little-endian cases. |
| 26 | #if BIGENDIAN_CPU |
| 27 | #define GENERATED_DEFAULTS \ |
| 28 | { \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 29 | \ |
Boris Zbarsky | d88736a | 2021-10-22 17:55:13 -0400 | [diff] [blame] | 30 | /* Endpoint: 0, Cluster: Basic (server), big-endian */ \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 31 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 32 | /* 0 - SoftwareVersion, */ \ |
| 33 | 0x00, 0x00, 0x00, 0x00, \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 34 | \ |
Yufeng Wang | a18ea0b | 2021-05-24 21:46:22 -0700 | [diff] [blame] | 35 | /* Endpoint: 0, Cluster: General Commissioning (server), big-endian */ \ |
| 36 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 37 | /* 4 - Breadcrumb, */ \ |
Yufeng Wang | 20ac5e1 | 2021-04-21 21:57:06 -0700 | [diff] [blame] | 38 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 39 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 40 | /* 12 - BasicCommissioningInfoList, */ \ |
Yufeng Wang | acb4ddf | 2021-08-18 09:53:41 -0700 | [diff] [blame] | 41 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 42 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 43 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 44 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 45 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 46 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 47 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 48 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 49 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 50 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 51 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 52 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 53 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 54 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 55 | \ |
Yufeng Wang | c7b49a9 | 2021-05-13 14:53:24 -0700 | [diff] [blame] | 56 | /* Endpoint: 0, Cluster: General Diagnostics (server), big-endian */ \ |
Yufeng Wang | 74f8da9 | 2021-05-10 08:18:08 -0700 | [diff] [blame] | 57 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 58 | /* 266 - UpTime, */ \ |
Yufeng Wang | 4bafdcf | 2021-09-26 09:02:56 -0700 | [diff] [blame] | 59 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 60 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 61 | /* 274 - TotalOperationalHours, */ \ |
Yufeng Wang | 4bafdcf | 2021-09-26 09:02:56 -0700 | [diff] [blame] | 62 | 0x00, 0x00, 0x00, 0x00, \ |
| 63 | \ |
Yufeng Wang | 1010f70 | 2021-05-20 14:49:42 -0700 | [diff] [blame] | 64 | /* Endpoint: 0, Cluster: Software Diagnostics (server), big-endian */ \ |
| 65 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 66 | /* 278 - CurrentHeapFree, */ \ |
Yufeng Wang | fb53b77 | 2021-09-20 09:47:47 -0700 | [diff] [blame] | 67 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 68 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 69 | /* 286 - CurrentHeapUsed, */ \ |
Yufeng Wang | fb53b77 | 2021-09-20 09:47:47 -0700 | [diff] [blame] | 70 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 71 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 72 | /* 294 - CurrentHeapHighWatermark, */ \ |
Yufeng Wang | 1010f70 | 2021-05-20 14:49:42 -0700 | [diff] [blame] | 73 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 74 | \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 75 | /* Endpoint: 0, Cluster: Thread Network Diagnostics (server), big-endian */ \ |
Yufeng Wang | c7b49a9 | 2021-05-13 14:53:24 -0700 | [diff] [blame] | 76 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 77 | /* 302 - NetworkName, */ \ |
| 78 | 0x00, 0x00, \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 79 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 80 | /* 304 - ExtendedPanId, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 81 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 82 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 83 | /* 312 - OverrunCount, */ \ |
Vivien Nicolas | ffe450a | 2021-09-09 00:25:41 +0200 | [diff] [blame] | 84 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 85 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 86 | /* 320 - PartitionId, */ \ |
Song Guo | 8e51755 | 2021-03-19 12:10:00 +0800 | [diff] [blame] | 87 | 0x00, 0x00, 0x00, 0x00, \ |
| 88 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 89 | /* 324 - TxTotalCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 90 | 0x00, 0x00, 0x00, 0x00, \ |
| 91 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 92 | /* 328 - TxUnicastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 93 | 0x00, 0x00, 0x00, 0x00, \ |
| 94 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 95 | /* 332 - TxBroadcastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 96 | 0x00, 0x00, 0x00, 0x00, \ |
| 97 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 98 | /* 336 - TxAckRequestedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 99 | 0x00, 0x00, 0x00, 0x00, \ |
| 100 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 101 | /* 340 - TxAckedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 102 | 0x00, 0x00, 0x00, 0x00, \ |
| 103 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 104 | /* 344 - TxNoAckRequestedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 105 | 0x00, 0x00, 0x00, 0x00, \ |
| 106 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 107 | /* 348 - TxDataCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 108 | 0x00, 0x00, 0x00, 0x00, \ |
| 109 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 110 | /* 352 - TxDataPollCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 111 | 0x00, 0x00, 0x00, 0x00, \ |
| 112 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 113 | /* 356 - TxBeaconCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 114 | 0x00, 0x00, 0x00, 0x00, \ |
| 115 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 116 | /* 360 - TxBeaconRequestCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 117 | 0x00, 0x00, 0x00, 0x00, \ |
| 118 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 119 | /* 364 - TxOtherCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 120 | 0x00, 0x00, 0x00, 0x00, \ |
| 121 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 122 | /* 368 - TxRetryCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 123 | 0x00, 0x00, 0x00, 0x00, \ |
| 124 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 125 | /* 372 - TxDirectMaxRetryExpiryCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 126 | 0x00, 0x00, 0x00, 0x00, \ |
| 127 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 128 | /* 376 - TxIndirectMaxRetryExpiryCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 129 | 0x00, 0x00, 0x00, 0x00, \ |
| 130 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 131 | /* 380 - TxErrCcaCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 132 | 0x00, 0x00, 0x00, 0x00, \ |
| 133 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 134 | /* 384 - TxErrAbortCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 135 | 0x00, 0x00, 0x00, 0x00, \ |
| 136 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 137 | /* 388 - TxErrBusyChannelCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 138 | 0x00, 0x00, 0x00, 0x00, \ |
| 139 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 140 | /* 392 - RxTotalCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 141 | 0x00, 0x00, 0x00, 0x00, \ |
| 142 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 143 | /* 396 - RxUnicastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 144 | 0x00, 0x00, 0x00, 0x00, \ |
| 145 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 146 | /* 400 - RxBroadcastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 147 | 0x00, 0x00, 0x00, 0x00, \ |
| 148 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 149 | /* 404 - RxDataCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 150 | 0x00, 0x00, 0x00, 0x00, \ |
| 151 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 152 | /* 408 - RxDataPollCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 153 | 0x00, 0x00, 0x00, 0x00, \ |
| 154 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 155 | /* 412 - RxBeaconCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 156 | 0x00, 0x00, 0x00, 0x00, \ |
| 157 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 158 | /* 416 - RxBeaconRequestCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 159 | 0x00, 0x00, 0x00, 0x00, \ |
| 160 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 161 | /* 420 - RxOtherCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 162 | 0x00, 0x00, 0x00, 0x00, \ |
| 163 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 164 | /* 424 - RxAddressFilteredCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 165 | 0x00, 0x00, 0x00, 0x00, \ |
| 166 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 167 | /* 428 - RxDestAddrFilteredCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 168 | 0x00, 0x00, 0x00, 0x00, \ |
| 169 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 170 | /* 432 - RxDuplicatedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 171 | 0x00, 0x00, 0x00, 0x00, \ |
| 172 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 173 | /* 436 - RxErrNoFrameCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 174 | 0x00, 0x00, 0x00, 0x00, \ |
| 175 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 176 | /* 440 - RxErrUnknownNeighborCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 177 | 0x00, 0x00, 0x00, 0x00, \ |
| 178 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 179 | /* 444 - RxErrInvalidSrcAddrCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 180 | 0x00, 0x00, 0x00, 0x00, \ |
| 181 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 182 | /* 448 - RxErrSecCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 183 | 0x00, 0x00, 0x00, 0x00, \ |
| 184 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 185 | /* 452 - RxErrFcsCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 186 | 0x00, 0x00, 0x00, 0x00, \ |
| 187 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 188 | /* 456 - RxErrOtherCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 189 | 0x00, 0x00, 0x00, 0x00, \ |
| 190 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 191 | /* 460 - ActiveTimestamp, */ \ |
jmartinez-silabs | 45715cc | 2021-09-24 23:32:57 -0400 | [diff] [blame] | 192 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 193 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 194 | /* 468 - PendingTimestamp, */ \ |
jmartinez-silabs | 45715cc | 2021-09-24 23:32:57 -0400 | [diff] [blame] | 195 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 196 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 197 | /* 476 - delay, */ \ |
jmartinez-silabs | 45715cc | 2021-09-24 23:32:57 -0400 | [diff] [blame] | 198 | 0x00, 0x00, 0x00, 0x00, \ |
| 199 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 200 | /* 480 - ChannelMask, */ \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 201 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
jmartinez-silabs | 16f62ae | 2021-06-14 00:01:03 -0400 | [diff] [blame] | 202 | \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 203 | /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server), big-endian */ \ |
| 204 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 205 | /* 487 - BeaconLostCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 206 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 207 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 208 | /* 491 - BeaconRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 209 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 210 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 211 | /* 495 - PacketMulticastRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 212 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 213 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 214 | /* 499 - PacketMulticastTxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 215 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 216 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 217 | /* 503 - PacketUnicastRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 218 | 0x00, 0x00, 0x00, 0x00, \ |
| 219 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 220 | /* 507 - PacketUnicastTxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 221 | 0x00, 0x00, 0x00, 0x00, \ |
| 222 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 223 | /* 511 - CurrentMaxRate, */ \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 224 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 225 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 226 | /* 519 - OverrunCount, */ \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 227 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 228 | \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 229 | /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server), big-endian */ \ |
| 230 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 231 | /* 527 - PacketRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 232 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 233 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 234 | /* 535 - PacketTxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 235 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 236 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 237 | /* 543 - TxErrCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 238 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 239 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 240 | /* 551 - CollisionCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 241 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 242 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 243 | /* 559 - OverrunCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 244 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 245 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 246 | /* 567 - TimeSinceReset, */ \ |
Yufeng Wang | 6453262 | 2021-10-06 12:48:30 -0700 | [diff] [blame] | 247 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 248 | \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 249 | /* Endpoint: 1, Cluster: Switch (server), big-endian */ \ |
| 250 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 251 | /* 575 - FeatureMap, */ \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 252 | 0x00, 0x00, 0x00, 0x00, \ |
| 253 | \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 254 | /* Endpoint: 1, Cluster: Fixed Label (server), big-endian */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 255 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 256 | /* 579 - label list, */ \ |
Vivien Nicolas | a4a1020 | 2021-03-11 21:25:21 +0100 | [diff] [blame] | 257 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 258 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 259 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Vivien Nicolas | a4a1020 | 2021-03-11 21:25:21 +0100 | [diff] [blame] | 260 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 261 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 262 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 263 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 264 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 265 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 266 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Vivien Nicolas | a4a1020 | 2021-03-11 21:25:21 +0100 | [diff] [blame] | 267 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 268 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 269 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Song Guo | 8e51755 | 2021-03-19 12:10:00 +0800 | [diff] [blame] | 270 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 271 | } |
| 272 | |
| 273 | #else // !BIGENDIAN_CPU |
| 274 | #define GENERATED_DEFAULTS \ |
| 275 | { \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 276 | \ |
Boris Zbarsky | d88736a | 2021-10-22 17:55:13 -0400 | [diff] [blame] | 277 | /* Endpoint: 0, Cluster: Basic (server), little-endian */ \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 278 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 279 | /* 0 - SoftwareVersion, */ \ |
| 280 | 0x00, 0x00, 0x00, 0x00, \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 281 | \ |
Yufeng Wang | a18ea0b | 2021-05-24 21:46:22 -0700 | [diff] [blame] | 282 | /* Endpoint: 0, Cluster: General Commissioning (server), little-endian */ \ |
| 283 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 284 | /* 4 - Breadcrumb, */ \ |
Yufeng Wang | 20ac5e1 | 2021-04-21 21:57:06 -0700 | [diff] [blame] | 285 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 286 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 287 | /* 12 - BasicCommissioningInfoList, */ \ |
Yufeng Wang | acb4ddf | 2021-08-18 09:53:41 -0700 | [diff] [blame] | 288 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 289 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 290 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 291 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 292 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 293 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 294 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 295 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 296 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 297 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 298 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 299 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 300 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 301 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 302 | \ |
Yufeng Wang | c7b49a9 | 2021-05-13 14:53:24 -0700 | [diff] [blame] | 303 | /* Endpoint: 0, Cluster: General Diagnostics (server), little-endian */ \ |
Yufeng Wang | 74f8da9 | 2021-05-10 08:18:08 -0700 | [diff] [blame] | 304 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 305 | /* 266 - UpTime, */ \ |
Yufeng Wang | 4bafdcf | 2021-09-26 09:02:56 -0700 | [diff] [blame] | 306 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 307 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 308 | /* 274 - TotalOperationalHours, */ \ |
Yufeng Wang | 4bafdcf | 2021-09-26 09:02:56 -0700 | [diff] [blame] | 309 | 0x00, 0x00, 0x00, 0x00, \ |
| 310 | \ |
Yufeng Wang | 1010f70 | 2021-05-20 14:49:42 -0700 | [diff] [blame] | 311 | /* Endpoint: 0, Cluster: Software Diagnostics (server), little-endian */ \ |
| 312 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 313 | /* 278 - CurrentHeapFree, */ \ |
Yufeng Wang | fb53b77 | 2021-09-20 09:47:47 -0700 | [diff] [blame] | 314 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 315 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 316 | /* 286 - CurrentHeapUsed, */ \ |
Yufeng Wang | fb53b77 | 2021-09-20 09:47:47 -0700 | [diff] [blame] | 317 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 318 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 319 | /* 294 - CurrentHeapHighWatermark, */ \ |
Yufeng Wang | 1010f70 | 2021-05-20 14:49:42 -0700 | [diff] [blame] | 320 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 321 | \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 322 | /* Endpoint: 0, Cluster: Thread Network Diagnostics (server), little-endian */ \ |
Yufeng Wang | c7b49a9 | 2021-05-13 14:53:24 -0700 | [diff] [blame] | 323 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 324 | /* 302 - NetworkName, */ \ |
| 325 | 0x00, 0x00, \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 326 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 327 | /* 304 - ExtendedPanId, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 328 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 329 | \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 330 | /* 312 - OverrunCount, */ \ |
Vivien Nicolas | ffe450a | 2021-09-09 00:25:41 +0200 | [diff] [blame] | 331 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 332 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 333 | /* 320 - PartitionId, */ \ |
Yufeng Wang | c38c599 | 2021-03-18 13:57:05 -0700 | [diff] [blame] | 334 | 0x00, 0x00, 0x00, 0x00, \ |
Song Guo | 8e51755 | 2021-03-19 12:10:00 +0800 | [diff] [blame] | 335 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 336 | /* 324 - TxTotalCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 337 | 0x00, 0x00, 0x00, 0x00, \ |
| 338 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 339 | /* 328 - TxUnicastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 340 | 0x00, 0x00, 0x00, 0x00, \ |
| 341 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 342 | /* 332 - TxBroadcastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 343 | 0x00, 0x00, 0x00, 0x00, \ |
| 344 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 345 | /* 336 - TxAckRequestedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 346 | 0x00, 0x00, 0x00, 0x00, \ |
| 347 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 348 | /* 340 - TxAckedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 349 | 0x00, 0x00, 0x00, 0x00, \ |
| 350 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 351 | /* 344 - TxNoAckRequestedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 352 | 0x00, 0x00, 0x00, 0x00, \ |
| 353 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 354 | /* 348 - TxDataCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 355 | 0x00, 0x00, 0x00, 0x00, \ |
| 356 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 357 | /* 352 - TxDataPollCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 358 | 0x00, 0x00, 0x00, 0x00, \ |
| 359 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 360 | /* 356 - TxBeaconCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 361 | 0x00, 0x00, 0x00, 0x00, \ |
| 362 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 363 | /* 360 - TxBeaconRequestCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 364 | 0x00, 0x00, 0x00, 0x00, \ |
| 365 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 366 | /* 364 - TxOtherCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 367 | 0x00, 0x00, 0x00, 0x00, \ |
| 368 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 369 | /* 368 - TxRetryCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 370 | 0x00, 0x00, 0x00, 0x00, \ |
| 371 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 372 | /* 372 - TxDirectMaxRetryExpiryCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 373 | 0x00, 0x00, 0x00, 0x00, \ |
| 374 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 375 | /* 376 - TxIndirectMaxRetryExpiryCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 376 | 0x00, 0x00, 0x00, 0x00, \ |
| 377 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 378 | /* 380 - TxErrCcaCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 379 | 0x00, 0x00, 0x00, 0x00, \ |
| 380 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 381 | /* 384 - TxErrAbortCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 382 | 0x00, 0x00, 0x00, 0x00, \ |
| 383 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 384 | /* 388 - TxErrBusyChannelCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 385 | 0x00, 0x00, 0x00, 0x00, \ |
| 386 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 387 | /* 392 - RxTotalCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 388 | 0x00, 0x00, 0x00, 0x00, \ |
| 389 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 390 | /* 396 - RxUnicastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 391 | 0x00, 0x00, 0x00, 0x00, \ |
| 392 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 393 | /* 400 - RxBroadcastCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 394 | 0x00, 0x00, 0x00, 0x00, \ |
| 395 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 396 | /* 404 - RxDataCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 397 | 0x00, 0x00, 0x00, 0x00, \ |
| 398 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 399 | /* 408 - RxDataPollCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 400 | 0x00, 0x00, 0x00, 0x00, \ |
| 401 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 402 | /* 412 - RxBeaconCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 403 | 0x00, 0x00, 0x00, 0x00, \ |
| 404 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 405 | /* 416 - RxBeaconRequestCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 406 | 0x00, 0x00, 0x00, 0x00, \ |
| 407 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 408 | /* 420 - RxOtherCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 409 | 0x00, 0x00, 0x00, 0x00, \ |
| 410 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 411 | /* 424 - RxAddressFilteredCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 412 | 0x00, 0x00, 0x00, 0x00, \ |
| 413 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 414 | /* 428 - RxDestAddrFilteredCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 415 | 0x00, 0x00, 0x00, 0x00, \ |
| 416 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 417 | /* 432 - RxDuplicatedCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 418 | 0x00, 0x00, 0x00, 0x00, \ |
| 419 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 420 | /* 436 - RxErrNoFrameCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 421 | 0x00, 0x00, 0x00, 0x00, \ |
| 422 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 423 | /* 440 - RxErrUnknownNeighborCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 424 | 0x00, 0x00, 0x00, 0x00, \ |
| 425 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 426 | /* 444 - RxErrInvalidSrcAddrCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 427 | 0x00, 0x00, 0x00, 0x00, \ |
| 428 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 429 | /* 448 - RxErrSecCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 430 | 0x00, 0x00, 0x00, 0x00, \ |
| 431 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 432 | /* 452 - RxErrFcsCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 433 | 0x00, 0x00, 0x00, 0x00, \ |
| 434 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 435 | /* 456 - RxErrOtherCount, */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 436 | 0x00, 0x00, 0x00, 0x00, \ |
| 437 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 438 | /* 460 - ActiveTimestamp, */ \ |
jmartinez-silabs | 45715cc | 2021-09-24 23:32:57 -0400 | [diff] [blame] | 439 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 440 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 441 | /* 468 - PendingTimestamp, */ \ |
jmartinez-silabs | 45715cc | 2021-09-24 23:32:57 -0400 | [diff] [blame] | 442 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 443 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 444 | /* 476 - delay, */ \ |
jmartinez-silabs | 45715cc | 2021-09-24 23:32:57 -0400 | [diff] [blame] | 445 | 0x00, 0x00, 0x00, 0x00, \ |
| 446 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 447 | /* 480 - ChannelMask, */ \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 448 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
jmartinez-silabs | 16f62ae | 2021-06-14 00:01:03 -0400 | [diff] [blame] | 449 | \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 450 | /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server), little-endian */ \ |
| 451 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 452 | /* 487 - BeaconLostCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 453 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 454 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 455 | /* 491 - BeaconRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 456 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 457 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 458 | /* 495 - PacketMulticastRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 459 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 460 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 461 | /* 499 - PacketMulticastTxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 462 | 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 463 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 464 | /* 503 - PacketUnicastRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 465 | 0x00, 0x00, 0x00, 0x00, \ |
| 466 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 467 | /* 507 - PacketUnicastTxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 468 | 0x00, 0x00, 0x00, 0x00, \ |
| 469 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 470 | /* 511 - CurrentMaxRate, */ \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 471 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 472 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 473 | /* 519 - OverrunCount, */ \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 474 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 475 | \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 476 | /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server), little-endian */ \ |
| 477 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 478 | /* 527 - PacketRxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 479 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 480 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 481 | /* 535 - PacketTxCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 482 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 483 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 484 | /* 543 - TxErrCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 485 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 486 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 487 | /* 551 - CollisionCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 488 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 489 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 490 | /* 559 - OverrunCount, */ \ |
Yufeng Wang | c23becb | 2021-09-30 11:18:04 -0700 | [diff] [blame] | 491 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 492 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 493 | /* 567 - TimeSinceReset, */ \ |
Yufeng Wang | 6453262 | 2021-10-06 12:48:30 -0700 | [diff] [blame] | 494 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 495 | \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 496 | /* Endpoint: 1, Cluster: Switch (server), little-endian */ \ |
| 497 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 498 | /* 575 - FeatureMap, */ \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 499 | 0x00, 0x00, 0x00, 0x00, \ |
| 500 | \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 501 | /* Endpoint: 1, Cluster: Fixed Label (server), little-endian */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 502 | \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 503 | /* 579 - label list, */ \ |
Song Guo | 8e51755 | 2021-03-19 12:10:00 +0800 | [diff] [blame] | 504 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 505 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 506 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Song Guo | 8e51755 | 2021-03-19 12:10:00 +0800 | [diff] [blame] | 507 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 508 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 509 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 510 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 511 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 512 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 513 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Yufeng Wang | c38c599 | 2021-03-18 13:57:05 -0700 | [diff] [blame] | 514 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 515 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
| 516 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Song Guo | 8e51755 | 2021-03-19 12:10:00 +0800 | [diff] [blame] | 517 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 518 | } |
| 519 | |
| 520 | #endif // BIGENDIAN_CPU |
| 521 | |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 522 | #define GENERATED_DEFAULTS_COUNT (66) |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 523 | |
| 524 | #define ZAP_TYPE(type) ZCL_##type##_ATTRIBUTE_TYPE |
| 525 | #define ZAP_LONG_DEFAULTS_INDEX(index) \ |
| 526 | { \ |
| 527 | (uint8_t *) (&generatedDefaults[index]) \ |
| 528 | } |
| 529 | #define ZAP_MIN_MAX_DEFAULTS_INDEX(index) \ |
| 530 | { \ |
| 531 | (uint8_t *) (&minMaxDefault[index]) \ |
| 532 | } |
Vivien Nicolas | a11d054 | 2021-03-17 17:51:38 +0100 | [diff] [blame] | 533 | #define ZAP_EMPTY_DEFAULT() \ |
| 534 | { \ |
Paul Zander | b7447ca | 2021-05-13 18:26:01 +0200 | [diff] [blame] | 535 | (uint16_t) 0 \ |
Vivien Nicolas | a11d054 | 2021-03-17 17:51:38 +0100 | [diff] [blame] | 536 | } |
| 537 | #define ZAP_SIMPLE_DEFAULT(x) \ |
| 538 | { \ |
Paul Zander | b7447ca | 2021-05-13 18:26:01 +0200 | [diff] [blame] | 539 | (uint16_t) x \ |
Vivien Nicolas | a11d054 | 2021-03-17 17:51:38 +0100 | [diff] [blame] | 540 | } |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 541 | |
| 542 | // This is an array of EmberAfAttributeMinMaxValue structures. |
| 543 | #define GENERATED_MIN_MAX_DEFAULT_COUNT 0 |
| 544 | #define GENERATED_MIN_MAX_DEFAULTS \ |
| 545 | { \ |
| 546 | } |
| 547 | |
| 548 | #define ZAP_ATTRIBUTE_MASK(mask) ATTRIBUTE_MASK_##mask |
| 549 | // This is an array of EmberAfAttributeMetadata structures. |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 550 | #define GENERATED_ATTRIBUTE_COUNT 156 |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 551 | #define GENERATED_ATTRIBUTES \ |
| 552 | { \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 553 | \ |
Yufeng Wang | a18ea0b | 2021-05-24 21:46:22 -0700 | [diff] [blame] | 554 | /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
Boris Zbarsky | d88736a | 2021-10-22 17:55:13 -0400 | [diff] [blame] | 555 | { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| 556 | { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| 557 | { 0x0002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| 558 | { 0x0003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
Paul Zander | 8008baf | 2021-11-02 16:05:59 +0100 | [diff] [blame] | 559 | { 0xFFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| 560 | ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Yufeng Wang | a18ea0b | 2021-05-24 21:46:22 -0700 | [diff] [blame] | 561 | \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 562 | /* Endpoint: 0, Cluster: Basic (server) */ \ |
| 563 | { 0x0000, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* InteractionModelVersion */ \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 564 | { 0x0001, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* VendorName */ \ |
| 565 | { 0x0002, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* VendorID */ \ |
| 566 | { 0x0003, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* ProductName */ \ |
| 567 | { 0x0004, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* ProductID */ \ |
Vivien Nicolas | ffe450a | 2021-09-09 00:25:41 +0200 | [diff] [blame] | 568 | { 0x0005, ZAP_TYPE(CHAR_STRING), 33, ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 569 | ZAP_EMPTY_DEFAULT() }, /* UserLabel */ \ |
Boris Zbarsky | b953fe7 | 2021-10-22 10:46:26 -0400 | [diff] [blame] | 570 | { 0x0006, ZAP_TYPE(CHAR_STRING), 3, ZAP_ATTRIBUTE_MASK(SINGLETON) | ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 571 | ZAP_EMPTY_DEFAULT() }, /* Location */ \ |
| 572 | { 0x0007, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(0x00) }, /* HardwareVersion */ \ |
| 573 | { 0x0008, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* HardwareVersionString */ \ |
| 574 | { 0x0009, ZAP_TYPE(INT32U), 4, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_LONG_DEFAULTS_INDEX(0) }, /* SoftwareVersion */ \ |
| 575 | { 0x000A, ZAP_TYPE(CHAR_STRING), 65, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_EMPTY_DEFAULT() }, /* SoftwareVersionString */ \ |
| 576 | { 0xFFFD, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(SINGLETON), ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 577 | \ |
Yufeng Wang | a18ea0b | 2021-05-24 21:46:22 -0700 | [diff] [blame] | 578 | /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 579 | { 0x0000, ZAP_TYPE(INT64U), 8, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_LONG_DEFAULTS_INDEX(4) }, /* Breadcrumb */ \ |
| 580 | { 0x0001, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(12) }, /* BasicCommissioningInfoList */ \ |
| 581 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 582 | \ |
| 583 | /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
Vivien Nicolas | 55e5f19 | 2021-08-04 20:59:24 +0200 | [diff] [blame] | 584 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 585 | \ |
Yufeng Wang | c7b49a9 | 2021-05-13 14:53:24 -0700 | [diff] [blame] | 586 | /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
Yufeng Wang | b594a38 | 2021-10-29 12:46:35 -0700 | [diff] [blame] | 587 | { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* NetworkInterfaces */ \ |
| 588 | { 0x0001, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* RebootCount */ \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 589 | { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(266) }, /* UpTime */ \ |
| 590 | { 0x0003, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(274) }, /* TotalOperationalHours */ \ |
Yufeng Wang | b594a38 | 2021-10-29 12:46:35 -0700 | [diff] [blame] | 591 | { 0x0004, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* BootReasons */ \ |
| 592 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Yufeng Wang | 1010f70 | 2021-05-20 14:49:42 -0700 | [diff] [blame] | 593 | \ |
Boris Zbarsky | d88736a | 2021-10-22 17:55:13 -0400 | [diff] [blame] | 594 | /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 595 | { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* ThreadMetrics */ \ |
Boris Zbarsky | b974630 | 2021-11-15 10:40:26 -0500 | [diff] [blame] | 596 | { 0x0001, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(278) }, /* CurrentHeapFree */ \ |
| 597 | { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(286) }, /* CurrentHeapUsed */ \ |
| 598 | { 0x0003, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(294) }, /* CurrentHeapHighWatermark */ \ |
Boris Zbarsky | d88736a | 2021-10-22 17:55:13 -0400 | [diff] [blame] | 599 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
| 600 | \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 601 | /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 602 | { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* channel */ \ |
| 603 | { 0x0001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* RoutingRole */ \ |
| 604 | { 0x0002, ZAP_TYPE(OCTET_STRING), 17, 0, ZAP_LONG_DEFAULTS_INDEX(302) }, /* NetworkName */ \ |
| 605 | { 0x0003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* PanId */ \ |
| 606 | { 0x0004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(304) }, /* ExtendedPanId */ \ |
| 607 | { 0x0005, ZAP_TYPE(OCTET_STRING), 18, 0, ZAP_EMPTY_DEFAULT() }, /* MeshLocalPrefix */ \ |
| 608 | { 0x0006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(312) }, /* OverrunCount */ \ |
| 609 | { 0x0007, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* NeighborTableList */ \ |
| 610 | { 0x0008, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* RouteTableList */ \ |
| 611 | { 0x0009, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(320) }, /* PartitionId */ \ |
| 612 | { 0x000A, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* weighting */ \ |
| 613 | { 0x000B, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* DataVersion */ \ |
| 614 | { 0x000C, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* StableDataVersion */ \ |
| 615 | { 0x000D, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* LeaderRouterId */ \ |
| 616 | { 0x000E, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* DetachedRoleCount */ \ |
| 617 | { 0x000F, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ChildRoleCount */ \ |
| 618 | { 0x0010, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* RouterRoleCount */ \ |
| 619 | { 0x0011, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* LeaderRoleCount */ \ |
| 620 | { 0x0012, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* AttachAttemptCount */ \ |
| 621 | { 0x0013, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* PartitionIdChangeCount */ \ |
| 622 | { 0x0014, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* BetterPartitionAttachAttemptCount */ \ |
| 623 | { 0x0015, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ParentChangeCount */ \ |
| 624 | { 0x0016, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(324) }, /* TxTotalCount */ \ |
| 625 | { 0x0017, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(328) }, /* TxUnicastCount */ \ |
| 626 | { 0x0018, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(332) }, /* TxBroadcastCount */ \ |
| 627 | { 0x0019, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(336) }, /* TxAckRequestedCount */ \ |
| 628 | { 0x001A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(340) }, /* TxAckedCount */ \ |
| 629 | { 0x001B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(344) }, /* TxNoAckRequestedCount */ \ |
| 630 | { 0x001C, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(348) }, /* TxDataCount */ \ |
| 631 | { 0x001D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(352) }, /* TxDataPollCount */ \ |
| 632 | { 0x001E, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(356) }, /* TxBeaconCount */ \ |
| 633 | { 0x001F, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(360) }, /* TxBeaconRequestCount */ \ |
| 634 | { 0x0020, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(364) }, /* TxOtherCount */ \ |
| 635 | { 0x0021, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(368) }, /* TxRetryCount */ \ |
| 636 | { 0x0022, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(372) }, /* TxDirectMaxRetryExpiryCount */ \ |
| 637 | { 0x0023, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(376) }, /* TxIndirectMaxRetryExpiryCount */ \ |
| 638 | { 0x0024, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(380) }, /* TxErrCcaCount */ \ |
| 639 | { 0x0025, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(384) }, /* TxErrAbortCount */ \ |
| 640 | { 0x0026, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(388) }, /* TxErrBusyChannelCount */ \ |
| 641 | { 0x0027, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(392) }, /* RxTotalCount */ \ |
| 642 | { 0x0028, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(396) }, /* RxUnicastCount */ \ |
| 643 | { 0x0029, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(400) }, /* RxBroadcastCount */ \ |
| 644 | { 0x002A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(404) }, /* RxDataCount */ \ |
| 645 | { 0x002B, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(408) }, /* RxDataPollCount */ \ |
| 646 | { 0x002C, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(412) }, /* RxBeaconCount */ \ |
| 647 | { 0x002D, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(416) }, /* RxBeaconRequestCount */ \ |
| 648 | { 0x002E, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(420) }, /* RxOtherCount */ \ |
| 649 | { 0x002F, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(424) }, /* RxAddressFilteredCount */ \ |
| 650 | { 0x0030, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(428) }, /* RxDestAddrFilteredCount */ \ |
| 651 | { 0x0031, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(432) }, /* RxDuplicatedCount */ \ |
| 652 | { 0x0032, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(436) }, /* RxErrNoFrameCount */ \ |
| 653 | { 0x0033, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(440) }, /* RxErrUnknownNeighborCount */ \ |
| 654 | { 0x0034, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(444) }, /* RxErrInvalidSrcAddrCount */ \ |
| 655 | { 0x0035, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(448) }, /* RxErrSecCount */ \ |
| 656 | { 0x0036, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(452) }, /* RxErrFcsCount */ \ |
| 657 | { 0x0037, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(456) }, /* RxErrOtherCount */ \ |
| 658 | { 0x0038, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(460) }, /* ActiveTimestamp */ \ |
| 659 | { 0x0039, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(468) }, /* PendingTimestamp */ \ |
| 660 | { 0x003A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(476) }, /* delay */ \ |
| 661 | { 0x003B, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* SecurityPolicy */ \ |
| 662 | { 0x003C, ZAP_TYPE(OCTET_STRING), 5, 0, ZAP_LONG_DEFAULTS_INDEX(480) }, /* ChannelMask */ \ |
| 663 | { 0x003D, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| 664 | ZAP_EMPTY_DEFAULT() }, /* OperationalDatasetComponents */ \ |
| 665 | { 0x003E, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| 666 | ZAP_EMPTY_DEFAULT() }, /* ActiveNetworkFaultsList */ \ |
| 667 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
jmartinez-silabs | 39dec0e | 2021-05-14 12:30:58 -0400 | [diff] [blame] | 668 | \ |
Yufeng Wang | 74f8da9 | 2021-05-10 08:18:08 -0700 | [diff] [blame] | 669 | /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 670 | { 0x0000, ZAP_TYPE(OCTET_STRING), 7, 0, ZAP_EMPTY_DEFAULT() }, /* bssid */ \ |
| 671 | { 0x0001, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* SecurityType */ \ |
| 672 | { 0x0002, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* WiFiVersion */ \ |
| 673 | { 0x0003, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* ChannelNumber */ \ |
| 674 | { 0x0004, ZAP_TYPE(INT8S), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* Rssi */ \ |
| 675 | { 0x0005, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(487) }, /* BeaconLostCount */ \ |
| 676 | { 0x0006, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(491) }, /* BeaconRxCount */ \ |
| 677 | { 0x0007, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(495) }, /* PacketMulticastRxCount */ \ |
| 678 | { 0x0008, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(499) }, /* PacketMulticastTxCount */ \ |
| 679 | { 0x0009, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(503) }, /* PacketUnicastRxCount */ \ |
| 680 | { 0x000A, ZAP_TYPE(INT32U), 4, 0, ZAP_LONG_DEFAULTS_INDEX(507) }, /* PacketUnicastTxCount */ \ |
| 681 | { 0x000B, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(511) }, /* CurrentMaxRate */ \ |
| 682 | { 0x000C, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(519) }, /* OverrunCount */ \ |
| 683 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Yufeng Wang | 74f8da9 | 2021-05-10 08:18:08 -0700 | [diff] [blame] | 684 | \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 685 | /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 686 | { 0x0000, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* PHYRate */ \ |
| 687 | { 0x0001, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* FullDuplex */ \ |
| 688 | { 0x0002, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(527) }, /* PacketRxCount */ \ |
| 689 | { 0x0003, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(535) }, /* PacketTxCount */ \ |
| 690 | { 0x0004, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(543) }, /* TxErrCount */ \ |
| 691 | { 0x0005, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(551) }, /* CollisionCount */ \ |
| 692 | { 0x0006, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(559) }, /* OverrunCount */ \ |
| 693 | { 0x0007, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* CarrierDetect */ \ |
| 694 | { 0x0008, ZAP_TYPE(INT64U), 8, 0, ZAP_LONG_DEFAULTS_INDEX(567) }, /* TimeSinceReset */ \ |
| 695 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Yufeng Wang | 805a4b3 | 2021-05-17 20:27:36 -0700 | [diff] [blame] | 696 | \ |
Pankaj Garg | 5eea9f2 | 2021-08-03 17:58:16 -0700 | [diff] [blame] | 697 | /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */ \ |
Vivien Nicolas | 55e5f19 | 2021-08-04 20:59:24 +0200 | [diff] [blame] | 698 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Pankaj Garg | 5eea9f2 | 2021-08-03 17:58:16 -0700 | [diff] [blame] | 699 | \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 700 | /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
Yufeng Wang | b594a38 | 2021-10-29 12:46:35 -0700 | [diff] [blame] | 701 | { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* fabrics list */ \ |
| 702 | { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* SupportedFabrics */ \ |
| 703 | { 0x0003, ZAP_TYPE(INT8U), 1, 0, ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \ |
Boris Zbarsky | 2475f10 | 2021-10-29 13:01:22 -0400 | [diff] [blame] | 704 | { 0x0004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| 705 | ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \ |
| 706 | { 0x0005, ZAP_TYPE(FABRIC_IDX), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \ |
| 707 | ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \ |
| 708 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 709 | \ |
Vivien Nicolas | 42136d6 | 2021-08-05 16:11:02 +0200 | [diff] [blame] | 710 | /* Endpoint: 1, Cluster: On/Off (server) */ \ |
Vivien Nicolas | 8ceb910 | 2021-07-14 17:33:04 +0200 | [diff] [blame] | 711 | { 0x0000, ZAP_TYPE(BOOLEAN), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* OnOff */ \ |
jmartinez-silabs | 685e556 | 2021-10-22 15:12:54 -0400 | [diff] [blame] | 712 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(4) }, /* ClusterRevision */ \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 713 | \ |
| 714 | /* Endpoint: 1, Cluster: Level Control (server) */ \ |
jmartinez-silabs | dc93d27 | 2021-10-18 10:49:32 -0400 | [diff] [blame] | 715 | { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* current level */ \ |
| 716 | { 0x0001, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* remaining time */ \ |
| 717 | { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0x00) }, /* min level */ \ |
| 718 | { 0x0003, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(0xFF) }, /* max level */ \ |
| 719 | { 0x0004, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* current frequency */ \ |
| 720 | { 0x0005, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* min frequency */ \ |
| 721 | { 0x0006, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0000) }, /* max frequency */ \ |
| 722 | { 0x000F, ZAP_TYPE(BITMAP8), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0x00) }, /* options */ \ |
| 723 | { 0x0010, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), \ |
| 724 | ZAP_SIMPLE_DEFAULT(0x0000) }, /* on off transition time */ \ |
| 725 | { 0x0011, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_SIMPLE_DEFAULT(0xFE) }, /* on level */ \ |
| 726 | { 0x0012, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* on transition time */ \ |
| 727 | { 0x0013, ZAP_TYPE(INT16U), 2, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* off transition time */ \ |
| 728 | { 0x0014, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* default move rate */ \ |
| 729 | { 0x4000, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(WRITABLE), ZAP_EMPTY_DEFAULT() }, /* start up current level */ \ |
| 730 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(3) }, /* ClusterRevision */ \ |
Vivien Nicolas | b80af57 | 2021-04-27 21:18:12 +0200 | [diff] [blame] | 731 | \ |
Damian Królik | 4ab05ae | 2021-10-26 13:24:46 +0200 | [diff] [blame] | 732 | /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
Paul Zander | 8008baf | 2021-11-02 16:05:59 +0100 | [diff] [blame] | 733 | { 0x0000, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* device list */ \ |
| 734 | { 0x0001, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* server list */ \ |
| 735 | { 0x0002, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* client list */ \ |
| 736 | { 0x0003, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_EMPTY_DEFAULT() }, /* parts list */ \ |
| 737 | { 0xFFFD, ZAP_TYPE(INT16U), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \ |
Damian Królik | 4ab05ae | 2021-10-26 13:24:46 +0200 | [diff] [blame] | 738 | \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 739 | /* Endpoint: 1, Cluster: Switch (server) */ \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 740 | { 0x0000, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* number of positions */ \ |
| 741 | { 0x0001, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(1) }, /* current position */ \ |
| 742 | { 0x0002, ZAP_TYPE(INT8U), 1, 0, ZAP_SIMPLE_DEFAULT(2) }, /* multi press max */ \ |
| 743 | { 0xFFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_LONG_DEFAULTS_INDEX(575) }, /* FeatureMap */ \ |
| 744 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 745 | \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 746 | /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 747 | { 0x0000, ZAP_TYPE(ARRAY), 254, 0, ZAP_LONG_DEFAULTS_INDEX(579) }, /* label list */ \ |
| 748 | { 0xFFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 749 | } |
| 750 | |
| 751 | // This is an array of EmberAfCluster structures. |
| 752 | #define ZAP_ATTRIBUTE_INDEX(index) ((EmberAfAttributeMetadata *) (&generatedAttributes[index])) |
| 753 | |
| 754 | // Cluster function static arrays |
| 755 | #define GENERATED_FUNCTION_ARRAYS \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 756 | const EmberAfGenericClusterFunction chipFuncArrayBasicServer[] = { \ |
| 757 | (EmberAfGenericClusterFunction) emberAfBasicClusterServerInitCallback, \ |
| 758 | }; \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 759 | const EmberAfGenericClusterFunction chipFuncArrayOnOffServer[] = { \ |
| 760 | (EmberAfGenericClusterFunction) emberAfOnOffClusterServerInitCallback, \ |
| 761 | }; \ |
| 762 | const EmberAfGenericClusterFunction chipFuncArrayLevelControlServer[] = { \ |
| 763 | (EmberAfGenericClusterFunction) emberAfLevelControlClusterServerInitCallback, \ |
| 764 | }; |
| 765 | |
| 766 | #define ZAP_CLUSTER_MASK(mask) CLUSTER_MASK_##mask |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 767 | #define GENERATED_CLUSTER_COUNT 17 |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 768 | #define GENERATED_CLUSTERS \ |
| 769 | { \ |
Paul Zander | 8008baf | 2021-11-02 16:05:59 +0100 | [diff] [blame] | 770 | { 0x001D, ZAP_ATTRIBUTE_INDEX(0), 5, 0, ZAP_CLUSTER_MASK(SERVER), NULL }, /* Endpoint: 0, Cluster: Descriptor (server) */ \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 771 | { 0x0028, \ |
| 772 | ZAP_ATTRIBUTE_INDEX(5), \ |
| 773 | 12, \ |
Boris Zbarsky | b953fe7 | 2021-10-22 10:46:26 -0400 | [diff] [blame] | 774 | 246, \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 775 | ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| 776 | chipFuncArrayBasicServer }, /* Endpoint: 0, Cluster: Basic (server) */ \ |
Yufeng Wang | 20ac5e1 | 2021-04-21 21:57:06 -0700 | [diff] [blame] | 777 | { \ |
Yufeng Wang | acb4ddf | 2021-08-18 09:53:41 -0700 | [diff] [blame] | 778 | 0x0030, ZAP_ATTRIBUTE_INDEX(17), 3, 264, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Yufeng Wang | a18ea0b | 2021-05-24 21:46:22 -0700 | [diff] [blame] | 779 | }, /* Endpoint: 0, Cluster: General Commissioning (server) */ \ |
| 780 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 781 | 0x0031, ZAP_ATTRIBUTE_INDEX(20), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Yufeng Wang | 20ac5e1 | 2021-04-21 21:57:06 -0700 | [diff] [blame] | 782 | }, /* Endpoint: 0, Cluster: Network Commissioning (server) */ \ |
Yufeng Wang | 74f8da9 | 2021-05-10 08:18:08 -0700 | [diff] [blame] | 783 | { \ |
Zang MingJie | b9dad95 | 2021-06-25 03:52:30 +0800 | [diff] [blame] | 784 | 0x0032, ZAP_ATTRIBUTE_INDEX(21), 0, 0, ZAP_CLUSTER_MASK(SERVER), NULL \ |
| 785 | }, /* Endpoint: 0, Cluster: Diagnostic Logs (server) */ \ |
Vivien Nicolas | edc22bd | 2021-10-27 22:02:31 +0200 | [diff] [blame] | 786 | { \ |
Yufeng Wang | b594a38 | 2021-10-29 12:46:35 -0700 | [diff] [blame] | 787 | 0x0033, ZAP_ATTRIBUTE_INDEX(21), 6, 17, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Vivien Nicolas | edc22bd | 2021-10-27 22:02:31 +0200 | [diff] [blame] | 788 | }, /* Endpoint: 0, Cluster: General Diagnostics (server) */ \ |
| 789 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 790 | 0x0034, ZAP_ATTRIBUTE_INDEX(27), 5, 26, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Vivien Nicolas | edc22bd | 2021-10-27 22:02:31 +0200 | [diff] [blame] | 791 | }, /* Endpoint: 0, Cluster: Software Diagnostics (server) */ \ |
| 792 | { \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 793 | 0x0035, ZAP_ATTRIBUTE_INDEX(32), 64, 242, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Vivien Nicolas | edc22bd | 2021-10-27 22:02:31 +0200 | [diff] [blame] | 794 | }, /* Endpoint: 0, Cluster: Thread Network Diagnostics (server) */ \ |
| 795 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 796 | 0x0036, ZAP_ATTRIBUTE_INDEX(96), 14, 54, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Vivien Nicolas | edc22bd | 2021-10-27 22:02:31 +0200 | [diff] [blame] | 797 | }, /* Endpoint: 0, Cluster: WiFi Network Diagnostics (server) */ \ |
| 798 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 799 | 0x0037, ZAP_ATTRIBUTE_INDEX(110), 10, 53, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Vivien Nicolas | edc22bd | 2021-10-27 22:02:31 +0200 | [diff] [blame] | 800 | }, /* Endpoint: 0, Cluster: Ethernet Network Diagnostics (server) */ \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 801 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 802 | 0x003C, ZAP_ATTRIBUTE_INDEX(120), 1, 2, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Pankaj Garg | 5eea9f2 | 2021-08-03 17:58:16 -0700 | [diff] [blame] | 803 | }, /* Endpoint: 0, Cluster: AdministratorCommissioning (server) */ \ |
| 804 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 805 | 0x003E, ZAP_ATTRIBUTE_INDEX(121), 6, 4, ZAP_CLUSTER_MASK(SERVER), NULL \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 806 | }, /* Endpoint: 0, Cluster: Operational Credentials (server) */ \ |
Song Guo | 9a8655c | 2021-03-17 11:16:34 +0800 | [diff] [blame] | 807 | { 0x0006, \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 808 | ZAP_ATTRIBUTE_INDEX(127), \ |
Song Guo | 9a8655c | 2021-03-17 11:16:34 +0800 | [diff] [blame] | 809 | 2, \ |
| 810 | 3, \ |
| 811 | ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
Vivien Nicolas | 42136d6 | 2021-08-05 16:11:02 +0200 | [diff] [blame] | 812 | chipFuncArrayOnOffServer }, /* Endpoint: 1, Cluster: On/Off (server) */ \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 813 | { 0x0008, \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 814 | ZAP_ATTRIBUTE_INDEX(129), \ |
jmartinez-silabs | dc93d27 | 2021-10-18 10:49:32 -0400 | [diff] [blame] | 815 | 15, \ |
| 816 | 23, \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 817 | ZAP_CLUSTER_MASK(SERVER) | ZAP_CLUSTER_MASK(INIT_FUNCTION), \ |
| 818 | chipFuncArrayLevelControlServer }, /* Endpoint: 1, Cluster: Level Control (server) */ \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 819 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 820 | 0x001D, ZAP_ATTRIBUTE_INDEX(144), 5, 0, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Damian Królik | 4ab05ae | 2021-10-26 13:24:46 +0200 | [diff] [blame] | 821 | }, /* Endpoint: 1, Cluster: Descriptor (server) */ \ |
| 822 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 823 | 0x003B, ZAP_ATTRIBUTE_INDEX(149), 5, 9, ZAP_CLUSTER_MASK(SERVER), NULL \ |
Paul Zander | d920345 | 2021-11-03 02:10:32 +0100 | [diff] [blame] | 824 | }, /* Endpoint: 1, Cluster: Switch (server) */ \ |
| 825 | { \ |
Yufeng Wang | 5d4bade | 2021-11-12 09:08:17 -0800 | [diff] [blame] | 826 | 0x0040, ZAP_ATTRIBUTE_INDEX(154), 2, 256, ZAP_CLUSTER_MASK(SERVER), NULL \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 827 | }, /* Endpoint: 1, Cluster: Fixed Label (server) */ \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 828 | } |
| 829 | |
| 830 | #define ZAP_CLUSTER_INDEX(index) ((EmberAfCluster *) (&generatedClusters[index])) |
| 831 | |
| 832 | // This is an array of EmberAfEndpointType structures. |
| 833 | #define GENERATED_ENDPOINT_TYPES \ |
| 834 | { \ |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 835 | { ZAP_CLUSTER_INDEX(0), 12, 910 }, { ZAP_CLUSTER_INDEX(12), 5, 291 }, \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 836 | } |
| 837 | |
| 838 | // Largest attribute size is needed for various buffers |
Pankaj Garg | 435436d | 2021-09-02 09:59:39 -0700 | [diff] [blame] | 839 | #define ATTRIBUTE_LARGEST (401) |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 840 | |
| 841 | // Total size of singleton attributes |
Boris Zbarsky | b953fe7 | 2021-10-22 10:46:26 -0400 | [diff] [blame] | 842 | #define ATTRIBUTE_SINGLETONS_SIZE (246) |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 843 | |
| 844 | // Total size of attribute storage |
Yufeng Wang | a8657fb | 2021-11-15 11:31:40 -0800 | [diff] [blame^] | 845 | #define ATTRIBUTE_MAX_SIZE (1201) |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 846 | |
| 847 | // Number of fixed endpoints |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 848 | #define FIXED_ENDPOINT_COUNT (2) |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 849 | |
| 850 | // Array of endpoints that are supported, the data inside |
| 851 | // the array is the endpoint number. |
| 852 | #define FIXED_ENDPOINT_ARRAY \ |
| 853 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 854 | 0x0000, 0x0001 \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 855 | } |
| 856 | |
| 857 | // Array of profile ids |
| 858 | #define FIXED_PROFILE_IDS \ |
| 859 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 860 | 0xABCD, 0x0104 \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 861 | } |
| 862 | |
| 863 | // Array of device ids |
| 864 | #define FIXED_DEVICE_IDS \ |
| 865 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 866 | 0, 0 \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 867 | } |
| 868 | |
| 869 | // Array of device versions |
| 870 | #define FIXED_DEVICE_VERSIONS \ |
| 871 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 872 | 1, 1 \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 873 | } |
| 874 | |
| 875 | // Array of endpoint types supported on each endpoint |
| 876 | #define FIXED_ENDPOINT_TYPES \ |
| 877 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 878 | 0, 1 \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 879 | } |
| 880 | |
| 881 | // Array of networks supported on each endpoint |
| 882 | #define FIXED_NETWORKS \ |
| 883 | { \ |
jrhees-cae | 14edc10 | 2021-06-02 23:16:24 -0600 | [diff] [blame] | 884 | 0, 0 \ |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 885 | } |
| 886 | |
Arun Bharadwaj | 5dcbd40 | 2021-01-25 15:39:27 -0800 | [diff] [blame] | 887 | // This is an array of EmberAfManufacturerCodeEntry structures for clusters. |
| 888 | #define GENERATED_CLUSTER_MANUFACTURER_CODE_COUNT (0) |
| 889 | #define GENERATED_CLUSTER_MANUFACTURER_CODES \ |
| 890 | { \ |
| 891 | { \ |
| 892 | 0x00, 0x00 \ |
| 893 | } \ |
| 894 | } |
| 895 | |
| 896 | // This is an array of EmberAfManufacturerCodeEntry structures for attributes. |
| 897 | #define GENERATED_ATTRIBUTE_MANUFACTURER_CODE_COUNT (0) |
| 898 | #define GENERATED_ATTRIBUTE_MANUFACTURER_CODES \ |
| 899 | { \ |
| 900 | { \ |
| 901 | 0x00, 0x00 \ |
| 902 | } \ |
| 903 | } |