3 * Copyright (c) 2021 Project CHIP Authors
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 // THIS FILE IS GENERATED BY ZAP
20 // Prevent multiple inclusion
23 #include <app/util/basic-types.h>
24 #include <lib/support/Span.h>
26 #include <system/SystemPacketBuffer.h>
28 /*----------------------------------------------------------------------------*\
30 |---------------------------------------------------------------------+--------|
31 | ApplicationBasic | 0x050D |
32 | BarrierControl | 0x0103 |
35 | ColorControl | 0x0300 |
36 | ContentLaunch | 0xF002 |
38 | GeneralCommissioning | 0x0030 |
42 | LevelControl | 0x0008 |
44 | MediaPlayback | 0xF001 |
45 | NetworkCommissioning | 0xAAAA |
48 | TemperatureMeasurement | 0x0402 |
49 \*----------------------------------------------------------------------------*/
51 /*----------------------------------------------------------------------------*\
52 | Cluster ApplicationBasic | 0x050D |
53 |------------------------------------------------------------------------------|
55 |------------------------------------------------------------------------------|
57 | * VendorName | 0x0000 |
58 | * VendorId | 0x0001 |
59 | * ApplicationName | 0x0002 |
60 | * ProductId | 0x0003 |
61 | * ApplicationId | 0x0005 |
62 | * CatalogVendorId | 0x0006 |
63 | * ApplicationSatus | 0x0007 |
64 | * ClusterRevision | 0xFFFD |
65 \*----------------------------------------------------------------------------*/
69 * Encode a Application Basic server discover command into buffer including the APS frame
71 chip::System::PacketBufferHandle encodeApplicationBasicClusterDiscoverAttributes(uint8_t seqNum,
72 chip::EndpointId destinationEndpoint);
76 * Encode a Application Basic server read command for the vendor name attribute into buffer including the APS frame
78 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadVendorNameAttribute(uint8_t seqNum,
79 chip::EndpointId destinationEndpoint);
83 * Encode a Application Basic server read command for the vendor id attribute into buffer including the APS frame
85 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadVendorIdAttribute(uint8_t seqNum,
86 chip::EndpointId destinationEndpoint);
90 * Encode a Application Basic server read command for the application name attribute into buffer including the APS frame
92 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadApplicationNameAttribute(uint8_t seqNum,
93 chip::EndpointId destinationEndpoint);
97 * Encode a Application Basic server read command for the product id attribute into buffer including the APS frame
99 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadProductIdAttribute(uint8_t seqNum,
100 chip::EndpointId destinationEndpoint);
104 * Encode a Application Basic server read command for the application id attribute into buffer including the APS frame
106 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadApplicationIdAttribute(uint8_t seqNum,
107 chip::EndpointId destinationEndpoint);
111 * Encode a Application Basic server read command for the catalog vendor id attribute into buffer including the APS frame
113 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadCatalogVendorIdAttribute(uint8_t seqNum,
114 chip::EndpointId destinationEndpoint);
118 * Encode a Application Basic server read command for the application satus attribute into buffer including the APS frame
120 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadApplicationSatusAttribute(uint8_t seqNum,
121 chip::EndpointId destinationEndpoint);
125 * Encode a Application Basic server read command for the cluster revision attribute into buffer including the APS frame
127 chip::System::PacketBufferHandle encodeApplicationBasicClusterReadClusterRevisionAttribute(uint8_t seqNum,
128 chip::EndpointId destinationEndpoint);
130 /*----------------------------------------------------------------------------*\
131 | Cluster BarrierControl | 0x0103 |
132 |------------------------------------------------------------------------------|
134 | * BarrierControlGoToPercent | 0x00 |
135 | * BarrierControlStop | 0x01 |
136 |------------------------------------------------------------------------------|
138 | * BarrierMovingState | 0x0001 |
139 | * BarrierSafetyStatus | 0x0002 |
140 | * BarrierCapabilities | 0x0003 |
141 | * BarrierPosition | 0x000A |
142 | * ClusterRevision | 0xFFFD |
143 \*----------------------------------------------------------------------------*/
147 * Encode an BarrierControlGoToPercent command for Barrier Control server into buffer including the APS frame
149 chip::System::PacketBufferHandle encodeBarrierControlClusterBarrierControlGoToPercentCommand(uint8_t seqNum,
150 chip::EndpointId destinationEndpoint,
151 uint8_t percentOpen);
155 * Encode an BarrierControlStop command for Barrier Control server into buffer including the APS frame
157 chip::System::PacketBufferHandle encodeBarrierControlClusterBarrierControlStopCommand(uint8_t seqNum,
158 chip::EndpointId destinationEndpoint);
162 * Encode a Barrier Control server discover command into buffer including the APS frame
164 chip::System::PacketBufferHandle encodeBarrierControlClusterDiscoverAttributes(uint8_t seqNum,
165 chip::EndpointId destinationEndpoint);
169 * Encode a Barrier Control server read command for the barrier moving state attribute into buffer including the APS frame
171 chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierMovingStateAttribute(uint8_t seqNum,
172 chip::EndpointId destinationEndpoint);
176 * Encode a Barrier Control server read command for the barrier safety status attribute into buffer including the APS frame
178 chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierSafetyStatusAttribute(uint8_t seqNum,
179 chip::EndpointId destinationEndpoint);
183 * Encode a Barrier Control server read command for the barrier capabilities attribute into buffer including the APS frame
185 chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierCapabilitiesAttribute(uint8_t seqNum,
186 chip::EndpointId destinationEndpoint);
190 * Encode a Barrier Control server read command for the barrier position attribute into buffer including the APS frame
192 chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierPositionAttribute(uint8_t seqNum,
193 chip::EndpointId destinationEndpoint);
197 * Encode a Barrier Control server read command for the cluster revision attribute into buffer including the APS frame
199 chip::System::PacketBufferHandle encodeBarrierControlClusterReadClusterRevisionAttribute(uint8_t seqNum,
200 chip::EndpointId destinationEndpoint);
202 /*----------------------------------------------------------------------------*\
203 | Cluster Basic | 0x0000 |
204 |------------------------------------------------------------------------------|
206 | * MfgSpecificPing | 0x00 |
207 | * ResetToFactoryDefaults | 0x00 |
208 |------------------------------------------------------------------------------|
210 | * ZclVersion | 0x0000 |
211 | * PowerSource | 0x0007 |
212 | * ClusterRevision | 0xFFFD |
213 \*----------------------------------------------------------------------------*/
217 * Encode an MfgSpecificPing command for Basic server into buffer including the APS frame
219 chip::System::PacketBufferHandle encodeBasicClusterMfgSpecificPingCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
223 * Encode an ResetToFactoryDefaults command for Basic server into buffer including the APS frame
225 chip::System::PacketBufferHandle encodeBasicClusterResetToFactoryDefaultsCommand(uint8_t seqNum,
226 chip::EndpointId destinationEndpoint);
230 * Encode a Basic server discover command into buffer including the APS frame
232 chip::System::PacketBufferHandle encodeBasicClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
236 * Encode a Basic server read command for the ZCL version attribute into buffer including the APS frame
238 chip::System::PacketBufferHandle encodeBasicClusterReadZclVersionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
242 * Encode a Basic server read command for the power source attribute into buffer including the APS frame
244 chip::System::PacketBufferHandle encodeBasicClusterReadPowerSourceAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
248 * Encode a Basic server read command for the cluster revision attribute into buffer including the APS frame
250 chip::System::PacketBufferHandle encodeBasicClusterReadClusterRevisionAttribute(uint8_t seqNum,
251 chip::EndpointId destinationEndpoint);
253 /*----------------------------------------------------------------------------*\
254 | Cluster Binding | 0xF000 |
255 |------------------------------------------------------------------------------|
259 |------------------------------------------------------------------------------|
261 | * ClusterRevision | 0xFFFD |
262 \*----------------------------------------------------------------------------*/
266 * Encode an Bind command for Binding server into buffer including the APS frame
268 chip::System::PacketBufferHandle encodeBindingClusterBindCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
269 chip::NodeId nodeId, chip::GroupId groupId,
270 chip::EndpointId endpointId, chip::ClusterId clusterId);
274 * Encode an Unbind command for Binding server into buffer including the APS frame
276 chip::System::PacketBufferHandle encodeBindingClusterUnbindCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
277 chip::NodeId nodeId, chip::GroupId groupId,
278 chip::EndpointId endpointId, chip::ClusterId clusterId);
282 * Encode a Binding server discover command into buffer including the APS frame
284 chip::System::PacketBufferHandle encodeBindingClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
288 * Encode a Binding server read command for the cluster revision attribute into buffer including the APS frame
290 chip::System::PacketBufferHandle encodeBindingClusterReadClusterRevisionAttribute(uint8_t seqNum,
291 chip::EndpointId destinationEndpoint);
293 /*----------------------------------------------------------------------------*\
294 | Cluster ColorControl | 0x0300 |
295 |------------------------------------------------------------------------------|
297 | * MoveColor | 0x08 |
298 | * MoveColorTemperature | 0x4B |
300 | * MoveSaturation | 0x04 |
301 | * MoveToColor | 0x07 |
302 | * MoveToColorTemperature | 0x0A |
303 | * MoveToHue | 0x00 |
304 | * MoveToHueAndSaturation | 0x06 |
305 | * MoveToSaturation | 0x03 |
306 | * StepColor | 0x09 |
307 | * StepColorTemperature | 0x4C |
309 | * StepSaturation | 0x05 |
310 | * StopMoveStep | 0x47 |
311 |------------------------------------------------------------------------------|
313 | * CurrentHue | 0x0000 |
314 | * CurrentSaturation | 0x0001 |
315 | * RemainingTime | 0x0002 |
316 | * CurrentX | 0x0003 |
317 | * CurrentY | 0x0004 |
318 | * DriftCompensation | 0x0005 |
319 | * CompensationText | 0x0006 |
320 | * ColorTemperature | 0x0007 |
321 | * ColorMode | 0x0008 |
322 | * ColorControlOptions | 0x000F |
323 | * NumberOfPrimaries | 0x0010 |
324 | * Primary1X | 0x0011 |
325 | * Primary1Y | 0x0012 |
326 | * Primary1Intensity | 0x0013 |
327 | * Primary2X | 0x0015 |
328 | * Primary2Y | 0x0016 |
329 | * Primary2Intensity | 0x0017 |
330 | * Primary3X | 0x0019 |
331 | * Primary3Y | 0x001A |
332 | * Primary3Intensity | 0x001B |
333 | * Primary4X | 0x0020 |
334 | * Primary4Y | 0x0021 |
335 | * Primary4Intensity | 0x0022 |
336 | * Primary5X | 0x0024 |
337 | * Primary5Y | 0x0025 |
338 | * Primary5Intensity | 0x0026 |
339 | * Primary6X | 0x0028 |
340 | * Primary6Y | 0x0029 |
341 | * Primary6Intensity | 0x002A |
342 | * WhitePointX | 0x0030 |
343 | * WhitePointY | 0x0031 |
344 | * ColorPointRX | 0x0032 |
345 | * ColorPointRY | 0x0033 |
346 | * ColorPointRIntensity | 0x0034 |
347 | * ColorPointGX | 0x0036 |
348 | * ColorPointGY | 0x0037 |
349 | * ColorPointGIntensity | 0x0038 |
350 | * ColorPointBX | 0x003A |
351 | * ColorPointBY | 0x003B |
352 | * ColorPointBIntensity | 0x003C |
353 | * EnhancedCurrentHue | 0x4000 |
354 | * EnhancedColorMode | 0x4001 |
355 | * ColorLoopActive | 0x4002 |
356 | * ColorLoopDirection | 0x4003 |
357 | * ColorLoopTime | 0x4004 |
358 | * ColorCapabilities | 0x400A |
359 | * ColorTempPhysicalMin | 0x400B |
360 | * ColorTempPhysicalMax | 0x400C |
361 | * CoupleColorTempToLevelMinMireds | 0x400D |
362 | * StartUpColorTemperatureMireds | 0x4010 |
363 | * ClusterRevision | 0xFFFD |
364 \*----------------------------------------------------------------------------*/
368 * Encode an MoveColor command for Color Control server into buffer including the APS frame
370 chip::System::PacketBufferHandle encodeColorControlClusterMoveColorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
371 int16_t rateX, int16_t rateY, uint8_t optionsMask,
372 uint8_t optionsOverride);
376 * Encode an MoveColorTemperature command for Color Control server into buffer including the APS frame
378 chip::System::PacketBufferHandle encodeColorControlClusterMoveColorTemperatureCommand(
379 uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t moveMode, uint16_t rate, uint16_t colorTemperatureMinimum,
380 uint16_t colorTemperatureMaximum, uint8_t optionsMask, uint8_t optionsOverride);
384 * Encode an MoveHue command for Color Control server into buffer including the APS frame
386 chip::System::PacketBufferHandle encodeColorControlClusterMoveHueCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
387 uint8_t moveMode, uint8_t rate, uint8_t optionsMask,
388 uint8_t optionsOverride);
392 * Encode an MoveSaturation command for Color Control server into buffer including the APS frame
394 chip::System::PacketBufferHandle encodeColorControlClusterMoveSaturationCommand(uint8_t seqNum,
395 chip::EndpointId destinationEndpoint,
396 uint8_t moveMode, uint8_t rate, uint8_t optionsMask,
397 uint8_t optionsOverride);
401 * Encode an MoveToColor command for Color Control server into buffer including the APS frame
403 chip::System::PacketBufferHandle encodeColorControlClusterMoveToColorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
404 uint16_t colorX, uint16_t colorY,
405 uint16_t transitionTime, uint8_t optionsMask,
406 uint8_t optionsOverride);
410 * Encode an MoveToColorTemperature command for Color Control server into buffer including the APS frame
412 chip::System::PacketBufferHandle
413 encodeColorControlClusterMoveToColorTemperatureCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
414 uint16_t colorTemperature, uint16_t transitionTime, uint8_t optionsMask,
415 uint8_t optionsOverride);
419 * Encode an MoveToHue command for Color Control server into buffer including the APS frame
421 chip::System::PacketBufferHandle encodeColorControlClusterMoveToHueCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
422 uint8_t hue, uint8_t direction, uint16_t transitionTime,
423 uint8_t optionsMask, uint8_t optionsOverride);
427 * Encode an MoveToHueAndSaturation command for Color Control server into buffer including the APS frame
429 chip::System::PacketBufferHandle
430 encodeColorControlClusterMoveToHueAndSaturationCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t hue,
431 uint8_t saturation, uint16_t transitionTime, uint8_t optionsMask,
432 uint8_t optionsOverride);
436 * Encode an MoveToSaturation command for Color Control server into buffer including the APS frame
438 chip::System::PacketBufferHandle encodeColorControlClusterMoveToSaturationCommand(uint8_t seqNum,
439 chip::EndpointId destinationEndpoint,
440 uint8_t saturation, uint16_t transitionTime,
441 uint8_t optionsMask, uint8_t optionsOverride);
445 * Encode an StepColor command for Color Control server into buffer including the APS frame
447 chip::System::PacketBufferHandle encodeColorControlClusterStepColorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
448 int16_t stepX, int16_t stepY, uint16_t transitionTime,
449 uint8_t optionsMask, uint8_t optionsOverride);
453 * Encode an StepColorTemperature command for Color Control server into buffer including the APS frame
455 chip::System::PacketBufferHandle encodeColorControlClusterStepColorTemperatureCommand(
456 uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t stepMode, uint16_t stepSize, uint16_t transitionTime,
457 uint16_t colorTemperatureMinimum, uint16_t colorTemperatureMaximum, uint8_t optionsMask, uint8_t optionsOverride);
461 * Encode an StepHue command for Color Control server into buffer including the APS frame
463 chip::System::PacketBufferHandle encodeColorControlClusterStepHueCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
464 uint8_t stepMode, uint8_t stepSize, uint8_t transitionTime,
465 uint8_t optionsMask, uint8_t optionsOverride);
469 * Encode an StepSaturation command for Color Control server into buffer including the APS frame
471 chip::System::PacketBufferHandle encodeColorControlClusterStepSaturationCommand(uint8_t seqNum,
472 chip::EndpointId destinationEndpoint,
473 uint8_t stepMode, uint8_t stepSize,
474 uint8_t transitionTime, uint8_t optionsMask,
475 uint8_t optionsOverride);
479 * Encode an StopMoveStep command for Color Control server into buffer including the APS frame
481 chip::System::PacketBufferHandle encodeColorControlClusterStopMoveStepCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
482 uint8_t optionsMask, uint8_t optionsOverride);
486 * Encode a Color Control server discover command into buffer including the APS frame
488 chip::System::PacketBufferHandle encodeColorControlClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
492 * Encode a Color Control server read command for the current hue attribute into buffer including the APS frame
494 chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentHueAttribute(uint8_t seqNum,
495 chip::EndpointId destinationEndpoint);
499 * Encode a Color Control server configure report command for the current hue attribute into buffer including the APS frame
501 chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentHueAttribute(uint8_t seqNum,
502 chip::EndpointId destinationEndpoint,
503 uint16_t minInterval, uint16_t maxInterval,
508 * Encode a Color Control server read command for the current saturation attribute into buffer including the APS frame
510 chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentSaturationAttribute(uint8_t seqNum,
511 chip::EndpointId destinationEndpoint);
515 * Encode a Color Control server configure report command for the current saturation attribute into buffer including the APS
518 chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentSaturationAttribute(uint8_t seqNum,
519 chip::EndpointId destinationEndpoint,
520 uint16_t minInterval,
521 uint16_t maxInterval, uint8_t change);
525 * Encode a Color Control server read command for the remaining time attribute into buffer including the APS frame
527 chip::System::PacketBufferHandle encodeColorControlClusterReadRemainingTimeAttribute(uint8_t seqNum,
528 chip::EndpointId destinationEndpoint);
532 * Encode a Color Control server read command for the current x attribute into buffer including the APS frame
534 chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentXAttribute(uint8_t seqNum,
535 chip::EndpointId destinationEndpoint);
539 * Encode a Color Control server configure report command for the current x attribute into buffer including the APS frame
541 chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentXAttribute(uint8_t seqNum,
542 chip::EndpointId destinationEndpoint,
543 uint16_t minInterval, uint16_t maxInterval,
548 * Encode a Color Control server read command for the current y attribute into buffer including the APS frame
550 chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentYAttribute(uint8_t seqNum,
551 chip::EndpointId destinationEndpoint);
555 * Encode a Color Control server configure report command for the current y attribute into buffer including the APS frame
557 chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentYAttribute(uint8_t seqNum,
558 chip::EndpointId destinationEndpoint,
559 uint16_t minInterval, uint16_t maxInterval,
564 * Encode a Color Control server read command for the drift compensation attribute into buffer including the APS frame
566 chip::System::PacketBufferHandle encodeColorControlClusterReadDriftCompensationAttribute(uint8_t seqNum,
567 chip::EndpointId destinationEndpoint);
571 * Encode a Color Control server read command for the compensation text attribute into buffer including the APS frame
573 chip::System::PacketBufferHandle encodeColorControlClusterReadCompensationTextAttribute(uint8_t seqNum,
574 chip::EndpointId destinationEndpoint);
578 * Encode a Color Control server read command for the color temperature attribute into buffer including the APS frame
580 chip::System::PacketBufferHandle encodeColorControlClusterReadColorTemperatureAttribute(uint8_t seqNum,
581 chip::EndpointId destinationEndpoint);
585 * Encode a Color Control server configure report command for the color temperature attribute into buffer including the APS frame
587 chip::System::PacketBufferHandle encodeColorControlClusterConfigureColorTemperatureAttribute(uint8_t seqNum,
588 chip::EndpointId destinationEndpoint,
589 uint16_t minInterval,
590 uint16_t maxInterval, uint16_t change);
594 * Encode a Color Control server read command for the color mode attribute into buffer including the APS frame
596 chip::System::PacketBufferHandle encodeColorControlClusterReadColorModeAttribute(uint8_t seqNum,
597 chip::EndpointId destinationEndpoint);
601 * Encode a Color Control server read command for the color control options attribute into buffer including the APS frame
603 chip::System::PacketBufferHandle encodeColorControlClusterReadColorControlOptionsAttribute(uint8_t seqNum,
604 chip::EndpointId destinationEndpoint);
608 * Encode a Color Control server write command for the color control options attribute into buffer including the APS frame
610 chip::System::PacketBufferHandle encodeColorControlClusterWriteColorControlOptionsAttribute(uint8_t seqNum,
611 chip::EndpointId destinationEndpoint,
612 uint8_t colorControlOptions);
616 * Encode a Color Control server read command for the number of primaries attribute into buffer including the APS frame
618 chip::System::PacketBufferHandle encodeColorControlClusterReadNumberOfPrimariesAttribute(uint8_t seqNum,
619 chip::EndpointId destinationEndpoint);
623 * Encode a Color Control server read command for the primary 1 x attribute into buffer including the APS frame
625 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary1XAttribute(uint8_t seqNum,
626 chip::EndpointId destinationEndpoint);
630 * Encode a Color Control server read command for the primary 1 y attribute into buffer including the APS frame
632 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary1YAttribute(uint8_t seqNum,
633 chip::EndpointId destinationEndpoint);
637 * Encode a Color Control server read command for the primary 1 intensity attribute into buffer including the APS frame
639 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary1IntensityAttribute(uint8_t seqNum,
640 chip::EndpointId destinationEndpoint);
644 * Encode a Color Control server read command for the primary 2 x attribute into buffer including the APS frame
646 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary2XAttribute(uint8_t seqNum,
647 chip::EndpointId destinationEndpoint);
651 * Encode a Color Control server read command for the primary 2 y attribute into buffer including the APS frame
653 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary2YAttribute(uint8_t seqNum,
654 chip::EndpointId destinationEndpoint);
658 * Encode a Color Control server read command for the primary 2 intensity attribute into buffer including the APS frame
660 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary2IntensityAttribute(uint8_t seqNum,
661 chip::EndpointId destinationEndpoint);
665 * Encode a Color Control server read command for the primary 3 x attribute into buffer including the APS frame
667 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary3XAttribute(uint8_t seqNum,
668 chip::EndpointId destinationEndpoint);
672 * Encode a Color Control server read command for the primary 3 y attribute into buffer including the APS frame
674 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary3YAttribute(uint8_t seqNum,
675 chip::EndpointId destinationEndpoint);
679 * Encode a Color Control server read command for the primary 3 intensity attribute into buffer including the APS frame
681 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary3IntensityAttribute(uint8_t seqNum,
682 chip::EndpointId destinationEndpoint);
686 * Encode a Color Control server read command for the primary 4 x attribute into buffer including the APS frame
688 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary4XAttribute(uint8_t seqNum,
689 chip::EndpointId destinationEndpoint);
693 * Encode a Color Control server read command for the primary 4 y attribute into buffer including the APS frame
695 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary4YAttribute(uint8_t seqNum,
696 chip::EndpointId destinationEndpoint);
700 * Encode a Color Control server read command for the primary 4 intensity attribute into buffer including the APS frame
702 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary4IntensityAttribute(uint8_t seqNum,
703 chip::EndpointId destinationEndpoint);
707 * Encode a Color Control server read command for the primary 5 x attribute into buffer including the APS frame
709 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary5XAttribute(uint8_t seqNum,
710 chip::EndpointId destinationEndpoint);
714 * Encode a Color Control server read command for the primary 5 y attribute into buffer including the APS frame
716 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary5YAttribute(uint8_t seqNum,
717 chip::EndpointId destinationEndpoint);
721 * Encode a Color Control server read command for the primary 5 intensity attribute into buffer including the APS frame
723 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary5IntensityAttribute(uint8_t seqNum,
724 chip::EndpointId destinationEndpoint);
728 * Encode a Color Control server read command for the primary 6 x attribute into buffer including the APS frame
730 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary6XAttribute(uint8_t seqNum,
731 chip::EndpointId destinationEndpoint);
735 * Encode a Color Control server read command for the primary 6 y attribute into buffer including the APS frame
737 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary6YAttribute(uint8_t seqNum,
738 chip::EndpointId destinationEndpoint);
742 * Encode a Color Control server read command for the primary 6 intensity attribute into buffer including the APS frame
744 chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary6IntensityAttribute(uint8_t seqNum,
745 chip::EndpointId destinationEndpoint);
749 * Encode a Color Control server read command for the white point x attribute into buffer including the APS frame
751 chip::System::PacketBufferHandle encodeColorControlClusterReadWhitePointXAttribute(uint8_t seqNum,
752 chip::EndpointId destinationEndpoint);
756 * Encode a Color Control server write command for the white point x attribute into buffer including the APS frame
758 chip::System::PacketBufferHandle
759 encodeColorControlClusterWriteWhitePointXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t whitePointX);
763 * Encode a Color Control server read command for the white point y attribute into buffer including the APS frame
765 chip::System::PacketBufferHandle encodeColorControlClusterReadWhitePointYAttribute(uint8_t seqNum,
766 chip::EndpointId destinationEndpoint);
770 * Encode a Color Control server write command for the white point y attribute into buffer including the APS frame
772 chip::System::PacketBufferHandle
773 encodeColorControlClusterWriteWhitePointYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t whitePointY);
777 * Encode a Color Control server read command for the color point r x attribute into buffer including the APS frame
779 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointRXAttribute(uint8_t seqNum,
780 chip::EndpointId destinationEndpoint);
784 * Encode a Color Control server write command for the color point r x attribute into buffer including the APS frame
786 chip::System::PacketBufferHandle
787 encodeColorControlClusterWriteColorPointRXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointRX);
791 * Encode a Color Control server read command for the color point r y attribute into buffer including the APS frame
793 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointRYAttribute(uint8_t seqNum,
794 chip::EndpointId destinationEndpoint);
798 * Encode a Color Control server write command for the color point r y attribute into buffer including the APS frame
800 chip::System::PacketBufferHandle
801 encodeColorControlClusterWriteColorPointRYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointRY);
805 * Encode a Color Control server read command for the color point r intensity attribute into buffer including the APS frame
807 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointRIntensityAttribute(uint8_t seqNum,
808 chip::EndpointId destinationEndpoint);
812 * Encode a Color Control server write command for the color point r intensity attribute into buffer including the APS frame
814 chip::System::PacketBufferHandle encodeColorControlClusterWriteColorPointRIntensityAttribute(uint8_t seqNum,
815 chip::EndpointId destinationEndpoint,
816 uint8_t colorPointRIntensity);
820 * Encode a Color Control server read command for the color point g x attribute into buffer including the APS frame
822 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointGXAttribute(uint8_t seqNum,
823 chip::EndpointId destinationEndpoint);
827 * Encode a Color Control server write command for the color point g x attribute into buffer including the APS frame
829 chip::System::PacketBufferHandle
830 encodeColorControlClusterWriteColorPointGXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointGX);
834 * Encode a Color Control server read command for the color point g y attribute into buffer including the APS frame
836 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointGYAttribute(uint8_t seqNum,
837 chip::EndpointId destinationEndpoint);
841 * Encode a Color Control server write command for the color point g y attribute into buffer including the APS frame
843 chip::System::PacketBufferHandle
844 encodeColorControlClusterWriteColorPointGYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointGY);
848 * Encode a Color Control server read command for the color point g intensity attribute into buffer including the APS frame
850 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointGIntensityAttribute(uint8_t seqNum,
851 chip::EndpointId destinationEndpoint);
855 * Encode a Color Control server write command for the color point g intensity attribute into buffer including the APS frame
857 chip::System::PacketBufferHandle encodeColorControlClusterWriteColorPointGIntensityAttribute(uint8_t seqNum,
858 chip::EndpointId destinationEndpoint,
859 uint8_t colorPointGIntensity);
863 * Encode a Color Control server read command for the color point b x attribute into buffer including the APS frame
865 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointBXAttribute(uint8_t seqNum,
866 chip::EndpointId destinationEndpoint);
870 * Encode a Color Control server write command for the color point b x attribute into buffer including the APS frame
872 chip::System::PacketBufferHandle
873 encodeColorControlClusterWriteColorPointBXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointBX);
877 * Encode a Color Control server read command for the color point b y attribute into buffer including the APS frame
879 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointBYAttribute(uint8_t seqNum,
880 chip::EndpointId destinationEndpoint);
884 * Encode a Color Control server write command for the color point b y attribute into buffer including the APS frame
886 chip::System::PacketBufferHandle
887 encodeColorControlClusterWriteColorPointBYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointBY);
891 * Encode a Color Control server read command for the color point b intensity attribute into buffer including the APS frame
893 chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointBIntensityAttribute(uint8_t seqNum,
894 chip::EndpointId destinationEndpoint);
898 * Encode a Color Control server write command for the color point b intensity attribute into buffer including the APS frame
900 chip::System::PacketBufferHandle encodeColorControlClusterWriteColorPointBIntensityAttribute(uint8_t seqNum,
901 chip::EndpointId destinationEndpoint,
902 uint8_t colorPointBIntensity);
906 * Encode a Color Control server read command for the enhanced current hue attribute into buffer including the APS frame
908 chip::System::PacketBufferHandle encodeColorControlClusterReadEnhancedCurrentHueAttribute(uint8_t seqNum,
909 chip::EndpointId destinationEndpoint);
913 * Encode a Color Control server read command for the enhanced color mode attribute into buffer including the APS frame
915 chip::System::PacketBufferHandle encodeColorControlClusterReadEnhancedColorModeAttribute(uint8_t seqNum,
916 chip::EndpointId destinationEndpoint);
920 * Encode a Color Control server read command for the color loop active attribute into buffer including the APS frame
922 chip::System::PacketBufferHandle encodeColorControlClusterReadColorLoopActiveAttribute(uint8_t seqNum,
923 chip::EndpointId destinationEndpoint);
927 * Encode a Color Control server read command for the color loop direction attribute into buffer including the APS frame
929 chip::System::PacketBufferHandle encodeColorControlClusterReadColorLoopDirectionAttribute(uint8_t seqNum,
930 chip::EndpointId destinationEndpoint);
934 * Encode a Color Control server read command for the color loop time attribute into buffer including the APS frame
936 chip::System::PacketBufferHandle encodeColorControlClusterReadColorLoopTimeAttribute(uint8_t seqNum,
937 chip::EndpointId destinationEndpoint);
941 * Encode a Color Control server read command for the color capabilities attribute into buffer including the APS frame
943 chip::System::PacketBufferHandle encodeColorControlClusterReadColorCapabilitiesAttribute(uint8_t seqNum,
944 chip::EndpointId destinationEndpoint);
948 * Encode a Color Control server read command for the color temp physical min attribute into buffer including the APS frame
950 chip::System::PacketBufferHandle encodeColorControlClusterReadColorTempPhysicalMinAttribute(uint8_t seqNum,
951 chip::EndpointId destinationEndpoint);
955 * Encode a Color Control server read command for the color temp physical max attribute into buffer including the APS frame
957 chip::System::PacketBufferHandle encodeColorControlClusterReadColorTempPhysicalMaxAttribute(uint8_t seqNum,
958 chip::EndpointId destinationEndpoint);
962 * Encode a Color Control server read command for the couple color temp to level min-mireds attribute into buffer including the
965 chip::System::PacketBufferHandle
966 encodeColorControlClusterReadCoupleColorTempToLevelMinMiredsAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
970 * Encode a Color Control server read command for the start up color temperature mireds attribute into buffer including the APS
973 chip::System::PacketBufferHandle
974 encodeColorControlClusterReadStartUpColorTemperatureMiredsAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
978 * Encode a Color Control server write command for the start up color temperature mireds attribute into buffer including the APS
981 chip::System::PacketBufferHandle
982 encodeColorControlClusterWriteStartUpColorTemperatureMiredsAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint,
983 uint16_t startUpColorTemperatureMireds);
987 * Encode a Color Control server read command for the cluster revision attribute into buffer including the APS frame
989 chip::System::PacketBufferHandle encodeColorControlClusterReadClusterRevisionAttribute(uint8_t seqNum,
990 chip::EndpointId destinationEndpoint);
992 /*----------------------------------------------------------------------------*\
993 | Cluster ContentLaunch | 0xF002 |
994 |------------------------------------------------------------------------------|
996 | * LaunchContent | 0x00 |
997 | * LaunchURL | 0x01 |
998 |------------------------------------------------------------------------------|
1000 | * ClusterRevision | 0xFFFD |
1001 \*----------------------------------------------------------------------------*/
1005 * Encode an LaunchContent command for Content Launch server into buffer including the APS frame
1007 chip::System::PacketBufferHandle encodeContentLaunchClusterLaunchContentCommand(uint8_t seqNum,
1008 chip::EndpointId destinationEndpoint);
1012 * Encode an LaunchURL command for Content Launch server into buffer including the APS frame
1014 chip::System::PacketBufferHandle encodeContentLaunchClusterLaunchURLCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1018 * Encode a Content Launch server discover command into buffer including the APS frame
1020 chip::System::PacketBufferHandle encodeContentLaunchClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1024 * Encode a Content Launch server read command for the cluster revision attribute into buffer including the APS frame
1026 chip::System::PacketBufferHandle encodeContentLaunchClusterReadClusterRevisionAttribute(uint8_t seqNum,
1027 chip::EndpointId destinationEndpoint);
1029 /*----------------------------------------------------------------------------*\
1030 | Cluster DoorLock | 0x0101 |
1031 |------------------------------------------------------------------------------|
1033 | * ClearAllPins | 0x08 |
1034 | * ClearAllRfids | 0x19 |
1035 | * ClearHolidaySchedule | 0x13 |
1036 | * ClearPin | 0x07 |
1037 | * ClearRfid | 0x18 |
1038 | * ClearWeekdaySchedule | 0x0D |
1039 | * ClearYeardaySchedule | 0x10 |
1040 | * GetHolidaySchedule | 0x12 |
1041 | * GetLogRecord | 0x04 |
1043 | * GetRfid | 0x17 |
1044 | * GetUserType | 0x15 |
1045 | * GetWeekdaySchedule | 0x0C |
1046 | * GetYeardaySchedule | 0x0F |
1047 | * LockDoor | 0x00 |
1048 | * SetHolidaySchedule | 0x11 |
1050 | * SetRfid | 0x16 |
1051 | * SetUserType | 0x14 |
1052 | * SetWeekdaySchedule | 0x0B |
1053 | * SetYeardaySchedule | 0x0E |
1054 | * UnlockDoor | 0x01 |
1055 | * UnlockWithTimeout | 0x03 |
1056 |------------------------------------------------------------------------------|
1058 | * LockState | 0x0000 |
1059 | * LockType | 0x0001 |
1060 | * ActuatorEnabled | 0x0002 |
1061 | * ClusterRevision | 0xFFFD |
1062 \*----------------------------------------------------------------------------*/
1066 * Encode an ClearAllPins command for Door Lock server into buffer including the APS frame
1068 chip::System::PacketBufferHandle encodeDoorLockClusterClearAllPinsCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1072 * Encode an ClearAllRfids command for Door Lock server into buffer including the APS frame
1074 chip::System::PacketBufferHandle encodeDoorLockClusterClearAllRfidsCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1078 * Encode an ClearHolidaySchedule command for Door Lock server into buffer including the APS frame
1080 chip::System::PacketBufferHandle
1081 encodeDoorLockClusterClearHolidayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId);
1085 * Encode an ClearPin command for Door Lock server into buffer including the APS frame
1087 chip::System::PacketBufferHandle encodeDoorLockClusterClearPinCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1092 * Encode an ClearRfid command for Door Lock server into buffer including the APS frame
1094 chip::System::PacketBufferHandle encodeDoorLockClusterClearRfidCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1099 * Encode an ClearWeekdaySchedule command for Door Lock server into buffer including the APS frame
1101 chip::System::PacketBufferHandle encodeDoorLockClusterClearWeekdayScheduleCommand(uint8_t seqNum,
1102 chip::EndpointId destinationEndpoint,
1103 uint8_t scheduleId, uint16_t userId);
1107 * Encode an ClearYeardaySchedule command for Door Lock server into buffer including the APS frame
1109 chip::System::PacketBufferHandle encodeDoorLockClusterClearYeardayScheduleCommand(uint8_t seqNum,
1110 chip::EndpointId destinationEndpoint,
1111 uint8_t scheduleId, uint16_t userId);
1115 * Encode an GetHolidaySchedule command for Door Lock server into buffer including the APS frame
1117 chip::System::PacketBufferHandle
1118 encodeDoorLockClusterGetHolidayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId);
1122 * Encode an GetLogRecord command for Door Lock server into buffer including the APS frame
1124 chip::System::PacketBufferHandle encodeDoorLockClusterGetLogRecordCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1129 * Encode an GetPin command for Door Lock server into buffer including the APS frame
1131 chip::System::PacketBufferHandle encodeDoorLockClusterGetPinCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1136 * Encode an GetRfid command for Door Lock server into buffer including the APS frame
1138 chip::System::PacketBufferHandle encodeDoorLockClusterGetRfidCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1143 * Encode an GetUserType command for Door Lock server into buffer including the APS frame
1145 chip::System::PacketBufferHandle encodeDoorLockClusterGetUserTypeCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1150 * Encode an GetWeekdaySchedule command for Door Lock server into buffer including the APS frame
1152 chip::System::PacketBufferHandle encodeDoorLockClusterGetWeekdayScheduleCommand(uint8_t seqNum,
1153 chip::EndpointId destinationEndpoint,
1154 uint8_t scheduleId, uint16_t userId);
1158 * Encode an GetYeardaySchedule command for Door Lock server into buffer including the APS frame
1160 chip::System::PacketBufferHandle encodeDoorLockClusterGetYeardayScheduleCommand(uint8_t seqNum,
1161 chip::EndpointId destinationEndpoint,
1162 uint8_t scheduleId, uint16_t userId);
1166 * Encode an LockDoor command for Door Lock server into buffer including the APS frame
1168 chip::System::PacketBufferHandle encodeDoorLockClusterLockDoorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1173 * Encode an SetHolidaySchedule command for Door Lock server into buffer including the APS frame
1175 chip::System::PacketBufferHandle
1176 encodeDoorLockClusterSetHolidayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId,
1177 uint32_t localStartTime, uint32_t localEndTime, uint8_t operatingModeDuringHoliday);
1181 * Encode an SetPin command for Door Lock server into buffer including the APS frame
1183 chip::System::PacketBufferHandle encodeDoorLockClusterSetPinCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1184 uint16_t userId, uint8_t userStatus, uint8_t userType,
1189 * Encode an SetRfid command for Door Lock server into buffer including the APS frame
1191 chip::System::PacketBufferHandle encodeDoorLockClusterSetRfidCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1192 uint16_t userId, uint8_t userStatus, uint8_t userType,
1197 * Encode an SetUserType command for Door Lock server into buffer including the APS frame
1199 chip::System::PacketBufferHandle encodeDoorLockClusterSetUserTypeCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1200 uint16_t userId, uint8_t userType);
1204 * Encode an SetWeekdaySchedule command for Door Lock server into buffer including the APS frame
1206 chip::System::PacketBufferHandle
1207 encodeDoorLockClusterSetWeekdayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId,
1208 uint16_t userId, uint8_t daysMask, uint8_t startHour, uint8_t startMinute,
1209 uint8_t endHour, uint8_t endMinute);
1213 * Encode an SetYeardaySchedule command for Door Lock server into buffer including the APS frame
1215 chip::System::PacketBufferHandle encodeDoorLockClusterSetYeardayScheduleCommand(uint8_t seqNum,
1216 chip::EndpointId destinationEndpoint,
1217 uint8_t scheduleId, uint16_t userId,
1218 uint32_t localStartTime, uint32_t localEndTime);
1222 * Encode an UnlockDoor command for Door Lock server into buffer including the APS frame
1224 chip::System::PacketBufferHandle encodeDoorLockClusterUnlockDoorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1229 * Encode an UnlockWithTimeout command for Door Lock server into buffer including the APS frame
1231 chip::System::PacketBufferHandle encodeDoorLockClusterUnlockWithTimeoutCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1232 uint16_t timeoutInSeconds, char * pin);
1236 * Encode a Door Lock server discover command into buffer including the APS frame
1238 chip::System::PacketBufferHandle encodeDoorLockClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1242 * Encode a Door Lock server read command for the lock state attribute into buffer including the APS frame
1244 chip::System::PacketBufferHandle encodeDoorLockClusterReadLockStateAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1248 * Encode a Door Lock server configure report command for the lock state attribute into buffer including the APS frame
1250 chip::System::PacketBufferHandle encodeDoorLockClusterConfigureLockStateAttribute(uint8_t seqNum,
1251 chip::EndpointId destinationEndpoint,
1252 uint16_t minInterval, uint16_t maxInterval);
1256 * Encode a Door Lock server read command for the lock type attribute into buffer including the APS frame
1258 chip::System::PacketBufferHandle encodeDoorLockClusterReadLockTypeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1262 * Encode a Door Lock server read command for the actuator enabled attribute into buffer including the APS frame
1264 chip::System::PacketBufferHandle encodeDoorLockClusterReadActuatorEnabledAttribute(uint8_t seqNum,
1265 chip::EndpointId destinationEndpoint);
1269 * Encode a Door Lock server read command for the cluster revision attribute into buffer including the APS frame
1271 chip::System::PacketBufferHandle encodeDoorLockClusterReadClusterRevisionAttribute(uint8_t seqNum,
1272 chip::EndpointId destinationEndpoint);
1274 /*----------------------------------------------------------------------------*\
1275 | Cluster GeneralCommissioning | 0x0030 |
1276 |------------------------------------------------------------------------------|
1278 | * ArmFailSafe | 0x02 |
1279 | * CommissioningComplete | 0x06 |
1280 | * SetFabric | 0x00 |
1281 |------------------------------------------------------------------------------|
1283 | * FabricId | 0x0000 |
1284 | * Breadcrumb | 0x0001 |
1285 | * ClusterRevision | 0xFFFD |
1286 \*----------------------------------------------------------------------------*/
1290 * Encode an ArmFailSafe command for General Commissioning server into buffer including the APS frame
1292 chip::System::PacketBufferHandle encodeGeneralCommissioningClusterArmFailSafeCommand(uint8_t seqNum,
1293 chip::EndpointId destinationEndpoint,
1294 uint16_t expiryLengthSeconds,
1295 uint64_t breadcrumb, uint32_t timeoutMs);
1299 * Encode an CommissioningComplete command for General Commissioning server into buffer including the APS frame
1301 chip::System::PacketBufferHandle
1302 encodeGeneralCommissioningClusterCommissioningCompleteCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1306 * Encode an SetFabric command for General Commissioning server into buffer including the APS frame
1308 chip::System::PacketBufferHandle
1309 encodeGeneralCommissioningClusterSetFabricCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, chip::ByteSpan fabricId,
1310 chip::ByteSpan fabricSecret, uint64_t breadcrumb, uint32_t timeoutMs);
1314 * Encode a General Commissioning server discover command into buffer including the APS frame
1316 chip::System::PacketBufferHandle encodeGeneralCommissioningClusterDiscoverAttributes(uint8_t seqNum,
1317 chip::EndpointId destinationEndpoint);
1321 * Encode a General Commissioning server read command for the FabricId attribute into buffer including the APS frame
1323 chip::System::PacketBufferHandle encodeGeneralCommissioningClusterReadFabricIdAttribute(uint8_t seqNum,
1324 chip::EndpointId destinationEndpoint);
1328 * Encode a General Commissioning server read command for the Breadcrumb attribute into buffer including the APS frame
1330 chip::System::PacketBufferHandle encodeGeneralCommissioningClusterReadBreadcrumbAttribute(uint8_t seqNum,
1331 chip::EndpointId destinationEndpoint);
1335 * Encode a General Commissioning server write command for the Breadcrumb attribute into buffer including the APS frame
1337 chip::System::PacketBufferHandle encodeGeneralCommissioningClusterWriteBreadcrumbAttribute(uint8_t seqNum,
1338 chip::EndpointId destinationEndpoint,
1339 uint64_t breadcrumb);
1343 * Encode a General Commissioning server read command for the cluster revision attribute into buffer including the APS frame
1345 chip::System::PacketBufferHandle
1346 encodeGeneralCommissioningClusterReadClusterRevisionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1348 /*----------------------------------------------------------------------------*\
1349 | Cluster Groups | 0x0004 |
1350 |------------------------------------------------------------------------------|
1352 | * AddGroup | 0x00 |
1353 | * AddGroupIfIdentifying | 0x05 |
1354 | * GetGroupMembership | 0x02 |
1355 | * RemoveAllGroups | 0x04 |
1356 | * RemoveGroup | 0x03 |
1357 | * ViewGroup | 0x01 |
1358 |------------------------------------------------------------------------------|
1360 | * NameSupport | 0x0000 |
1361 | * ClusterRevision | 0xFFFD |
1362 \*----------------------------------------------------------------------------*/
1366 * Encode an AddGroup command for Groups server into buffer including the APS frame
1368 chip::System::PacketBufferHandle encodeGroupsClusterAddGroupCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1369 uint16_t groupId, char * groupName);
1373 * Encode an AddGroupIfIdentifying command for Groups server into buffer including the APS frame
1375 chip::System::PacketBufferHandle encodeGroupsClusterAddGroupIfIdentifyingCommand(uint8_t seqNum,
1376 chip::EndpointId destinationEndpoint,
1377 uint16_t groupId, char * groupName);
1381 * Encode an GetGroupMembership command for Groups server into buffer including the APS frame
1383 chip::System::PacketBufferHandle encodeGroupsClusterGetGroupMembershipCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1384 uint8_t groupCount, uint16_t groupList);
1388 * Encode an RemoveAllGroups command for Groups server into buffer including the APS frame
1390 chip::System::PacketBufferHandle encodeGroupsClusterRemoveAllGroupsCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1394 * Encode an RemoveGroup command for Groups server into buffer including the APS frame
1396 chip::System::PacketBufferHandle encodeGroupsClusterRemoveGroupCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1401 * Encode an ViewGroup command for Groups server into buffer including the APS frame
1403 chip::System::PacketBufferHandle encodeGroupsClusterViewGroupCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1408 * Encode a Groups server discover command into buffer including the APS frame
1410 chip::System::PacketBufferHandle encodeGroupsClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1414 * Encode a Groups server read command for the name support attribute into buffer including the APS frame
1416 chip::System::PacketBufferHandle encodeGroupsClusterReadNameSupportAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1420 * Encode a Groups server read command for the cluster revision attribute into buffer including the APS frame
1422 chip::System::PacketBufferHandle encodeGroupsClusterReadClusterRevisionAttribute(uint8_t seqNum,
1423 chip::EndpointId destinationEndpoint);
1425 /*----------------------------------------------------------------------------*\
1426 | Cluster IasZone | 0x0500 |
1427 |------------------------------------------------------------------------------|
1429 |------------------------------------------------------------------------------|
1431 | * ZoneState | 0x0000 |
1432 | * ZoneType | 0x0001 |
1433 | * ZoneStatus | 0x0002 |
1434 | * IasCieAddress | 0x0010 |
1435 | * ZoneId | 0x0011 |
1436 | * ClusterRevision | 0xFFFD |
1437 \*----------------------------------------------------------------------------*/
1441 * Encode a IAS Zone server discover command into buffer including the APS frame
1443 chip::System::PacketBufferHandle encodeIasZoneClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1447 * Encode a IAS Zone server read command for the zone state attribute into buffer including the APS frame
1449 chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneStateAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1453 * Encode a IAS Zone server read command for the zone type attribute into buffer including the APS frame
1455 chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneTypeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1459 * Encode a IAS Zone server read command for the zone status attribute into buffer including the APS frame
1461 chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneStatusAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1465 * Encode a IAS Zone server read command for the IAS CIE address attribute into buffer including the APS frame
1467 chip::System::PacketBufferHandle encodeIasZoneClusterReadIasCieAddressAttribute(uint8_t seqNum,
1468 chip::EndpointId destinationEndpoint);
1472 * Encode a IAS Zone server write command for the IAS CIE address attribute into buffer including the APS frame
1474 chip::System::PacketBufferHandle
1475 encodeIasZoneClusterWriteIasCieAddressAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint64_t iasCieAddress);
1479 * Encode a IAS Zone server read command for the Zone ID attribute into buffer including the APS frame
1481 chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneIdAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1485 * Encode a IAS Zone server read command for the cluster revision attribute into buffer including the APS frame
1487 chip::System::PacketBufferHandle encodeIasZoneClusterReadClusterRevisionAttribute(uint8_t seqNum,
1488 chip::EndpointId destinationEndpoint);
1490 /*----------------------------------------------------------------------------*\
1491 | Cluster Identify | 0x0003 |
1492 |------------------------------------------------------------------------------|
1494 | * Identify | 0x00 |
1495 | * IdentifyQuery | 0x01 |
1496 |------------------------------------------------------------------------------|
1498 | * IdentifyTime | 0x0000 |
1499 | * ClusterRevision | 0xFFFD |
1500 \*----------------------------------------------------------------------------*/
1504 * Encode an Identify command for Identify server into buffer including the APS frame
1506 chip::System::PacketBufferHandle encodeIdentifyClusterIdentifyCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1507 uint16_t identifyTime);
1511 * Encode an IdentifyQuery command for Identify server into buffer including the APS frame
1513 chip::System::PacketBufferHandle encodeIdentifyClusterIdentifyQueryCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1517 * Encode a Identify server discover command into buffer including the APS frame
1519 chip::System::PacketBufferHandle encodeIdentifyClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1523 * Encode a Identify server read command for the identify time attribute into buffer including the APS frame
1525 chip::System::PacketBufferHandle encodeIdentifyClusterReadIdentifyTimeAttribute(uint8_t seqNum,
1526 chip::EndpointId destinationEndpoint);
1530 * Encode a Identify server write command for the identify time attribute into buffer including the APS frame
1532 chip::System::PacketBufferHandle
1533 encodeIdentifyClusterWriteIdentifyTimeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t identifyTime);
1537 * Encode a Identify server read command for the cluster revision attribute into buffer including the APS frame
1539 chip::System::PacketBufferHandle encodeIdentifyClusterReadClusterRevisionAttribute(uint8_t seqNum,
1540 chip::EndpointId destinationEndpoint);
1542 /*----------------------------------------------------------------------------*\
1543 | Cluster LevelControl | 0x0008 |
1544 |------------------------------------------------------------------------------|
1547 | * MoveToLevel | 0x00 |
1548 | * MoveToLevelWithOnOff | 0x04 |
1549 | * MoveWithOnOff | 0x05 |
1551 | * StepWithOnOff | 0x06 |
1553 | * StopWithOnOff | 0x07 |
1554 |------------------------------------------------------------------------------|
1556 | * CurrentLevel | 0x0000 |
1557 | * ClusterRevision | 0xFFFD |
1558 \*----------------------------------------------------------------------------*/
1562 * Encode an Move command for Level Control server into buffer including the APS frame
1564 chip::System::PacketBufferHandle encodeLevelControlClusterMoveCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1565 uint8_t moveMode, uint8_t rate, uint8_t optionMask,
1566 uint8_t optionOverride);
1570 * Encode an MoveToLevel command for Level Control server into buffer including the APS frame
1572 chip::System::PacketBufferHandle encodeLevelControlClusterMoveToLevelCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1573 uint8_t level, uint16_t transitionTime,
1574 uint8_t optionMask, uint8_t optionOverride);
1578 * Encode an MoveToLevelWithOnOff command for Level Control server into buffer including the APS frame
1580 chip::System::PacketBufferHandle encodeLevelControlClusterMoveToLevelWithOnOffCommand(uint8_t seqNum,
1581 chip::EndpointId destinationEndpoint,
1582 uint8_t level, uint16_t transitionTime);
1586 * Encode an MoveWithOnOff command for Level Control server into buffer including the APS frame
1588 chip::System::PacketBufferHandle encodeLevelControlClusterMoveWithOnOffCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1589 uint8_t moveMode, uint8_t rate);
1593 * Encode an Step command for Level Control server into buffer including the APS frame
1595 chip::System::PacketBufferHandle encodeLevelControlClusterStepCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1596 uint8_t stepMode, uint8_t stepSize, uint16_t transitionTime,
1597 uint8_t optionMask, uint8_t optionOverride);
1601 * Encode an StepWithOnOff command for Level Control server into buffer including the APS frame
1603 chip::System::PacketBufferHandle encodeLevelControlClusterStepWithOnOffCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1604 uint8_t stepMode, uint8_t stepSize,
1605 uint16_t transitionTime);
1609 * Encode an Stop command for Level Control server into buffer including the APS frame
1611 chip::System::PacketBufferHandle encodeLevelControlClusterStopCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1612 uint8_t optionMask, uint8_t optionOverride);
1616 * Encode an StopWithOnOff command for Level Control server into buffer including the APS frame
1618 chip::System::PacketBufferHandle encodeLevelControlClusterStopWithOnOffCommand(uint8_t seqNum,
1619 chip::EndpointId destinationEndpoint);
1623 * Encode a Level Control server discover command into buffer including the APS frame
1625 chip::System::PacketBufferHandle encodeLevelControlClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1629 * Encode a Level Control server read command for the current level attribute into buffer including the APS frame
1631 chip::System::PacketBufferHandle encodeLevelControlClusterReadCurrentLevelAttribute(uint8_t seqNum,
1632 chip::EndpointId destinationEndpoint);
1636 * Encode a Level Control server configure report command for the current level attribute into buffer including the APS frame
1638 chip::System::PacketBufferHandle encodeLevelControlClusterConfigureCurrentLevelAttribute(uint8_t seqNum,
1639 chip::EndpointId destinationEndpoint,
1640 uint16_t minInterval, uint16_t maxInterval,
1645 * Encode a Level Control server read command for the cluster revision attribute into buffer including the APS frame
1647 chip::System::PacketBufferHandle encodeLevelControlClusterReadClusterRevisionAttribute(uint8_t seqNum,
1648 chip::EndpointId destinationEndpoint);
1650 /*----------------------------------------------------------------------------*\
1651 | Cluster LowPower | 0x0508 |
1652 |------------------------------------------------------------------------------|
1655 |------------------------------------------------------------------------------|
1657 | * ClusterRevision | 0xFFFD |
1658 \*----------------------------------------------------------------------------*/
1662 * Encode an Sleep command for Low Power server into buffer including the APS frame
1664 chip::System::PacketBufferHandle encodeLowPowerClusterSleepCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1668 * Encode a Low Power server discover command into buffer including the APS frame
1670 chip::System::PacketBufferHandle encodeLowPowerClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1674 * Encode a Low Power server read command for the cluster revision attribute into buffer including the APS frame
1676 chip::System::PacketBufferHandle encodeLowPowerClusterReadClusterRevisionAttribute(uint8_t seqNum,
1677 chip::EndpointId destinationEndpoint);
1679 /*----------------------------------------------------------------------------*\
1680 | Cluster MediaPlayback | 0xF001 |
1681 |------------------------------------------------------------------------------|
1683 | * FastForwardRequest | 0x07 |
1684 | * NextRequest | 0x05 |
1685 | * PauseRequest | 0x01 |
1686 | * PlayRequest | 0x00 |
1687 | * PreviousRequest | 0x04 |
1688 | * RewindRequest | 0x06 |
1689 | * SkipBackwardRequest | 0x09 |
1690 | * SkipForwardRequest | 0x08 |
1691 | * StartOverRequest | 0x03 |
1692 | * StopRequest | 0x02 |
1693 |------------------------------------------------------------------------------|
1695 | * CurrentState | 0x0000 |
1696 | * ClusterRevision | 0xFFFD |
1697 \*----------------------------------------------------------------------------*/
1701 * Encode an FastForwardRequest command for Media Playback server into buffer including the APS frame
1703 chip::System::PacketBufferHandle encodeMediaPlaybackClusterFastForwardRequestCommand(uint8_t seqNum,
1704 chip::EndpointId destinationEndpoint);
1708 * Encode an NextRequest command for Media Playback server into buffer including the APS frame
1710 chip::System::PacketBufferHandle encodeMediaPlaybackClusterNextRequestCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1714 * Encode an PauseRequest command for Media Playback server into buffer including the APS frame
1716 chip::System::PacketBufferHandle encodeMediaPlaybackClusterPauseRequestCommand(uint8_t seqNum,
1717 chip::EndpointId destinationEndpoint);
1721 * Encode an PlayRequest command for Media Playback server into buffer including the APS frame
1723 chip::System::PacketBufferHandle encodeMediaPlaybackClusterPlayRequestCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1727 * Encode an PreviousRequest command for Media Playback server into buffer including the APS frame
1729 chip::System::PacketBufferHandle encodeMediaPlaybackClusterPreviousRequestCommand(uint8_t seqNum,
1730 chip::EndpointId destinationEndpoint);
1734 * Encode an RewindRequest command for Media Playback server into buffer including the APS frame
1736 chip::System::PacketBufferHandle encodeMediaPlaybackClusterRewindRequestCommand(uint8_t seqNum,
1737 chip::EndpointId destinationEndpoint);
1741 * Encode an SkipBackwardRequest command for Media Playback server into buffer including the APS frame
1743 chip::System::PacketBufferHandle encodeMediaPlaybackClusterSkipBackwardRequestCommand(uint8_t seqNum,
1744 chip::EndpointId destinationEndpoint);
1748 * Encode an SkipForwardRequest command for Media Playback server into buffer including the APS frame
1750 chip::System::PacketBufferHandle encodeMediaPlaybackClusterSkipForwardRequestCommand(uint8_t seqNum,
1751 chip::EndpointId destinationEndpoint);
1755 * Encode an StartOverRequest command for Media Playback server into buffer including the APS frame
1757 chip::System::PacketBufferHandle encodeMediaPlaybackClusterStartOverRequestCommand(uint8_t seqNum,
1758 chip::EndpointId destinationEndpoint);
1762 * Encode an StopRequest command for Media Playback server into buffer including the APS frame
1764 chip::System::PacketBufferHandle encodeMediaPlaybackClusterStopRequestCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1768 * Encode a Media Playback server discover command into buffer including the APS frame
1770 chip::System::PacketBufferHandle encodeMediaPlaybackClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1774 * Encode a Media Playback server read command for the current state attribute into buffer including the APS frame
1776 chip::System::PacketBufferHandle encodeMediaPlaybackClusterReadCurrentStateAttribute(uint8_t seqNum,
1777 chip::EndpointId destinationEndpoint);
1781 * Encode a Media Playback server read command for the cluster revision attribute into buffer including the APS frame
1783 chip::System::PacketBufferHandle encodeMediaPlaybackClusterReadClusterRevisionAttribute(uint8_t seqNum,
1784 chip::EndpointId destinationEndpoint);
1786 /*----------------------------------------------------------------------------*\
1787 | Cluster NetworkCommissioning | 0xAAAA |
1788 |------------------------------------------------------------------------------|
1790 | * AddThreadNetwork | 0x06 |
1791 | * AddWiFiNetwork | 0x02 |
1792 | * DisableNetwork | 0x0E |
1793 | * EnableNetwork | 0x0C |
1794 | * GetLastNetworkCommissioningResult | 0x10 |
1795 | * RemoveNetwork | 0x0A |
1796 | * ScanNetworks | 0x00 |
1797 | * UpdateThreadNetwork | 0x08 |
1798 | * UpdateWiFiNetwork | 0x04 |
1799 |------------------------------------------------------------------------------|
1801 | * ClusterRevision | 0xFFFD |
1802 \*----------------------------------------------------------------------------*/
1806 * Encode an AddThreadNetwork command for Network Commissioning server into buffer including the APS frame
1808 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterAddThreadNetworkCommand(uint8_t seqNum,
1809 chip::EndpointId destinationEndpoint,
1810 chip::ByteSpan operationalDataset,
1811 uint64_t breadcrumb, uint32_t timeoutMs);
1815 * Encode an AddWiFiNetwork command for Network Commissioning server into buffer including the APS frame
1817 chip::System::PacketBufferHandle
1818 encodeNetworkCommissioningClusterAddWiFiNetworkCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, chip::ByteSpan ssid,
1819 chip::ByteSpan credentials, uint64_t breadcrumb, uint32_t timeoutMs);
1823 * Encode an DisableNetwork command for Network Commissioning server into buffer including the APS frame
1825 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterDisableNetworkCommand(uint8_t seqNum,
1826 chip::EndpointId destinationEndpoint,
1827 chip::ByteSpan networkID,
1828 uint64_t breadcrumb, uint32_t timeoutMs);
1832 * Encode an EnableNetwork command for Network Commissioning server into buffer including the APS frame
1834 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterEnableNetworkCommand(uint8_t seqNum,
1835 chip::EndpointId destinationEndpoint,
1836 chip::ByteSpan networkID,
1837 uint64_t breadcrumb, uint32_t timeoutMs);
1841 * Encode an GetLastNetworkCommissioningResult command for Network Commissioning server into buffer including the APS frame
1843 chip::System::PacketBufferHandle
1844 encodeNetworkCommissioningClusterGetLastNetworkCommissioningResultCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1845 uint32_t timeoutMs);
1849 * Encode an RemoveNetwork command for Network Commissioning server into buffer including the APS frame
1851 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterRemoveNetworkCommand(uint8_t seqNum,
1852 chip::EndpointId destinationEndpoint,
1853 chip::ByteSpan networkID,
1854 uint64_t breadcrumb, uint32_t timeoutMs);
1858 * Encode an ScanNetworks command for Network Commissioning server into buffer including the APS frame
1860 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterScanNetworksCommand(uint8_t seqNum,
1861 chip::EndpointId destinationEndpoint,
1862 chip::ByteSpan ssid, uint64_t breadcrumb,
1863 uint32_t timeoutMs);
1867 * Encode an UpdateThreadNetwork command for Network Commissioning server into buffer including the APS frame
1869 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterUpdateThreadNetworkCommand(uint8_t seqNum,
1870 chip::EndpointId destinationEndpoint,
1871 chip::ByteSpan operationalDataset,
1872 uint64_t breadcrumb,
1873 uint32_t timeoutMs);
1877 * Encode an UpdateWiFiNetwork command for Network Commissioning server into buffer including the APS frame
1879 chip::System::PacketBufferHandle
1880 encodeNetworkCommissioningClusterUpdateWiFiNetworkCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, chip::ByteSpan ssid,
1881 chip::ByteSpan credentials, uint64_t breadcrumb, uint32_t timeoutMs);
1885 * Encode a Network Commissioning server discover command into buffer including the APS frame
1887 chip::System::PacketBufferHandle encodeNetworkCommissioningClusterDiscoverAttributes(uint8_t seqNum,
1888 chip::EndpointId destinationEndpoint);
1892 * Encode a Network Commissioning server read command for the cluster revision attribute into buffer including the APS frame
1894 chip::System::PacketBufferHandle
1895 encodeNetworkCommissioningClusterReadClusterRevisionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1897 /*----------------------------------------------------------------------------*\
1898 | Cluster OnOff | 0x0006 |
1899 |------------------------------------------------------------------------------|
1904 |------------------------------------------------------------------------------|
1906 | * OnOff | 0x0000 |
1907 | * ClusterRevision | 0xFFFD |
1908 \*----------------------------------------------------------------------------*/
1912 * Encode an Off command for On/off server into buffer including the APS frame
1914 chip::System::PacketBufferHandle encodeOnOffClusterOffCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1918 * Encode an On command for On/off server into buffer including the APS frame
1920 chip::System::PacketBufferHandle encodeOnOffClusterOnCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1924 * Encode an Toggle command for On/off server into buffer including the APS frame
1926 chip::System::PacketBufferHandle encodeOnOffClusterToggleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1930 * Encode a On/off server discover command into buffer including the APS frame
1932 chip::System::PacketBufferHandle encodeOnOffClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1936 * Encode a On/off server read command for the on/off attribute into buffer including the APS frame
1938 chip::System::PacketBufferHandle encodeOnOffClusterReadOnOffAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
1942 * Encode a On/off server configure report command for the on/off attribute into buffer including the APS frame
1944 chip::System::PacketBufferHandle encodeOnOffClusterConfigureOnOffAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1945 uint16_t minInterval, uint16_t maxInterval);
1949 * Encode a On/off server read command for the cluster revision attribute into buffer including the APS frame
1951 chip::System::PacketBufferHandle encodeOnOffClusterReadClusterRevisionAttribute(uint8_t seqNum,
1952 chip::EndpointId destinationEndpoint);
1954 /*----------------------------------------------------------------------------*\
1955 | Cluster Scenes | 0x0005 |
1956 |------------------------------------------------------------------------------|
1958 | * AddScene | 0x00 |
1959 | * GetSceneMembership | 0x06 |
1960 | * RecallScene | 0x05 |
1961 | * RemoveAllScenes | 0x03 |
1962 | * RemoveScene | 0x02 |
1963 | * StoreScene | 0x04 |
1964 | * ViewScene | 0x01 |
1965 |------------------------------------------------------------------------------|
1967 | * SceneCount | 0x0000 |
1968 | * CurrentScene | 0x0001 |
1969 | * CurrentGroup | 0x0002 |
1970 | * SceneValid | 0x0003 |
1971 | * NameSupport | 0x0004 |
1972 | * ClusterRevision | 0xFFFD |
1973 \*----------------------------------------------------------------------------*/
1977 * Encode an AddScene command for Scenes server into buffer including the APS frame
1979 chip::System::PacketBufferHandle encodeScenesClusterAddSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1980 uint16_t groupId, uint8_t sceneId, uint16_t transitionTime,
1981 char * sceneName, chip::ClusterId clusterId, uint8_t length,
1986 * Encode an GetSceneMembership command for Scenes server into buffer including the APS frame
1988 chip::System::PacketBufferHandle encodeScenesClusterGetSceneMembershipCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1993 * Encode an RecallScene command for Scenes server into buffer including the APS frame
1995 chip::System::PacketBufferHandle encodeScenesClusterRecallSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
1996 uint16_t groupId, uint8_t sceneId, uint16_t transitionTime);
2000 * Encode an RemoveAllScenes command for Scenes server into buffer including the APS frame
2002 chip::System::PacketBufferHandle encodeScenesClusterRemoveAllScenesCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
2007 * Encode an RemoveScene command for Scenes server into buffer including the APS frame
2009 chip::System::PacketBufferHandle encodeScenesClusterRemoveSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
2010 uint16_t groupId, uint8_t sceneId);
2014 * Encode an StoreScene command for Scenes server into buffer including the APS frame
2016 chip::System::PacketBufferHandle encodeScenesClusterStoreSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
2017 uint16_t groupId, uint8_t sceneId);
2021 * Encode an ViewScene command for Scenes server into buffer including the APS frame
2023 chip::System::PacketBufferHandle encodeScenesClusterViewSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint,
2024 uint16_t groupId, uint8_t sceneId);
2028 * Encode a Scenes server discover command into buffer including the APS frame
2030 chip::System::PacketBufferHandle encodeScenesClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2034 * Encode a Scenes server read command for the scene count attribute into buffer including the APS frame
2036 chip::System::PacketBufferHandle encodeScenesClusterReadSceneCountAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2040 * Encode a Scenes server read command for the current scene attribute into buffer including the APS frame
2042 chip::System::PacketBufferHandle encodeScenesClusterReadCurrentSceneAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2046 * Encode a Scenes server read command for the current group attribute into buffer including the APS frame
2048 chip::System::PacketBufferHandle encodeScenesClusterReadCurrentGroupAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2052 * Encode a Scenes server read command for the scene valid attribute into buffer including the APS frame
2054 chip::System::PacketBufferHandle encodeScenesClusterReadSceneValidAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2058 * Encode a Scenes server read command for the name support attribute into buffer including the APS frame
2060 chip::System::PacketBufferHandle encodeScenesClusterReadNameSupportAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2064 * Encode a Scenes server read command for the cluster revision attribute into buffer including the APS frame
2066 chip::System::PacketBufferHandle encodeScenesClusterReadClusterRevisionAttribute(uint8_t seqNum,
2067 chip::EndpointId destinationEndpoint);
2069 /*----------------------------------------------------------------------------*\
2070 | Cluster TemperatureMeasurement | 0x0402 |
2071 |------------------------------------------------------------------------------|
2073 |------------------------------------------------------------------------------|
2075 | * MeasuredValue | 0x0000 |
2076 | * MinMeasuredValue | 0x0001 |
2077 | * MaxMeasuredValue | 0x0002 |
2078 | * ClusterRevision | 0xFFFD |
2079 \*----------------------------------------------------------------------------*/
2083 * Encode a Temperature Measurement server discover command into buffer including the APS frame
2085 chip::System::PacketBufferHandle encodeTemperatureMeasurementClusterDiscoverAttributes(uint8_t seqNum,
2086 chip::EndpointId destinationEndpoint);
2090 * Encode a Temperature Measurement server read command for the measured value attribute into buffer including the APS frame
2092 chip::System::PacketBufferHandle
2093 encodeTemperatureMeasurementClusterReadMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2097 * Encode a Temperature Measurement server configure report command for the measured value attribute into buffer including the
2100 chip::System::PacketBufferHandle
2101 encodeTemperatureMeasurementClusterConfigureMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint,
2102 uint16_t minInterval, uint16_t maxInterval, int16_t change);
2106 * Encode a Temperature Measurement server read command for the min measured value attribute into buffer including the APS frame
2108 chip::System::PacketBufferHandle
2109 encodeTemperatureMeasurementClusterReadMinMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2113 * Encode a Temperature Measurement server read command for the max measured value attribute into buffer including the APS frame
2115 chip::System::PacketBufferHandle
2116 encodeTemperatureMeasurementClusterReadMaxMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);
2120 * Encode a Temperature Measurement server read command for the cluster revision attribute into buffer including the APS frame
2122 chip::System::PacketBufferHandle
2123 encodeTemperatureMeasurementClusterReadClusterRevisionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint);