ContentsIndex
PreviousUpNext
GPS
Classes | Structs, Records, Enums

 

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:

  • powerOn(): Power on GPS
  • setMode(): Set up work mode (optional)
  • getData(): Query and process GPS data
  • powerOff(): Power off GPS
 

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.

Classes
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: 
Structs, Records, Enums
Struct, Record, Enum 
Description 
The GPS mode. 
GPS sentence (NMEA) information. 
The GPS type 
Links