Skip to content

Commit d8119af

Browse files
committed
Uncommenting test steps
1 parent ad22e29 commit d8119af

File tree

2 files changed

+207
-222
lines changed

2 files changed

+207
-222
lines changed

examples/ota-provider-app/ota-provider-common/OtaProviderAppCommandDelegate.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ Json::Value OtaProviderAppCommandHandler::BuildOtaProviderSnapshot(uint16_t endp
6262
{
6363
Json::Value payload(Json::objectValue);
6464

65-
// payload["QueryImageStatus"] = static_cast<uint32_t>(gOtaProvider.GetQueryImageStatus());
6665
payload["VendorID"] = gOtaProvider.GetVendorId();
6766
payload["ProductID"] = gOtaProvider.GetProductId();
6867
payload["SoftwareVersion"] = gOtaProvider.GetSoftwareVersion();
@@ -97,7 +96,7 @@ void OtaProviderAppCommandHandler::HandleCommand(intptr_t context)
9796
endpoint = static_cast<uint16_t>(self->mJsonValue.get("Endpoint", 0).asUInt());
9897
delegate = self->mDelegate;
9998

100-
if (name == "Snapshot")
99+
if (name == "QueryImageSnapshot")
101100
{
102101
Json::Value out(Json::objectValue);
103102
out["Name"] = "SnapshotResponse";

0 commit comments

Comments
 (0)