blob: 39b45b368412fbcafaa68d2c7edbd347b90a1f4a [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 GeneralDiagnostics {
// Enum for BootReasonEnum
enum class BootReasonEnum : uint8_t
{
kUnspecified = 0x00,
kPowerOnReboot = 0x01,
kBrownOutReset = 0x02,
kSoftwareWatchdogReset = 0x03,
kHardwareWatchdogReset = 0x04,
kSoftwareUpdateCompleted = 0x05,
kSoftwareReset = 0x06,
// 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 = 7,
};
// Enum for HardwareFaultEnum
enum class HardwareFaultEnum : uint8_t
{
kUnspecified = 0x00,
kRadio = 0x01,
kSensor = 0x02,
kResettableOverTemp = 0x03,
kNonResettableOverTemp = 0x04,
kPowerSource = 0x05,
kVisualDisplayFault = 0x06,
kAudioOutputFault = 0x07,
kUserInterfaceFault = 0x08,
kNonVolatileMemoryError = 0x09,
kTamperDetected = 0x0A,
// 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 = 11,
};
// Enum for InterfaceTypeEnum
enum class InterfaceTypeEnum : uint8_t
{
kUnspecified = 0x00,
kWiFi = 0x01,
kEthernet = 0x02,
kCellular = 0x03,
kThread = 0x04,
// 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 = 5,
};
// Enum for NetworkFaultEnum
enum class NetworkFaultEnum : uint8_t
{
kUnspecified = 0x00,
kHardwareFailure = 0x01,
kNetworkJammed = 0x02,
kConnectionFailed = 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 RadioFaultEnum
enum class RadioFaultEnum : uint8_t
{
kUnspecified = 0x00,
kWiFiFault = 0x01,
kCellularFault = 0x02,
kThreadFault = 0x03,
kNFCFault = 0x04,
kBLEFault = 0x05,
kEthernetFault = 0x06,
// 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 = 7,
};
// Bitmap for Feature
enum class Feature : uint32_t
{
kDataModelTest = 0x1,
};
} // namespace GeneralDiagnostics
} // namespace Clusters
} // namespace app
} // namespace chip