@@ -61,7 +61,6 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub
61
61
{
62
62
ReturnErrorOnFailure (InteractionModelCommands::SendCommand (device, endpointId, clusterId, commandId, value));
63
63
mPeerNodeId = chip::ScopedNodeId (device->GetDeviceId (), device->GetSecureSession ().Value ()->GetFabricIndex ());
64
- mCheckInNodeId = chip::ScopedNodeId (value.checkInNodeID , device->GetSecureSession ().Value ()->GetFabricIndex ());
65
64
return CHIP_NO_ERROR;
66
65
}
67
66
@@ -264,10 +263,21 @@ class ClusterCommand : public InteractionModelCommands, public ModelCommand, pub
264
263
private:
265
264
chip::ClusterId mClusterId ;
266
265
chip::CommandId mCommandId ;
266
+ // The scoped node ID to which RegisterClient and unregisterClient command will be sent
267
267
chip::ScopedNodeId mPeerNodeId ;
268
+ // The scoped node ID to which a Check-In message will be sent
268
269
chip::ScopedNodeId mCheckInNodeId ;
270
+
271
+ // Used to determine if a particular client has an active subscription for the given entry.
272
+ // The MonitoredSubject, when it is a NodeID, MAY be the same as the CheckInNodeID.
273
+ // The MonitoredSubject gives the registering client the flexibility of having a different
274
+ // CheckInNodeID from the MonitoredSubject.
269
275
uint64_t mMonitoredSubject = static_cast <uint64_t >(0 );
276
+
277
+ // Client type of the client registering
270
278
chip::app::Clusters::IcdManagement::ClientTypeEnum mClientType = chip::app::Clusters::IcdManagement::ClientTypeEnum::kPermanent ;
279
+
280
+ // Shared secret between the client and the ICD to encrypt the Check-In message.
271
281
uint8_t mICDSymmetricKey [chip::Crypto::kAES_CCM128_Key_Length ];
272
282
273
283
CHIP_ERROR mError = CHIP_NO_ERROR;
0 commit comments