diff --git a/src/aprs_is_utils.h b/src/aprs_is_utils.h index 8dde4b3..a9e48cf 100644 --- a/src/aprs_is_utils.h +++ b/src/aprs_is_utils.h @@ -6,15 +6,15 @@ namespace APRS_IS_Utils { - void upload(const String& line); - void connect(); - void checkStatus(); - String buildPacketToUpload(const String& packet); - String buildPacketToTx(const String& aprsisPacket, uint8_t packetType); - bool processReceivedLoRaMessage(const String& sender, const String& packet); - void processLoRaPacket(const String& packet); - void processAPRSISPacket(const String& packet); - void listenAPRSIS(); + void upload(const String& line); + void connect(); + void checkStatus(); + String buildPacketToUpload(const String& packet); + String buildPacketToTx(const String& aprsisPacket, uint8_t packetType); + bool processReceivedLoRaMessage(const String& sender, const String& packet); + void processLoRaPacket(const String& packet); + void processAPRSISPacket(const String& packet); + void listenAPRSIS(); } diff --git a/src/bme_utils.h b/src/bme_utils.h index 4935a13..7611ee6 100644 --- a/src/bme_utils.h +++ b/src/bme_utils.h @@ -10,12 +10,12 @@ namespace BME_Utils { - void getWxModuleAddres(); - void setup(); - String generateTempString(float bmeTemp); - String generateHumString(float bmeHum); - String generatePresString(float bmePress); - String readDataSensor(); + void getWxModuleAddres(); + void setup(); + String generateTempString(float bmeTemp); + String generateHumString(float bmeHum); + String generatePresString(float bmePress); + String readDataSensor(); } diff --git a/src/digi_utils.h b/src/digi_utils.h index b7efb63..4255513 100644 --- a/src/digi_utils.h +++ b/src/digi_utils.h @@ -6,8 +6,8 @@ namespace DIGI_Utils { - String generateDigiRepeatedPacket(const String& packet); - void processLoRaPacket(const String& packet); + String generateDigiRepeatedPacket(const String& packet); + void processLoRaPacket(const String& packet); } diff --git a/src/gps_utils.h b/src/gps_utils.h index 875214d..d40284b 100644 --- a/src/gps_utils.h +++ b/src/gps_utils.h @@ -6,14 +6,14 @@ namespace GPS_Utils { - String getiGateLoRaBeaconPacket(); - char *ax25_base91enc(char *s, uint8_t n, uint32_t v); - String encodeGPS(float latitude, float longitude, const String& overlay, const String& symbol); - void generateBeacons(); - double calculateDistanceCourse(double latitude, double longitude); - String decodeEncodedGPS(const String& packet); - String getReceivedGPS(const String& packet); - String getDistanceAndComment(const String& packet); + String getiGateLoRaBeaconPacket(); + char *ax25_base91enc(char *s, uint8_t n, uint32_t v); + String encodeGPS(float latitude, float longitude, const String& overlay, const String& symbol); + void generateBeacons(); + double calculateDistanceCourse(double latitude, double longitude); + String decodeEncodedGPS(const String& packet); + String getReceivedGPS(const String& packet); + String getDistanceAndComment(const String& packet); } diff --git a/src/lora_utils.h b/src/lora_utils.h index dc5378d..f5d09e1 100644 --- a/src/lora_utils.h +++ b/src/lora_utils.h @@ -6,14 +6,14 @@ namespace LoRa_Utils { - void setup(); - void sendNewPacket(const String& newPacket); - String packetSanitization(const String& packet); - String receivePacket(); - void changeFreqTx(); - void changeFreqRx(); - void startReceive(); // ??? - void sleepRadio(); + void setup(); + void sendNewPacket(const String& newPacket); + String packetSanitization(const String& packet); + String receivePacket(); + void changeFreqTx(); + void changeFreqRx(); + void startReceive(); // ??? + void sleepRadio(); } diff --git a/src/power_utils.h b/src/power_utils.h index 78e42fb..8388f3b 100644 --- a/src/power_utils.h +++ b/src/power_utils.h @@ -11,13 +11,13 @@ namespace POWER_Utils { - double getBatteryVoltage(); - bool isBatteryConnected(); - void activateMeasurement(); - void activateLoRa(); - void deactivateLoRa(); - bool begin(TwoWire &port); - void setup(); + double getBatteryVoltage(); + bool isBatteryConnected(); + void activateMeasurement(); + void activateLoRa(); + void deactivateLoRa(); + bool begin(TwoWire &port); + void setup(); } diff --git a/src/utils.h b/src/utils.h index d25d7eb..d730040 100644 --- a/src/utils.h +++ b/src/utils.h @@ -8,24 +8,24 @@ public: long millis; String packet; int RSSI; - float SNR; + float SNR; }; namespace Utils { - void processStatus(); - String getLocalIP(); - void setupDisplay(); - void activeStations(); - void checkBeaconInterval(); - void checkDisplayInterval(); - void validateFreqs(); - void typeOfPacket(const String& packet, uint8_t packetType); - void print(const String& text); - void println(const String& text); - void checkRebootMode(); - void checkRebootTime(); - void checkSleepByLowBatteryVoltage(uint8_t mode); + void processStatus(); + String getLocalIP(); + void setupDisplay(); + void activeStations(); + void checkBeaconInterval(); + void checkDisplayInterval(); + void validateFreqs(); + void typeOfPacket(const String& packet, uint8_t packetType); + void print(const String& text); + void println(const String& text); + void checkRebootMode(); + void checkRebootTime(); + void checkSleepByLowBatteryVoltage(uint8_t mode); }