EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #327 background imageLoading...
Page #327 background image
11 Utilities Tools
User Manual 327/374
11.2 stw_GetGPS
NAME
stw_GetGPS - cmd line tool to fetch GPS data
SYNOPSIS
stw_GetGPS [-hvmja]
DESCRIPTION
This application asks the GPS data structure via dbus from the ygpsd.
Structure T_DBUS_GPS_Data
typedef struct
{
charn acn_status[32]; // NONE = fix not available,
// NMEA = receiving valid nmea string from gps receiver
charn acn_latitude[32]; // Degrees notation: DD.dddddd
charn acn_longitude[32]; // Degrees notation: DD.dddddd
charn acn_altitude[32]; // Above/below mean-sea-level in meters
charn acn_time[32]; // hhmmss
charn acn_satellites[32]; // number of satellites used in solution
charn acn_quality[32]; // 0 = no reception - 1 good ,
charn acn_warn[32]; // V = GPS position is not valid
// A = GPS position is valid
charn acn_speed[32]; // Speed over ground km/h XXX.YYYYYY
charn acn_course[32]; // Degrees (0..360) XXX.YYYYYY
charn acn_date[32]; // ddmmyy
charn acn_UTC[64]; // MMDDhhmmYYYY
} T_DBUS_GPS_Data;
Therefore, the ygpsd needs to be up and running.
The application parses the information from the NMEA0183 strings GGA and RMC.
For further information, see the TC3G User Manual.
OPTIONS
-v, --version
Version number of the daemon.
-h, --help
Usage and options (help).
-a, --array
print a single line array of the values
-j, --json
print the data in JSON format
<NONE>
print the dbus_gps_data structure

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish