From 35ad116f68b23f25ba8cc0eb9bbc62b07eac2c45 Mon Sep 17 00:00:00 2001 From: richonguzman Date: Tue, 6 Jun 2023 13:46:49 -0400 Subject: [PATCH] start --- src/station_utils.cpp | 30 ++++++++++++++++++++++++++++++ src/station_utils.h | 12 ++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/station_utils.cpp create mode 100644 src/station_utils.h diff --git a/src/station_utils.cpp b/src/station_utils.cpp new file mode 100644 index 0000000..c2e43fc --- /dev/null +++ b/src/station_utils.cpp @@ -0,0 +1,30 @@ +#include "station_utils.h" +/*#include +#include "configuration.h" +#include "display.h" + +extern Configuration Config; +extern WiFiClient espClient; +extern int internalLedPin; +extern uint32_t lastRxTxTime;*/ + +namespace APRS_IS_Utils { + + +void deleteNotHeardStation() { + uint32_t minReportingTime = 30*60*1000; // 30 minutes // from .json and CONFIGURATION????? + for (int i=0; i + +namespace STATION_Utils { + +void deleteNotHeardStation(); + +} + +#endif \ No newline at end of file