Index: sources/ApplicationPost.cpp =================================================================== diff -u -r80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803 -rf1c4d7f7c9cd4422f6190a5b31c8f1e74e520c04 --- sources/ApplicationPost.cpp (.../ApplicationPost.cpp) (revision 80b5e8f1ebb90c03c37d90d90cd2da3bd95d6803) +++ sources/ApplicationPost.cpp (.../ApplicationPost.cpp) (revision f1c4d7f7c9cd4422f6190a5b31c8f1e74e520c04) @@ -50,6 +50,7 @@ _isEthernet = checkEthernet (); // this is not a Fault and not required the application to stop. No Alarm will be triggered. _isSound = checkSound (); // this is not a Fault and not required the application to stop. No Alarm will be triggered. _isYearCheck = checkYear (); + _isSettingsCRC = checkSettingsCRC (); // WARNING: // all of the checks have to be done, // although some are not failing the final result, @@ -66,7 +67,8 @@ isCloudSync () && // isEthernet () && // it is being executed to get the information but is not part of the POST failure. // isSound () && - isYearCheck () + isYearCheck () && + isSettingsCRCCheck() ; } else { @@ -268,3 +270,16 @@ emit didYearCheck(ok); return ok; } + +/*! + * \brief ApplicationPost::checkSettingsCRC + * \details Checks the Settings CRC + * \return true if check passed, otherwise false + */ +bool ApplicationPost::checkSettingsCRC() +{ + bool ok = _content.contains(_postmsg_settingscrc + _postmsg_postfix_passed); + if (! ok) emit didFail(Gui::GuiAlarmID::ALARM_ID_HD_UI_POST_FAILURE_SETTINGS_BAD); + emit didSettingsCRCCheck(ok); + return ok; +}