Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #689, Align all software bus message definitions #690

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions fsw/cfe-core/src/inc/cfe_es_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@
*/
typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */

} CFE_ES_NoArgsCmd_t;

Expand Down Expand Up @@ -1151,7 +1151,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_RestartCmd_Payload_t Payload;
} CFE_ES_Restart_t;

Expand All @@ -1176,7 +1176,7 @@ typedef struct
*/
typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_ShellCmd_Payload_t Payload;
} CFE_ES_Shell_t;
#endif /* CFE_OMIT_DEPRECATED_6_7 */
Expand All @@ -1198,7 +1198,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_FileNameCmd_Payload_t Payload;
} CFE_ES_FileNameCmd_t;

Expand Down Expand Up @@ -1226,7 +1226,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_OverWriteSysLogCmd_Payload_t Payload;
} CFE_ES_OverWriteSyslog_t;

Expand Down Expand Up @@ -1255,7 +1255,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_StartAppCmd_Payload_t Payload;
} CFE_ES_StartApp_t;

Expand All @@ -1272,7 +1272,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_AppNameCmd_Payload_t Payload;
} CFE_ES_AppNameCmd_t;

Expand Down Expand Up @@ -1300,7 +1300,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_AppReloadCmd_Payload_t Payload;
} CFE_ES_ReloadApp_t;

Expand All @@ -1318,7 +1318,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_SetMaxPRCountCmd_Payload_t Payload;
} CFE_ES_SetMaxPRCount_t;

Expand All @@ -1336,7 +1336,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_DeleteCDSCmd_Payload_t Payload;
} CFE_ES_DeleteCDS_t;

Expand All @@ -1353,7 +1353,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_StartPerfCmd_Payload_t Payload;
} CFE_ES_StartPerfData_t;

Expand All @@ -1371,7 +1371,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_StopPerfCmd_Payload_t Payload;
} CFE_ES_StopPerfData_t;

Expand All @@ -1391,7 +1391,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_SetPerfFilterMaskCmd_Payload_t Payload;
} CFE_ES_SetPerfFilterMask_t;

Expand All @@ -1410,7 +1410,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_SetPerfTrigMaskCmd_Payload_t Payload;
} CFE_ES_SetPerfTriggerMask_t;

Expand All @@ -1429,7 +1429,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_SendMemPoolStatsCmd_Payload_t Payload;
} CFE_ES_SendMemPoolStats_t;

Expand All @@ -1447,7 +1447,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_ES_DumpCDSRegistryCmd_Payload_t Payload;

} CFE_ES_DumpCDSRegistry_t;
Expand All @@ -1467,7 +1467,7 @@ typedef struct

typedef struct
{
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE]; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_SB_TlmHdr_t TlmHeader; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_ES_OneAppTlm_Payload_t Payload;
} CFE_ES_OneAppTlm_t;

Expand All @@ -1483,7 +1483,7 @@ typedef struct

typedef struct
{
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE]; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_SB_TlmHdr_t TlmHeader; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_ES_PoolStatsTlm_Payload_t Payload;
} CFE_ES_MemStatsTlm_t;

Expand Down Expand Up @@ -1580,7 +1580,7 @@ typedef struct

typedef struct
{
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE]; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_SB_TlmHdr_t TlmHeader; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_ES_HousekeepingTlm_Payload_t Payload;

} CFE_ES_HousekeepingTlm_t;
Expand Down
26 changes: 13 additions & 13 deletions fsw/cfe-core/src/inc/cfe_evs_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@
** \brief Command with no additional arguments
**/
typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
} CFE_EVS_NoArgsCmd_t;

/*
Expand All @@ -942,7 +942,7 @@ typedef struct {
} CFE_EVS_LogFileCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_LogFileCmd_Payload_t Payload;
} CFE_EVS_WriteLogDataFile_t;

Expand All @@ -958,7 +958,7 @@ typedef struct {
} CFE_EVS_AppDataCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_AppDataCmd_Payload_t Payload;
} CFE_EVS_WriteAppDataFile_t;

Expand All @@ -974,7 +974,7 @@ typedef struct {
} CFE_EVS_SetLogMode_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_SetLogMode_Payload_t Payload;
} CFE_EVS_SetLogMode_t;

Expand All @@ -990,7 +990,7 @@ typedef struct {
} CFE_EVS_SetEventFormatMode_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_SetEventFormatMode_Payload_t Payload;
} CFE_EVS_SetEventFormatMode_t;

Expand All @@ -1007,7 +1007,7 @@ typedef struct {
} CFE_EVS_BitMaskCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_BitMaskCmd_Payload_t Payload;
} CFE_EVS_BitMaskCmd_t;

Expand All @@ -1033,7 +1033,7 @@ typedef struct {
} CFE_EVS_AppNameCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_AppNameCmd_Payload_t Payload;
} CFE_EVS_AppNameCmd_t;

Expand All @@ -1059,7 +1059,7 @@ typedef struct {
} CFE_EVS_AppNameEventIDCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_AppNameEventIDCmd_Payload_t Payload;
} CFE_EVS_AppNameEventIDCmd_t;

Expand All @@ -1084,7 +1084,7 @@ typedef struct {
} CFE_EVS_AppNameBitMaskCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_AppNameBitMaskCmd_Payload_t Payload;
} CFE_EVS_AppNameBitMaskCmd_t;

Expand All @@ -1110,7 +1110,7 @@ typedef struct {
} CFE_EVS_AppNameEventIDMaskCmd_Payload_t;

typedef struct {
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE];
CFE_SB_CmdHdr_t CmdHeader;
CFE_EVS_AppNameEventIDMaskCmd_Payload_t Payload;
} CFE_EVS_AppNameEventIDMaskCmd_t;

Expand Down Expand Up @@ -1181,7 +1181,7 @@ typedef struct {
} CFE_EVS_HousekeepingTlm_Payload_t;

typedef struct {
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE];
CFE_SB_TlmHdr_t TlmHeader;
CFE_EVS_HousekeepingTlm_Payload_t Payload;
} CFE_EVS_HousekeepingTlm_t;

Expand Down Expand Up @@ -1224,13 +1224,13 @@ typedef struct {
} CFE_EVS_ShortEventTlm_Payload_t;

typedef struct {
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE];
CFE_SB_TlmHdr_t TlmHeader;
CFE_EVS_LongEventTlm_Payload_t Payload;

} CFE_EVS_LongEventTlm_t;

typedef struct {
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE];
CFE_SB_TlmHdr_t TlmHeader;
CFE_EVS_ShortEventTlm_Payload_t Payload;

} CFE_EVS_ShortEventTlm_t;
Expand Down
24 changes: 12 additions & 12 deletions fsw/cfe-core/src/inc/cfe_tbl_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@
*/
typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */

} CFE_TBL_NoArgsCmd_t;

Expand All @@ -519,7 +519,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_LoadCmd_Payload_t Payload;
} CFE_TBL_Load_t;

Expand All @@ -546,7 +546,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_DumpCmd_Payload_t Payload;
} CFE_TBL_Dump_t;

Expand All @@ -570,7 +570,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_ValidateCmd_Payload_t Payload;
} CFE_TBL_Validate_t;

Expand All @@ -588,7 +588,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_ActivateCmd_Payload_t Payload;
} CFE_TBL_Activate_t;

Expand All @@ -607,7 +607,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_DumpRegistryCmd_Payload_t Payload;
} CFE_TBL_DumpRegistry_t;

Expand All @@ -627,7 +627,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_SendRegistryCmd_Payload_t Payload;
} CFE_TBL_SendRegistry_t;

Expand All @@ -647,7 +647,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_DelCDSCmd_Payload_t Payload;
} CFE_TBL_DeleteCDS_t;

Expand All @@ -665,7 +665,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_AbortLoadCmd_Payload_t Payload;
} CFE_TBL_AbortLoad_t;

Expand All @@ -690,7 +690,7 @@ typedef struct

typedef struct
{
uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; /**< \brief cFE Software Bus Command Message Header */
CFE_SB_CmdHdr_t CmdHeader; /**< \brief cFE Software Bus Command Message Header */
CFE_TBL_NotifyCmd_Payload_t Payload;
} CFE_TBL_NotifyCmd_t;

Expand Down Expand Up @@ -762,7 +762,7 @@ typedef struct

typedef struct
{
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE]; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_SB_TlmHdr_t TlmHeader; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_TBL_HousekeepingTlm_Payload_t Payload;
} CFE_TBL_HousekeepingTlm_t;

Expand Down Expand Up @@ -810,7 +810,7 @@ typedef struct

typedef struct
{
uint8 TlmHeader[CFE_SB_TLM_HDR_SIZE]; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_SB_TlmHdr_t TlmHeader; /**< \brief cFE Software Bus Telemetry Message Header */
CFE_TBL_TblRegPacket_Payload_t Payload;
} CFE_TBL_TableRegistryTlm_t;

Expand Down
Loading