|
21 | 21 |
|
22 | 22 | #include "AppTv.h"
|
23 | 23 |
|
| 24 | +#include <cstdio> |
| 25 | +#include <inttypes.h> |
| 26 | + |
24 | 27 | #include <app-common/zap-generated/attributes/Accessors.h>
|
25 | 28 | #include <app-common/zap-generated/ids/Attributes.h>
|
26 | 29 | #include <app-common/zap-generated/ids/Clusters.h>
|
27 | 30 | #include <app/CommandHandler.h>
|
28 | 31 | #include <app/server/Dnssd.h>
|
29 | 32 | #include <app/server/Server.h>
|
30 | 33 | #include <app/util/af.h>
|
31 |
| -#include <cstdio> |
32 |
| -#include <inttypes.h> |
| 34 | +#include <controller/CHIPCluster.h> |
33 | 35 | #include <lib/core/CHIPCore.h>
|
34 | 36 | #include <lib/core/DataModelTypes.h>
|
35 | 37 | #include <lib/support/CHIPArgParser.hpp>
|
|
38 | 40 | #include <lib/support/ZclString.h>
|
39 | 41 | #include <platform/CHIPDeviceLayer.h>
|
40 | 42 | #include <platform/DeviceInstanceInfoProvider.h>
|
41 |
| -#include <zap-generated/CHIPClusters.h> |
42 | 43 |
|
43 | 44 | #if CHIP_DEVICE_CONFIG_ENABLE_BOTH_COMMISSIONER_AND_COMMISSIONEE
|
44 | 45 | #include <controller/CHIPDeviceController.h>
|
@@ -126,7 +127,7 @@ class MyPostCommissioningListener : public PostCommissioningListener
|
126 | 127 | const SessionHandle & sessionHandle) override
|
127 | 128 | {
|
128 | 129 | // read current binding list
|
129 |
| - chip::Controller::BindingCluster cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); |
| 130 | + chip::Controller::ClusterBase cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId); |
130 | 131 |
|
131 | 132 | cacheContext(vendorId, productId, nodeId, exchangeMgr, sessionHandle);
|
132 | 133 |
|
|
0 commit comments