GetGpsData

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command gets GPS data from the specified GSM port.

COMMAND

Command Input arguments Returns
GetGpsData Port index GPS data

OUTPUT

Command status in the following format:
"GPS: %s %s %s %s %s %s %s %s %s %s %s\n", UTC, latitude, longitude, hdop, altitude, fix, cog, spkm, spkn, date, nsat

or
"%s\n", command_status

EXAMPLE

~# GetGpsData 0
GPS: 080220.479 4542.82691N 01344.26820E 259.07 3 2.1 0.1 0.0 0.0 270705 09

~# GetGpsData 1
GPS OFF

~# GetGpsData 4
GPS NOT SUPPORTED