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.
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...