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

sch_lab Integration Candidate: 2020-12-08 #59

Merged
merged 3 commits into from
Dec 9, 2020
Merged

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Dec 9, 2020

Describe the contribution
Fix #56, Apply message alignment pattern

Testing performed
See https://github.com/nasa/cFS/pull/160/checks

Expected behavior changes
PR #57 - Aligns messages according to changes in cFE nasa/cFE#1009. Uses the "raw" message cmd/tlm types in definition

System(s) tested on
Ubuntu 18.04

Additional context
Part of nasa/cFS#160

Third party code
None

Contributor Info - All information REQUIRED for consideration of pull request
@skliper

skliper and others added 2 commits December 8, 2020 10:01
- Use CFE_MSG_CommandHeader_t and CFE_MSG_TelemetryHeader_t in
  command and telemetry type definitions
- Use CFE_SB_TransmitMsg to copy the command and telemetry
  into a CFE_SB_Buffer_t and send it where needed
- Avoids need to create send buffers within the app (or union
  the packet types with CFE_SB_Buffer_t)
- Eliminates references to CFE_SB_CmdHdr_t and CFE_SB_TlmHdr_t
  that formerly enforced alignment since these had potential
  to change the actual packet sizes
@astrogeco astrogeco marked this pull request as ready for review December 9, 2020 20:43
@astrogeco astrogeco merged commit f7b0595 into main Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update for suggested alignment enforcement pattern (nasa/cFE#1009)
2 participants