You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
309 B

  1. #pragma once
  2. #include <TimeLib.h>
  3. #include <Time.h>
  4. #include <SIM808.h>
  5. #define GPS_POSITION_SIZE 128
  6. namespace gps {
  7. extern char lastPosition[GPS_POSITION_SIZE];
  8. extern SIM808_GPS_STATUS lastStatus;
  9. void powerOn();
  10. void powerOff();
  11. SIM808_GPS_STATUS acquireCurrentPosition();
  12. time_t getTime();
  13. }