6 Software
User Manual
44/374
Interface at rc.conf:
Activate / Deactivate SNTP
# Activate "YES" / deactivate "NO" export TRY_SNTP in /etc/init.d/rc.conf
export TRY_SNTP="YES"
Example: How to set system time:
Set the system time by using the path /bin/date that is provided by the BusyBox multi-call binary. In this
example the system time is set to Mon Nov 5 10:53:00 UTC 2012.
# date -s 201211051053.00
Mon Nov 5 10:53:00 UTC 2012
Low Level Hardware Access
Path
Input
information
Output
information
Description
/sys/class/rtc/rtc0/date
-
p1
This user space interface gets the current date
from the kernel clock.
p1:
<YYYY-MM-DD>
returns the date formated like the given
syntax
/sys/class/rtc/rtc0/time
-
p1
This user space interface gets the current time
from the kernel clock.
p1:
<hh:mm:ss>
returns the time formated like the given
syntax
/sys/class/rtc/rtc0/wakealarm p1
-
This user space interface can be used for setting
the hardware RTC wakeup alarm. After a shut
down of the RTC, the wakeup alarm will be
activated.
p1:
< 0 >
sets off hardware RTC wakeup alarm
< 1..n >
sets the countdown in seconds for startup
NOTE:
If the SNTP client is not activated and the settime script is not fully implemented, then the user has to
configure the SNTP client and may have to changed the settime script if necessary.
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 ...