Public interface for telemetry storage.
More...
|
| 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...
|
|
#define FILE_EXTENSION_CSV ".csv" |
#define FILE_EXTENSION_HEX ".hex" |
#define FILE_EXTENSION_NONE "" |
Defines the output file format.
Enumerator |
---|
FORMAT_TYPE_CSV |
CSV File
|
FORMAT_TYPE_HEX |
Hex File
|
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
-
packet | the telemetry packet to store. |
- Return values
-
true | if successful, otherwise false |