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.

29 line
405 B

  1. #include "Gps.h"
  2. #define LOGGER_NAME "Gps"
  3. namespace gps {
  4. void powerOn() {
  5. }
  6. void powerOff() {
  7. }
  8. SIM808_GPS_STATUS acquireCurrentPosition() {
  9. SIM808_GPS_STATUS currentStatus = SIM808_GPS_STATUS::OFF;
  10. //TODO : do while (!timeout && < accurate_fix)
  11. if (currentStatus > SIM808_GPS_STATUS::NO_FIX) {
  12. lastStatus = currentStatus;
  13. }
  14. return currentStatus;
  15. }
  16. Time getTime() {
  17. }
  18. }