Skip to content

Commit

Permalink
Fix nasa#52, Apply consistent Event ID names to common events
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt authored and jphickey committed Jul 11, 2024
1 parent c3fd1c2 commit ba3051c
Show file tree
Hide file tree
Showing 11 changed files with 59 additions and 59 deletions.
10 changes: 5 additions & 5 deletions fsw/inc/cs_events.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
/**
* \brief CS Reset Counters Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATION
*
* \par Cause:
*
* This event message is issued when a reset counters command has been received.
*/
#define CS_RESET_DBG_EID 3
#define CS_RESET_INF_EID 3

/**
* \brief CS Disable Checksumming Command Event ID
Expand Down Expand Up @@ -451,7 +451,7 @@
* This event message is issued when a software bus message is received
* with an invalid command code.
*/
#define CS_CC1_ERR_EID 34
#define CS_CC_ERR_EID 34

/**
* \brief CS App Termination Event ID
Expand All @@ -475,7 +475,7 @@
* This event message is issued when command message is received with a message
* length that doesn't match the expected value.
*/
#define CS_LEN_ERR_EID 36
#define CS_CMD_LEN_ERR_EID 36

/**********************************************************************/
/*EEPROM Commands */
Expand Down Expand Up @@ -1466,7 +1466,7 @@
*
* This event message is issued when CFE_SB_CreatePipe fails for the command pipe
*/
#define CS_INIT_SB_CREATE_ERR_EID 112
#define CS_CR_PIPE_ERR_EID 112

/**
* \brief CS Software Bus Subscribe To Housekeeping Failed Event ID
Expand Down
78 changes: 39 additions & 39 deletions fsw/inc/cs_msgdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand All @@ -77,7 +77,7 @@
* the following telemetry:
* - #CS_HkPacket_Payload_t.CmdCounter will be cleared
* - #CS_HkPacket_Payload_t.CmdErrCounter will be cleared
* - The #CS_RESET_DBG_EID informational event message will be
* - The #CS_RESET_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand All @@ -86,7 +86,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -128,7 +128,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_ONESHOT_MEMVALIDATE_ERR_EID
* - Error specific event message #CS_ONESHOT_CHDTASK_ERR_EID
* - Error specific event message #CS_ONESHOT_CREATE_CHDTASK_ERR_EID
Expand Down Expand Up @@ -170,7 +170,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_ONESHOT_CANCEL_NO_CHDTASK_ERR_EID
* - Error specific event message #CS_ONESHOT_CANCEL_DELETE_CHDTASK_ERR_EID
*
Expand Down Expand Up @@ -204,7 +204,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -236,7 +236,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -268,7 +268,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -300,7 +300,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -334,7 +334,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -369,7 +369,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_RECOMPUTE_CFECORE_CREATE_CHDTASK_ERR_EID
* - Error specific event message #CS_RECOMPUTE_CFECORE_CHDTASK_ERR_EID
*
Expand Down Expand Up @@ -407,7 +407,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - #CS_HkPacket_Payload_t.OSCSState set to #CS_STATE_ENABLED
*
* \par Criticality
Expand Down Expand Up @@ -440,7 +440,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -474,7 +474,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -508,7 +508,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_RECOMPUTE_OS_CREATE_CHDTASK_ERR_EID
* - Error specific event message #CS_RECOMPUTE_OS_CHDTASK_ERR_EID
*
Expand Down Expand Up @@ -546,7 +546,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -578,7 +578,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -613,7 +613,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_BASELINE_INVALID_ENTRY_EEPROM_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -653,7 +653,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_RECOMPUTE_INVALID_ENTRY_EEPROM_ERR_EID
* - Error specific event message #CS_RECOMPUTE_EEPROM_CREATE_CHDTASK_ERR_EID
* - Error specific event message #CS_RECOMPUTE_EEPROM_CHDTASK_ERR_EID
Expand Down Expand Up @@ -693,7 +693,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_ENABLE_EEPROM_INVALID_ENTRY_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -726,7 +726,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_DISABLE_EEPROM_INVALID_ENTRY_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -760,7 +760,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_GET_ENTRY_ID_EEPROM_NOT_FOUND_INF_EID
*
* \par Criticality
Expand Down Expand Up @@ -791,7 +791,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -823,7 +823,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -858,7 +858,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_BASELINE_INVALID_ENTRY_MEMORY_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -897,7 +897,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_RECOMPUTE_INVALID_ENTRY_MEMORY_ERR_EID
* - Error specific event message #CS_RECOMPUTE_MEMORY_CREATE_CHDTASK_ERR_EID
* - Error specific event message #CS_RECOMPUTE_MEMORY_CHDTASK_ERR_EID
Expand Down Expand Up @@ -937,7 +937,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_ENABLE_MEMORY_INVALID_ENTRY_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -970,7 +970,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_DISABLE_MEMORY_INVALID_ENTRY_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -1004,7 +1004,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_GET_ENTRY_ID_MEMORY_NOT_FOUND_INF_EID
*
* \par Criticality
Expand Down Expand Up @@ -1036,7 +1036,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -1068,7 +1068,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -1103,7 +1103,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_BASELINE_INVALID_NAME_TABLES_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -1148,7 +1148,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_RECOMPUTE_UNKNOWN_NAME_TABLES_ERR_EID
* - Error specific event message #CS_RECOMPUTE_TABLES_CREATE_CHDTASK_ERR_EID
* - Error specific event message #CS_RECOMPUTE_TABLES_CHDTASK_ERR_EID
Expand Down Expand Up @@ -1188,7 +1188,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_ENABLE_TABLES_UNKNOWN_NAME_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -1254,7 +1254,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -1286,7 +1286,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
*
* \par Criticality
* None
Expand Down Expand Up @@ -1321,7 +1321,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_BASELINE_INVALID_NAME_APP_ERR_EID
*
* \par Criticality
Expand Down Expand Up @@ -1360,7 +1360,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_RECOMPUTE_UNKNOWN_NAME_APP_ERR_EID
* - Error specific event message #CS_RECOMPUTE_APP_CREATE_CHDTASK_ERR_EID
* - Error specific event message #CS_RECOMPUTE_APP_CHDTASK_ERR_EID
Expand Down Expand Up @@ -1400,7 +1400,7 @@
*
* \par Evidence of failure may be found in the following telemetry:
* - #CS_HkPacket_Payload_t.CmdErrCounter will increment
* - Error specific event message #CS_LEN_ERR_EID
* - Error specific event message #CS_CMD_LEN_ERR_EID
* - Error specific event message #CS_ENABLE_APP_UNKNOWN_NAME_ERR_EID
*
* \par Criticality
Expand Down
Loading

0 comments on commit ba3051c

Please sign in to comment.