paqueteCnC
|
High level packet representation; does not care as much about size. More...
#include <array>
#include <vector>
Go to the source code of this file.
Classes | |
class | Packet |
High level packet representation; does not care as much about size.
Based on ECSS-E-70-41A packet structure but with changes.
The type field is not added because it will always be 0 because only one packet is handled, so there is no point in having a member for it.
Source comes first before destination (from left to right looking at the packet figure) on the app. id. field.
Length = Packet size (bytes) - 6 (packet header) - 1 Substract 1 because it can be a value between 0 to (2^16 - 1) and not between 1 and 2^16.