LoRa_APRS_iGate/src/gps_utils.h
2024-05-30 20:04:46 -04:00

20 lines
563 B
C++

#ifndef GPS_UTILS_H_
#define GPS_UTILS_H_
#include <Arduino.h>
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);
}
#endif