Files
ESP32Marauder/esp32_marauder/GpsInterface.h
Just Call Me Koko bc3038c73b Trim fat
2023-08-30 21:58:15 -04:00

34 lines
598 B
C++

#ifndef GpsInterface_h
#define GpsInterface_h
#include <MicroNMEA.h>
#include "configs.h"
class GpsInterface {
public:
void begin();
void main();
String getNumSatsString();
bool getFixStatus();
bool getGpsModuleStatus();
private:
// GPS Info
String lat = "";
String lon = "";
float altf = 0.0;
String datetime = "";
bool gps_enabled = false;
bool good_fix = false;
uint8_t num_sats = 0;
//MicroNMEA nmea(nmeaBuffer, sizeof(nmeaBuffer));
String dt_string_from_gps();
void showGPSInfo();
void setGPSInfo();
};
#endif