paqueteCnC
Loading...
Searching...
No Matches
Classes
packet.h File Reference

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
 

Detailed Description

High level packet representation; does not care as much about size.

Author
Marcos Barrios

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.