added two new commands

This commit is contained in:
Robin Müller 2020-09-28 22:48:10 +02:00
parent 1d972fcbef
commit 62ee1391bf
2 changed files with 5 additions and 1 deletions

View File

@ -147,7 +147,8 @@ void HousekeepingMessage::clear(CommandMessage* message) {
case(HK_REPORT):
case(DIAGNOSTICS_REPORT):
case(HK_DEFINITIONS_REPORT):
case(DIAGNOSTICS_DEFINITION_REPORT): {
case(DIAGNOSTICS_DEFINITION_REPORT):
case(UPDATE_SNAPSHOT):{
store_address_t storeId;
getHkDataReply(message, &storeId);
StorageManagerIF *ipcStore = objectManager->get<StorageManagerIF>(

View File

@ -101,6 +101,9 @@ public:
static constexpr Command_t HK_REQUEST_FAILURE =
MAKE_COMMAND_ID(129);
static constexpr Command_t UPDATE_NOTIFICATION = MAKE_COMMAND_ID(130);
static constexpr Command_t UPDATE_SNAPSHOT = MAKE_COMMAND_ID(131);
static sid_t getSid(const CommandMessage* message);
static void setToggleReportingCommand(CommandMessage* command, sid_t sid,