File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ namespace sua {
37
37
38
38
FotaEvent Connected::body (Context& ctx)
39
39
{
40
- Logger::info (" Bundle version (last) : '{}'" , ctx.currentState .version );
40
+ Logger::info (" System version, installed : '{}'" , ctx.currentState .version );
41
41
42
42
send (ctx, IMqttProcessor::TOPIC_FEEDBACK, " identifying" );
43
43
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ namespace sua {
26
26
{
27
27
ctx.currentState .version = ctx.desiredState .bundleVersion ;
28
28
29
- Logger::info (" System version ( installed) : '{}'" , ctx.currentState .version );
29
+ Logger::info (" System version, installed: '{}'" , ctx.currentState .version );
30
30
send (ctx, IMqttProcessor::TOPIC_FEEDBACK, " currentState" );
31
31
32
32
ctx.stateMachine ->handleEvent (FotaEvent::Waiting);
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace sua {
27
27
void Uninitialized::onEnter (Context& ctx)
28
28
{
29
29
ctx.currentState .version = ctx.installerAgent ->getBundleVersion ();
30
- Logger::info (" System version (slot) : '{}'" , ctx.currentState .version );
30
+ Logger::info (" System version, installed : '{}'" , ctx.currentState .version );
31
31
}
32
32
33
33
} // namespace sua
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ namespace sua {
24
24
{
25
25
std::string slotVersion = installer->getBundleVersion ();
26
26
27
- Logger::info (" Bundle version (slot) : '{}'" , slotVersion);
28
- Logger::info (" Bundle version ( file) : '{}'" , updateBundleVersion);
27
+ Logger::info (" System version, installed : '{}'" , slotVersion);
28
+ Logger::info (" Bundle version, from file: '{}'" , updateBundleVersion);
29
29
30
30
return slotVersion != updateBundleVersion;
31
31
}
@@ -36,8 +36,8 @@ namespace sua {
36
36
{
37
37
std::string updateBundleVersion = installer->getBundleVersion (bundlePath);
38
38
39
- Logger::info (" Bundle version ( spec) : '{}'" , declaredVersion);
40
- Logger::info (" Bundle version ( file) : '{}'" , updateBundleVersion);
39
+ Logger::info (" Bundle version, from spec: '{}'" , declaredVersion);
40
+ Logger::info (" Bundle version, from file: '{}'" , updateBundleVersion);
41
41
42
42
return declaredVersion == updateBundleVersion;
43
43
}
You can’t perform that action at this time.
0 commit comments