telemetry_storage.h File Reference
#include <stdbool.h>
#include <telemetry/telemetry.h>
#include <kubos-core/modules/klog.h>
#include "telemetry-storage/config.h"

Go to the source code of this file.

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...