Skip to content

Commit

Permalink
replace response sender with commandhandler
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Dec 12, 2022
1 parent c21bddb commit 9858352
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ bool emberAfClientMonitoringClusterRegisterClientMonitoringCallback(
CommandHandler * commandObj, const ConcreteCommandPath & commandPath,
const Commands::RegisterClientMonitoring::DecodableType & commandData)
{
emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_UNSUPPORTED_COMMAND);
commandObj->AddStatus(commandPath, Protocols::InteractionModel::Status::UnsupportedCommand);
return false;
}
/**
Expand All @@ -85,7 +85,7 @@ bool emberAfClientMonitoringClusterRegisterClientMonitoringCallback(
bool emberAfClientMonitoringClusterStayAwakeRequestCallback(CommandHandler * commandObj, const ConcreteCommandPath & commandPath,
const Commands::StayAwakeRequest::DecodableType & commandData)
{
emberAfSendImmediateDefaultResponse(EMBER_ZCL_STATUS_UNSUPPORTED_COMMAND);
commandObj->AddStatus(commandPath, Protocols::InteractionModel::Status::UnsupportedCommand);
return false;
}

Expand Down

0 comments on commit 9858352

Please sign in to comment.