Add support for GPS state machine
Export event codes