mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-13 03:05:58 +01:00
21 lines
477 B
C++
21 lines
477 B
C++
#ifndef GPS_UTILS_H_
|
|
#define GPS_UTILS_H_
|
|
|
|
#include <Arduino.h>
|
|
|
|
|
|
namespace GPS_Utils {
|
|
|
|
String double2string(double n, int ndec);
|
|
String processLatitudeAPRS();
|
|
String processLongitudeAPRS();
|
|
String generateBeacon();
|
|
String generateiGateLoRaBeacon();
|
|
double calculateDistanceCourse(double latitude, double longitude);
|
|
String decodeEncodedGPS(String packet);
|
|
String getReceivedGPS(String packet);
|
|
String getDistance(String packet);
|
|
|
|
}
|
|
|
|
#endif |