Add time file handling

This commit is contained in:
2022-04-07 17:23:50 +02:00
parent 68992e77dc
commit 796b814b49
8 changed files with 127 additions and 21 deletions

View File

@ -6,6 +6,19 @@
namespace GpsHyperion {
enum class FixMode: uint8_t {
NOT_SEEN = 0,
NO_FIX = 1,
FIX_2D = 2,
FIX_3D = 3,
UNKNOWN = 4
};
static constexpr uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::GPS_HANDLER;
//! [EXPORT] : [COMMENT] Fix has changed. P1: Old fix. P2: New fix
//! 0: Not seen, 1: No Fix, 2: 2D-Fix, 3: 3D-Fix
static constexpr Event GPS_FIX_CHANGE = event::makeEvent(SUBSYSTEM_ID, 0, severity::INFO);
static constexpr DeviceCommandId_t GPS_REPLY = 0;
static constexpr DeviceCommandId_t TRIGGER_RESET_PIN = 5;