LinkIt ONE provides a built-in GPS device. With the GPS API, you can get GPS data from this device.
The basic flow for controlling GPS is:
The data returned from getData() may be GPGGA, GPGSA, GPRMC, GPVTG, GPGSV, GLGSV, GLGSA, BDGSV and BDGSA which are standard NMEA information types. Parse them to get the GPS location, time and other details. Refer to http://www.gpsinformation.org/dale/nmea.htm for details on NMEA.
|
Class |
Description |
|
The LGPS class interface. You can use the object LGPS to get GPS data using this library. The basic flow of controlling GPS are as follows: |
|
Struct, Record, Enum |
Description |
|
The GPS mode. | |
|
GPS sentence (NMEA) information. | |
|
The GPS type |