Removed output of rauc/opkg-versions, and added output of apism-version.

This commit is contained in:
Gerhard Hoffmann 2023-08-30 11:42:05 +02:00
parent 7e4b5006eb
commit a84f495d43
2 changed files with 6 additions and 8 deletions

View File

@ -616,8 +616,9 @@ QString IsmasClient::updateOfPSASendVersion(PSAInstalled const &psa) {
"}" "}"
"}," "},"
"\"SOFTWARE\": {" "\"SOFTWARE\": {"
"\"RAUC\" : \"%s\"," "\"APISM\" : {"
"\"OPKG\" : \"%s\"," "\"VERSION\" : \"%s\""
"},"
"\"ATBQT\" : {" "\"ATBQT\" : {"
"\"VERSION\" : \"%s\"" "\"VERSION\" : \"%s\""
"}" "}"
@ -745,8 +746,7 @@ QString IsmasClient::updateOfPSASendVersion(PSAInstalled const &psa) {
psa.dc.gitBlob.toStdString().c_str(), psa.dc.gitBlob.toStdString().c_str(),
psa.dc.gitLastCommit.toStdString().c_str(), psa.dc.gitLastCommit.toStdString().c_str(),
psa.sw.raucVersion.toStdString().c_str(), psa.sw.apismVersion.toStdString().c_str(),
psa.sw.opkgVersion.toStdString().c_str(),
psa.sw.atbQTVersion.toStdString().c_str(), psa.sw.atbQTVersion.toStdString().c_str(),
psa.pluginVersion.deviceController.toStdString().c_str(), psa.pluginVersion.deviceController.toStdString().c_str(),

View File

@ -46,8 +46,7 @@ struct PSAInstalled {
} dc; } dc;
struct SoftWare { struct SoftWare {
QString raucVersion; QString apismVersion;
QString opkgVersion;
QString atbQTVersion; QString atbQTVersion;
} sw; } sw;
@ -97,8 +96,7 @@ struct PSAInstalled {
dc.gitLastCommit = "N/A"; dc.gitLastCommit = "N/A";
dc.size = -1; dc.size = -1;
sw.raucVersion = "N/A"; sw.apismVersion = "N/A";
sw.opkgVersion = "N/A";
sw.atbQTVersion = "N/A"; sw.atbQTVersion = "N/A";
pluginVersion.deviceController = "N/A"; pluginVersion.deviceController = "N/A";