Coverage Report

Created: 2025-06-24 06:17

/src/connectedhomeip/zzz_generated/app-common/clusters/LowPower/Attributes.ipp
Line
Count
Source (jump to first uncovered line)
1
/*
2
 *
3
 *    Copyright (c) 2022 Project CHIP Authors
4
 *
5
 *    Licensed under the Apache License, Version 2.0 (the "License");
6
 *    you may not use this file except in compliance with the License.
7
 *    You may obtain a copy of the License at
8
 *
9
 *        http://www.apache.org/licenses/LICENSE-2.0
10
 *
11
 *    Unless required by applicable law or agreed to in writing, software
12
 *    distributed under the License is distributed on an "AS IS" BASIS,
13
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 *    See the License for the specific language governing permissions and
15
 *    limitations under the License.
16
 */
17
18
// THIS FILE IS GENERATED BY ZAP
19
// This file is generated from clusters-Attributes.ipp.zapt
20
21
#include <clusters/LowPower/Attributes.h>
22
23
#include <app/data-model/Decode.h>
24
#include <app/data-model/WrappedStructEncoder.h>
25
26
namespace chip {
27
namespace app {
28
namespace Clusters {
29
namespace LowPower {
30
namespace Attributes {
31
CHIP_ERROR TypeInfo::DecodableType::Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path)
32
0
{
33
0
    switch (path.mAttributeId)
34
0
    {
35
0
    case Attributes::GeneratedCommandList::TypeInfo::GetAttributeId():
36
0
        return DataModel::Decode(reader, generatedCommandList);
37
0
    case Attributes::AcceptedCommandList::TypeInfo::GetAttributeId():
38
0
        return DataModel::Decode(reader, acceptedCommandList);
39
0
    case Attributes::AttributeList::TypeInfo::GetAttributeId():
40
0
        return DataModel::Decode(reader, attributeList);
41
0
    case Attributes::FeatureMap::TypeInfo::GetAttributeId():
42
0
        return DataModel::Decode(reader, featureMap);
43
0
    case Attributes::ClusterRevision::TypeInfo::GetAttributeId():
44
0
        return DataModel::Decode(reader, clusterRevision);
45
0
    default:
46
0
        return CHIP_NO_ERROR;
47
0
    }
48
0
}
49
} // namespace Attributes
50
} // namespace LowPower
51
} // namespace Clusters
52
} // namespace app
53
} // namespace chip