typedef enum {
RTE_NONE = GPSERROR_NONE,
RTE_GPS_ALREADY_INITIALIZED = GPSERROR_ALREADY_INITIALIZED,
RTE_GPS_INVALID_PROTOCOL = GPSERROR_INVALID_PROTOCOL,
RTE_GPS_NO_DATA = GPSERROR_NO_DATA,
RTE_GPS_INVALID_PARAMETER = GPSERROR_INVALID_PARAMETER,
RTE_GPS_BUFFER_TOO_SMALL = GPSERROR_BUFFER_TOO_SMALL,
RTE_GPS_CONFIG = GPSERROR_CONFIG,
RTE_GPS_POLL = GPSERROR_POLL,
RTE_GPS_MEMORY = GPSERROR_MEMORY,
RTE_GPS_INVALID_RECEIVER = GPSERROR_INVALID_RECEIVER,
RTE_GPS_INVALID_PORT = GPSERROR_INVALID_PORT,
RTE_ALREADY_INITIALIZED = -1000,
RTE_INVALID_PARAMETER = -1001,
RTE_NO_DATA_RECORDS = -1002,
RTE_LOG_FILE_OPEN = -1003,
RTE_LOG_FILE_NOT_OPEN = -1004,
RTE_LOGGER_COMMAND_TIMEOUT = -1005,
RTE_NO_GPS_LOGGER = -1006,
RTE_LOGGER_DUMP_IN_PROGRESS = -1007,
RTE_LOGGER_DUMP_ABORTED = -1008,
RTE_EXTENDED_HEADER_SIZE_MISMATCH = -1009,
RTE_UNABLE_TO_WRITE_HEADER = -1010,
RTE_INVALID_FILE_FORMAT = -1011
} RTERROR;| Members | Description |
| RTE_NONE | No Error |
| RTE_GPS_ALREADY_INITIALIZED | GPS library already initialized |
| RTE_GPS_INVALID_PROTOCOL | Invalid GPS protocol |
| RTE_GPS_NO_DATA | No GPS data available |
| RTE_GPS_INVALID_PARAMETER | Invalid parameter passed to GPS function |
| RTE_GPS_BUFFER_TOO_SMALL | Buffer size is too small |
| RTE_GPS_CONFIG | Error Configuring GPS Receiver |
| RTE_GPS_POLL | Error Polling GPS Receiver |
| RTE_GPS_MEMORY | Memory allocation error |
| RTE_GPS_INVALID_RECEIVER | Invalid GPS receiver |
| RTE_GPS_INVALID_PORT | Invalid communications port |
| RTE_ALREADY_INITIALIZED | RouteTrak Engine already initialized |
| RTE_INVALID_PARAMETER | Invalid parameter passed to function |
| RTE_NO_DATA_RECORDS | Log file contains no data records |
| RTE_LOG_FILE_OPEN | Unable to open log file |
| RTE_LOG_FILE_NOT_OPEN | Log file not currently open |
| RTE_LOGGER_COMMAND_TIMEOUT | Timed out waiting for logger command response |
| RTE_NO_GPS_LOGGER | Current GPS is not a logger |
| RTE_LOGGER_DUMP_IN_PROGRESS | GPS Logger dump is in progress |
| RTE_LOGGER_DUMP_ABORTED | GPS Logger dump has been aborted |
| RTE_EXTENDED_HEADER_SIZE_MISMATCH | Extended header size does not match with RTOpenLogFile size |
| RTE_UNABLE_TO_WRITE_HEADER | Error writing log file header or extended header |
| RTE_INVALID_FILE_FORMAT | Log file is not the correct format |