blob: 215be8d68e0fc954796899c44092ba8644a05a20 [file] [log] [blame]
/*
*
* Copyright (c) 2022 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// THIS FILE IS GENERATED BY ZAP
// This file is generated from clusters-Enums.h.zapt
#pragma once
#include <clusters/shared/Enums.h>
#include <cstdint>
namespace chip {
namespace app {
namespace Clusters {
namespace SmokeCoAlarm {
// Enum for AlarmStateEnum
enum class AlarmStateEnum : uint8_t
{
kNormal = 0x00,
kWarning = 0x01,
kCritical = 0x02,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 3,
};
// Enum for ContaminationStateEnum
enum class ContaminationStateEnum : uint8_t
{
kNormal = 0x00,
kLow = 0x01,
kWarning = 0x02,
kCritical = 0x03,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 4,
};
// Enum for EndOfServiceEnum
enum class EndOfServiceEnum : uint8_t
{
kNormal = 0x00,
kExpired = 0x01,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 2,
};
// Enum for ExpressedStateEnum
enum class ExpressedStateEnum : uint8_t
{
kNormal = 0x00,
kSmokeAlarm = 0x01,
kCOAlarm = 0x02,
kBatteryAlert = 0x03,
kTesting = 0x04,
kHardwareFault = 0x05,
kEndOfService = 0x06,
kInterconnectSmoke = 0x07,
kInterconnectCO = 0x08,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 9,
};
// Enum for MuteStateEnum
enum class MuteStateEnum : uint8_t
{
kNotMuted = 0x00,
kMuted = 0x01,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 2,
};
// Enum for SensitivityEnum
enum class SensitivityEnum : uint8_t
{
kHigh = 0x00,
kStandard = 0x01,
kLow = 0x02,
// All received enum values that are not listed above will be mapped
// to kUnknownEnumValue. This is a helper enum value that should only
// be used by code to process how it handles receiving and unknown
// enum value. This specific should never be transmitted.
kUnknownEnumValue = 3,
};
// Bitmap for Feature
enum class Feature : uint32_t
{
kSmokeAlarm = 0x1,
kCoAlarm = 0x2,
};
} // namespace SmokeCoAlarm
} // namespace Clusters
} // namespace app
} // namespace chip