gps

Purpose:

Initialize the system, spawn handlers, and loop to wait for events, sending commands to collect and process GPS data while updating specified variables.

Enter:

gps <device_name> <latitude_real_variable_label> <longitude_real_variable_label> <altitude_real_variable_label> <validity_logical_variable> <validity_timeout_in_seconds> <time_string_variable> <date_string_variable>

Where:

device_name Specify the name stem of the device configuration file.
latitude_real_variable_label Specify the latitude real variable label.
longitude_real_variable_label Specify the longitude real variable label.
altitude_real_variable_label Specify the altitude real variable label.
validity_logical_variable Specify the validity logical variable.
validity_timeout_in_seconds Specify the validity timeout value in seconds.
time_string_variable Specify the time string variable.
date_string_variable Specify the date string variable.

Example:

gps gps1 Lat_var Long_var Alt_var gps_valid 5 g_time g_date

Notes:

Ensure all eight arguments are provided.

See Also: