LoRa_APRS_iGate/include/gps_utils.h

23 lines
579 B
C
Raw Normal View History

2023-06-06 18:19:56 +02:00
#ifndef GPS_UTILS_H_
#define GPS_UTILS_H_
#include <Arduino.h>
2024-02-25 14:53:16 +01:00
2023-06-06 18:19:56 +02:00
namespace GPS_Utils {
2024-10-14 22:04:28 +02:00
2024-05-31 02:04:46 +02:00
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);
2024-10-14 22:04:28 +02:00
void generateBeaconFirstPart();
2024-05-31 02:04:46 +02:00
void generateBeacons();
String decodeEncodedGPS(const String& packet);
String getReceivedGPS(const String& packet);
String getDistanceAndComment(const String& packet);
2023-06-06 18:19:56 +02:00
2024-10-14 22:04:28 +02:00
void setup();
void getData();
2023-06-06 18:19:56 +02:00
}
#endif