UoS³ Flight Computer Firmware
|
Packet Functions & Definitions. More...
Modules | |
CW | |
CW (Morse Code) Routines. | |
Functions | |
void | Packet_telemetry_1024_encode (packet_telemetry_1024 *input_packet, uint8_t *output_buffer, const uint16_t origin, const uint8_t *key, uint32_t key_length) |
Packet Functions & Definitions.
Telemetry Definitions.
High-level Data Packet Modules
Functions for Packet Operations
void Packet_telemetry_1024_encode | ( | packet_telemetry_1024 * | input_packet, |
uint8_t * | output_buffer, | ||
const uint16_t | origin, | ||
const uint8_t * | key, | ||
uint32_t | key_length | ||
) |
Prepare a data-populated packet struct for transmission.
Before using this function, the data and type fields must be populated.
Returns a binary buffer for direct transmission (excluding preamble and sync)
packet | Pointer to the packet struct to be prepared |
origin | Spacecraft ID of origin |
key | Pointer to the key to be signed with |
key_length | Length of the key in bytes |