@@ -210,7 +210,9 @@ void ReadClient::Close(CHIP_ERROR aError, bool allowResubscription)
210
210
{
211
211
if (originalReason == CHIP_ERROR_LIT_SUBSCRIBE_INACTIVE_TIMEOUT)
212
212
{
213
- ChipLogProgress (DataManagement, " ICD device is unreachable, mark subscription as InactiveICDSubscription, retrying is scheduled" );
213
+ ChipLogProgress (
214
+ DataManagement,
215
+ " ICD device is unreachable, mark subscription as InactiveICDSubscription, retrying is scheduled" );
214
216
MoveToState (ClientState::InactiveICDSubscription);
215
217
}
216
218
return ;
@@ -497,7 +499,8 @@ void ReadClient::OnActiveModeNotification()
497
499
void ReadClient::OnPeerOperatingModeChange (PeerOperatingMode aMode)
498
500
{
499
501
VerifyOrDie (mpImEngine->InActiveReadClientList (this ));
500
- ChipLogProgress (DataManagement, " Peer operation mode is now %s LIT ICD." , mPeerOperatingMode == PeerOperatingMode::kLITICD ? " a" : " not a" );
502
+ ChipLogProgress (DataManagement, " Peer operation mode is now %s LIT ICD." ,
503
+ mPeerOperatingMode == PeerOperatingMode::kLITICD ? " a" : " not a" );
501
504
502
505
// If the peer operating mode is no longer LIT, try to wake up the subscription and do resubscribe when necessary.
503
506
if (mPeerOperatingMode == PeerOperatingMode::kNormal )
@@ -725,7 +728,6 @@ void ReadClient::OnResponseTimeout(Messaging::ExchangeContext * apExchangeContex
725
728
{
726
729
Close (CHIP_ERROR_TIMEOUT);
727
730
}
728
-
729
731
}
730
732
731
733
CHIP_ERROR ReadClient::ReadICDOperatingModeFromAttributeDataIB (TLV::TLVReader && aReader, PeerOperatingMode & aMode)
@@ -1306,8 +1308,7 @@ void ReadClient::HandleDeviceConnectionFailure(void * context, const Operational
1306
1308
ReadClient * const _this = static_cast <ReadClient *>(context);
1307
1309
VerifyOrDie (_this != nullptr );
1308
1310
CHIP_ERROR err = failureInfo.error ;
1309
- ChipLogError (DataManagement, " Failed to establish CASE for re-subscription with error '%" CHIP_ERROR_FORMAT " '" ,
1310
- err.Format ());
1311
+ ChipLogError (DataManagement, " Failed to establish CASE for re-subscription with error '%" CHIP_ERROR_FORMAT " '" , err.Format ());
1311
1312
1312
1313
#if CHIP_CONFIG_ENABLE_BUSY_HANDLING_FOR_OPERATIONAL_SESSION_SETUP
1313
1314
#if CHIP_DETAIL_LOGGING
@@ -1324,7 +1325,7 @@ void ReadClient::HandleDeviceConnectionFailure(void * context, const Operational
1324
1325
1325
1326
if (_this->IsPeerLIT () && err == CHIP_ERROR_TIMEOUT)
1326
1327
{
1327
- err = CHIP_ERROR_LIT_SUBSCRIBE_INACTIVE_TIMEOUT;
1328
+ err = CHIP_ERROR_LIT_SUBSCRIBE_INACTIVE_TIMEOUT;
1328
1329
}
1329
1330
_this->Close (err);
1330
1331
}
0 commit comments