File tree Expand file tree Collapse file tree 2 files changed +207
-222
lines changed
examples/ota-provider-app/ota-provider-common Expand file tree Collapse file tree 2 files changed +207
-222
lines changed Original file line number Diff line number Diff 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" ;
You can’t perform that action at this time.
0 commit comments