ASCEND Flight Software
Loading...
Searching...
No Matches
RadioStorage.h
Go to the documentation of this file.
1#ifndef RADIO_STORAGE_H
2#define RADIO_STORAGE_H
3
4#include <Arduino.h>
5
6#include "PayloadConfig.h"
7#include "Storage.h"
8
13class RadioStorage : public Storage {
14 private:
15 String file_name;
16
17 public:
19 bool verify() override;
20 void store(String data) override;
21 void storePacket(uint8_t* packet) override;
22};
23
24#endif
Central location for pinout and config defines.
int attempt_number
Definition Device.h:19
Implementation of a Storage device to interface with an SD card.
Definition RadioStorage.h:13
bool verify() override
Initialize UART1 (Serial1)
Definition RadioStorage.cpp:15
void store(String data) override
Send data to the radio for transmitting.
Definition RadioStorage.cpp:28
String file_name
Definition RadioStorage.h:15
RadioStorage()
Construct a new RadioStorage object.
Definition RadioStorage.cpp:7
void storePacket(uint8_t *packet) override
Send data to the radio for transmitting.
Definition RadioStorage.cpp:42
Parent class for all data storage devices (sd card, radio, etc)
Definition Storage.h:13