CTF icon indicating copy to clipboard operation
CTF copied to clipboard

Support for unions

Open buerge3 opened this issue 3 years ago • 1 comments

I would like CTF to support sending commands that contain a union. Proposed enhancement, low priority

buerge3 avatar Oct 14 '22 19:10 buerge3

I have example:

typedef struct
{
    CFE_MSG_CommandHeader_t  CmdHeader;       /**< \brief CCSDS command message header */
    uint8 ucSpare[4];                         /**< \brief 64-bit alignment*/
    union
    {
        STRM_ApidFilter_t Filter;             /**< \brief The filter to add or update */
        CFE_MSG_GatewayApId_t ulGatewayApid;  /**< \brief APID of the filter to remove */
    }Parameter_t;
}STRM_IF_ToStrmFilterCmd_t;
VSM_CASSERT((sizeof(STRM_IF_ToStrmFilterCmd_t) == 40), strm_if_msg_h);

buerge3 avatar Oct 14 '22 19:10 buerge3