EasyManuals Logo

STW TC1 User Manual

STW TC1
374 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #44 background imageLoading...
Page #44 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STW TC1 and is the answer not in the manual?

STW TC1 Specifications

General IconGeneral
BrandSTW
ModelTC1
CategoryController
LanguageEnglish