2023-06-06 17:30:32 +02:00
|
|
|
#ifndef APRS_IS_UTILS_H_
|
|
|
|
|
#define APRS_IS_UTILS_H_
|
|
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
2024-01-19 15:33:58 +01:00
|
|
|
|
2023-06-06 17:30:32 +02:00
|
|
|
namespace APRS_IS_Utils {
|
|
|
|
|
|
2024-05-31 02:04:46 +02:00
|
|
|
void upload(const String& line);
|
|
|
|
|
void connect();
|
2025-05-18 14:44:46 +02:00
|
|
|
|
2024-05-31 02:04:46 +02:00
|
|
|
void checkStatus();
|
2024-06-20 20:06:14 +02:00
|
|
|
String checkForStartingBytes(const String& packet);
|
2025-05-18 14:44:46 +02:00
|
|
|
|
2024-05-31 02:04:46 +02:00
|
|
|
String buildPacketToUpload(const String& packet);
|
2024-06-28 22:05:04 +02:00
|
|
|
bool processReceivedLoRaMessage(const String& sender, const String& packet, bool thirdParty);
|
2024-05-31 02:04:46 +02:00
|
|
|
void processLoRaPacket(const String& packet);
|
2024-06-24 16:32:58 +02:00
|
|
|
|
|
|
|
|
String buildPacketToTx(const String& aprsisPacket, uint8_t packetType);
|
2024-05-31 02:04:46 +02:00
|
|
|
void processAPRSISPacket(const String& packet);
|
|
|
|
|
void listenAPRSIS();
|
2023-06-06 17:30:32 +02:00
|
|
|
|
2024-12-06 16:03:37 +01:00
|
|
|
void firstConnection();
|
|
|
|
|
|
2023-06-06 17:30:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|