Skip to content

Clarification on Software Bus transition of message pointer types from 6.7 to caelum #758

Answered by skliper
spaceusername asked this question in Q&A
Discussion options

You must be logged in to vote

See sample_app for the latest recommended pattern:
https://github.com/skliper/sample_app/blob/ceaf7ab5fadc7ac80f9bee6f5a2757593417e461/fsw/src/sample_app_dispatch.c#L74-L88

Basically cast to the user message type from the "dispatch" function, basically as soon as the message type is identified (via the cmd code), cmd handler can just act on the user message type.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@spaceusername
Comment options

Answer selected by spaceusername
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants