25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

29 satır
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. }