BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 127 forks source link

Coder/Decoder at Interface Level #422

Closed DaniloJFMiranda closed 7 years ago

DaniloJFMiranda commented 7 years ago

I'm analysing how to develop a CCSDS coder/decoder (from Frames to Packets, and vice-versa) at interface level for example, since all targets that are part of one interface are CCSDS compliant. The idea would be to keep the UDP for message transfer, and write the CCSDS framer/deframer over it so that just the individual packets 'go to'/'come from' the targets. Could you please provide any ideas about what would be one way to do it?

ghost commented 7 years ago

You can override one of the existing interface classes like TcpipClientInterface, then modify the read() and write() methods as needed.