@@ -594,10 +594,11 @@ void ThermostatAttrAccess::RollbackAtomicWrite(CommandHandler * commandObj, cons
594
594
SendAtomicResponse (commandObj, commandPath, status, attributeStatuses);
595
595
}
596
596
597
- } // namespace Thermostat
598
- } // namespace Clusters
599
- } // namespace app
600
- } // namespace chip
597
+ void MatterThermostatClusterServerShutdownCallback (EndpointId endpoint)
598
+ {
599
+ ChipLogProgress (Zcl, " Shutting down thermostat server cluster on endpoint %d" , endpoint);
600
+ gThermostatAttrAccess .ResetAtomicWrite (endpoint);
601
+ }
601
602
602
603
bool emberAfThermostatClusterAtomicRequestCallback (CommandHandler * commandObj, const ConcreteCommandPath & commandPath,
603
604
const Clusters::Thermostat::Commands::AtomicRequest::DecodableType & commandData)
@@ -626,8 +627,18 @@ bool emberAfThermostatClusterAtomicRequestCallback(CommandHandler * commandObj,
626
627
return false ;
627
628
}
628
629
630
+ } // namespace Thermostat
631
+ } // namespace Clusters
632
+ } // namespace app
633
+ } // namespace chip
634
+
635
+ bool emberAfThermostatClusterAtomicRequestCallback (CommandHandler * commandObj, const ConcreteCommandPath & commandPath,
636
+ const Clusters::Thermostat::Commands::AtomicRequest::DecodableType & commandData)
637
+ {
638
+ return Thermostat::emberAfThermostatClusterAtomicRequestCallback (commandObj, commandPath, commandData);
639
+ }
640
+
629
641
void MatterThermostatClusterServerShutdownCallback (EndpointId endpoint)
630
642
{
631
- ChipLogProgress (Zcl, " Shutting down thermostat server cluster on endpoint %d" , endpoint);
632
- gThermostatAttrAccess .ResetAtomicWrite (endpoint);
643
+ Thermostat::MatterThermostatClusterServerShutdownCallback (endpoint);
633
644
}
0 commit comments