| Members | Description |
| GPSERROR_NONE = 0 | No Error |
| GPSERROR_MATHLIB = -1 | Cannot find or or open MathLib |
| GPSERROR_ALREADY_INITIALIZED = -2 | GPS library already initialized |
| GPSERROR_INVALID_PROTOCOL = -3 | Invalid GPS protocol |
| GPSERROR_NO_DATA = -4 | No GPS data available |
| GPSERROR_INVALID_PARAMETER = -5 | Invalid parameter passed to function |
| GPSERROR_BUFFER_TOO_SMALL = -6 | Buffer size is too small |
| GPSERROR_CONFIG = -7 | Error Configuring Receiver |
| GPSERROR_POLL = -8 | Error Polling Receiver |
| GPSERROR_MEMORY = -9 | Memory allocation error |
| GPSERROR_INVALID_RECEIVER = -10 | Invalid GPS receiver |
| GPSERROR_INVALID_PORT = -11 | Invalid communications port |
| GPSERROR_NOT_SUPPORTED = -12 | Function not supported for selected protocol |
typedef enum {
GPSERROR_NONE = 0,
GPSERROR_MATHLIB = -1,
GPSERROR_ALREADY_INITIALIZED = -2,
GPSERROR_INVALID_PROTOCOL = -3,
GPSERROR_NO_DATA = -4,
GPSERROR_INVALID_PARAMETER = -5,
GPSERROR_BUFFER_TOO_SMALL = -6,
GPSERROR_CONFIG = -7,
GPSERROR_POLL = -8,
GPSERROR_MEMORY = -9,
GPSERROR_INVALID_RECEIVER = -10,
GPSERROR_INVALID_PORT = -11,
GPSERROR_NOT_SUPPORTED = -12
} GPSERROR;