No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

53 líneas
952 B

  1. #pragma once
  2. #include <Arduino.h>
  3. namespace debug {
  4. enum class GPSTRACKER_DEBUG_COMMAND : uint8_t {
  5. NONE,
  6. RUN,
  7. ONCE,
  8. RAM,
  9. BATTERY,
  10. GPS_ON,
  11. GPS_OFF,
  12. GPS_GET,
  13. GPS_SET,
  14. RTC_GET,
  15. RTC_SET,
  16. EEPROM_GET_CONFIG,
  17. EEPROM_RESET_CONFIG,
  18. EEPROM_GET_CONTENT,
  19. EEPROM_GET_LAST_ENTRY,
  20. EEPROM_GET_ENTRIES,
  21. EEPROM_ADD_ENTRY,
  22. EEPROM_BACKUP_ENTRIES,
  23. NOTIFY_FAILURES,
  24. CLEAR_ALERTS,
  25. SLEEP_DEEP
  26. };
  27. int freeRam();
  28. void displayFreeRam();
  29. GPSTRACKER_DEBUG_COMMAND menu(uint16_t timeout);
  30. void getAndDisplayBattery();
  31. void getAndDisplayGpsPosition();
  32. void setFakeGpsPosition();
  33. void getAndDisplayRtcTime();
  34. void setRtcTime();
  35. void getAndDisplaySleepTimes();
  36. void getAndDisplayEepromConfig();
  37. void getAndDisplayEepromContent();
  38. void getAndDisplayEepromPositions(uint16_t firstIndex);
  39. void addLastPositionToEeprom();
  40. void notifyFailures();
  41. void clearAlerts();
  42. }