mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-01-21 08:10:15 +01:00
34 lines
739 B
C++
34 lines
739 B
C++
#ifndef UTILS_H_
|
|
#define UTILS_H_
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
class ReceivedPacket {
|
|
public:
|
|
String rxTime;
|
|
String packet;
|
|
int RSSI;
|
|
float SNR;
|
|
};
|
|
|
|
namespace Utils {
|
|
|
|
void processStatus();
|
|
String getLocalIP();
|
|
void setupDisplay();
|
|
void activeStations();
|
|
void checkBeaconInterval();
|
|
void checkDisplayInterval();
|
|
void validateFreqs();
|
|
void typeOfPacket(const String& packet, const uint8_t packetType);
|
|
void print(const String& text);
|
|
void println(const String& text);
|
|
void checkRebootMode();
|
|
void checkRebootTime();
|
|
void checkSleepByLowBatteryVoltage(uint8_t mode);
|
|
bool checkValidCallsign(const String& callsign);
|
|
|
|
}
|
|
|
|
#endif |