syslog.h 940 B

123456789101112131415161718192021222324
  1. #pragma once
  2. /* Reasons a candidate point can be rejected before being written */
  3. #define REJECT_REASON_KALMAN 0 /* Kalman-filtered position error too large */
  4. #define REJECT_REASON_DISTDIFF 1 /* distance jump inconsistent with recent history */
  5. #define REJECT_REASON_MINDIST 2 /* too small a position change since last saved point */
  6. #define REJECT_REASON_ALTDIFF 3 /* altitude jump inconsistent with recent history */
  7. extern __flash const char *reject_reason_names[];
  8. void log_prefix(void);
  9. void log_boot_record(void);
  10. void log_config(void);
  11. void log_fix_event(void);
  12. void log_fix_lost(void);
  13. void log_sbas_transition(void);
  14. void log_pause_event(unsigned char started);
  15. void log_reject(unsigned char reason);
  16. void log_reject_flush(void);
  17. void log_jump(unsigned char is_alt, float meters);
  18. void log_status_line(void);
  19. void log_session_summary(unsigned char final);
  20. void gps_powered_on(void);
  21. void log_loop_status(unsigned char status);