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 #66, Implement message alignment pattern #69

Merged

Commits on Nov 30, 2020

  1. Fix nasa#66, Implement message alignment pattern

    - Replace CFE_SB_RcvMsg with CFE_SB_ReceiveBuffer
    - Use CFE_SB_Buffer_t for receiving and casting to command types
    - 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
    - No need to cast to CFE_MSG_Message_t anywhere since it's
      available in the CFE_SB_Buffer_t union
    - Replaced CFE_MSG_Size_t with size_t
    skliper committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    3f7e1df View commit details
    Browse the repository at this point in the history