| ioPAC RTU Controllers C/C++ Sample Code Programming Guide

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
Gps_Data Struct Reference
Library » Cellular » GPS

`#include <libmoxa_rtu.h>`

## Data Fields
double | lat
double | lon
int | fix
int | satInUse
int | satInView
GPS_TIME | time

## Field Documentation

double lat

Latitude in NDEG - +/-[degree][min].[sec/60]

double lon

Longitude in NDEG - +/-[degree][min].[sec/60]

int fix

Operating mode, used for navigation (1 = Fix not available; 2 = 2D; 3 = 3D)

int satInUse

Number of satellites in use (not those in view)

int satInView

Total number of satellites in view

GPS_TIME time

The documentation for this struct was generated from the following file:

- source/library/RTU/libmoxa_rtu.h