11 Utilities Tools
User Manual
328/374
EXAMPLES
stw_GetGPS
Status: NMEA
Latitude: 47.862628
Longitude: 10.631297
Altitude: 696
Time: 114713
Satellites: 3
Quality: 1
Warn: A
Speed: 0.00000
Course: 184.39000
Date: 210716
UTC String: 072111472016
stw_GetGPS -a
NMEA 47.862653 10.631265 696 114854 3 1 A 0.03600 41.50000 210716 072111482016
stw_GetGPS -j
{'status':'NMEA','lat':'47.862653','long':'10.631233','alt':'692',
'time':'114934','sat':'3','quality':'1','warn':'A','speed':'0.01800',
'course':'135.99000','date':'210716','utc':'072111492016'}
11.3
stw_ReadACC
NAME
stw_ReadACC - Reads the acceleration values of the internal motion sensor
SYNOPSIS
stw_ReadACC [-h] [-v] [-m] [-d] [-q <NUMBER>]
DESCRIPTION
This application reads the acceleration values of the internal motion sensor
of the device.
It is necessary for the tool to work, that the FIFO mode is enabled.
The motion sensor could be adapted via its config file 'control'.
'cat /sys/bus/i2c/devices/0-0018/control'
power=on [on/off]
powermode=normal [normal/low_power]
fifomode=stream [off/fifo/stream/bypass]
datarate=100Hz [1Hz/10Hz/25Hz/50Hz/100Hz/200Hz/400Hz/1.25kHz/1.6kHz/5kHz]
scale=2g [2g/4g/8g/16g]
setting=default [wakeup/default]
wakeup_threshold=05 (default=10 [05 .. 101])
In order to adapt a parameter of the config file, it needs be overwritten.
Example: set 'scale' to '8g'
'echo "scale=8g" > /sys/bus/i2c/devices/0-0018/control'
For further information, see the User Manual of the device.
OPTIONS
-v, --version
Version number of the daemon.
-h, --help
Usage and options (help).
-d, --debug
Print debug messages and the current motion sensor configuration.
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...