added startup and shutdown sequence

This commit is contained in:
2021-06-15 16:44:31 +02:00
parent 16066b4cf9
commit 78cb72d12d
2 changed files with 21 additions and 1 deletions

View File

@ -16,6 +16,13 @@ public:
virtual ~GPSHandler();
protected:
enum class InternalStates {
NONE,
WAIT_FIRST_MESSAGE,
IDLE
};
InternalStates internalState = InternalStates::NONE;
bool commandExecuted = false;
/* DeviceHandlerBase overrides */
ReturnValue_t buildTransitionDeviceCommand(