Skip to content

Commit

Permalink
Fix names and includes
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Feb 7, 2024
1 parent 536f226 commit f6df32e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/tv-app/android/java/TVApp-JNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <app/app-platform/ContentAppPlatform.h>
#include <app/server/Dnssd.h>
#include <app/server/java/AndroidAppServerWrapper.h>
#include <controller/CHIPCluster.h>
#include <credentials/DeviceAttestationCredsProvider.h>
#include <credentials/examples/DeviceAttestationCredsExample.h>
#include <jni.h>
Expand Down Expand Up @@ -215,7 +216,7 @@ class MyPostCommissioningListener : public PostCommissioningListener
const SessionHandle & sessionHandle) override
{
// read current binding list
chip::Controller::BaseCluster cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId);
chip::Controller::ClusterBase cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId);

cacheContext(vendorId, productId, nodeId, exchangeMgr, sessionHandle);

Expand Down
8 changes: 5 additions & 3 deletions examples/tv-app/tv-common/src/AppTv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@

#include "AppTv.h"

#include <cstdio>
#include <inttypes.h>

#include <app-common/zap-generated/attributes/Accessors.h>
#include <app-common/zap-generated/ids/Attributes.h>
#include <app-common/zap-generated/ids/Clusters.h>
#include <app/CommandHandler.h>
#include <app/server/Dnssd.h>
#include <app/server/Server.h>
#include <app/util/af.h>
#include <cstdio>
#include <inttypes.h>
#include <controller/CHIPCluster.h>
#include <lib/core/CHIPCore.h>
#include <lib/core/DataModelTypes.h>
#include <lib/support/CHIPArgParser.hpp>
Expand Down Expand Up @@ -125,7 +127,7 @@ class MyPostCommissioningListener : public PostCommissioningListener
const SessionHandle & sessionHandle) override
{
// read current binding list
chip::Controller::BaseCluster cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId);
chip::Controller::ClusterBase cluster(exchangeMgr, sessionHandle, kTargetBindingClusterEndpointId);

cacheContext(vendorId, productId, nodeId, exchangeMgr, sessionHandle);

Expand Down

0 comments on commit f6df32e

Please sign in to comment.