CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
gnss_firehose_storage.h
Go to the documentation of this file.
1#ifndef INCLUDE_GUARD__GNSS_RECEIVER_GNSS_FIREHOSE_STORAGE_H
2#define INCLUDE_GUARD__GNSS_RECEIVER_GNSS_FIREHOSE_STORAGE_H
3
4#include <stdint.h>
5#include "littlefs/lfs.h"
6
7extern uint8_t GNSS_firehose_file_is_open;
8extern volatile uint32_t GNSS_firehose_bytes_lost;
10extern uint32_t GNSS_recording_start_uptime_ms;
11
12uint8_t GNSS_enable_firehose_storage_mode(const char output_file_path[]);
13
14uint8_t GNSS_disable_firehose_storage_mode(const char reason_for_stopping[]);
15
17
18
19#endif // INCLUDE_GUARD__GNSS_RECEIVER_GNSS_FIREHOSE_STORAGE_H
struct lfs_file lfs_file_t
volatile uint32_t GNSS_firehose_bytes_lost
Definition gnss_firehose_storage.c:21
uint8_t GNSS_firehose_file_is_open
Definition gnss_firehose_storage.c:20
uint8_t GNSS_enable_firehose_storage_mode(const char output_file_path[])
Configures the OBC to receive and store all data from the GNSS receiver to a file.
Definition gnss_firehose_storage.c:167
uint32_t GNSS_recording_start_uptime_ms
Definition gnss_firehose_storage.c:23
uint8_t GNSS_subtask_store_firehose_data_to_file()
Store pending data in the UART_gnss_buffer to the GNSS firehose file.
Definition gnss_firehose_storage.c:257
uint8_t GNSS_disable_firehose_storage_mode(const char reason_for_stopping[])
Definition gnss_firehose_storage.c:190
lfs_file_t GNSS_firehose_file_pointer
Definition gnss_firehose_storage.c:22