Packet representation and buffer operations based on the ECSS-70-E-41A standard. Check the packet design document for the packet's design history.
TEIDESAT-I'S OBC is based on an ARM cortex m7, and ARM typically provides a pin to select little-endian or big-endian. However, the library assumes it is big-endian, so it is important to make sure that the microcontroller is set to big-endian. This is due to the library sometimes converting two uint8_t
into a uint16_t
when reading a packet from buffer by assuming that [0] is the most significant part, while [1] is less significant, which is incorrect if the system is little endian.