Ke Ao Teensy Flight Software
The software on the Teensy in the Ke Ao cubesat.
Loading...
Searching...
No Matches
Artemis::Devices::Astrodev::frame::frame_payload Union Reference

The payload of the radio data frame. More...

#include <astrodev.h>

Public Attributes

uint8_t payload [MTU+20]
 Direct raw payload bytes.
 
tcv_config tcv
 Transciever configuration.
 
rf_config rf
 RF configuration.
 
firmware firmw
 Firmware version.
 
telemetry telem
 Telemetry data.
 
realtimeclock rtc
 Real-Time Clock (RTC) data.
 

Detailed Description

The payload of the radio data frame.

The payload of the data frame to and from the radio can be many different structs, of size ranging from 0 to 257 bytes. They may be of the structs defined elsewhere, or a direct raw payload. Every payload should be terminated with two checksum bytes.

Member Data Documentation

◆ payload

uint8_t Artemis::Devices::Astrodev::frame::frame_payload::payload[MTU+20]

Direct raw payload bytes.

This field is used to directly address the bytes of a Astrodev radio frame. It has a maximum size of 257 bytes: 255 for the payload, and 2 for the checksum.

Todo:
Why is it MTU+20=274 bytes?

The documentation for this union was generated from the following file: