Skip to content

Commit 0f823e6

Browse files
authored
Merge pull request #127 from thnkslprpt/fix-126-standardize-command-responses
Fix #126, Standardize command responses
2 parents 81d91ce + 21b2a48 commit 0f823e6

File tree

4 files changed

+430
-88
lines changed

4 files changed

+430
-88
lines changed

config/default_hs_fcncodes.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
* Successful execution of this command may be verified with
8383
* the following telemetry:
8484
* - #HS_HkTlm_Payload_t.CmdCount will be cleared
85-
* - The #HS_RESET_INF_EID debug event message will be
85+
* - The #HS_RESET_INF_EID informational event message will be
8686
* generated when the command is executed
8787
*
8888
* \par Error Conditions
@@ -114,7 +114,7 @@
114114
* the following telemetry:
115115
* - #HS_HkTlm_Payload_t.CmdCount will increment
116116
* - #HS_HkTlm_Payload_t.CurrentAppMonState will be set to Enabled
117-
* - The #HS_ENABLE_APPMON_DBG_EID informational event message will be
117+
* - The #HS_ENABLE_APPMON_INF_EID informational event message will be
118118
* generated when the command is executed
119119
*
120120
* \par Error Conditions
@@ -146,7 +146,7 @@
146146
* the following telemetry:
147147
* - #HS_HkTlm_Payload_t.CmdCount will increment
148148
* - #HS_HkTlm_Payload_t.CurrentAppMonState will be set to Disabled
149-
* - The #HS_DISABLE_APPMON_DBG_EID informational event message will be
149+
* - The #HS_DISABLE_APPMON_INF_EID informational event message will be
150150
* generated when the command is executed
151151
*
152152
* \par Error Conditions
@@ -178,7 +178,7 @@
178178
* the following telemetry:
179179
* - #HS_HkTlm_Payload_t.CmdCount will increment
180180
* - #HS_HkTlm_Payload_t.CurrentEventMonState will be set to Enabled
181-
* - The #HS_ENABLE_EVENTMON_DBG_EID informational event message will be
181+
* - The #HS_ENABLE_EVENTMON_INF_EID informational event message will be
182182
* generated when the command is executed
183183
*
184184
* \par Error Conditions
@@ -210,7 +210,7 @@
210210
* the following telemetry:
211211
* - #HS_HkTlm_Payload_t.CmdCount will increment
212212
* - #HS_HkTlm_Payload_t.CurrentEventMonState will be set to Disabled
213-
* - The #HS_DISABLE_EVENTMON_DBG_EID informational event message will be
213+
* - The #HS_DISABLE_EVENTMON_INF_EID informational event message will be
214214
* generated when the command is executed
215215
*
216216
* \par Error Conditions
@@ -242,7 +242,7 @@
242242
* the following telemetry:
243243
* - #HS_HkTlm_Payload_t.CmdCount will increment
244244
* - #HS_HkTlm_Payload_t.CurrentAlivenessState will be set to Enabled
245-
* - The #HS_ENABLE_ALIVENESS_DBG_EID informational event message will be
245+
* - The #HS_ENABLE_ALIVENESS_INF_EID informational event message will be
246246
* generated when the command is executed
247247
*
248248
* \par Error Conditions
@@ -274,7 +274,7 @@
274274
* the following telemetry:
275275
* - #HS_HkTlm_Payload_t.CmdCount will increment
276276
* - #HS_HkTlm_Payload_t.CurrentAlivenessState will be set to Disabled
277-
* - The #HS_DISABLE_ALIVENESS_DBG_EID informational event message will be
277+
* - The #HS_DISABLE_ALIVENESS_INF_EID informational event message will be
278278
* generated when the command is executed
279279
*
280280
* \par Error Conditions
@@ -306,7 +306,7 @@
306306
* the following telemetry:
307307
* - #HS_HkTlm_Payload_t.CmdCount will increment
308308
* - #HS_HkTlm_Payload_t.ResetsPerformed will be set to 0
309-
* - The #HS_RESET_RESETS_DBG_EID informational event message will be
309+
* - The #HS_RESET_RESETS_INF_EID informational event message will be
310310
* generated when the command is executed
311311
*
312312
* \par Error Conditions
@@ -338,7 +338,7 @@
338338
* the following telemetry:
339339
* - #HS_HkTlm_Payload_t.CmdCount will increment
340340
* - #HS_HkTlm_Payload_t.MaxResets will be set to the provided value
341-
* - The #HS_SET_MAX_RESETS_DBG_EID informational event message will be
341+
* - The #HS_SET_MAX_RESETS_INF_EID informational event message will be
342342
* generated when the command is executed
343343
*
344344
* \par Error Conditions
@@ -370,7 +370,7 @@
370370
* the following telemetry:
371371
* - #HS_HkTlm_Payload_t.CmdCount will increment
372372
* - #HS_HkTlm_Payload_t.CurrentCPUHogState will be set to Enabled
373-
* - The #HS_ENABLE_CPUHOG_DBG_EID informational event message will be
373+
* - The #HS_ENABLE_CPUHOG_INF_EID informational event message will be
374374
* generated when the command is executed
375375
*
376376
* \par Error Conditions
@@ -402,7 +402,7 @@
402402
* the following telemetry:
403403
* - #HS_HkTlm_Payload_t.CmdCount will increment
404404
* - #HS_HkTlm_Payload_t.CurrentCPUHogState will be set to Disabled
405-
* - The #HS_DISABLE_CPUHOG_DBG_EID informational event message will be
405+
* - The #HS_DISABLE_CPUHOG_INF_EID informational event message will be
406406
* generated when the command is executed
407407
*
408408
* \par Error Conditions

fsw/inc/hs_eventids.h

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -325,98 +325,98 @@
325325
/**
326326
* \brief HS Enable Application Monitoring Command Event ID
327327
*
328-
* \par Type: DEBUG
328+
* \par Type: INFORMATIONAL
329329
*
330330
* \par Cause:
331331
*
332332
* This event message is issued when an enable application monitoring
333333
* command has been received.
334334
*/
335-
#define HS_ENABLE_APPMON_DBG_EID 25
335+
#define HS_ENABLE_APPMON_INF_EID 25
336336

337337
/**
338338
* \brief HS Disable Application Monitoring Command Event ID
339339
*
340-
* \par Type: DEBUG
340+
* \par Type: INFORMATIONAL
341341
*
342342
* \par Cause:
343343
*
344344
* This event message is issued when a disable application monitoring
345345
* command has been received.
346346
*/
347-
#define HS_DISABLE_APPMON_DBG_EID 26
347+
#define HS_DISABLE_APPMON_INF_EID 26
348348

349349
/**
350350
* \brief HS Enable Event Monitoring Command Event ID
351351
*
352-
* \par Type: DEBUG
352+
* \par Type: INFORMATIONAL
353353
*
354354
* \par Cause:
355355
*
356356
* This event message is issued when an enable event monitoring
357357
* command has been received.
358358
*/
359-
#define HS_ENABLE_EVENTMON_DBG_EID 27
359+
#define HS_ENABLE_EVENTMON_INF_EID 27
360360

361361
/**
362362
* \brief HS Disable Event Monitoring Command Event ID
363363
*
364-
* \par Type: DEBUG
364+
* \par Type: INFORMATIONAL
365365
*
366366
* \par Cause:
367367
*
368368
* This event message is issued when a disable event monitoring
369369
* command has been received.
370370
*/
371-
#define HS_DISABLE_EVENTMON_DBG_EID 28
371+
#define HS_DISABLE_EVENTMON_INF_EID 28
372372

373373
/**
374374
* \brief HS Enable Aliveness Indicator Command Event ID
375375
*
376-
* \par Type: DEBUG
376+
* \par Type: INFORMATIONAL
377377
*
378378
* \par Cause:
379379
*
380380
* This event message is issued when an enable aliveness indicator
381381
* command has been received.
382382
*/
383-
#define HS_ENABLE_ALIVENESS_DBG_EID 29
383+
#define HS_ENABLE_ALIVENESS_INF_EID 29
384384

385385
/**
386386
* \brief HS Disable Aliveness Indicator Command Event ID
387387
*
388-
* \par Type: DEBUG
388+
* \par Type: INFORMATIONAL
389389
*
390390
* \par Cause:
391391
*
392392
* This event message is issued when a disable aliveness indicator
393393
* command has been received.
394394
*/
395-
#define HS_DISABLE_ALIVENESS_DBG_EID 30
395+
#define HS_DISABLE_ALIVENESS_INF_EID 30
396396

397397
/**
398398
* \brief HS Reset Process Reset Counter Command Event ID
399399
*
400-
* \par Type: DEBUG
400+
* \par Type: INFORMATIONAL
401401
*
402402
* \par Cause:
403403
*
404404
* This event message is issued when a reset processor resets count
405405
* command has been received.
406406
*/
407-
#define HS_RESET_RESETS_DBG_EID 31
407+
#define HS_RESET_RESETS_INF_EID 31
408408

409409
/**
410410
* \brief HS Set Max Resets Command Event ID
411411
*
412-
* \par Type: DEBUG
412+
* \par Type: INFORMATIONAL
413413
*
414414
* \par Cause:
415415
*
416416
* This event message is issued when a set max processor resets
417417
* command has been received.
418418
*/
419-
#define HS_SET_MAX_RESETS_DBG_EID 32
419+
#define HS_SET_MAX_RESETS_INF_EID 32
420420

421421
/**
422422
* \brief HS AppMon Table Get Address Failed Event ID
@@ -777,26 +777,26 @@
777777
/**
778778
* \brief HS CPU Hogging Detection Enabled Event ID
779779
*
780-
* \par Type: DEBUG
780+
* \par Type: INFORMATIONAL
781781
*
782782
* \par Cause:
783783
*
784784
* This event message is issued when an enable cpu hogging indicator
785785
* command has been received.
786786
*/
787-
#define HS_ENABLE_CPUHOG_DBG_EID 64
787+
#define HS_ENABLE_CPUHOG_INF_EID 64
788788

789789
/**
790790
* \brief HS CPU Hogging Detection Disabled Event ID
791791
*
792-
* \par Type: DEBUG
792+
* \par Type: INFORMATIONAL
793793
*
794794
* \par Cause:
795795
*
796796
* This event message is issued when a disable cpu hogging indicator
797797
* command has been received.
798798
*/
799-
#define HS_DISABLE_CPUHOG_DBG_EID 65
799+
#define HS_DISABLE_CPUHOG_INF_EID 65
800800

801801
/**
802802
* \brief HS Event Monitor Enable Subscribe To Long Events Failed Event ID

0 commit comments

Comments
 (0)