Telemetry-Storage

Public interface for telemetry storage. More...

Macros

#define FILE_EXTENSION_CSV   ".csv"
 
#define FILE_EXTENSION_HEX   ".hex"
 
#define FILE_EXTENSION_NONE   ""
 

Enumerations

enum  output_data_format { FORMAT_TYPE_CSV = 0, FORMAT_TYPE_HEX }
 Defines the output file format. More...
 

Functions

 CSP_DEFINE_TASK (telemetry_store_rx)
 Task used to subscribe to, receive, and store all telemetry packets. More...
 
void telemetry_storage_init (void)
 Subscribes to all telemetry sources and stores them as specified in the configuration. More...
 
bool telemetry_store (telemetry_packet packet)
 store a telemetry packet in a particular format specified by the configuration. More...
 

Macro Definition Documentation

#define FILE_EXTENSION_CSV   ".csv"
#define FILE_EXTENSION_HEX   ".hex"
#define FILE_EXTENSION_NONE   ""

Enumeration Type Documentation

Defines the output file format.

Enumerator
FORMAT_TYPE_CSV 

CSV File

FORMAT_TYPE_HEX 

Hex File

Function Documentation

CSP_DEFINE_TASK ( telemetry_store_rx  )

Task used to subscribe to, receive, and store all telemetry packets.

void telemetry_storage_init ( void  )

Subscribes to all telemetry sources and stores them as specified in the configuration.

To be used in the main() prior to starting the scheduler and after the telemetry system has been initialized.

bool telemetry_store ( telemetry_packet  packet)

store a telemetry packet in a particular format specified by the configuration.

Parameters
packetthe telemetry packet to store.
Return values
trueif successful, otherwise false