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
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...