Skip to content

Fix #299, Clarify event text for commands that initiate actions#300

Merged
dzbaker merged 1 commit intonasa:mainfrom
skliper:fix299-cmd_event_text
Aug 4, 2022
Merged

Fix #299, Clarify event text for commands that initiate actions#300
dzbaker merged 1 commit intonasa:mainfrom
skliper:fix299-cmd_event_text

Conversation

@skliper
Copy link
Copy Markdown

@skliper skliper commented Aug 2, 2022

Checklist (Please check before submitting)

Describe the contribution

Testing performed
CI

Expected behavior changes
None, text is just more clear

System(s) tested on
CI

Additional context
None

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

@skliper skliper added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Aug 2, 2022
@skliper skliper added this to the Draco milestone Aug 2, 2022
@skliper skliper force-pushed the fix299-cmd_event_text branch from eb01a59 to 0040fb3 Compare August 2, 2022 18:53
Comment thread fsw/src/cf_cmd.c
else
{
CFE_EVS_SendEvent(CF_EID_ERR_CMD_TX_FILE, CFE_EVS_EventType_ERROR, "CF: file transfer failed");
CFE_EVS_SendEvent(CF_EID_ERR_CMD_TX_FILE, CFE_EVS_EventType_ERROR, "CF: file transfer initiation failed");

Check warning

Code scanning / CodeQL-coding-standard

Unchecked return value

The return value of non-void function [CFE_EVS_SendEvent](1) is not checked.
Comment thread fsw/src/cf_cmd.c
{
CFE_EVS_SendEvent(CF_EID_INF_CMD_CANCEL, CFE_EVS_EventType_INFORMATION, "CF: cancel successful");
CFE_EVS_SendEvent(CF_EID_INF_CMD_CANCEL, CFE_EVS_EventType_INFORMATION,
"CF: cancel transaction successfully initiated");

Check warning

Code scanning / CodeQL-coding-standard

Unchecked return value

The return value of non-void function [CFE_EVS_SendEvent](1) is not checked.
Comment thread fsw/src/cf_cmd.c
{
CFE_EVS_SendEvent(CF_EID_ERR_CMD_PLAYBACK_DIR, CFE_EVS_EventType_ERROR, "CF: directory playback cmd failed");
CFE_EVS_SendEvent(CF_EID_ERR_CMD_PLAYBACK_DIR, CFE_EVS_EventType_ERROR,
"CF: directory playback initiation failed");

Check warning

Code scanning / CodeQL-coding-standard

Unchecked return value

The return value of non-void function [CFE_EVS_SendEvent](1) is not checked.
Comment thread fsw/src/cf_cmd.c
tx->dest_id) == CFE_SUCCESS)
{
CFE_EVS_SendEvent(CF_EID_INF_CMD_TX_FILE, CFE_EVS_EventType_INFORMATION, "CF: file transfer successful");
CFE_EVS_SendEvent(CF_EID_INF_CMD_TX_FILE, CFE_EVS_EventType_INFORMATION,

Check warning

Code scanning / CodeQL-coding-standard

Unchecked return value

The return value of non-void function [CFE_EVS_SendEvent](1) is not checked.
@dzbaker dzbaker added CCB:Approved and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Aug 3, 2022
@dzbaker dzbaker merged commit 18e49ad into nasa:main Aug 4, 2022
@skliper skliper deleted the fix299-cmd_event_text branch September 19, 2022 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify cmd processing success event text for cases that just initialize action

4 participants