@@ -54,8 +54,7 @@ class PairingCommand : public CHIPCommand,
54
54
PairingCommand (const char * commandName, PairingMode mode, PairingNetworkType networkType,
55
55
CredentialIssuerCommands * credIssuerCmds,
56
56
chip::Dnssd::DiscoveryFilterType filterType = chip::Dnssd::DiscoveryFilterType::kNone ) :
57
- CHIPCommand (commandName, credIssuerCmds),
58
- mPairingMode (mode), mNetworkType (networkType), mFilterType (filterType),
57
+ CHIPCommand (commandName, credIssuerCmds), mPairingMode (mode), mNetworkType (networkType), mFilterType (filterType),
59
58
mRemoteAddr { IPAddress::Any, chip::Inet::InterfaceId::Null () }, mComplex_TimeZones (&mTimeZoneList ),
60
59
mComplex_DSTOffsets (&mDSTOffsetList ), mCurrentFabricRemoveCallback (OnCurrentFabricRemove, this )
61
60
{
@@ -70,6 +69,8 @@ class PairingCommand : public CHIPCommand,
70
69
" The check-in node id for the ICD, default: node id of the commissioner." );
71
70
AddArgument (" icd-monitored-subject" , 0 , UINT64_MAX, &mICDMonitoredSubject ,
72
71
" The monitored subject of the ICD, default: The node id used for icd-check-in-nodeid." );
72
+ AddArgument (" icd-client-type" , 0 , 1 , &mICDClientType ,
73
+ " The ClientType of the client regsitering, default: Permanent client - 0" );
73
74
AddArgument (" icd-symmetric-key" , &mICDSymmetricKey , " The 16 bytes ICD symmetric key, default: randomly generated." );
74
75
AddArgument (" icd-stay-active-duration" , 0 , UINT32_MAX, &mICDStayActiveDurationMsec ,
75
76
" If set, a LIT ICD that is commissioned will be requested to stay active for this many milliseconds" );
@@ -234,6 +235,7 @@ class PairingCommand : public CHIPCommand,
234
235
chip::Optional<char *> mCountryCode ;
235
236
chip::Optional<bool > mICDRegistration ;
236
237
chip::Optional<NodeId> mICDCheckInNodeId ;
238
+ chip::Optional<chip::app::Clusters::IcdManagement::ClientTypeEnum> mICDClientType ;
237
239
chip::Optional<chip::ByteSpan> mICDSymmetricKey ;
238
240
chip::Optional<uint64_t > mICDMonitoredSubject ;
239
241
chip::Optional<uint32_t > mICDStayActiveDurationMsec ;
0 commit comments