Skip to content
Discussion options

You must be logged in to vote

If you derive your structures/classes from Fw::Serializeable, you can pass them through ports. You fill in the serialize() and deserialize() methods in your derived class, and they will be invoked automatically.

You can then make a forward reference to the type in FPP. See type T in section 8.2.

Note that these types can't be used in ground interfaces (like commands, telemetry, etc), since their composition isn't known to the FPP.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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
2 participants