GUF-Yocto-34.0-r5756-0
VINCELL
User Manual
RTC:
The CPU internal RTC can be configured to wake up the system after a specified time. The following
command wakes the system up at 20 seconds after the command has been executed:
root@vincell:~# echo +20 > /sys/class/rtc/rtc0/wakealarm
RS232/RS485/MDB:
All serial interfaces can be configured to wake up the system on incoming bytes. The
following command wakes the system up as soon as a byte is received on the serial debug port:
root@vincell:~# echo enabled > /sys/class/tty/ttymxc0/power/wakeup
The average time it takes to wake up from power down mode using the serial debug port has been measured
1326
4 ms (first byte on UART RX until last byte on UART TX).
Note:
The first few incoming bytes after and including the wakeup byte might be truncated and not
received by the UART driver.
4.2.3 Sendmail
The
sendmail
tool can be used to send emails from the device. The sendmail tool is based on busybox and has
no configuration files. Everything is passed via command line.
The mail is passed using stdin. For a simple test, the following can be put to into mail.txt
From: <fromaddress@mailserver.com>
To: <toaddress@mailserver.com>
Subject: Mail Header
Hello,
This is the mail body text.
Note that the empty line between subject and email text is part of the mail format and needs to be preserved!
This mail can be sent with:
sendmail
-f <fromaddress@mailserver.com> -S <smtpserver>
<toaddress@mailserver.com>
,!
< mail.txt
The example requires an SMTP server at <smtpserver> on port 25 without authentication. For enabling authen-
tication and encryption read the manuals for sendmail/busybox sendmail.
22