Skip to content

Improve consistency in application of CFE_SB_MsgIdToValue/ValueToMsgId conversions #153

@jphickey

Description

@jphickey

Is your feature request related to a problem? Please describe.
A CFE_SB_MsgId_t value, like other IDs, is supposed to be a unique type/opaque value that identifies a message within the SB application context. Although it is currently implemented using an integer (uint32 specifically) application should not assume this. Instead, a set of macros and inline conversion functions (CFE_SB_MsgIdToValue and CFE_SB_ValueToMsgId) are provided for when the application needs to interpret the value as an integer for a valid purpose.

Describe the solution you'd like
Add conversions where they are currently missing

Additional context
See nasa/cFE#1945 for full info. A separate issue+PR will be submitted for each framework app.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions