beautypg.com

10 gps.getlastgll(), 11 gps.getlastgsa(), 12 gps.getlastgsv() – Rainbow Electronics GM862-GPS User Manual

Page 60

background image





Easy Script

in Python

80000ST10020a Rev.8 - 01/10/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 60 of 100

Return value is a Python string which is the last GGA NMEA sentence formatted according to NMEA
specification.

Example:

gga = GPS.getLastGGA()

gets last GGA NMEA sentence, assigning return value to gga.

2.10.10

GPS.getLastGLL()

This command gets GPS last GLL NMEA sentence stored. It has no input parameter.
Return value is a Python string which is the last GLL NMEA sentence formatted according to NMEA
specification.

Example:

gll = GPS.getLastGLL()

gets last GLL NMEA sentence, assigning return value to gll.

2.10.11

GPS.getLastGSA()

This command gets GPS last GSA NMEA sentence stored. It has no input parameter.
Return value is a Python string which is the last GSA NMEA sentence formatted according to NMEA
specification.

Example:

gsa = GPS.getLastGSA()

gets last GSA NMEA sentence, assigning return value to gsa.

2.10.12

GPS.getLastGSV()

This command gets GPS last GSV NMEA sentence stored. It has no input parameter.
Return value is a Python string which is the concatenation of the last GSV NMEA sentences formatted
according to NMEA specification.

Example:

gsv = GPS.getLastGSV()

gets last GSV NMEA sentence, assigning return value to gsv.