mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
23 lines
484 B
C
23 lines
484 B
C
|
|
#ifndef TASK_LORA_H_
|
||
|
|
#define TASK_LORA_H_
|
||
|
|
|
||
|
|
#include <TaskManager.h>
|
||
|
|
#include <BoardFinder.h>
|
||
|
|
#include <LoRa_APRS.h>
|
||
|
|
|
||
|
|
class LoraTask : public Task
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
LoraTask();
|
||
|
|
virtual ~LoraTask();
|
||
|
|
|
||
|
|
virtual bool setup(std::shared_ptr<Configuration> config) override;
|
||
|
|
virtual bool loop(std::shared_ptr<Configuration> config) override;
|
||
|
|
bool setup(std::shared_ptr<Configuration> config, std::shared_ptr<BoardConfig> boardConfig);
|
||
|
|
|
||
|
|
private:
|
||
|
|
std::shared_ptr<LoRa_APRS> _lora_aprs;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|