blob: 96978f0dac2695e23289621331b2e99843586af5 [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 OtaSoftwareUpdateProvider {
// Enum for ApplyUpdateActionEnum
enum class ApplyUpdateActionEnum : uint8_t
{
kProceed = 0x00,
kAwaitNextAction = 0x01,
kDiscontinue = 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 DownloadProtocolEnum
enum class DownloadProtocolEnum : uint8_t
{
kBDXSynchronous = 0x00,
kBDXAsynchronous = 0x01,
kHttps = 0x02,
kVendorSpecific = 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 StatusEnum
enum class StatusEnum : uint8_t
{
kUpdateAvailable = 0x00,
kBusy = 0x01,
kNotAvailable = 0x02,
kDownloadProtocolNotSupported = 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,
};
} // namespace OtaSoftwareUpdateProvider
} // namespace Clusters
} // namespace app
} // namespace chip