Skip to content

Commit

Permalink
Fix nasa#126, Update 'successful' command event types to INFO
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkslprpt committed Jun 7, 2024
1 parent 0bdc746 commit b736284
Show file tree
Hide file tree
Showing 5 changed files with 437 additions and 97 deletions.
22 changes: 11 additions & 11 deletions config/default_hs_fcncodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
* Successful execution of this command may be verified with
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will be cleared
* - The #HS_RESET_DBG_EID debug event message will be
* - The #HS_RESET_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -114,7 +114,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentAppMonState will be set to Enabled
* - The #HS_ENABLE_APPMON_DBG_EID informational event message will be
* - The #HS_ENABLE_APPMON_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -146,7 +146,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentAppMonState will be set to Disabled
* - The #HS_DISABLE_APPMON_DBG_EID informational event message will be
* - The #HS_DISABLE_APPMON_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -178,7 +178,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentEventMonState will be set to Enabled
* - The #HS_ENABLE_EVENTMON_DBG_EID informational event message will be
* - The #HS_ENABLE_EVENTMON_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -210,7 +210,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentEventMonState will be set to Disabled
* - The #HS_DISABLE_EVENTMON_DBG_EID informational event message will be
* - The #HS_DISABLE_EVENTMON_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -242,7 +242,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentAlivenessState will be set to Enabled
* - The #HS_ENABLE_ALIVENESS_DBG_EID informational event message will be
* - The #HS_ENABLE_ALIVENESS_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -274,7 +274,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentAlivenessState will be set to Disabled
* - The #HS_DISABLE_ALIVENESS_DBG_EID informational event message will be
* - The #HS_DISABLE_ALIVENESS_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -306,7 +306,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.ResetsPerformed will be set to 0
* - The #HS_RESET_RESETS_DBG_EID informational event message will be
* - The #HS_RESET_RESETS_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -338,7 +338,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.MaxResets will be set to the provided value
* - The #HS_SET_MAX_RESETS_DBG_EID informational event message will be
* - The #HS_SET_MAX_RESETS_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -370,7 +370,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentCPUHogState will be set to Enabled
* - The #HS_ENABLE_CPUHOG_DBG_EID informational event message will be
* - The #HS_ENABLE_CPUHOG_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down Expand Up @@ -402,7 +402,7 @@
* the following telemetry:
* - #HS_HkTlm_Payload_t.CmdCount will increment
* - #HS_HkTlm_Payload_t.CurrentCPUHogState will be set to Disabled
* - The #HS_DISABLE_CPUHOG_DBG_EID informational event message will be
* - The #HS_DISABLE_CPUHOG_INF_EID informational event message will be
* generated when the command is executed
*
* \par Error Conditions
Expand Down
44 changes: 22 additions & 22 deletions fsw/inc/hs_eventids.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,110 +313,110 @@
/**
* \brief HS Reset Counters Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a reset counters command has
* been received.
*/
#define HS_RESET_DBG_EID 24
#define HS_RESET_INF_EID 24

/**
* \brief HS Enable Application Monitoring Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when an enable application monitoring
* command has been received.
*/
#define HS_ENABLE_APPMON_DBG_EID 25
#define HS_ENABLE_APPMON_INF_EID 25

/**
* \brief HS Disable Application Monitoring Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a disable application monitoring
* command has been received.
*/
#define HS_DISABLE_APPMON_DBG_EID 26
#define HS_DISABLE_APPMON_INF_EID 26

/**
* \brief HS Enable Event Monitoring Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when an enable event monitoring
* command has been received.
*/
#define HS_ENABLE_EVENTMON_DBG_EID 27
#define HS_ENABLE_EVENTMON_INF_EID 27

/**
* \brief HS Disable Event Monitoring Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a disable event monitoring
* command has been received.
*/
#define HS_DISABLE_EVENTMON_DBG_EID 28
#define HS_DISABLE_EVENTMON_INF_EID 28

/**
* \brief HS Enable Aliveness Indicator Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when an enable aliveness indicator
* command has been received.
*/
#define HS_ENABLE_ALIVENESS_DBG_EID 29
#define HS_ENABLE_ALIVENESS_INF_EID 29

/**
* \brief HS Disable Aliveness Indicator Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a disable aliveness indicator
* command has been received.
*/
#define HS_DISABLE_ALIVENESS_DBG_EID 30
#define HS_DISABLE_ALIVENESS_INF_EID 30

/**
* \brief HS Reset Process Reset Counter Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a reset processor resets count
* command has been received.
*/
#define HS_RESET_RESETS_DBG_EID 31
#define HS_RESET_RESETS_INF_EID 31

/**
* \brief HS Set Max Resets Command Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a set max processor resets
* command has been received.
*/
#define HS_SET_MAX_RESETS_DBG_EID 32
#define HS_SET_MAX_RESETS_INF_EID 32

/**
* \brief HS AppMon Table Get Address Failed Event ID
Expand Down Expand Up @@ -777,26 +777,26 @@
/**
* \brief HS CPU Hogging Detection Enabled Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when an enable cpu hogging indicator
* command has been received.
*/
#define HS_ENABLE_CPUHOG_DBG_EID 64
#define HS_ENABLE_CPUHOG_INF_EID 64

/**
* \brief HS CPU Hogging Detection Disabled Event ID
*
* \par Type: DEBUG
* \par Type: INFORMATIONAL
*
* \par Cause:
*
* This event message is issued when a disable cpu hogging indicator
* command has been received.
*/
#define HS_DISABLE_CPUHOG_DBG_EID 65
#define HS_DISABLE_CPUHOG_INF_EID 65

/**
* \brief HS Event Monitor Enable Subscribe To Long Events Failed Event ID
Expand Down
Loading

0 comments on commit b736284

Please sign in to comment.