@@ -61,39 +61,32 @@ namespace sua {
61
61
{ FotaEvent::Identify , " Connected" , " Connected" , FotaEvent::BundleVersionUnchanged },
62
62
{ FotaEvent::GetCurrentState , " Connected" , " SendCurrentState" },
63
63
// from "Downloading"
64
- { FotaEvent::ConnectivityLost , " Downloading" , " Uninitialized" },
65
64
{ FotaEvent::DownloadStart , " Downloading" , " Installing" , FotaEvent::DownloadSucceeded },
66
65
{ FotaEvent::DownloadStart , " Downloading" , " Failed" , FotaEvent::DownloadFailed },
67
66
{ FotaEvent::Rollback , " Downloading" , " Idle" },
68
67
// from "Installing"
69
- { FotaEvent::ConnectivityLost , " Installing" , " Uninitialized" },
70
68
{ FotaEvent::InstallStart , " Installing" , " Installed" , FotaEvent::InstallCompleted },
71
69
{ FotaEvent::InstallStart , " Installing" , " Failed" , FotaEvent::BundleVersionInconsistent },
72
70
{ FotaEvent::InstallStart , " Installing" , " Failed" , FotaEvent::InstallFailed },
73
71
{ FotaEvent::InstallStart , " Installing" , " Downloading" , FotaEvent::InstallFailedFallback },
74
72
{ FotaEvent::Rollback , " Installing" , " Idle" },
75
73
// from "Installed"
76
- { FotaEvent::ConnectivityLost , " Installed" , " Uninitialized" },
77
74
{ FotaEvent::Activate , " Installed" , " Activating" },
78
75
{ FotaEvent::Rollback , " Installed" , " Idle" },
79
76
// from "Activating"
80
- { FotaEvent::ConnectivityLost , " Activating" , " Uninitialized" },
81
77
{ FotaEvent::Cleanup , " Activating" , " Cleaning" },
82
78
{ FotaEvent::Rollback , " Activating" , " Idle" },
83
79
// from "Failed"
84
- { FotaEvent::ConnectivityLost , " Failed" , " Uninitialized" },
85
80
{ FotaEvent::Cleanup , " Failed" , " Cleaning" },
86
81
{ FotaEvent::Rollback , " Failed" , " Idle" },
87
82
// from "Cleaning"
88
- { FotaEvent::ConnectivityLost , " Cleaning" , " Uninitialized" },
89
83
{ FotaEvent::Waiting , " Cleaning" , " Idle" },
90
84
// from "Idle"
91
85
{ FotaEvent::ConnectivityLost , " Idle" , " Uninitialized" },
92
86
{ FotaEvent::Identify , " Idle" , " Downloading" , FotaEvent::BundleVersionOK },
93
87
{ FotaEvent::Identify , " Idle" , " Failed" , FotaEvent::BundleVersionUnchanged },
94
88
{ FotaEvent::GetCurrentState , " Idle" , " SendCurrentState" },
95
89
// from "SendCurrentState"
96
- { FotaEvent::ConnectivityLost , " SendCurrentState" , " Uninitialized" },
97
90
{ FotaEvent::Waiting , " SendCurrentState" , " Idle" },
98
91
});
99
92
_context.stateMachine ->transitTo (" Uninitialized" );
0 commit comments