Skip to content

Commit

Permalink
fix casting-app error where binding cannot be re-read from storage (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdecenzo authored and pull[bot] committed Nov 13, 2023
1 parent a2297c6 commit 3649687
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/app/app-platform/ContentAppPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ uint32_t ContentAppPlatform::GetPincodeFromContentApp(uint16_t vendorId, uint16_
constexpr EndpointId kTargetBindingClusterEndpointId = 0;
constexpr EndpointId kLocalVideoPlayerEndpointId = 1;
constexpr EndpointId kLocalSpeakerEndpointId = 2;
constexpr ClusterId kNoClusterIdSpecified = kInvalidClusterId;
constexpr ClusterId kClusterIdDescriptor = 0x001d;
constexpr ClusterId kClusterIdOnOff = 0x0006;
constexpr ClusterId kClusterIdWakeOnLAN = 0x0503;
Expand Down Expand Up @@ -456,7 +455,7 @@ CHIP_ERROR ContentAppPlatform::ManageClientAccess(OperationalDeviceProxy * targe
.node = MakeOptional(localNodeId),
.group = NullOptional,
.endpoint = MakeOptional(kLocalVideoPlayerEndpointId),
.cluster = MakeOptional(kNoClusterIdSpecified),
.cluster = NullOptional,
.fabricIndex = kUndefinedFabricIndex,
});
}
Expand All @@ -471,7 +470,7 @@ CHIP_ERROR ContentAppPlatform::ManageClientAccess(OperationalDeviceProxy * targe
.node = MakeOptional(localNodeId),
.group = NullOptional,
.endpoint = MakeOptional(kLocalSpeakerEndpointId),
.cluster = MakeOptional(kNoClusterIdSpecified),
.cluster = NullOptional,
.fabricIndex = kUndefinedFabricIndex,
});
}
Expand Down Expand Up @@ -499,7 +498,7 @@ CHIP_ERROR ContentAppPlatform::ManageClientAccess(OperationalDeviceProxy * targe
.node = MakeOptional(localNodeId),
.group = NullOptional,
.endpoint = MakeOptional(app->GetEndpointId()),
.cluster = MakeOptional(kNoClusterIdSpecified),
.cluster = NullOptional,
.fabricIndex = kUndefinedFabricIndex,
});
}
Expand Down

0 comments on commit 3649687

Please sign in to comment.