| /* |
| * |
| * Copyright (c) 2021 Project CHIP Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| // THIS FILE IS GENERATED BY ZAP |
| |
| // Prevent multiple inclusion |
| #pragma once |
| |
| #include <app/util/basic-types.h> |
| #include <lib/support/Span.h> |
| #include <stdint.h> |
| #include <system/SystemPacketBuffer.h> |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Name | ID | |
| |---------------------------------------------------------------------+--------| |
| | ApplicationBasic | 0x050D | |
| | BarrierControl | 0x0103 | |
| | Basic | 0x0028 | |
| | Binding | 0xF000 | |
| | ColorControl | 0x0300 | |
| | Descriptor | 0x001D | |
| | DoorLock | 0x0101 | |
| | GeneralCommissioning | 0x0030 | |
| | GroupKeyManagement | 0xF004 | |
| | Groups | 0x0004 | |
| | IasZone | 0x0500 | |
| | Identify | 0x0003 | |
| | LevelControl | 0x0008 | |
| | LowPower | 0x0508 | |
| | NetworkCommissioning | 0x0031 | |
| | OnOff | 0x0006 | |
| | Scenes | 0x0005 | |
| | TemperatureMeasurement | 0x0402 | |
| | Thermostat | 0x0201 | |
| | WindowCovering | 0x0102 | |
| \*----------------------------------------------------------------------------*/ |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster ApplicationBasic | 0x050D | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * VendorName | 0x0000 | |
| | * VendorId | 0x0001 | |
| | * ApplicationName | 0x0002 | |
| | * ProductId | 0x0003 | |
| | * ApplicationId | 0x0005 | |
| | * CatalogVendorId | 0x0006 | |
| | * ApplicationSatus | 0x0007 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode a Application Basic server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the vendor name attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadVendorNameAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the vendor id attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadVendorIdAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the application name attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadApplicationNameAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the product id attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadProductIdAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the application id attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadApplicationIdAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the catalog vendor id attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadCatalogVendorIdAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the application satus attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadApplicationSatusAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Application Basic server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeApplicationBasicClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster BarrierControl | 0x0103 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * BarrierControlGoToPercent | 0x00 | |
| | * BarrierControlStop | 0x01 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * BarrierMovingState | 0x0001 | |
| | * BarrierSafetyStatus | 0x0002 | |
| | * BarrierCapabilities | 0x0003 | |
| | * BarrierPosition | 0x000A | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an BarrierControlGoToPercent command for Barrier Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterBarrierControlGoToPercentCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t percentOpen); |
| |
| /** |
| * @brief |
| * Encode an BarrierControlStop command for Barrier Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterBarrierControlStopCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Barrier Control server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Barrier Control server read command for the barrier moving state attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierMovingStateAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Barrier Control server read command for the barrier safety status attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierSafetyStatusAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Barrier Control server read command for the barrier capabilities attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierCapabilitiesAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Barrier Control server read command for the barrier position attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterReadBarrierPositionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Barrier Control server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBarrierControlClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Basic | 0x0028 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * MfgSpecificPing | 0x00 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * InteractionModelVersion | 0x0000 | |
| | * VendorName | 0x0001 | |
| | * VendorID | 0x0002 | |
| | * ProductName | 0x0003 | |
| | * ProductID | 0x0004 | |
| | * UserLabel | 0x0005 | |
| | * Location | 0x0006 | |
| | * HardwareVersion | 0x0007 | |
| | * HardwareVersionString | 0x0008 | |
| | * SoftwareVersion | 0x0009 | |
| | * SoftwareVersionString | 0x000A | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an MfgSpecificPing command for Basic server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterMfgSpecificPingCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the InteractionModelVersion attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadInteractionModelVersionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the VendorName attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadVendorNameAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the VendorID attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadVendorIDAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the ProductName attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadProductNameAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the ProductID attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadProductIDAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the UserLabel attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadUserLabelAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server write command for the UserLabel attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterWriteUserLabelAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| chip::ByteSpan userLabel); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the Location attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadLocationAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server write command for the Location attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterWriteLocationAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| chip::ByteSpan location); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the HardwareVersion attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadHardwareVersionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the HardwareVersionString attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadHardwareVersionStringAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the SoftwareVersion attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadSoftwareVersionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the SoftwareVersionString attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadSoftwareVersionStringAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Basic server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBasicClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Binding | 0xF000 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * Bind | 0x00 | |
| | * Unbind | 0x01 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an Bind command for Binding server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBindingClusterBindCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| chip::NodeId nodeId, chip::GroupId groupId, |
| chip::EndpointId endpointId, chip::ClusterId clusterId); |
| |
| /** |
| * @brief |
| * Encode an Unbind command for Binding server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBindingClusterUnbindCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| chip::NodeId nodeId, chip::GroupId groupId, |
| chip::EndpointId endpointId, chip::ClusterId clusterId); |
| |
| /** |
| * @brief |
| * Encode a Binding server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBindingClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Binding server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeBindingClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster ColorControl | 0x0300 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * MoveColor | 0x08 | |
| | * MoveColorTemperature | 0x4B | |
| | * MoveHue | 0x01 | |
| | * MoveSaturation | 0x04 | |
| | * MoveToColor | 0x07 | |
| | * MoveToColorTemperature | 0x0A | |
| | * MoveToHue | 0x00 | |
| | * MoveToHueAndSaturation | 0x06 | |
| | * MoveToSaturation | 0x03 | |
| | * StepColor | 0x09 | |
| | * StepColorTemperature | 0x4C | |
| | * StepHue | 0x02 | |
| | * StepSaturation | 0x05 | |
| | * StopMoveStep | 0x47 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * CurrentHue | 0x0000 | |
| | * CurrentSaturation | 0x0001 | |
| | * RemainingTime | 0x0002 | |
| | * CurrentX | 0x0003 | |
| | * CurrentY | 0x0004 | |
| | * DriftCompensation | 0x0005 | |
| | * CompensationText | 0x0006 | |
| | * ColorTemperature | 0x0007 | |
| | * ColorMode | 0x0008 | |
| | * ColorControlOptions | 0x000F | |
| | * NumberOfPrimaries | 0x0010 | |
| | * Primary1X | 0x0011 | |
| | * Primary1Y | 0x0012 | |
| | * Primary1Intensity | 0x0013 | |
| | * Primary2X | 0x0015 | |
| | * Primary2Y | 0x0016 | |
| | * Primary2Intensity | 0x0017 | |
| | * Primary3X | 0x0019 | |
| | * Primary3Y | 0x001A | |
| | * Primary3Intensity | 0x001B | |
| | * Primary4X | 0x0020 | |
| | * Primary4Y | 0x0021 | |
| | * Primary4Intensity | 0x0022 | |
| | * Primary5X | 0x0024 | |
| | * Primary5Y | 0x0025 | |
| | * Primary5Intensity | 0x0026 | |
| | * Primary6X | 0x0028 | |
| | * Primary6Y | 0x0029 | |
| | * Primary6Intensity | 0x002A | |
| | * WhitePointX | 0x0030 | |
| | * WhitePointY | 0x0031 | |
| | * ColorPointRX | 0x0032 | |
| | * ColorPointRY | 0x0033 | |
| | * ColorPointRIntensity | 0x0034 | |
| | * ColorPointGX | 0x0036 | |
| | * ColorPointGY | 0x0037 | |
| | * ColorPointGIntensity | 0x0038 | |
| | * ColorPointBX | 0x003A | |
| | * ColorPointBY | 0x003B | |
| | * ColorPointBIntensity | 0x003C | |
| | * EnhancedCurrentHue | 0x4000 | |
| | * EnhancedColorMode | 0x4001 | |
| | * ColorLoopActive | 0x4002 | |
| | * ColorLoopDirection | 0x4003 | |
| | * ColorLoopTime | 0x4004 | |
| | * ColorCapabilities | 0x400A | |
| | * ColorTempPhysicalMin | 0x400B | |
| | * ColorTempPhysicalMax | 0x400C | |
| | * CoupleColorTempToLevelMinMireds | 0x400D | |
| | * StartUpColorTemperatureMireds | 0x4010 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an MoveColor command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveColorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| int16_t rateX, int16_t rateY, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveColorTemperature command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveColorTemperatureCommand( |
| uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t moveMode, uint16_t rate, uint16_t colorTemperatureMinimum, |
| uint16_t colorTemperatureMaximum, uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveHue command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveHueCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t moveMode, uint8_t rate, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveSaturation command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveSaturationCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t moveMode, uint8_t rate, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToColor command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveToColorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t colorX, uint16_t colorY, |
| uint16_t transitionTime, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToColorTemperature command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterMoveToColorTemperatureCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t colorTemperature, uint16_t transitionTime, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToHue command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveToHueCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t hue, uint8_t direction, uint16_t transitionTime, |
| uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToHueAndSaturation command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterMoveToHueAndSaturationCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t hue, |
| uint8_t saturation, uint16_t transitionTime, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToSaturation command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterMoveToSaturationCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t saturation, uint16_t transitionTime, |
| uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an StepColor command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterStepColorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| int16_t stepX, int16_t stepY, uint16_t transitionTime, |
| uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an StepColorTemperature command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterStepColorTemperatureCommand( |
| uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t stepMode, uint16_t stepSize, uint16_t transitionTime, |
| uint16_t colorTemperatureMinimum, uint16_t colorTemperatureMaximum, uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an StepHue command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterStepHueCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t stepMode, uint8_t stepSize, uint8_t transitionTime, |
| uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an StepSaturation command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterStepSaturationCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t stepMode, uint8_t stepSize, |
| uint8_t transitionTime, uint8_t optionsMask, |
| uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode an StopMoveStep command for Color Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterStopMoveStepCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t optionsMask, uint8_t optionsOverride); |
| |
| /** |
| * @brief |
| * Encode a Color Control server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the current hue attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentHueAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server configure report command for the current hue attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentHueAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, |
| uint8_t change); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the current saturation attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentSaturationAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server configure report command for the current saturation attribute into buffer including the APS |
| * frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentSaturationAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, |
| uint16_t maxInterval, uint8_t change); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the remaining time attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadRemainingTimeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the current x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentXAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server configure report command for the current x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentXAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, |
| uint16_t change); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the current y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadCurrentYAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server configure report command for the current y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterConfigureCurrentYAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, |
| uint16_t change); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the drift compensation attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadDriftCompensationAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the compensation text attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadCompensationTextAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color temperature attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorTemperatureAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server configure report command for the color temperature attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterConfigureColorTemperatureAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, |
| uint16_t maxInterval, uint16_t change); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color mode attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorModeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color control options attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorControlOptionsAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color control options attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterWriteColorControlOptionsAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t colorControlOptions); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the number of primaries attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadNumberOfPrimariesAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 1 x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary1XAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 1 y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary1YAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 1 intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary1IntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 2 x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary2XAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 2 y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary2YAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 2 intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary2IntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 3 x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary3XAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 3 y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary3YAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 3 intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary3IntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 4 x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary4XAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 4 y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary4YAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 4 intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary4IntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 5 x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary5XAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 5 y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary5YAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 5 intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary5IntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 6 x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary6XAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 6 y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary6YAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the primary 6 intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadPrimary6IntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the white point x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadWhitePointXAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the white point x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteWhitePointXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t whitePointX); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the white point y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadWhitePointYAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the white point y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteWhitePointYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t whitePointY); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point r x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointRXAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point r x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteColorPointRXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointRX); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point r y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointRYAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point r y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteColorPointRYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointRY); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point r intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointRIntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point r intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterWriteColorPointRIntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t colorPointRIntensity); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point g x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointGXAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point g x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteColorPointGXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointGX); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point g y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointGYAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point g y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteColorPointGYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointGY); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point g intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointGIntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point g intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterWriteColorPointGIntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t colorPointGIntensity); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point b x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointBXAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point b x attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteColorPointBXAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointBX); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point b y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointBYAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point b y attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteColorPointBYAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t colorPointBY); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color point b intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorPointBIntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the color point b intensity attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterWriteColorPointBIntensityAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t colorPointBIntensity); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the enhanced current hue attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadEnhancedCurrentHueAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the enhanced color mode attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadEnhancedColorModeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color loop active attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorLoopActiveAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color loop direction attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorLoopDirectionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color loop time attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorLoopTimeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color capabilities attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorCapabilitiesAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color temp physical min attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorTempPhysicalMinAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the color temp physical max attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadColorTempPhysicalMaxAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the couple color temp to level min-mireds attribute into buffer including the |
| * APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterReadCoupleColorTempToLevelMinMiredsAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the start up color temperature mireds attribute into buffer including the APS |
| * frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterReadStartUpColorTemperatureMiredsAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Color Control server write command for the start up color temperature mireds attribute into buffer including the APS |
| * frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeColorControlClusterWriteStartUpColorTemperatureMiredsAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t startUpColorTemperatureMireds); |
| |
| /** |
| * @brief |
| * Encode a Color Control server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeColorControlClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Descriptor | 0x001D | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * DeviceList | 0x0000 | |
| | * ServerList | 0x0001 | |
| | * ClientList | 0x0002 | |
| | * PartsList | 0x0003 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode a Descriptor server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDescriptorClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Descriptor server read command for the device list attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDescriptorClusterReadDeviceListAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Descriptor server read command for the server list attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDescriptorClusterReadServerListAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Descriptor server read command for the client list attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDescriptorClusterReadClientListAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Descriptor server read command for the parts list attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDescriptorClusterReadPartsListAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Descriptor server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDescriptorClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster DoorLock | 0x0101 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * ClearAllPins | 0x08 | |
| | * ClearAllRfids | 0x19 | |
| | * ClearHolidaySchedule | 0x13 | |
| | * ClearPin | 0x07 | |
| | * ClearRfid | 0x18 | |
| | * ClearWeekdaySchedule | 0x0D | |
| | * ClearYeardaySchedule | 0x10 | |
| | * GetHolidaySchedule | 0x12 | |
| | * GetLogRecord | 0x04 | |
| | * GetPin | 0x06 | |
| | * GetRfid | 0x17 | |
| | * GetUserType | 0x15 | |
| | * GetWeekdaySchedule | 0x0C | |
| | * GetYeardaySchedule | 0x0F | |
| | * LockDoor | 0x00 | |
| | * SetHolidaySchedule | 0x11 | |
| | * SetPin | 0x05 | |
| | * SetRfid | 0x16 | |
| | * SetUserType | 0x14 | |
| | * SetWeekdaySchedule | 0x0B | |
| | * SetYeardaySchedule | 0x0E | |
| | * UnlockDoor | 0x01 | |
| | * UnlockWithTimeout | 0x03 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * LockState | 0x0000 | |
| | * LockType | 0x0001 | |
| | * ActuatorEnabled | 0x0002 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an ClearAllPins command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterClearAllPinsCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an ClearAllRfids command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterClearAllRfidsCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an ClearHolidaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeDoorLockClusterClearHolidayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId); |
| |
| /** |
| * @brief |
| * Encode an ClearPin command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterClearPinCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an ClearRfid command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterClearRfidCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an ClearWeekdaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterClearWeekdayScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t scheduleId, uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an ClearYeardaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterClearYeardayScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t scheduleId, uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an GetHolidaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeDoorLockClusterGetHolidayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId); |
| |
| /** |
| * @brief |
| * Encode an GetLogRecord command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterGetLogRecordCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t logIndex); |
| |
| /** |
| * @brief |
| * Encode an GetPin command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterGetPinCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an GetRfid command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterGetRfidCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an GetUserType command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterGetUserTypeCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an GetWeekdaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterGetWeekdayScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t scheduleId, uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an GetYeardaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterGetYeardayScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t scheduleId, uint16_t userId); |
| |
| /** |
| * @brief |
| * Encode an LockDoor command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterLockDoorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| chip::ByteSpan pin); |
| |
| /** |
| * @brief |
| * Encode an SetHolidaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeDoorLockClusterSetHolidayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId, |
| uint32_t localStartTime, uint32_t localEndTime, uint8_t operatingModeDuringHoliday); |
| |
| /** |
| * @brief |
| * Encode an SetPin command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterSetPinCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId, uint8_t userStatus, uint8_t userType, |
| chip::ByteSpan pin); |
| |
| /** |
| * @brief |
| * Encode an SetRfid command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterSetRfidCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId, uint8_t userStatus, uint8_t userType, |
| chip::ByteSpan id); |
| |
| /** |
| * @brief |
| * Encode an SetUserType command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterSetUserTypeCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t userId, uint8_t userType); |
| |
| /** |
| * @brief |
| * Encode an SetWeekdaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeDoorLockClusterSetWeekdayScheduleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t scheduleId, |
| uint16_t userId, uint8_t daysMask, uint8_t startHour, uint8_t startMinute, |
| uint8_t endHour, uint8_t endMinute); |
| |
| /** |
| * @brief |
| * Encode an SetYeardaySchedule command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterSetYeardayScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t scheduleId, uint16_t userId, |
| uint32_t localStartTime, uint32_t localEndTime); |
| |
| /** |
| * @brief |
| * Encode an UnlockDoor command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterUnlockDoorCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| chip::ByteSpan pin); |
| |
| /** |
| * @brief |
| * Encode an UnlockWithTimeout command for Door Lock server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterUnlockWithTimeoutCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t timeoutInSeconds, chip::ByteSpan pin); |
| |
| /** |
| * @brief |
| * Encode a Door Lock server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Door Lock server read command for the lock state attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterReadLockStateAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Door Lock server configure report command for the lock state attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterConfigureLockStateAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval); |
| |
| /** |
| * @brief |
| * Encode a Door Lock server read command for the lock type attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterReadLockTypeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Door Lock server read command for the actuator enabled attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterReadActuatorEnabledAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Door Lock server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeDoorLockClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster GeneralCommissioning | 0x0030 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * ArmFailSafe | 0x02 | |
| | * CommissioningComplete | 0x06 | |
| | * SetFabric | 0x00 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * FabricId | 0x0000 | |
| | * Breadcrumb | 0x0001 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an ArmFailSafe command for General Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGeneralCommissioningClusterArmFailSafeCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t expiryLengthSeconds, |
| uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an CommissioningComplete command for General Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeGeneralCommissioningClusterCommissioningCompleteCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an SetFabric command for General Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeGeneralCommissioningClusterSetFabricCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, chip::ByteSpan fabricId, |
| chip::ByteSpan fabricSecret, uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode a General Commissioning server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGeneralCommissioningClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a General Commissioning server read command for the FabricId attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGeneralCommissioningClusterReadFabricIdAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a General Commissioning server read command for the Breadcrumb attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGeneralCommissioningClusterReadBreadcrumbAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a General Commissioning server write command for the Breadcrumb attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGeneralCommissioningClusterWriteBreadcrumbAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint64_t breadcrumb); |
| |
| /** |
| * @brief |
| * Encode a General Commissioning server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeGeneralCommissioningClusterReadClusterRevisionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster GroupKeyManagement | 0xF004 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * Groups | 0x0000 | |
| | * GroupKeys | 0x0001 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode a Group Key Management server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupKeyManagementClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Group Key Management server read command for the groups attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupKeyManagementClusterReadGroupsAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Group Key Management server read command for the group keys attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupKeyManagementClusterReadGroupKeysAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Group Key Management server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupKeyManagementClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Groups | 0x0004 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * AddGroup | 0x00 | |
| | * AddGroupIfIdentifying | 0x05 | |
| | * GetGroupMembership | 0x02 | |
| | * RemoveAllGroups | 0x04 | |
| | * RemoveGroup | 0x03 | |
| | * ViewGroup | 0x01 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * NameSupport | 0x0000 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an AddGroup command for Groups server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterAddGroupCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId, chip::ByteSpan groupName); |
| |
| /** |
| * @brief |
| * Encode an AddGroupIfIdentifying command for Groups server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterAddGroupIfIdentifyingCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t groupId, chip::ByteSpan groupName); |
| |
| /** |
| * @brief |
| * Encode an GetGroupMembership command for Groups server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterGetGroupMembershipCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t groupCount, uint16_t groupList); |
| |
| /** |
| * @brief |
| * Encode an RemoveAllGroups command for Groups server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterRemoveAllGroupsCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an RemoveGroup command for Groups server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterRemoveGroupCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId); |
| |
| /** |
| * @brief |
| * Encode an ViewGroup command for Groups server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterViewGroupCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId); |
| |
| /** |
| * @brief |
| * Encode a Groups server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Groups server read command for the name support attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterReadNameSupportAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Groups server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeGroupsClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster IasZone | 0x0500 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * ZoneState | 0x0000 | |
| | * ZoneType | 0x0001 | |
| | * ZoneStatus | 0x0002 | |
| | * IasCieAddress | 0x0010 | |
| | * ZoneId | 0x0011 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server read command for the zone state attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneStateAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server read command for the zone type attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneTypeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server read command for the zone status attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneStatusAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server read command for the IAS CIE address attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterReadIasCieAddressAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server write command for the IAS CIE address attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeIasZoneClusterWriteIasCieAddressAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint64_t iasCieAddress); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server read command for the Zone ID attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterReadZoneIdAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a IAS Zone server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIasZoneClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Identify | 0x0003 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * Identify | 0x00 | |
| | * IdentifyQuery | 0x01 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * IdentifyTime | 0x0000 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an Identify command for Identify server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIdentifyClusterIdentifyCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t identifyTime); |
| |
| /** |
| * @brief |
| * Encode an IdentifyQuery command for Identify server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIdentifyClusterIdentifyQueryCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Identify server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIdentifyClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Identify server read command for the identify time attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIdentifyClusterReadIdentifyTimeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Identify server write command for the identify time attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeIdentifyClusterWriteIdentifyTimeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint16_t identifyTime); |
| |
| /** |
| * @brief |
| * Encode a Identify server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeIdentifyClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster LevelControl | 0x0008 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * Move | 0x01 | |
| | * MoveToLevel | 0x00 | |
| | * MoveToLevelWithOnOff | 0x04 | |
| | * MoveWithOnOff | 0x05 | |
| | * Step | 0x02 | |
| | * StepWithOnOff | 0x06 | |
| | * Stop | 0x03 | |
| | * StopWithOnOff | 0x07 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * CurrentLevel | 0x0000 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an Move command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterMoveCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t moveMode, uint8_t rate, uint8_t optionMask, |
| uint8_t optionOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToLevel command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterMoveToLevelCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t level, uint16_t transitionTime, |
| uint8_t optionMask, uint8_t optionOverride); |
| |
| /** |
| * @brief |
| * Encode an MoveToLevelWithOnOff command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterMoveToLevelWithOnOffCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t level, uint16_t transitionTime); |
| |
| /** |
| * @brief |
| * Encode an MoveWithOnOff command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterMoveWithOnOffCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t moveMode, uint8_t rate); |
| |
| /** |
| * @brief |
| * Encode an Step command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterStepCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t stepMode, uint8_t stepSize, uint16_t transitionTime, |
| uint8_t optionMask, uint8_t optionOverride); |
| |
| /** |
| * @brief |
| * Encode an StepWithOnOff command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterStepWithOnOffCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t stepMode, uint8_t stepSize, |
| uint16_t transitionTime); |
| |
| /** |
| * @brief |
| * Encode an Stop command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterStopCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t optionMask, uint8_t optionOverride); |
| |
| /** |
| * @brief |
| * Encode an StopWithOnOff command for Level Control server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterStopWithOnOffCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Level Control server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Level Control server read command for the current level attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterReadCurrentLevelAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Level Control server configure report command for the current level attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterConfigureCurrentLevelAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, |
| uint8_t change); |
| |
| /** |
| * @brief |
| * Encode a Level Control server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLevelControlClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster LowPower | 0x0508 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * Sleep | 0x00 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an Sleep command for Low Power server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLowPowerClusterSleepCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Low Power server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLowPowerClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Low Power server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeLowPowerClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster NetworkCommissioning | 0x0031 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * AddThreadNetwork | 0x06 | |
| | * AddWiFiNetwork | 0x02 | |
| | * DisableNetwork | 0x0E | |
| | * EnableNetwork | 0x0C | |
| | * GetLastNetworkCommissioningResult | 0x10 | |
| | * RemoveNetwork | 0x0A | |
| | * ScanNetworks | 0x00 | |
| | * UpdateThreadNetwork | 0x08 | |
| | * UpdateWiFiNetwork | 0x04 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an AddThreadNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterAddThreadNetworkCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| chip::ByteSpan operationalDataset, |
| uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an AddWiFiNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeNetworkCommissioningClusterAddWiFiNetworkCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, chip::ByteSpan ssid, |
| chip::ByteSpan credentials, uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an DisableNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterDisableNetworkCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| chip::ByteSpan networkID, |
| uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an EnableNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterEnableNetworkCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| chip::ByteSpan networkID, |
| uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an GetLastNetworkCommissioningResult command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeNetworkCommissioningClusterGetLastNetworkCommissioningResultCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an RemoveNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterRemoveNetworkCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| chip::ByteSpan networkID, |
| uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an ScanNetworks command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterScanNetworksCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| chip::ByteSpan ssid, uint64_t breadcrumb, |
| uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an UpdateThreadNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterUpdateThreadNetworkCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| chip::ByteSpan operationalDataset, |
| uint64_t breadcrumb, |
| uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode an UpdateWiFiNetwork command for Network Commissioning server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeNetworkCommissioningClusterUpdateWiFiNetworkCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, chip::ByteSpan ssid, |
| chip::ByteSpan credentials, uint64_t breadcrumb, uint32_t timeoutMs); |
| |
| /** |
| * @brief |
| * Encode a Network Commissioning server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeNetworkCommissioningClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Network Commissioning server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeNetworkCommissioningClusterReadClusterRevisionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster OnOff | 0x0006 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * Off | 0x00 | |
| | * On | 0x01 | |
| | * Toggle | 0x02 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * OnOff | 0x0000 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an Off command for On/off server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterOffCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an On command for On/off server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterOnCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an Toggle command for On/off server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterToggleCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a On/off server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a On/off server read command for the on/off attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterReadOnOffAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a On/off server configure report command for the on/off attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterConfigureOnOffAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval); |
| |
| /** |
| * @brief |
| * Encode a On/off server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeOnOffClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Scenes | 0x0005 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * AddScene | 0x00 | |
| | * GetSceneMembership | 0x06 | |
| | * RecallScene | 0x05 | |
| | * RemoveAllScenes | 0x03 | |
| | * RemoveScene | 0x02 | |
| | * StoreScene | 0x04 | |
| | * ViewScene | 0x01 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * SceneCount | 0x0000 | |
| | * CurrentScene | 0x0001 | |
| | * CurrentGroup | 0x0002 | |
| | * SceneValid | 0x0003 | |
| | * NameSupport | 0x0004 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an AddScene command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterAddSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId, uint8_t sceneId, uint16_t transitionTime, |
| chip::ByteSpan sceneName, chip::ClusterId clusterId, |
| uint8_t length, uint8_t value); |
| |
| /** |
| * @brief |
| * Encode an GetSceneMembership command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterGetSceneMembershipCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId); |
| |
| /** |
| * @brief |
| * Encode an RecallScene command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterRecallSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId, uint8_t sceneId, uint16_t transitionTime); |
| |
| /** |
| * @brief |
| * Encode an RemoveAllScenes command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterRemoveAllScenesCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId); |
| |
| /** |
| * @brief |
| * Encode an RemoveScene command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterRemoveSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId, uint8_t sceneId); |
| |
| /** |
| * @brief |
| * Encode an StoreScene command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterStoreSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId, uint8_t sceneId); |
| |
| /** |
| * @brief |
| * Encode an ViewScene command for Scenes server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterViewSceneCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t groupId, uint8_t sceneId); |
| |
| /** |
| * @brief |
| * Encode a Scenes server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Scenes server read command for the scene count attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterReadSceneCountAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Scenes server read command for the current scene attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterReadCurrentSceneAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Scenes server read command for the current group attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterReadCurrentGroupAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Scenes server read command for the scene valid attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterReadSceneValidAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Scenes server read command for the name support attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterReadNameSupportAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Scenes server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeScenesClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster TemperatureMeasurement | 0x0402 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * MeasuredValue | 0x0000 | |
| | * MinMeasuredValue | 0x0001 | |
| | * MaxMeasuredValue | 0x0002 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode a Temperature Measurement server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeTemperatureMeasurementClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Temperature Measurement server read command for the measured value attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeTemperatureMeasurementClusterReadMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Temperature Measurement server configure report command for the measured value attribute into buffer including the |
| * APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeTemperatureMeasurementClusterConfigureMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, int16_t change); |
| |
| /** |
| * @brief |
| * Encode a Temperature Measurement server read command for the min measured value attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeTemperatureMeasurementClusterReadMinMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Temperature Measurement server read command for the max measured value attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeTemperatureMeasurementClusterReadMaxMeasuredValueAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Temperature Measurement server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeTemperatureMeasurementClusterReadClusterRevisionAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster Thermostat | 0x0201 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * ClearWeeklySchedule | 0x03 | |
| | * GetRelayStatusLog | 0x04 | |
| | * GetWeeklySchedule | 0x02 | |
| | * SetWeeklySchedule | 0x01 | |
| | * SetpointRaiseLower | 0x00 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * LocalTemperature | 0x0000 | |
| | * OccupiedCoolingSetpoint | 0x0011 | |
| | * OccupiedHeatingSetpoint | 0x0012 | |
| | * ControlSequenceOfOperation | 0x001B | |
| | * SystemMode | 0x001C | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an ClearWeeklySchedule command for Thermostat server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterClearWeeklyScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an GetRelayStatusLog command for Thermostat server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterGetRelayStatusLogCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an GetWeeklySchedule command for Thermostat server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterGetWeeklyScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t daysToReturn, uint8_t modeToReturn); |
| |
| /** |
| * @brief |
| * Encode an SetWeeklySchedule command for Thermostat server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterSetWeeklyScheduleCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint8_t numberOfTransitionsForSequence, |
| uint8_t dayOfWeekForSequence, |
| uint8_t modeForSequence, uint8_t payload); |
| |
| /** |
| * @brief |
| * Encode an SetpointRaiseLower command for Thermostat server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeThermostatClusterSetpointRaiseLowerCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t mode, int8_t amount); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterDiscoverAttributes(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server read command for the local temperature attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterReadLocalTemperatureAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server configure report command for the local temperature attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterConfigureLocalTemperatureAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, |
| uint16_t maxInterval, int16_t change); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server read command for the occupied cooling setpoint attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterReadOccupiedCoolingSetpointAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server write command for the occupied cooling setpoint attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterWriteOccupiedCoolingSetpointAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| int16_t occupiedCoolingSetpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server read command for the occupied heating setpoint attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterReadOccupiedHeatingSetpointAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server write command for the occupied heating setpoint attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterWriteOccupiedHeatingSetpointAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| int16_t occupiedHeatingSetpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server read command for the control sequence of operation attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeThermostatClusterReadControlSequenceOfOperationAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server write command for the control sequence of operation attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeThermostatClusterWriteControlSequenceOfOperationAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t controlSequenceOfOperation); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server read command for the system mode attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterReadSystemModeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server write command for the system mode attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeThermostatClusterWriteSystemModeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, uint8_t systemMode); |
| |
| /** |
| * @brief |
| * Encode a Thermostat server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeThermostatClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /*----------------------------------------------------------------------------*\ |
| | Cluster WindowCovering | 0x0102 | |
| |------------------------------------------------------------------------------| |
| | Commands: | | |
| | * WindowCoveringDownClose | 0x01 | |
| | * WindowCoveringGoToLiftPercentage | 0x05 | |
| | * WindowCoveringGoToLiftValue | 0x04 | |
| | * WindowCoveringGoToTiltPercentage | 0x08 | |
| | * WindowCoveringGoToTiltValue | 0x07 | |
| | * WindowCoveringStop | 0x02 | |
| | * WindowCoveringUpOpen | 0x00 | |
| |------------------------------------------------------------------------------| |
| | Attributes: | | |
| | * WindowCoveringType | 0x0000 | |
| | * CurrentPositionLift | 0x0003 | |
| | * CurrentPositionTilt | 0x0004 | |
| | * ConfigStatus | 0x0007 | |
| | * InstalledOpenLimitLift | 0x0010 | |
| | * InstalledClosedLimitLift | 0x0011 | |
| | * InstalledOpenLimitTilt | 0x0012 | |
| | * InstalledClosedLimitTilt | 0x0013 | |
| | * Mode | 0x0017 | |
| | * ClusterRevision | 0xFFFD | |
| \*----------------------------------------------------------------------------*/ |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringDownClose command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterWindowCoveringDownCloseCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringGoToLiftPercentage command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterWindowCoveringGoToLiftPercentageCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t percentageLiftValue); |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringGoToLiftValue command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterWindowCoveringGoToLiftValueCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t liftValue); |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringGoToTiltPercentage command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterWindowCoveringGoToTiltPercentageCommand(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t percentageTiltValue); |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringGoToTiltValue command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterWindowCoveringGoToTiltValueCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t tiltValue); |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringStop command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterWindowCoveringStopCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode an WindowCoveringUpOpen command for Window Covering server into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterWindowCoveringUpOpenCommand(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server discover command into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterDiscoverAttributes(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the window covering type attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterReadWindowCoveringTypeAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server configure report command for the window covering type attribute into buffer including the APS |
| * frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterConfigureWindowCoveringTypeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the current position - lift attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterReadCurrentPositionLiftAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server configure report command for the current position - lift attribute into buffer including the |
| * APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterConfigureCurrentPositionLiftAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, uint16_t change); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the current position - tilt attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterReadCurrentPositionTiltAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server configure report command for the current position - tilt attribute into buffer including the |
| * APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterConfigureCurrentPositionTiltAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, uint16_t maxInterval, uint16_t change); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the config status attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterReadConfigStatusAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server configure report command for the config status attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterConfigureConfigStatusAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint, |
| uint16_t minInterval, |
| uint16_t maxInterval); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the installed open limit - lift attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterReadInstalledOpenLimitLiftAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the installed closed limit - lift attribute into buffer including the APS |
| * frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterReadInstalledClosedLimitLiftAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the installed open limit - tilt attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterReadInstalledOpenLimitTiltAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the installed closed limit - tilt attribute into buffer including the APS |
| * frame |
| */ |
| chip::System::PacketBufferHandle |
| encodeWindowCoveringClusterReadInstalledClosedLimitTiltAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the mode attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterReadModeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server write command for the mode attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterWriteModeAttribute(uint8_t seqNum, chip::EndpointId destinationEndpoint, |
| uint8_t mode); |
| |
| /** |
| * @brief |
| * Encode a Window Covering server read command for the cluster revision attribute into buffer including the APS frame |
| */ |
| chip::System::PacketBufferHandle encodeWindowCoveringClusterReadClusterRevisionAttribute(uint8_t seqNum, |
| chip::EndpointId destinationEndpoint); |