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

Structure for configuring telemetry data for the Astrodev radio. More...

#include <astrodev.h>

Public Attributes

uint16_t op_counter
 Operations counter.
 
int16_t msp430_temp
 Radio temperature.
 
unsigned time_count: 24
 Timestamp of telemetry data.
 
uint8_t rssi
 The Received Signal Strength Indicator (RSSI).
 
uint32_t bytes_rx
 The total number of bytes received.
 
uint32_t bytes_tx
 The total number of bytes transmitted.
 
uint8_t rssi_last
 The last recorded Recieved Signal Strength Indicator (RSSI).
 
uint8_t rtc_alarm_flag
 Real-Time Clock (RTC) alarm flag.
 
uint16_t cs
 Telemetry checksum.
 

Detailed Description

Structure for configuring telemetry data for the Astrodev radio.

This defines the structure of Astrodev telemetry data. This data reflects the current status of the transceiver. This stucture is sent as the payload of a packet from the Teensy to the Astrodev radio to configure the radio.

This struct consists of nine members and is 20 bytes in size. These members are the power level of the front end (front_end_level), the power level of the amplifier (power_amp_level), the transmit frequency (tx_freq), the receive frequency (rx_freq), and an unknown member (cs).

Todo:
Verify the field definitions. These are educated guesses.

A diagram of the struct is included below.

  Bytes 0-3
 2 bytes      2 bytes
 +------------+-------------+
 | op_counter | msp430_temp |
 +------------+-------------+

 Bytes 4-7
 3 bytes      1 byte
 +------------+--------+
 | time_count |  rssi  |
 +------------+--------+

 Bytes 8-11
 4 bytes
 +----------+
 | bytes_rx |
 +----------+

 Bytes 12-15
 4 bytes
 +----------+
 | bytes_tx |
 +----------+

 Bytes 16-19
 1 byte      1 byte           2 bytes
 +-----------+----------------+--------+
 | rssi_last | rtc_alarm_flag |   cs   |
 +-----------+----------------+--------+

Member Data Documentation

◆ bytes_rx

uint32_t Artemis::Devices::Astrodev::telemetry::bytes_rx

The total number of bytes received.

This describes the total number of bytes received by the radio since last reset.

◆ bytes_tx

uint32_t Artemis::Devices::Astrodev::telemetry::bytes_tx

The total number of bytes transmitted.

This describes the total number of bytes transmitted by the radio since last reset.

◆ cs

uint16_t Artemis::Devices::Astrodev::telemetry::cs

Telemetry checksum.

This is a checksum appended to the end of every payload.

◆ msp430_temp

int16_t Artemis::Devices::Astrodev::telemetry::msp430_temp

Radio temperature.

This describes the temperature measured by the MSP430 microcontroller on the radio.

Todo:
What are the units of this measurement?

◆ op_counter

uint16_t Artemis::Devices::Astrodev::telemetry::op_counter

Operations counter.

This describes the number of operations performed by the radio since last reset.

◆ rssi

uint8_t Artemis::Devices::Astrodev::telemetry::rssi

The Received Signal Strength Indicator (RSSI).

This represents the strength of the most recently received transmission.

Todo:
What are the units of this measurement?

◆ rssi_last

uint8_t Artemis::Devices::Astrodev::telemetry::rssi_last

The last recorded Recieved Signal Strength Indicator (RSSI).

This represents the strength of the next most recently received transmission.

Todo:
What are the units of this measurement?

◆ rtc_alarm_flag

uint8_t Artemis::Devices::Astrodev::telemetry::rtc_alarm_flag

Real-Time Clock (RTC) alarm flag.

This indicates whether the alarm set on the radio's Real-Time Clock (RTC) has been triggered.

◆ time_count

unsigned Artemis::Devices::Astrodev::telemetry::time_count

Timestamp of telemetry data.

This defines a timestamp of this telemetry measurement.

Todo:
In relation to what starting time?

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