EasyManua.ls Logo

STW TC1 - 11.5 stw_show_gps

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11 Utilities Tools
User Manual 331/374
11.5 stw_show_gps
Description
The application stw_show_gps parses NMEA0183 strings from a port of the device.
The tool will work only, if the GPS daemon ygpsd is not running.
Usage
# stw_show_gps
Usage: show_gps <dev_file> [-lat] [-lon] [-alt] [-tim] [-sat] [-qua] [-war] [-spe] [-cou]
[-dat] [-sta] [-all] [-p]
Example
# stw_show_gps /proc/stw_gps/port -all
$GPGGA,133935.000,4751.7594,N,01037.8708,E,1,6,1.86,688.1,M,47.9,M,,*5C
GPGGA==GPGGA 5c==5c
0:$GPGGA
1:133935.000
2:4751.7594
3:N
4:01037.8708
5:E
6:1
7:6
8:1.86
9:688.1
10:M
11:47.9
12:M
13:
14:*5C
$GPRMC,133935.000,A,4751.7594,N,01037.8708,E,2.42,221.84,190716,,,A*6B
GPRMC==GPRMC 6b==6b
0:$GPRMC
1:133935.000
2:A
3:4751.7594
4:N
5:01037.8708
6:E
7:2.42
8:221.84
9:190716
10:
11:
12:A*6B
Latitude: 47.862657
Longitude: 10.631180
Altitude: 688
Time: 133935
Satellites: 6
Quality: 1
Warn: A
Speed: 2.420000
Couse: 221.840000
Date: 190716
NMEA: received

Table of Contents