6 Software
User Manual
83/374
6.7
Temperature Sensor
Low Level Hardware Access
Path
Input
information
Output
information
Description
/sys/bus/spi/devices/spi32766.1/temp1_input -
p1
This user space interface reads
the current temperature of the
temperature sensor in degrees
celsius.
p1:
< 0..n > = Temperature in in
degrees celsius multiplied by
1000
Example: Read and calculate the temperature
1. Read out the temperature
# cat /sys/bus/spi/devices/spi32766.1/temp1_input
54750
2. Calculate the temperature in degrees celsius manually
54750 / 1000 = 54,750 °C
6.8
GPS
For GPS handling use the GPS daemon that handles the GPS interface automatically.
Precondition:
The GPS daemon must be started. The GPS daemon is not started during the boot up automatically.
How to activate the network daemon see GPS daemon (see "
Library functions for the GPS
Function
Brief
ygpsd_get_gps_data (see
"
" on page
The TAF library function receives the data from the GPS module.
High Level Hardware Access
Path
Input
information
Output
information
Description
/etc/init.d/scripts/gps p1
-
This shell script starts and stops the internal GPS receiver
connected via /proc/stw_gps/port. It is already started by
the boot up sequence.
p1:
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 ...