LoRa_APRS_iGate/src/gps_utils.h
2024-05-15 17:47:29 -04:00

20 lines
No EOL
541 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 getDistance(const String& packet);
}
#endif