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 #909, reorganize ES public API + msg definitions #964

Merged
merged 3 commits into from
Oct 30, 2020

Conversation

jphickey
Copy link
Contributor

Describe the contribution

Put all ES typedefs which are shared across API and telemetry messages into the cfe_es_extern_typedefs.h file.

Put all ES typedefs which define the telemetry interface into the cfe_es_msg.h file. Also include structures which define the output of commands that write data files into this group (query all apps, query all tasks, query all CDS).

Removes some localized definitions and replace with MISSION scope definitions where appropriate/necessary.

Fixes #909

Testing performed
Build and sanity check CFE
Run all unit tests

Expected behavior changes
No impact to behavior
(Should not change any binary formats)

System(s) tested on
Ubuntu 20.04

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Put all ES typedefs which are shared across API and telemetry
messages into the "cfe_es_extern_typedefs.h" file.

Put all ES typedefs which define the telemetry interface
into the "cfe_es_msg.h" file.  Also include structures which
define the output of commands that write data files into this
group (query all apps, query all tasks, query all CDS).

Removes some localized definitions and replace with MISSION
scope definitions where appropriate/necessary.
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me, nice improvements for consistency.

@astrogeco astrogeco changed the base branch from main to integration-candidate October 27, 2020 15:31
@astrogeco astrogeco changed the base branch from integration-candidate to main October 27, 2020 15:32
As the name field is a multiple of 4 bytes, there needs to be 3 bytes
of padding, not 1, to avoid implicit padding.

This doesn't change anything, it just makes the padding explicit instead
of implicit.
@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Oct 27, 2020
Simple replacement of CFE_MISSION_ES_CDS_MAX_NAME_LEN with
CFE_MISSION_ES_CDS_MAX_FULL_NAME_LEN, to differentiate it
from CFE_MISSION_ES_CDS_MAX_NAME_LENGTH - which is the CDS
name without the app name.
@jphickey
Copy link
Contributor Author

Adding commits to fix two other minor issues

Fixes #964 via commit d21d94a
Fixes #370 via commit f9f18a7

@astrogeco
Copy link
Contributor

CCB 2020-10-28 APPROVED

  • Consider moving bool in cfe_es_msg
  • Discuss with Walt

@astrogeco astrogeco removed the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Oct 28, 2020
@skliper
Copy link
Contributor

skliper commented Oct 29, 2020

Discussed at splinter, moving bool didn't sound like it would be an issue.

@astrogeco astrogeco changed the base branch from main to integration-candidate October 30, 2020 15:49
@astrogeco astrogeco merged commit 398471a into nasa:integration-candidate Oct 30, 2020
astrogeco added a commit to nasa/cFS that referenced this pull request Oct 30, 2020
@jphickey jphickey deleted the fix-909-extern-defs branch December 3, 2020 17:53
@skliper skliper added this to the 7.0.0 milestone Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants