Skip to content

Commit

Permalink
[hotfix] Run codegen after project-chip#7598 (project-chip#7677)
Browse files Browse the repository at this point in the history
Per @yunhanw-google this appears to fix the build, force merging in.
  • Loading branch information
erjiaqing authored and Nikita committed Sep 23, 2021
1 parent 8832f99 commit 2217805
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/controller/data_model/gen/IMClusterCommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4196,7 +4196,8 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En
ZCL_OTA_SERVER_CLUSTER_ID, aCommandId,
(chip::app::CommandPathFlags::kEndpointIdValid) };
apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound,
Protocols::SecureChannel::Id, Protocols::SecureChannel::kProtocolCodeGeneralFailure);
Protocols::SecureChannel::Id,
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
ChipLogError(Zcl, "Unknown command %" PRIx16 " for cluster %" PRIx16, aCommandId, ZCL_OTA_SERVER_CLUSTER_ID);
return;
}
Expand All @@ -4210,7 +4211,7 @@ void DispatchClientCommand(app::Command * apCommandObj, CommandId aCommandId, En
ZCL_OTA_SERVER_CLUSTER_ID, aCommandId,
(chip::app::CommandPathFlags::kEndpointIdValid) };
apCommandObj->AddStatusCode(returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kBadRequest,
Protocols::SecureChannel::Id, Protocols::SecureChannel::kProtocolCodeGeneralFailure);
Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand);
ChipLogProgress(Zcl,
"Failed to dispatch command, %" PRIu32 "/%" PRIu32 " arguments parsed, TLVError=%" PRIu32
", UnpackError=%" PRIu32 " (last decoded tag = %" PRIu32,
Expand Down

0 comments on commit 2217805

Please sign in to comment.