|
27 | 27 | #include <app/RequiredPrivilege.h>
|
28 | 28 | #include <app/reporting/Engine.h>
|
29 | 29 | #include <app/reporting/reporting.h>
|
30 |
| -#include <app/util/att-storage.h> |
31 | 30 | #include <app/util/attribute-storage-detail.h>
|
32 | 31 | #include <app/util/attribute-storage-null-handling.h>
|
33 | 32 | #include <app/util/attribute-storage.h>
|
@@ -95,7 +94,7 @@ Protocols::InteractionModel::Status ServerClusterCommandExists(const ConcreteCom
|
95 | 94 | return Status::UnsupportedEndpoint;
|
96 | 95 | }
|
97 | 96 |
|
98 |
| - const EmberAfCluster * cluster = emberAfFindClusterInType(type, aCommandPath.mClusterId, CLUSTER_MASK_SERVER); |
| 97 | + const EmberAfCluster * cluster = emberAfFindClusterInType(type, aCommandPath.mClusterId, MATTER_CLUSTER_FLAG_SERVER); |
99 | 98 | if (cluster == nullptr)
|
100 | 99 | {
|
101 | 100 | return Status::UnsupportedCluster;
|
@@ -223,7 +222,7 @@ Protocols::InteractionModel::Status UnsupportedAttributeStatus(const ConcreteAtt
|
223 | 222 | return Status::UnsupportedEndpoint;
|
224 | 223 | }
|
225 | 224 |
|
226 |
| - const EmberAfCluster * cluster = emberAfFindClusterInType(type, aPath.mClusterId, CLUSTER_MASK_SERVER); |
| 225 | + const EmberAfCluster * cluster = emberAfFindClusterInType(type, aPath.mClusterId, MATTER_CLUSTER_FLAG_SERVER); |
227 | 226 | if (cluster == nullptr)
|
228 | 227 | {
|
229 | 228 | return Status::UnsupportedCluster;
|
@@ -800,7 +799,7 @@ Protocols::InteractionModel::Status CheckEventSupportStatus(const ConcreteEventP
|
800 | 799 | return Status::UnsupportedEndpoint;
|
801 | 800 | }
|
802 | 801 |
|
803 |
| - const EmberAfCluster * cluster = emberAfFindClusterInType(type, aPath.mClusterId, CLUSTER_MASK_SERVER); |
| 802 | + const EmberAfCluster * cluster = emberAfFindClusterInType(type, aPath.mClusterId, MATTER_CLUSTER_FLAG_SERVER); |
804 | 803 | if (cluster == nullptr)
|
805 | 804 | {
|
806 | 805 | return Status::UnsupportedCluster;
|
|
0 commit comments