mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-23 23:05:38 +08:00
Add optional reporting of the home location to APRS-IS directly.
This commit is contained in:
4
GPSD.h
4
GPSD.h
@@ -21,6 +21,7 @@
|
||||
|
||||
#if defined(USE_GPSD)
|
||||
|
||||
#include "APRSWriter.h"
|
||||
#include "DMRNetwork.h"
|
||||
#include "Timer.h"
|
||||
|
||||
@@ -36,6 +37,8 @@ public:
|
||||
|
||||
void addNetwork(CDMRNetwork* network);
|
||||
|
||||
void setAPRS(CAPRSWriter* aprs);
|
||||
|
||||
bool open();
|
||||
|
||||
void clock(unsigned int ms);
|
||||
@@ -48,6 +51,7 @@ private:
|
||||
struct gps_data_t m_gpsdData;
|
||||
CTimer m_idTimer;
|
||||
std::vector<CDMRNetwork*> m_networks;
|
||||
CAPRSWriter* m_aprs;
|
||||
|
||||
void sendReport();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user