Skip to content
Discussion options

You must be logged in to vote

I believe you can set these in our configuration header. They default to U32, but could be set smaller to reduce the size in serialized byte streams. Note: at this time you'd need to modify fprime-gds to accept the new size of types (if you are using fprime-gds).

#ifndef FwPacketDescriptorType
#define FwPacketDescriptorType U32 //!< Type representation for a packet descriptor
#endif
#ifndef FwOpcodeType
#define FwOpcodeType U32 //!< Type representation for a command opcode
#endif
#ifndef FwChanIdType
#define FwChanIdType U32 //!< Type representation for a channel id
#endif

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@timcanham
Comment options

@LeStarch
Comment options

@LeStarch
Comment options

@rawinza555
Comment options

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