DW finite state machine GPS logger