7 Teleservice Application Framework
User Manual
116/374
Section: Select mailbox path
# Set path for mailbox
# default path: /mnt/dataflash/stw/mbox
Mail_Box /mnt/dataflash/stw/mbox
Tasks of the ymaild
get a file from the TC1
After the user has sent an e-mail to the TC1 requesting a file, the TC1 will send a response mail with the
requested file in attachment.
The ymaild will search for the file(s) under the specified directories. All files found will be attached to and
described in the response mail.
Syntax: file_name;folder_path
Example: get the apn-setting and the log-file of ysysd
<get_file>
apn_setting;/tmp
ysysd.log;/var/log
</get_file>
replace a file on the TC1
The user has the possibility to replace existing files on the TC1. Those files have to be in the attachment of the
e-mail sent to the TC1.
The ymaild will replace the file(s) in the specified directories. The replaced files will keep the same permissions
as before.
Syntax: file_name;folder_path
Example: replace the configuration file of ysignald and ymaild
<replace_file>
ysignald.config;/etc
ymaild.config;/etc
</replace_file>
add a file to the TC1
The user has the possibility to add files to the TC1. Those files have to be in the attachment of the e-mail sent to
the TC1.
The ymaild will add the file(s) to the specified directory with the specified file permissions. The directory must
not already exist on the TC1.
Syntax: file_name;file_permissions;folder_path
Example: add new files to the /tmp directory
<add_file>
test.txt;777;/tmp/new_folder/
text.file;111;/tmp/
</add_file>
NOTE:
The mailbox should be located in the NAND flash.
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 ...