From eb1d093de5861cfb3c564e5ca3470a01968d38e5 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Fri, 21 Jan 2022 16:42:33 -0500 Subject: [PATCH] Ran zap regen --- .../app1/zap-generated/CHIPClusters.cpp | 18 +++++++++--------- .../app2/zap-generated/CHIPClusters.cpp | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/zzz_generated/placeholder/app1/zap-generated/CHIPClusters.cpp b/zzz_generated/placeholder/app1/zap-generated/CHIPClusters.cpp index 13cc9f6dad651e..457d4f05c136ed 100644 --- a/zzz_generated/placeholder/app1/zap-generated/CHIPClusters.cpp +++ b/zzz_generated/placeholder/app1/zap-generated/CHIPClusters.cpp @@ -76,7 +76,7 @@ CHIP_ERROR OperationalCredentialsCluster::AddNOC(Callback::Cancelable * onSucces // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -119,7 +119,7 @@ CHIP_ERROR OperationalCredentialsCluster::AddTrustedRootCertificate(Callback::Ca // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -162,7 +162,7 @@ CHIP_ERROR OperationalCredentialsCluster::AttestationRequest(Callback::Cancelabl // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -204,7 +204,7 @@ CHIP_ERROR OperationalCredentialsCluster::CertificateChainRequest(Callback::Canc // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -246,7 +246,7 @@ CHIP_ERROR OperationalCredentialsCluster::OpCSRRequest(Callback::Cancelable * on // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -288,7 +288,7 @@ CHIP_ERROR OperationalCredentialsCluster::RemoveFabric(Callback::Cancelable * on // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -331,7 +331,7 @@ CHIP_ERROR OperationalCredentialsCluster::RemoveTrustedRootCertificate(Callback: // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -373,7 +373,7 @@ CHIP_ERROR OperationalCredentialsCluster::UpdateFabricLabel(Callback::Cancelable // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -417,7 +417,7 @@ CHIP_ERROR OperationalCredentialsCluster::UpdateNOC(Callback::Cancelable * onSuc // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. diff --git a/zzz_generated/placeholder/app2/zap-generated/CHIPClusters.cpp b/zzz_generated/placeholder/app2/zap-generated/CHIPClusters.cpp index 13cc9f6dad651e..457d4f05c136ed 100644 --- a/zzz_generated/placeholder/app2/zap-generated/CHIPClusters.cpp +++ b/zzz_generated/placeholder/app2/zap-generated/CHIPClusters.cpp @@ -76,7 +76,7 @@ CHIP_ERROR OperationalCredentialsCluster::AddNOC(Callback::Cancelable * onSucces // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -119,7 +119,7 @@ CHIP_ERROR OperationalCredentialsCluster::AddTrustedRootCertificate(Callback::Ca // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -162,7 +162,7 @@ CHIP_ERROR OperationalCredentialsCluster::AttestationRequest(Callback::Cancelabl // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -204,7 +204,7 @@ CHIP_ERROR OperationalCredentialsCluster::CertificateChainRequest(Callback::Canc // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -246,7 +246,7 @@ CHIP_ERROR OperationalCredentialsCluster::OpCSRRequest(Callback::Cancelable * on // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -288,7 +288,7 @@ CHIP_ERROR OperationalCredentialsCluster::RemoveFabric(Callback::Cancelable * on // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -331,7 +331,7 @@ CHIP_ERROR OperationalCredentialsCluster::RemoveTrustedRootCertificate(Callback: // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -373,7 +373,7 @@ CHIP_ERROR OperationalCredentialsCluster::UpdateFabricLabel(Callback::Cancelable // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now. @@ -417,7 +417,7 @@ CHIP_ERROR OperationalCredentialsCluster::UpdateNOC(Callback::Cancelable * onSuc // #6308: This is a temporary solution before we fully support IM on application side and should be replaced by IMDelegate. mDevice->AddIMResponseHandler(sender.get(), onSuccessCallback, onFailureCallback); - SuccessOrExit(err = mDevice->SendCommands(sender.get())); + SuccessOrExit(err = mDevice->SendCommands(sender.get(), mTimeout)); // We have successfully sent the command, and the callback handler will be responsible to free the object, release the object // now.