UoS³ Flight Computer Firmware
 All Data Structures Files Functions Groups Pages
Modules | Functions
Packet Modules

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)
 

Detailed Description

Packet Functions & Definitions.

Telemetry Definitions.

High-level Data Packet Modules

Functions for Packet Operations

Function Documentation

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)

Parameters
packetPointer to the packet struct to be prepared
originSpacecraft ID of origin
keyPointer to the key to be signed with
key_lengthLength of the key in bytes
Returns
Pointer to the packet buffer ready for transmission

Definition at line 104 of file packet.c.