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

Structure for radio firmware version communication. More...

#include <astrodev.h>

Public Attributes

float rev
 The firmware revision of the radio.
 
uint16_t cs
 Firmware checksum.
 

Detailed Description

Structure for radio firmware version communication.

This defines the structure of Astrodev firmware version data. This data reflects the current firmware version of the transceiver. This stucture is sent as the payload of a packet from the Astrodev radio to the Teensy in reply to a FIRMWAREREV firmware version request.

This struct consists of two members and is 6 bytes in size. These members are the firmware revision of the radio (rev), and a payload checksum (cs).A diagram of the struct is included below.

 4 bytes   2 bytes
 +---------+--------+
 |   rev   |   cs   |
 +---------+--------+

Member Data Documentation

◆ cs

uint16_t Artemis::Devices::Astrodev::firmware::cs

Firmware checksum.

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

◆ rev

float Artemis::Devices::Astrodev::firmware::rev

The firmware revision of the radio.

This describes the firmware revision currently flashed to the radio.

Todo:
How is this expressed as a float?

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